/* Keyframes */
@keyframes marquee{
    0%{
        left: 0;
    }
    100%{
        left: -100%;
    }
}

/* Menu */
.menu__section{
    padding: 1% 0;
    background-color: var(--colorBlack);
}
.menu__logo img{
    width: 100px;
}

/* Banner */
.banner__section{
    min-height: 100vh;
}
.banner__container{
    grid-template-columns: 1fr 1fr;
}
.banner__windows{
    display: grid;
    grid-template-rows: 1fr 2.2fr;
    height: 600px;
    gap: 10px;
}
.banner__windows:last-child{
    grid-template-rows: 2.2fr 1fr;
}
.banner__window{
    width: 350px;
    border-radius: var(--borderRadius);
    background-position: center center;
    background-size: cover;
}
.banner__window_1{
    background-image: url("../img/main/1.webp");
}
.banner__window_2{
    background-image: url("../img/main/2.webp");
}
.banner__window_3{
    background-image: url("../img/main/3.jpg");
}
.banner__window_4{
    background-image: url("../img/main/4.jpg");
}

/* Marquee */
.marquee__inner{
    width: 100%;
    justify-content: space-around;
    position: relative;
    animation: marquee 13s linear infinite;
}
.marquee__container{
    width: 200%;
    padding: 0;
    justify-items: start;
    gap: 0;
}
.marquee__item{
    font-family: mls, serif;
}
.marquee__section{
    padding: 30px 0;
    background-color: var(--colorMain);
    justify-items: start;
    rotate: 2deg;
    scale: 1.01;
}

/* Popular */
.popular__inner{
    grid-template-columns: 1fr 1fr;
    position: relative;
}
.popular__arrow{
    position: absolute;
    top: calc(50% - 25px);
    width: 50px;
    height: 50px;
    font-size: 36px;
    cursor: pointer;
}
.popular__arrow_left{
    left: -50px;
}
.popular__arrow_right{
    right: -75px;
}
.rating__star{
    color: #f39938;
    position: relative;
    top: -2px;
}
.popular__item{
    grid-template-columns: 2fr 3fr;
}
.popular__wrap{
    grid-template-rows: auto auto auto 1fr;
}
.popular__img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--borderRadius);
}
.pagination__item{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--colorBlackLight);
    cursor: pointer;
}
.pagination__item_active{
    background-color: var(--colorMain);
}

/* Login */
.input{
    width: 100%;
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--colorBlackLight);
    padding: 10px;
    outline: none;
}
.input_red{
    border-bottom: 1px solid #ce4545;
}
select > option{
    background-color: black;
}
select{
    cursor: pointer;
}
.input:focus{
    border-bottom: 1px solid var(--colorMain);
}
.login__btn{
    padding: 10px 35px;
}

/* About */
.about__container{
    grid-template-columns: 2fr 3fr;
}
.about__img{
    width: 100%;
    object-fit: cover;
    height: 100%;
    border-radius: var(--borderRadius);
}
.about__wrapper{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
.about-item__img{
    width: 100px;
}
.about__item{
    width: 45%;
}

/* Tours */
.tours__inner{
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}
.tours-item__img{
    width: 100%;
    border-radius: var(--borderRadiusSmall);
    height: 300px;
    object-fit: cover;
}
.tours__item{
    grid-template-rows: auto auto auto auto auto 1fr;
}

/* Search */
.search__form{
    grid-template-columns: 8fr 1fr;
    width: 70%;
}

/* Reviews */
.reviews__inner{
    width: 200%;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}
.reviews__item{
    position: relative;
    padding: 20px;
    border-radius: var(--borderRadiusBig);
    border: var(--colorMain) 1px solid;
    grid-template-rows: auto auto auto auto 1fr;
}
.reviews-item__rating{
    position: absolute;
    top: 10px;
    right: 20px;
}
.reviews-item__img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Subscribe */
.checkbox-span{
    width: 20px;
    height: 20px;
    border-radius: var(--borderRadiusSmall);
    background-color: var(--colorBlackLight);
    position: relative;
    cursor: pointer;
}
input:checked + .checkbox-span::before{
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 2px;
    background-color: var(--colorMain);
}

/* Footer */
.footer__section{
    padding: 50px 0;
    background-color: var(--colorBlackLight);
}
.footer__container{
    gap: 25px;
}

/* Not Found */
.not-found__section{
    min-height: 100vh;
}
.not-found__title{
    font-size: 300px;
}
.not-found__img{
    width: 250px;
}
.not-found__text{
    position: relative;
    top: -75px;
}

/* Schedule */
.schedule__cell{
    width: 90px;
    height: 90px;
    background-color: var(--colorBlackLight);
    display: grid;
    grid-auto-flow: row;
    justify-items: center;
    align-content: center;
}
.schedule__row{
    display: grid;
    gap: 5px;
    grid-template-columns: auto repeat(12, 90px);
}
.schedule__cell_red{
    color: #ce4545;
    border: 1px solid #ce4545;
}
.schedule__cell_title{
    width: 100%;
}
.schedule__table{
    gap: 5px;
}

/* Registration */
.registration__img{
    width: 100%;
    height: 200px;
    border: 1px dashed var(--colorMain);
    display: grid;
    cursor: pointer;
    grid-auto-flow: row;
    justify-items: center;
    align-content: center;
    border-radius: var(--borderRadius);
}
.registration__img span{
    color: var(--colorMain);
}

/* Tour */
.tour__img{
    width: 70%;
    height: 400px;
    object-fit: cover;
    object-position: center center;
    border-radius: var(--borderRadius);
}
.tour__user{
    width: 22px;
    height: 22px;
}
.reviews__item_tour{
    display: none;
}

/* Media */
@media print{
    .tour__img{
        filter: grayscale(1);
    }
    .print_del{
        display: none;
    }
    .reviews__item_tour{
        display: grid;
    }
    .reviews__item_tour .reviews-item__img{
        filter: grayscale(1);
    }
    header{
        display: none;
    }
    .footer__section{
        display: none;
    }
}
@media(max-width: 1680px){
    .schedule__cell{
        width: 70px;
        height: 70px;
    }
    .schedule__cell_title{
        width: 100%;
    }
    .schedule__row{
        grid-template-columns: auto repeat(12, 70px);
    }
}
@media(max-width: 1480px){
    .popular__item:nth-child(2){
        display: none;
    }
    .popular__inner{
        grid-template-columns: 1fr;
    }
    .about__container{
        grid-template-columns: 1fr;
    }
    .about__img{
        height: 500px;
        object-position: bottom;
    }
    .reviews__item:nth-child(5){
        display: none;
    }
    .banner__window{
        width: 280px;
    }
    .banner__windows{
        height: 500px;
    }
    .schedule__cell{
        width: 50px;
        height: 50px;
    }
    .schedule__cell_title{
        width: 100%;
    }
    .schedule__row{
        grid-template-columns: auto repeat(12, 50px);
    }
}
@media(max-width: 1280px){
    :root{
        --h1: 56px;
        --h2: 36px;
        --h3: 28px;
        --h4: 24px;
        --h5: 20px;
        --h6: 18px;
        --h7: 15px;
        --fontDefault: 16px;
    }
    .reviews__item:nth-child(4){
        display: none;
    }
    .menu__nav{
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }
    .container{
        padding: 0 100px;
    }
    .banner__window{
        width: 230px;
    }
    .banner__windows{
        height: 400px;
    }
    .not-found__title{
        font-size: 200px;
    }
    .not-found__text{
        position: relative;
        top: -50px;
    }
    .schedule__cell{
        width: 40px;
        height: 40px;
    }
    .schedule__cell_title{
        width: 100%;
        font-size: 14px;
        text-align: center;
    }
    .schedule__row{
        grid-template-columns: auto repeat(12, 40px);
    }
}
@media(max-width: 1024px){
    :root{
        --h1: 64px;
        --h2: 36px;
        --h3: 28px;
        --h4: 24px;
        --h5: 20px;
        --h6: 18px;
        --h7: 15px;
        --fontDefault: 16px;
    }
    .reviews__item:nth-child(4){
        display: none;
    }
    .menu__nav{
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }
    .container{
        padding: 0 100px;
    }
    .banner__container{
        grid-template-columns: 1fr;
    }
    .banner__window{
        width: 190px;
    }
    .banner__windows{
        height: 340px;
    }
    .reviews__inner{
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
    .schedule__cell{
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .schedule__cell_title{
        width: 100%;
        font-size: 12px;
    }
    .schedule__row{
        grid-template-columns: auto repeat(12, 32px);
    }
}