#media{
    background-color: RGBA(0, 0, 0, 0.2);
    color: #000;
    width: 150px;
    height: 25px;
    padding: 0 5px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    display: none;
}

#media:before{
    content: 'Базис';
}

@media screen and (min-width: 320px){
    #media:before{
        content: 'min-width: 320px';
    }
}

@media screen and (min-width: 360px){
    #media:before{
        content: 'min-width: 360px';
    }

    .tariffs .item h3{
        font-size: 25px;
    }

    section a.btn,
    section button.btn{
        font-size: 30px !important;
        max-width: 380px;
    }
}

@media screen and (min-width: 480px){
    #media:before{
        content: 'min-width: 480px';
    }

    .subindex header,
    .subindex header .container-fluid{
        height: 153px;
    }

    .subindex header .container-fluid{
        grid-template-columns: 168px 1fr;
        justify-items: end;
    }

    .subindex header .phone{
        align-self: center;
    }

    footer .container-fluid{
        height: 123px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 45px;
        /*@formatter:off*/
        grid-template-areas:
            "l p"
            "l s";
        /*@formatter:on*/
        justify-items: end;
    }

    footer .container-fluid .logo{
        justify-self: start;
    }
}

@media screen and (min-width: 576px){
    #media:before{
        content: 'min-width: 576px';
    }

    header .slogan{
        width: 10em;
    }

    .carousel .container-fluid .good_list.slick-slider{
        padding: 0 40px;
    }

    .carousel .container-fluid .slick-prev,
    .carousel .container-fluid .slick-next{
        display: inline-block !important;
    }
}

@media screen and (min-width: 670px){
    #media:before{
        content: 'min-width: 670px';
    }

    .tariffs .container-fluid{
        grid-gap: 30px;
        max-width: 621px;
    }
}

@media screen and (min-width: 768px){
    #media:before{
        content: 'min-width: 768px';
    }
}

@media screen and (min-width: 950px){
    #media:before{
        content: 'min-width: 950px';
    }

    .index header{
        background-size: auto;
        background: url("/frontend/themes/theme_elite_dating/image/girl-small.webp") right 0 top 0 no-repeat,
        url("/frontend/themes/theme_elite_dating/image/header.png") 0 0 repeat-x;
    }
}

@media screen and (min-width: 970px){
    #media:before{
        content: 'min-width: 970px';
    }

    .good_one .flex_good_one .info .title{
        margin: 0;
    }
}

@media screen and (min-width: 992px){
    #media:before{
        content: 'min-width: 992px';
    }
}

@media screen and (min-width: 1200px){
    #media:before{
        content: 'min-width: 1200px';
    }

    .index header{
        height: 800px;
        background: url("/frontend/themes/theme_elite_dating/image/girl.webp") left calc(50% + 310px) top 0 no-repeat,
        url("/frontend/themes/theme_elite_dating/image/header.png") 0 0 repeat-x;
    }

    header .slogan{
        bottom: 340px;
    }

    .geography,
    section .container-fluid,
    main .container-fluid{
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    main .container-fluid,
    section .container-fluid{
        grid-gap: 50px;
    }

    .tariffs .container-fluid{
        max-width: 1198px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .geography{
        background: url("/frontend/themes/theme_elite_dating/image/karta.png") left 20vw top 150px no-repeat #151515;
        height: 800px;
        background-size: auto;
    }

    .more{
        margin-top: 95px;
    }
}

@media screen and (min-width: 1220px){
    #media:before{
        content: 'min-width: 1220px';
    }

    .subindex .container-fluid{
        width: 1200px;
    }
}

@media screen and (min-width: 1386px){
    #media:before{
        content: 'min-width: 1386px';
    }

    .index .container-fluid{
        width: 1366px;
    }

    .carousel .slider{
        display: block;
    }

    .carousel .slider2{
        display: none;
    }

    .advantages .container-fluid,
    .stages .container-fluid{
        padding-left: 86px !important;
        padding-right: 86px !important;
    }

    .carousel .container-fluid{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}