/* HEADER / HOME */

@media screen and (max-width: 1400px){
    .top_oil{
        width: 450px;
    }
    .logo{
        margin-right: 20px;
    }
}

@media screen and (max-width: 1250px){
    .topmenu nav ul li a{
        min-width: 150px;
        padding: 8px 0;
    }

    body{
        --size_text: 22px;
        --big_text: 26px;
    }
}

@media screen and (max-width: 1024px){
    header{
        padding: 8px 0;
    }
    .top_oil{
        display: none;
    }
    header .container{
        justify-content: space-between;
    }
    .logo img{
        width: 160px;
    }

    #home{
        min-height: 450px;
    }
    .home__description{
        max-width: 100%;
    }

    #content > img{
        width: 100px;
    }
}

@media screen and (max-width: 768px){
    header{
        min-height: 80px;
    }
    header .container{
        flex-wrap: wrap;
    }
    .burger_menu{
        display: flex;
    }
    .topmenu{
        display: none;
        width: 100%;
        padding-top: 20px;
    }
    .topmenu nav{
        width: 100%;
    }
    .topmenu nav ul{
        flex-direction: column;
        width: 100%;
    }
    .logo{
        font-size: 9px;
        width: auto;
    }
    .logo img{
        width: 120px;
    }
    body{
        --size_text: 17px;
        --big_text: 20px;
    }

    .home__description h2{
        font-size: var(--big_text);
    }
}

/* SERVICES */

@media screen and (max-width: 1400px){
    .services__title h2{
        font-size: 35px;
    }
    .services__img{
        width: 500px;
        margin-right: 40px;
    }
    .services__item .container{
        justify-content: center;
    }

    #services .left_oil{
        width: 300px;
        top: 50%;
    }
    #services .right_oil{
        width: 140px;
    }
}

@media screen and (max-width: 768px){
    .services__item .container{
        flex-direction: column;
        padding-right: 0;
    }
    .services__img{
        margin-right: 0;
        width: 300px;
    }
    .services__title h2{
        padding-left: 0;
        border-left: none;
        text-align: center;
    }
    .services__title{
        max-width: 100%;
        margin-top: 40px;
    }

    #content > img{
        width: 70px;
    }

    .services__title h2{
        font-size: 22px;
    }
    .services__item{
        min-height: 300px;
    }
    #services .left_oil{
        width: 100px;
    }
}


@media screen and (max-width: 600px){
    #services .right_oil{
        display: none;
    }
}

/* CONTENT / BRANDS */

@media screen and (max-width: 768px){
    #content{
        padding: 50px 0 20px;
    }

    #content > img{
        width: 70px;
    }

    #brands{
        padding: 0 0 50px;
    }
}

/* ADVANTAGES */

@media screen and (max-width: 1250px){
    #advantages > img{
        height: 80%;
    }
}

@media screen and (max-width: 800px){
    #advantages > img{
        height: auto;
        width: 50px;
    }
}

@media screen and (max-width: 600px){
    .advantages__number{
        margin-right: 0;
        margin-bottom: 10px;
    }
    .advantages__item{
        flex-direction: column;
        text-align: center;
    }
}

/* OFFER / DOCUMENTS */

@media screen and (max-width: 768px){
    .offer__tel{
        font-size: 40px;
        -webkit-text-stroke: 2px #FFB906;
    }


    .documents__list{
        align-items: center;
        justify-content: center;
    }
    .documents__list > a{
        width: 51%;
        min-width: 250px;
    }
    .documents__list > a img{
        height: auto;
    }
}

/* FOOTER */

@media screen and (max-width: 768px){
    footer .container,
    .footer__contacts > div{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer__menu{
        margin-top: 30px;
    }
    .footer__menu > ul{
        flex-direction: column;
    }
    .footer__menu li{
        margin-left: 0;
        margin-top: 10px;
    }
}
