*{
    padding: 0;
    margin: 0;
}
/*Подключаем шрифт Roboto*/
@font-face  {
    font-family: Roboto;
    src: url("../fonts/Roboto.ttf");

}

@font-face  {
    font-family: Roboto;
    src: url("../fonts/Robotobold.ttf");
    font-weight: bold;
}

/*Для всей страницы укажем название шрифта*/
 body{
font-family: Roboto, sans-serif ;
 }

 /*Рамочка вокруг шапки*/
 .header{
     border-bottom: 1px solid #E5E5E5;
     padding: 25px 25px;
 }

 /*Задем ширину контейнера*/
 .container{
     max-width: 1200px;
     margin: 0 auto;
 }

 /*Выравниваем контейнер шапки по центру*/
 .header .container{
     display: flex;
     align-items: center;
 }

 /*Убираем св-во картинки добавлять отступ*/
 .logo img{
     vertical-align: bottom;
 }

 /*Пробел от логотипа*/
 .menu{
     margin-left: 240px;
 }

 /*Уберем маркеры у меню*/
.menu ul{
    list-style: none;
    display: flex;
}

/*Отступы между пунктами меню*/
.menu-item{
    margin-right: 115px;
}

/*Стили для ссылок внутри меню*/
.menu-item a{
    font-size: 15px;
    text-decoration: none;
    color: #030305;
}

/*Добавление рамки снизу*/
.menu-item a:hover{
    border-botton: 2px solid black;
}

/*Блок 1*/
.main {
    background-image: url("../images/background.png");
    background-position: center;
    background-size: cover;
    padding: 104px 0 154px 0;
}

.main-info{
    max-width: 855px;
}

.main-title{
    font-weight: bold;
    font-size: 80px;
    line-height: 110%;
    color: #030305;
    margin-bottom: 40px;
}

.main-text {
    font-size: 16px;
    line-height: 130%;
    color: #030305;
    /*Отступ снизу с переносом строки*/
    margin-bottom: 40px;
    max-width: 502px;
}

/*Опишем кнопки*/
.button{
    padding: 20px;
    width: 334px;
    height: 64px;
    background: #030305;
    /*Уберем рамку, потому что некоторые браузеры ее добавляют*/
    border: 0;
    /*Сделаем так, чтобы наши отступы входили в размеры*/
    box-sizing: border-box ;
    /*Выравнивание текста*/
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    /*Чтобы цвет менялся плавно*/
    transition: background-color .5s;
}

.button:hover{
    cursor: pointer;
    background: #575757;
}

/*Карточки с машинами*/
.car{
    padding: 100px 0;
}

.sub-title {
    font-weight: bold;
    font-size: 60px;
    line-height: 70px;
    color: #030305;
}

.car-items{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between ;
}

.car-item{
    max-width: 384px ;
    text-align: center;
    margin-top: 40px;
}



/*Эффект увеличения картинок в карточках*/
.car-item-image:hover img {
    transform: scale(1.1);
}
.car-item-image img {
    vertical-align: bottom;
    transition: all .3s;
}



.car-item-title{
    font-weight: bold;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #030305;
    padding: 15px 0 17px 0;
}

.car-item-info{
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-item-point{
    width: 110px;
    height: 92px;
    margin: 0 7.5px;
}

.car-item-point img{
    margin-bottom: 11px;
}

.car-item-action{
    margin-top: 13px ;
}

/*Кнопки, которые находятся внутри эл-та car-item*/
.car-item-action .button{
    width: 100%;
    padding: 15px;
    height: 54px;
}

/*Делаем жирной строку внутри карточки*/
.car-item-point> div:nth-child(2){
    font-weight: bold;
}

.price{
    overflow: hidden;
}

.price .container{
    position: relative;
    padding-bottom: 121px;
}

.price .sub-title{
    margin-bottom: 20px;
}

.price-text{
    font-size: 16px;
    line-height: 130%;
    color: #5D5D5F;
    margin-bottom: 60px;
}

.price-form{
    max-width: 344px;
}

.price-input{
    padding: 22px 18px;
    width: 344px;
    height: 65px;
    background: #FFFFFF;
    border: 1px solid #5D5D5F;
    box-sizing: border-box;
    outline: none;
    font-size: 16px;
    color: #000000;
    margin-bottom: 15px;
}

.price-input::placeholder{
    color: #5D5D5F
}

.price .button{
    width: 100%;
}

.price-image{
    position: absolute;
    bottom: 0;
    left: 401px;
}

.footer{
    border-top: 1px solid #E5E5E5;
    padding: 25px 25px;
}

.footer .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rights{
    font-size: 15px;
    text-align: right;
    color: #030305;
}
