body {
    margin: 0;
    
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    color: #eeeeee;
    background-color: #eeeeee;
    -webkit-font-smooting: antialiased;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

h1, h2, h3, h4 ,h5 h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}


/*container*/

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}


/*header*/

.header {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    border-bottom: 1px solid #00adb5;
    padding: 35px 0;

}

/*nav*/


.nav {
    display: flex;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    
    
}

.nav__link {
    margin-left: 50px;
    color: #eeeeee;
    text-decoration: none;
    opacity: 1;
    
    transition: color .3s linear;
        
}

.nav__link:hover {
    color: #00adb5;
    
}

/*intro*/


.intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 750px;
    padding-top: 120px;
    background: #222831 url("images/intro-bg2.jpg")no-repeat center;
    background-size: cover;
}

.intro__inner {
    max-width: 970px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;

}


.intro__title {
    margin: 0 0 30px;
    font-family: 'Open Sans', sans-serif;
    font-size: 65px;
    line-height: 1.1;
    color: #eeeeee;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;

} 


.intro__text{
    margin: 0 0 30px;
    font-family: 'Open Sans', sans-serif;
    font-size: 65px;
    line-height: 1.1;
    color: #31c6cc;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    text-shadow: #393e46 0 0 0px;
    margin-top: 80px;
    
    
    
}

.intro__subtitle {
    margin-bottom: 60px;
    font-size: 22px;
    color: #eeeeee;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}



/*photos*/

.photo {
    margin: 100px 0;
    padding: 0 40px;
    display: inline-block;
    max-width: 100%;
    
}


/*btn*/

.back-to-top {
    background: #31c6cc;
    border-radius: 50%;
    position: fixed;
    bottom: -50px;
    padding: 10px 12px;
    right: 50px;
    cursor: pointer;
    transition: 0.3s all;
    box-shadow: #838994 0 0 10px;
}

.back-to-top.active {
    bottom: 50px;
    transition: 0.3s all;
}

/*features*/

.features {
    display: flex;
    margin: 100px 0;
    padding: 0 40px;
    align-items:baseline;
    flex-wrap: wrap;
}

.features__item {
    width: 33.3333333%;
    
    text-align: center;
    
    
}

.features__icon {
    margin-bottom: 25px;
}


.features__photo{
    margin-bottom: -250px;
    
}

.features__title {
    margin-bottom: 20px;
    
    font-size: 14px;
    color: #393e46;
    font-weight: 700;
    text-transform: uppercase;
}

.features__text {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #454b55;
}



/*why*/

.why {
    padding: 220px 0;
    background-color: #393e46;
    
}

.why__inner {
    display: flex;
    flex-wrap: wrap;
}

/*footer*/

.footer {
    padding: 80px 0;
    background-color: #393e46;
    
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
}

.footer__block {
    width: 33.3333333%;
    text-align: center;
   
    margin-right: -130px;
    
}

.footer__title {
        margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 20px;
    color: #00adb5;
    
}


.footer__address {
    font-size: 14px;
    line-height: 1.5;
    font-style: normal;
    color: #eeeeee;
    font-family: 'Open Sans', sans-serif;
}




/*Social*/

.social {
    display: flex;
}

.social--footer {
    justify-content: center;
}

.social__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 4px;
    color: #eeeeee;
    
    background-color: #393e46;
    border: 1px solid #393e46;
    
    transition: background .1s linear;
 
}

.social__item:hover {
    background-color: #393e46;
    color: #eeeeee;
}

.social__item:hover .social__icon {
    color: #eeeeee;
}

.social__icon {
    display: block;
    height: 18px;
    color: #eeeeee;
    
    fill: #c6cacc;
    
    transition: fill .5s linear;
}

/*cars*/


.cars_photo1{
    display: flex;
}

.cars__title{
    color: black;
    font-size: 28px;
    margin-bottom: 50px;
    text-align: left;
    display: flex;
    font-family: 'Open Sans', sans-serif;
}
.cars_title{
    color: black;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    font-family: 'Open Sans', sans-serif;
}

/*burger*/

.burger{
    display: none;
}

.burger__item{
    display: block;
    width: 30px;
    height: 3px;
    
    background-color: white;
    
}

/*media*/
  
@media (max-width: 991px) {
    .header__logo {
        margin-left: 30px;
    
    }
    
    
    .burger{
        display: none;
    }
    
    
    
    .footer__block {
        margin-left: 50px;
        margin-bottom: 45px; 
    }
        
        
        .nav {
    margin-right: 30px;
            max-width: 75%;
    }
    
        .photo {
        max-width: 50%;
    }
    
    .photo1 {
        max-width: 50%;
    }
}

@media (max-width: 680px) {
    
    .features {
        flex-wrap: wrap;
        margin-bottom: 140px;
        
    }
    .features__item {
        width: 50%;
    }
    
    .footer__block {
        margin-left: 40px;
        margin-bottom: 15px;
        
        
        
    }
    
    .intro__title {
     font-size: 45px;
    }
    
    .intro__subtitle {
     font-size: 14px;
        width: 90%;
        height: 90%;
        margin-left: 4px;
    }
    
    .nav {
        font-size: 12px;
    }
    
    .photo {
            display: flex;
    margin: 20px 0;
    padding: 0 93px;
    align-items:baseline;
    flex-wrap: wrap;
        justify-content: center;
    }

    
    .photo1 {
            display: flex;
    margin: 1px 0;
    padding: 0 0;
    align-items:baseline;
    flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer__block{
        display: flex;
    margin: 20px 0;
    padding: 0 93px;
    align-items:baseline;
    flex-wrap: wrap;
        justify-content: center;
    }

}
