﻿@charset "utf-8";

.introBG {
    background-image: url("img/top-cennik_01.jpg");
    background-position: 50% 50%;
}

.stages {
    background-image: url("img/bg-seamless_01.jpg");
    max-width: 1200px;
    margin: auto;
    overflow-y: hidden;
}

.stages a {
    color: #def4ff;
}



/*VOUCHER*/
.stage.A {
    background-image: url("img/bg-ivy_02.jpg");
    text-align: center;
    font-size: 25px;
}

.stage.A > div:not(.anchor) {
    padding: 6% 12%;
}

.stage.A > div > div {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5%;
    transform-origin: 50% 0;
    transform: perspective(800px) rotateX(-90deg);
    opacity: 0;
    text-align: center;
}

.stage.A > div > div > div:nth-child(2) {
    margin: 26px 0;
}

.web.ready > .page > .stages > .stage.A > div > div {
    animation: bujaka 1.5s forwards;
    animation-timing-function:ease-in-out;
}

.voucher {
    display: block;
    position: absolute;
    top: 360px;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    border: 1px solid rgb(255 255 255 / 35%);
    border-radius: 8px;
    overflow: hidden;
    width: 90%;
    max-width: 960px;
    z-index: 5;
    display: none;
    background-color: black;
}

.voucher > span {
    position: absolute;
    cursor: pointer;
    font-size: 60px;
    right: 5px;
    top: -16px;
    color: black;
}

@keyframes bujaka {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateX(-90deg);
    }
    80% {
        opacity: 1;
        transform: perspective(800px)  rotateX(1deg);
    }
    100% {
        opacity: 1;
        transform: perspective(800px)  rotateX(0deg);
    }
}

.stage.A h1 {
    font-size: 1.3em;
    margin-top: 6%;
    margin-bottom: 8%;
}

.stage.A .btn {
    display: inline-block;
    background-color: white;
    color: black;
    font-weight: bold;
    padding: 4px 34px;
    font-size: 1.4em;
    margin: 18px 5px;
    text-decoration: none;
    cursor: pointer;
}

.stage.A .btn:hover {
    background-color: #43a76b;
}

.stage.B .content {
    padding: 4%;
    font-size: 48px;
    line-height: 54px;
    font-family: Charm-Regular, Arial, sans-serif;
    text-align: center;
}

.stage.B .content span {
    white-space: pre-line;
}

.stage.B img {
    margin: 4% auto;
    display: block;
    max-width: 406px;
    width: 90%;
}

.stage.C .content {
    text-align: center;
    background-image: url("img/bg-leaves_02.jpg");
    padding: 5%;
    font-size: 24px;
}

.stage.C .content h1 {
    margin-top: 0;
    font-size: 1.5em;
}

.stage.C .content p {
    font-size: 14px;
}

.stage.C .content .column {
    width: 46%;
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin: 0 10px;
}

.stage.C .content .column > * {
    margin: 8px 0;
}

.stage.C .content .column img {
    display:inline-block;
    vertical-align: top;
    margin-right: 24px;
    padding-top: 5px;
}

.stage.C .content .column div {
    display: inline-block;
    width: calc(100% - 48px);
}

.stage.D {
    text-align: center;
    padding-bottom: 20px;
}

.stage.D > div {
    width: 55%;
    display: inline-block;
    vertical-align: middle;
}

.stage.D > img {
    vertical-align: middle;
    margin-left: 2%;
    width: 32%;
}

.stage.D table {
    width: 100%;
    font-size: 22px;
    border-collapse: collapse;
}

.stage.D th {
    padding: 26px 0;
    white-space: pre-line;/*to support not html based new line*/
}

.stage.D td:first-child {
    text-align: left;
    white-space: nowrap;
}

.stage.D td {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 0;
}


.stage.D td > a {
    text-decoration: none;
}



.stage.E .content {
    background-color: #0A1E14;
    font-size: 22px;
    padding: 2.5% 4.5%;
    text-align: center;
}

.stage.E .content span {
    white-space: pre-line;/*to support not html based new line*/
}



.stage.H .content {
    text-align: center;
    font-size: 3vw;
}

.stage.H .content > h1 {
    font-family: Charm-Regular, Arial, sans-serif;
    font-weight: normal;
    margin-top: 26px;
    margin-bottom: 2px;
    line-height: 110%;
    padding-left: 4%;
    padding-right: 4%;
}

.stage.H .content > img {
    max-width: 406px;
    width: 90%;
    display: block;
    margin: 2.5% auto 2% auto;
}

.stage.H .content > div {
    display: inline-block;
    position: relative;
    margin: 15px;
    background-position: center;
    background-size: cover;
}
.stage.H .content > *:nth-child(3) {/* not DIV because nth-child disables filtering anyway*/
    background-image: url("img/cennik-rower_01.jpg");
}
.stage.H .content > *:nth-child(4) {
    background-image: url("img/cennik-kajak_01.jpg");
}
.stage.H .content > *:nth-child(5) {
    background-image: url("img/cennik-lodzWiosla_01.jpg");
}
.stage.H .content > *:nth-child(6) {
    background-image: url("img/cennik-lodzSilnik_01.jpg");
}

.stage.H .content div > img {
    max-width: 494px;
    width: 40vw;
    visibility: hidden;
}

.stage.H .content > div > div {
    position: absolute;
    background-color: rgba(10, 30, 20, 0.7);
    width: 88%;
    height: 84%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.stage.H .content > div > div > div {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translate(0, -50%);
}

.stage.H .content > div > div > div > span {
    display: block;
    margin-bottom: 20px;
}

.stage.I {
    text-align: center;
}

.stage.I .content {
    background-color: black;
    padding: 2.5vw 0;
    box-shadow: 0 0 12px 5px black;
}

.stage.I .content > div:first-child {
    background-image: url("img/cennik-splyw_01.jpg");
    background-position: center 82%;
    background-size: cover;
    background-repeat: no-repeat;
    max-width:1024px;
    width: 88%;
    padding: 5% 0;
    margin:auto;
    font-size: 42px;
}

.stage.I .content > div:first-child > span {
    margin-bottom: 24px;
    display: block;
    font-size: 0.85em;
}

.stage.I .content > div:last-child {
    display: inline-block;
    font-size: 30px;
    padding: 4%;
}

.stage.F {
    font-size: 30px;
    padding: 4%;
    text-align: center;
    background-color: black;
}

.stage.G {
    background-image: url("img/bg-leaves_01.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.stage.G .content {
    display: inline-block;
    font-size: 20px;
    text-align: center;
    padding: 5% 3%;
}

.stage.G .content > h3 {
    font-size: 1.3em;
    margin: 0;
}
.stage.G .content > h3 {
    margin-top: 54px;
}
.stage.G .content > h3:first-child {
    margin-top: 0px;
}

.stage.G .separator {
    height: 1px;
    background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(255,0255,255,0));
    width: 50%;
    margin: 19px auto 19px auto;
}

.stage.G ul {
    text-align: left;
}

.stage.G li {
    margin: 13px 0;
}


@media only screen and (min-width: 1200px) {
    .stage.H .content {
        font-size: 36px;
    }
}

@media only screen and (max-width: 862px) {
    .stage.C .content .column {
        width: 88%;
    }

    .stage.D > div {
        width: 75%;
    }

    .stage.D > img {
        display: none;
    }
}

@media only screen and (max-width: 725px) {
    .stage.B .content {
        font-size: 38px;
    }

    .stage.H .content {
        font-size: 6vw;
    }

    .stage.H .content > h1 {
        font-size: 44px;
    }

    .stage.H .content > div > img {
        width: 80vw;
    }

    .stage.I .content > div:first-child {
        font-size: 4vw;
    }

    .stage.F {
        font-size: 24px;
    }
}

@media only screen and (max-width: 566px) {
    .stage.A {
        font-size: 18px;
    }

    .stage.E .content {
        font-size: 18px;
    }

    .stage.F {
        font-size: 21px;
    }
}

@media only screen and (max-width: 480px) {
    .stage.B .content {
        font-size:28px;
    }

    .stage.C .content {
        font-size: 20px;
        padding: 4% 0;
    }

    .stage.C .content h1 {
        margin: 0 15px;
    }

    .stage.C .content .column img {
        margin-right: 14px;
        padding-top: 3px;
        width: 20px;
    }

    .stage.D > div {
        width: 90%;
    }

    .stage.D table {
        font-size: 18px;
    }

    .stage.I .content > div:last-child {
        font-size: 18px;
    }

    .stage.F {
        font-size: 17px;
    }

    .stage.G .content {
        font-size: 18px;
    }

    .stage.G ul {
        padding-inline-start: 30px;
        -webkit-padding-inline-start: 30px;
        -moz-padding-inline-start: 30px;
    }
}