/*
    * Theme name: TKTeco
    * Author: Tokarev Alexandr
    * Author URI: https://al-tok.ru
*/

@import "assets/css/reset.css";
@import "assets/css/fonts.css";

body{
    font-family: 'oswald', sans-serif;
    position: relative;

    --size_text: 27px;
    --big_text: 34px;
}

.container{
    width: 1400px;
    max-width: 90%;
    margin: 0 auto;
}

/* HEADER */

header{
    background: #FFF;
    min-height: 140px;
    padding: 30px 0;
    position: relative;
}

header .container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
}

.top_oil{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.logo{
    width: 260px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    font-size: 12px;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-right: 100px;
}

.logo img{
    width: 227px;
}

.topmenu nav ul{
    display: flex;
    align-items: center;
    justify-content: center;
}

.topmenu nav ul li{
    font-family: 'grotesque', sans-serif;
    font-size: var(--size_text);
}

.topmenu nav ul li a{
    min-width: 247px;
    display: block;
    padding: 30px 0;
    transition: 0.4s ease;
    color: #000;
    text-align: center;
    border-radius: 5px;
}

.topmenu nav ul li a:hover{
    background: #FFB906;
    color: #FFF;
}

.burger_menu{
    width: 50px;
    height: 12px;
    cursor: pointer;
    transition: 0.4s ease;
    position: relative;
    display: none;
    z-index: 40;
}

.burger_menu span{
    background: #FFF;
    width: 100%;
    height: 0;
    display: block;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0;
    cursor: pointer;
    transition: 0.4s ease;
    border-radius: 2px;
}

.burger_menu span:before{
    bottom: 3px;
    right: 0;
    width: 80%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    content: '';
    display: block;
    position: absolute;
    transition: 0.4s ease;
}

.burger_menu span:after{
    top: 3px;
    right: 0;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    content: '';
    display: block;
    position: absolute;
    transition: 0.4s ease;
}

.burger_active span:before{
    transform: rotate(45deg);
    top: 0;
}

.burger_active span:after{
    transform: rotate(-45deg);
    width: 80%;
    top: 0;
}

/* HOME */

#home{
    min-height: 643px;
    background: url("assets/images/bg-home.jpg") no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.home__description{
    border-left: 16px solid #FFEC8A;
    padding-left: 15px;
    width: 840px;
    max-width: 70%;
    position: relative;
    z-index: 3;
}

.home__description h2{
    padding: 15px;
    font-size: 34px;
    background: linear-gradient(90deg, rgba(255, 215, 3, 0.3), rgba(255, 215, 3, 0.91), rgba(255, 215, 3, 0.3));
}

/* SERVICES */

#services{
    position: relative;
}

#services .left_oil{
    position: absolute;
    left: 0;
    top: 43%;
    z-index: 3;
    max-height: 50%;
}

#services .right_oil{
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 3;
    transform: translate(0, -50%);
    max-height: 100%;
}

.services__item{
    min-height: 462px;
    padding: 30px 0;
    margin-top: 18px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 34px 2px rgba(0,0,0,0.19);
}

.services__background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: cover;
    z-index: 1;
}

.services__item .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
    padding-right: 50px;
}

.services__img{
    width: 616px;
    text-align: center;
}

.services__title{
    width: 475px;
    max-width: 50%;
}

.services__title h2{
    padding-left: 14px;
    border-left: 6px solid #000;
    font-size: 45px;
}

/* CONTENT */

#content{
    padding: 70px 0;
    position: relative;
}

#content > img{
    top: -40px;
    left: 0;
    position: absolute;
    z-index: 1;
}

#content .container{
    position: relative;
    z-index: 2;
    width: 858px;
    font-size: var(--big_text);
    text-align: center;
    font-weight: 500;
}

/* BRANDS */

#brands{
    padding: 70px 0;
}

#brands p{
    font-size: var(--big_text);
    font-weight: 500;
    text-align: center;
}

#brands .container > img{
    margin: 30px 0;
}

/* ADVANTAGES */

#advantages{
    background: #FFEFC7;
    padding: 34px 0;
    position: relative;
}

#advantages > img{
    right: 0;
    position: absolute;
    bottom: 0;
}

#advantages .container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.advantages__list{
    width: 850px;
    max-width: 100%;
}

.advantages__item{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 40px;
    font-size: var(--big_text);
    font-weight: 500;
}

.advantages__item:first-child, .advantages__item > .advantages__item{
    margin-top: 0;
}

.advantages__number{
    margin-right: 40px;
    min-width: 57px;
    width: 57px;
    height: 57px;
    background: #FFB906;
    color: #FFF;
    font-family: 'grotesque', sans-serif;
    font-size: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

/* OFFER */

#offer{
    padding: 70px 0;
}

#offer .container{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#offer .container p{
    font-size: 25px;
    font-family: 'grotesque', sans-serif;
    text-transform: uppercase;
}

.offer__tel{
    font-size: 58px;
    color: #FFF;
    -webkit-text-stroke: 4px #FFB906;
    font-weight: 1000;
    text-shadow: 0 0 30px #FFB800;
}

.offer__mail{
    margin-top: 30px;
    font-size: 24px;
    color: #000;
    font-family: 'grotesque', sans-serif;
}

/* DOCUMENTS */

.documents__list{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.documents__list > a{
    /*width: 32.5%;*/
    margin-top: 20px;
    cursor: zoom-in;
}

.documents__list > a img{
    height: 300px;
    object-fit: cover;
    width: 100%;
    border-radius: 5px;
}

/* FOOTER */

footer{
    height: 570px;
    background: url("assets/images/bg_footer.png") no-repeat;
    background-size: cover;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    font-family: 'grotesque', sans-serif;
}

footer .container{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer__contacts > a{
    color: #FFF;
    font-size: var(--size_text);
}

.footer__contacts > div{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.footer__contacts > div a{
    margin-top: 15px;
    display: inline-block;
    color: #FFF;
    font-size: 19px;
}

.footer__mail{
    text-decoration: underline!important;
}

.footer__contacts > div p{
    margin-top: 15px;
    color: #FFF;
    font-size: 19px;
}

.footer__menu > ul{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: var(--size_text);
}

.footer__menu a{
    color: #FFF;
}

.footer__menu li{
    margin-left: 50px;
}