#landing {
    display: flex;
    flex-flow: column;
    width: 100%;
    ;
    align-items: center;
}

#landing-horizontal-container {
    display: flex;
    width: 100%;
    height: 28rem;
    justify-content: space-around;

    background-image: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)),
        url(/media/img/baner.png);

}

#landing .socials {
    flex: 0;
    display: flex;
    flex-flow: column;
    margin: 3rem auto -3rem auto;
    z-index: 2;
}

#landing-text {
    flex: 1;
    text-shadow:
        0.1em 0 black,
        0 0.1em black,
        -0.1em 0 black,
        0 -0.1em black,
        -0.1em -0.1em black,
        -0.1em 0.1em black,
        0.1em -0.1em black,
        0.1em 0.1em black;

    z-index: 2;

}

#landing-text * {
    font-weight: bold;
    user-select: none;
}

#landing1 {

    margin: 0;
    font-size: 8rem;
    line-height: 11rem;

}

#landing2 {
    font-size: 4.95rem;
    line-height: 0;

}

#landing3 {
    font-size: 2.06rem;
    line-height: 2.5rem;
}

#landing4 {
    font-size: 1.86rem;
    line-height: 2rem;
}

#landing-book {
    height: 4rem;
    margin: 3rem;
    margin-top:-6rem;
    z-index: 2;
}

#landing-book .book-btn {
    margin: 2rem;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
    color: black;
    background-color: var(--aux);
    border-radius: 2rem;
    padding: 1rem 2rem;




}

#banner-img-container {
    position: absolute;
    top: max(20vh, 11em);
    width: 100%;
    text-align: center;

}

/* koniec banera */



#what-we-do {

    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;

}



#what-we-do>div {

    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    margin: 0;
    justify-content: center;

}


.step {
    flex: 1;

    max-width: min(25vw, 22rem);
    min-width: 16rem;
}

.step p {
    width: 80%;
    margin: 1rem auto 3rem auto;
    font-size: 1.33rem;
}

.step img {
    width: calc(100% - 4rem);
    padding: 2rem;

}

#step1 img {
    background-color: white;
}

#step2 img {
    background-color: var(--aux);
}

#step3 img {
    background-color: white;
}

#step4 img {
    background-color: var(--aux);
}



/* koniec głównej grafiki */
/* pokoje */


#room-tiles {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 2rem 0;
    position: relative;
    gap: 4rem;
    z-index: 2;
}

.room-tile {
    max-width: 30rem;
    width: 80vw;
    height: 100%;


}

.room-tile-title {
    text-align: left;
    font-size: 2.33rem;
    font-weight: bold;
    margin-bottom: 0.76rem;
}

.room-tile-link {
    font-weight: bold;
    text-decoration: none;
    color: var(--main-third);
    font-size: larger;
}

.room-tile-img {

    height: min(15rem, 40vw);
    background-position: center;
    /* background-size: cover; */
    background-size: contain;
    background-repeat: no-repeat;
    /* border-radius: 3rem;
    TODO: przywrócić */
}

.room-tile-info {

    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: space-around;
    ;

}



.people span,
.time span,
.pricing span {
    display: inline-block;
    vertical-align: top;
    height: 1rem;
    margin-top: 1rem;
    margin-left: 0.7rem;

}

.pricing span {
    margin-left: 0.1rem;
}

/* będziemy potrzebować nowych grafik
proporcje mniej więcej 2:1
*/

#czekolada-tile {
    background-image: url('/media/img/rooms/czekolada.jpg');
}

#sztuka-tile {
    background-image: url('/media/img/rooms/sztuka.jpg');
}

#potwory-tile {
    background-image: url('/media/img/rooms/potwory.jpg');
}

#orient-tile {
    background-image: url('/media/img/rooms/orient.jpg');
}

#licencja-tile {
    background-image: url('/media/img/rooms/licencja.jpg');
}

/* koniec pokoi */
/* oferta */



#oferty-scroll-right {
    float: right;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);

}

#oferty-scroll-left,
#oferty-scroll-right {
    height: 28rem;
    width: 4rem;
    margin-bottom: -28rem;
    position: relative;
    z-index: 1;
    background-image: url('/media/svg/arrowBtnShadow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;


}

#oferty-container {
    /* przewijanie */
    overflow-x: scroll;
    overflow-y: hidden;
    box-sizing: content-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#oferty-container::-webkit-scrollbar {
    display: none;
}

#oferty-container {

    scroll-snap-type: x mandatory;
    display: flex;
    flex-flow: row;
    align-items: center;
    padding: 0 15rem;
}

.oferta {
    flex-shrink: 0;
    scroll-snap-align: center;
    margin: 2rem;
    width: 30rem;
    border-radius: 2rem;
    align-self: stretch;
    display: flex;
    flex-flow: column;

    >.oferta-content-wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        text-align: center;
    }

}


.oferta:nth-child(2n) {
    background-color: var(--aux);
}

.oferta:nth-child(2n-1) {
    background-color: white;
}



.oferta-header {
    color: #000;
    font-weight: bold;
    font-size: 1.75rem;
    padding: 0 1rem;
    margin: 0;
    margin-top: 1rem;

}


.oferta-content {
    color: #000;
    font-weight: bold;
    font-size: 1.25rem;
    padding: 0 1rem;
    display: inline-block;
}

/* koniec oferty */
/* vouchery */


#voucher-container {
    width: 90vw;
    max-width: 96rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    ;
    min-height: fit-content;
    background-color: var(--aux);
    border-radius: 2rem;
}

#voucher-container * {
    color: black;
    padding: 1rem;

}

#voucher-img {
    width: 30%;
    margin: auto;
    border-radius: 3rem;
    display: none;
}

#voucher-content {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;

}

/* koniec voucherów */
/* opinie */

#opinions {
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.opinions-container {
    display: flex;
    position: relative;
    z-index: 2;
}

.opinions-group {
    display: flex;
    animation: opinion 240s linear infinite;
}

.anim-reverse {
    animation-direction: reverse;
}

.opinion {
    font-family: 'Poppins-Bold', 'Trebuchet MS', 'Helvetica', 'Verdana', sans-serif;
    width: 40rem;
    margin: 0.5rem;
    background-color: var(--main);
    border-radius: 1rem;
    text-align: center;
    color: white;
    font-size: large;

    >* {
        float: left;

    }

}

.emph {
    color: var(--aux);
}


.stars {
    height: 100%;
    width: 5rem;
    padding: 0 1rem;
    display: flex;
    flex-flow: column;
    justify-content: space-evenly;

}

.text {
    width: 80%;
    height: 100%;
}

.title {
    color: white;
    font-weight: bold;
    position: relative;
    font-size: 1.5rem;
    top: 1rem;
    width: 100%;
    margin: 0 auto;

}

.content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem;
    padding-bottom: 2rem;
}

.score {
    height: 5rem;
    line-height: 5.6rem;
    background-image: url('/media/svg/star.svg');
    background-repeat: no-repeat;
    background-size: 5rem;
    font-weight: bold;
    font-size: 1.5rem;
    color: black;
   

}

/* koniec opinii */
/* animacje */


@keyframes opinion {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* koniec animacji */
/* responsywność */

/* malutkie ekrany */
/* wyobraź sobie, że ktoś ogląda tę stronę z Tamagotchi */
@media screen and (max-width: 768px) {
    #landing .socials {
        display: none;
    }

    #oferty {
        min-height: fit-content;
    }

    #oferty-scroll-left,
    #oferty-scroll-right {
        display: none;
    }

    #oferty-container {
        flex-flow: column;
        margin: 0;
        padding: 0;

    }

    .oferta {
        width: 90vw;
        margin: 1rem auto;
        min-height: fit-content;
    }
}

/* duże telefony i małe tablety */
/* chodzi głównie o wsparcie 1024x768 */



@media screen and (min-width: 768px) and (max-width: 966px) {


    #room-tiles>div>a>img {
        max-width: 18rem;
        padding: 2rem;
    }

}

@media screen and (min-width: 480px) {

    #oferty-scroll-left,
    #oferty-scroll-right {
        width: 8rem;
    }

}


/* średnie ekrany */
@media screen and (min-width: 768px) {



    #landing-text {
        margin-right: 10vh;
        width: 40vh;

        p {
            text-align: right;
        }
    }

    #voucher-img {
        display: initial;
    }

    #oferty-scroll-left,
    #oferty-scroll-right {
        background-position: 4rem;
        background-size: 8rem;
        width: 33vw;
    }



    #voucher-content {

        width: 60%;
        text-align: left;
        ;
    }
}

@media screen and (min-width: 966px) and (max-width:1366px) {
    #puzzle-piece {
        top: 25rem;
    }

    #key {
        top: 20rem;
    }


    #room-tiles>div>a>img {
        max-width: 18rem;
        padding: 2rem;
    }

}

/* duże ekrany */

@media screen and (min-width:1366px) {


    #room-tiles>div>a>img {
        max-width: 40rem;
        padding: 2rem;
    }

    #landing-horizontal-container {
        background-image: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1) 27%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 73%, rgba(0, 0, 0, 1)) url(/media/img/baner2.png);
    }
}

/* turboduże ekrany */

@media screen and (min-width: 3000px) {
    #oferty-container {
        justify-content: center;
    }

    #oferty-scroll-left,
    #oferty-scroll-right {
        display: none;
    }
}

@media (prefers-reduced-animaton: reduce) {
    #labirynt {
        animation: none;
    }

    .spinning {
        display: none;
    }

    .swaying {
        display: none;
    }

    .opinions-group {
        animation: none;
    }
}

/* Co, jeśli skrypty nie są wspierane? */

.no-js {
    #oferty-container {
        all: unset;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;

    }

    .oferta {

        margin: 1rem;
        max-width: 40vw;
        height: auto;
    }

    #oferty-scroll-left,
    #oferty-scroll-right {
        display: none;
    }


}