/* CSS Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
    font-family: Comfortaa, serif;
    color: var(--colorWhite);
}
/* Fonts */
@font-face{
    src: url("../fonts/Comfortaa/static/Comfortaa-Regular.ttf");
    font-display: swap;
    font-family: Comfortaa;
    font-weight: 400;
}
@font-face{
    src: url("../fonts/Comfortaa/static/Comfortaa-Light.ttf");
    font-display: swap;
    font-family: Comfortaa;
    font-weight: 200;
}
@font-face{
    src: url("../fonts/Comfortaa/static/Comfortaa-Bold.ttf");
    font-display: swap;
    font-family: Comfortaa;
    font-weight: 700;
}
/* Global */
:root{
    --colorMain: #08F26D;
    --colorMainBlack: #1a914e;
    --colorSecond: #dba744;
    --colorWhite: #ffffff;
    --colorGrey: #e3dede;
    --colorBlack: #1c1620;
    --h1: 68px;
    --h2: 48px;
    --h3: 36px;
    --h4: 28px;
    --h5: 24px;
    --h6: 20px;
    --h7: 16px;
    --borderRadius: 5px;
    --borderRadiusBig: 15px;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: var(--colorBlack);
}
.light{
    --colorMain: #22a35a;
}
.light{
    background-color: var(--colorGrey);
}
.light *{
    color: var(--colorBlack);
}
.section{
    display: grid;
    grid-auto-flow: row;
    width: 100%;
    padding: 100px 0;
    position: relative;
    z-index: 2;
    justify-items: center;
    align-content: center;
}
.container{
    padding: 0 10%;
    width: 100%;
    display: grid;
    grid-auto-flow: row;
    justify-items: center;
    align-content: start;
}
.h1{
    font-size: var(--h1);
}
.h2{
    font-size: var(--h2);
}
.h3{
    font-size: var(--h3);
}
.h4{
    font-size: var(--h4);
}
.h5{
    font-size: var(--h5);
}
.h6{
    font-size: var(--h6);
}
.h7{
    font-size: var(--h7);
}
.w-700{
    font-weight: 700;
}
.w-200{
    font-weight: 200;
}
.color-main{
    color: var(--colorMain);
}
.color-main-black{
    color: var(--colorMainBlack);
}
.color-second{
    color: var(--colorSecond);
}
.color-white{
    color: var(--colorWhite);
}
.color-black{
    color: var(--colorBlack);
}
.grid{
    display: grid;
}
.grid-row{
    grid-auto-flow: column;
}
.grid-column{
    grid-auto-flow: row;
}
.gap-10{
    gap: 10px;
}
.gap-25{
    gap: 25px
}
.gap-10{
    gap: 10px;
}
.gap-25{
    gap: 25px
}
.gap-50{
    gap: 50px;
}
.gap-75{
    gap: 75px
}
.gap-100{
    gap: 100px;
}
.jc-s{
    justify-content: start;
}
.jc-c{
    justify-content: center;
}
.jc-e{
    justify-content: end;
}
.jc-sb{
    justify-content: space-between;
}
.ac-s{
    align-content: start;
}
.ac-c{
    align-content: center;
}
.ac-e{
    align-content: end;
}
.ac-sb{
    align-content: space-between;
}
.ai-s{
    align-items: start;
}
.ai-c{
    align-items: center;
}
.ai-e{
    align-items: end;
}
.ji-s{
    justify-items: start;
}
.ji-c{
    justify-items: center;
}
.ji-e{
    justify-items: end;
}
.js-s{
    justify-self: start;
}
.js-c{
    justify-self: center;
}
.js-e{
    justify-self: end;
}
.as-s{
    align-self: start;
}
.as-c{
    align-self: center;
}
.as-e{
    align-self: end;
}
.link{
    color: var(--colorWhite);
    text-decoration: none;
    cursor: pointer;
}
.light .link{
    color: var(--colorBlack);
}
.light .color-white{
    color: var(--colorBlack);
}
.btn{
    border-radius: var(--borderRadius);
    background-color: var(--colorMain);
    color: var(--colorBlack);
    text-decoration: none;
    cursor: pointer;
    padding: 10px 15px;
    border: none;
    outline: none;
}
.btn-white{
    background-color: var(--colorWhite);
    color: var(--colorMainBlack);
    border: var(--colorMainBlack) 1px solid;
}
.btn-black{
    background-color: var(--colorMainBlack);
    color: var(--colorWhite);
}
.w-inherit{
    font-weight: inherit;
}
.font-inherit{
    font-size: inherit;
}
.mb-10{
    margin-bottom: 10px;
}
.mb-25{
    margin-bottom: 25px;
}
.mb-50{
    margin-bottom: 50px;
}
.mb-75{
    margin-bottom: 75px;
}
.mb-100{
    margin-bottom: 100px;
}
.width-100{
    width: 100%;
}
.card{
    padding: 20px;
    border-radius: var(--borderRadiusBig);
    display: grid;
    grid-auto-flow: row;
    justify-items: start;
    align-content: start;
    gap: 10px;
    background-color: rgba(228, 225, 225, 0.9);
}
.d-n{
    display: none;
}
.color-red{
    color: #dd3d3d;
}
.ta-c{
    text-align: center;
}
/* Menu */
.menu_relative{
    position: relative;
}
.menu__section{
    padding: 10px 0;
    background-color: var(--colorBlack);
}
.light .menu__section{
    background-color: var(--colorWhite);
}
.menu__logo img{
    width: 80px;
}
header{
    position: fixed;
    z-index: 9;
    width: 100%;
}
.link_theme img{
    width: 40px;
}
/* Banner */
.banner__section{
    min-height: 100vh;
}
.banner__img{
    background-image: url("../img/banner/1.jpg");
    background-position: center center;
    background-size: cover;
    border-radius: var(--borderRadiusBig);
}
.banner__img_2{
    background-image: url("../img/banner/2.jpg");
}
.banner__img_3{
    background-image: url("../img/banner/3.jpg");
}
.banner__img_4{
    background-image: url("../img/banner/4.jpg");
}
.banner__imgs{
    grid-template-rows: 400px 100px;
    width: 300px;
}
.banner__imgs:last-child{
    grid-template-rows: 100px 400px;
}
.banner__container{
    grid-template-columns: 1fr 1fr;
}
/* Popular */
.popular__inner{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    position: relative;
}
.popular__card img{
    object-fit: cover;
    height: 300px;
}
.popular__card{
    padding: 0;
    overflow: hidden;
}
.card__item{
    margin: 0 10px;
}
.card__item:last-child{
    margin: 0 10px 10px;
}
.pagination{
    width: 100%;
}
.p__bullet{
    width: 15px;
    height: 15px;
    background-color: var(--colorGrey);
    border-radius: 50%;
    cursor: pointer;
}
.light .p__bullet{
    background-color: var(--colorBlack);
}
.p-bullet_active{
    background-color: var(--colorSecond) !important;
}
.arrow{
    width: 50px;
    height: 50px;
    position: absolute;
    background-color: var(--colorMainBlack);
    color: var(--colorWhite);
    border-radius: 50%;
    top: 45%;
    display: grid;
    grid-auto-flow: row;
    align-content: center;
    justify-items: center;
    cursor: pointer;
}
.arrow_l{
    left: -100px;
}
.arrow_r{
    right: -100px;
}
/* About */
.about__inner{
    width: 100%;
}
.about__inner img{
    width: 100%;
    border-radius: var(--borderRadiusBig);
}
.about__container{
    grid-template-columns: 1fr 1fr;
}
/* Video */
.video__video{
    max-width: 1024px;
    width: 100%;
}
/* Search */
.search__section{
    background-color: var(--colorMainBlack);
}
.search__input_inner{
    grid-template-columns: 3fr 1fr;
}
.form{
    width: 100%;
    max-width: 768px;
    display: grid;
    align-items: center;
}
.light .search__title{
    color: var(--colorWhite);
}
.input{
    padding: 10px;
    border-radius: var(--borderRadius);
    background-color: var(--colorWhite);
    border: none;
    color: var(--colorBlack);
    width: 100%;
}
.input:focus{
    outline: 1px black solid;
}
/* Reviews */
.reviews__container{
    overflow: hidden;
}
.reviews__inner{
    width: 200%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
}
.reviews__img{
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}
/* Login */
.login__forget{
    color: var(--colorSecond);
}
.login__form{
    justify-items: center;
}
/* Subscribe */
.arial{
    font-family: Arial;
}
.subscribe__section{
    color: black !important;
}
.subscribe__container::before{
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.55);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.subscribe__container{
    padding: 25px 20px;
    background-image: url("../design/background-original.jpg");
    background-position: center center;
    background-size: cover;
    height: 150px;
    border: 3px solid var(--colorMain);
    width: 800px;
    position: relative;
    z-index: 2;
    align-items: center;
    grid-template-columns: 40px auto auto auto;
    align-content: center;
    border-radius: 10px;
}
.subscribe__title{
    transform: rotate(-90deg);
    height: 20px;
    position: relative;
    left: -50px;
}
.subscribe__input{
    width: 200px;
    height: 40px;
}
.subscribe__btn{
    padding: 15px 20px;
    color: #fff;
    background-color: #4CAF50;
}
/* Footer */
.footer__nav{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
.footer__nav a{
    margin: 10px;
}
.footer__section{
    background-color: var(--colorMainBlack);
}
.light .footer__link{
    color: var(--colorWhite);
}
/* Registration */
.register__form{
    position: relative;
}
.register__form::before{
    position: absolute;
    content: '+';
    width: 30px;
    height: 30px;
    top: 0;
    right: -50px;
    border-radius: 50%;
    background-color: var(--colorWhite);
    display: grid;
    justify-content: center;
    align-items: center;
    color: var(--colorBlack);
    cursor: pointer;
}
.register__form::after{
    position: absolute;
    content: '-';
    width: 30px;
    height: 30px;
    top: 0;
    right: -90px;
    border-radius: 50%;
    background-color: var(--colorWhite);
    display: grid;
    justify-content: center;
    align-items: center;
    color: var(--colorBlack);
    cursor: pointer;
}
.register__input option{
    color: black;
}
/* 404 */
.section__404{
    min-height: 100vh;
    background-image: url("../img/404/404.png");
    background-position: center bottom;
    background-size: cover;
    align-content: end;
}
.err__text{
    text-align: center;
}
/* Table */
.table__table{
    display: grid;
    gap: 3px;
    grid-template-rows: repeat(9, 90px);
}
.table__row{
    display: grid;
    grid-template-columns: auto repeat(12, 90px);
    gap: 3px;
}
.table__cell{
    border-radius: var(--borderRadius);
    background-color: var(--colorGrey);
    color: var(--colorBlack);
    display: grid;
    justify-content: center;
    align-items: center;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    padding: 0 6px;
    width: 100%;
    overflow: hidden;
}
.table__row:first-child .table__cell{
    background-color: var(--colorSecond);
}
.cell_red{
    border-bottom: 6px solid #dd3d3d;
}
/* Competition */
.compet__img{
    width: 100%;
    object-fit: cover;
    border-radius: var(--borderRadiusBig);
}
.compet__inner{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.compet__inner .card{
    display: none;
}
/* Media */
@media(max-width: 1600px){
    *{
        font-size: 16px;
    }
    :root{
        --h1: 62px;
        --h2: 40px;
        --h3: 32px;
        --h4: 26px;
        --h5: 22px;
        --h6: 20px;
        --h7: 14px;
    }
    .banner__imgs{
        width: 200px;
    }
    .popular__card_l{
        display: none;
    }
    .reviews__card:last-child{
        display: none;
    }
    .table__table{
        display: grid;
        gap: 3px;
        grid-template-rows: repeat(9, 70px);
    }
    .table__row{
        display: grid;
        grid-template-columns: auto repeat(12, 70px);
        gap: 3px;
    }
}
@media(max-width: 1180px){
    .reviews__inner{
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
    .arrow{
        width: 40px;
        height: 40px;
    }
    .arrow_l{
        left: -50px;
    }
    .arrow_r{
        right: -50px;
    }
    .popular__card_ll{
        display: none;
    }
    .about__container{
        grid-template-columns: 1fr;
    }
    .banner__container{
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .container{
        padding: 0 5%;
    }
    .menu__logo .h4{
        font-size: 14px;
    }
    .menu__logo img{
        width: 60px;
    }
    .menu__logo span{
        font-size: 6px;
        white-space: nowrap;
    }
    .menu__link{
        font-size: 10px;
    }
    .register__form::before{
        top: -50px;
        right: 50px;
    }
    .register__form::after{
        top: -50px;
        right: 0;
    }
}
@media(max-width: 800px){
    *{
        font-size: 14px;
    }
    :root{
        --h1: 48px;
        --h2: 34px;
        --h3: 28px;
        --h4: 22px;
        --h5: 20px;
        --h6: 18px;
        --h7: 12px;
    }
    .banner__imgs{
        width: 200px;
    }
    .reviews__inner{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .arrow{
        width: 30px;
        height: 30px;
    }
    .arrow_l{
        left: -30px;
    }
    .arrow_r{
        right: -30px;
    }
    .reviews__card:nth-child(3){
        display: none;
    }
    .subscribe__container{
        grid-template-columns: 1fr;
        width: auto;
        height: auto;
    }
    .subscribe__title{
        transform: unset;
        position: static;
    }
    .section__404{
        background-image: url("../img/404/404-2.png");
    }
    .compet__inner{
        grid-template-columns: 1fr;
    }
}
@media(max-width: 576px){
    *{
        font-size: 14px;
    }
    :root{
        --h1: 48px;
        --h2: 34px;
        --h3: 28px;
        --h4: 22px;
        --h5: 20px;
        --h6: 18px;
        --h7: 12px;
    }
    .banner__imgs{
        width: 100px;
        grid-template-rows: 200px 50px;
    }
    .banner__imgs:last-child{
        width: 100px;
        grid-template-rows: 50px 200px;
    }
    .reviews__inner{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .arrow{
        width: 30px;
        height: 30px;
    }
    .arrow_l{
        left: 10px;
    }
    .arrow_r{
        right: 10px;
    }
    .reviews__card:nth-child(2){
        display: none;
    }
    .reviews__inner{
        width: 100%;
    }
    .popular__inner{
        grid-template-columns: 1fr;
    }
    .menu__container{
        grid-auto-flow: row;
    }
    .menu__nav{
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }
    .menu__link{
        margin: 5px;
    }
}
@media print{
    header{
        display: none;
    }
    footer{
        display: none;
    }
    .compet__img{
        filter: grayscale(1);
    }
    .print-d-n{
        display: none;
    }
    .print-white{
        color: var(--colorWhite);
    }
    .compet__inner .reviews__img{
        filter: grayscale(1);
    }
    .compet__inner .card{
        display: grid;
    }
}