* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Roboto";
    src: url(../fonts/Roboto.ttf);
}

@font-face {
    font-family: "Roboto";
    src: url(../fonts/Robotobold.ttf);
    font-weight: 700;
}

body {
    font-family: "Roboto", sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    border-bottom: 1px solid #E5E5E5;
    padding: 25px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    vertical-align: bottom;
}

.menu__body {
    margin-left: 240px;
}

.nav__list {
    list-style: none;
    display: flex;
    gap: 115px; /* в уроке делается через margin-right, что в свою очередь вынуждает делать дополнительный стиль для последнего элемента списка, либо прописывать этот слить с селектором :not(:last-child)*/
}

.nav__link {
    font-size: 15px;
    color: #030305;
    text-decoration: none;
}

.nav__link:hover {
    border-bottom: 2px solid #000;
}

.first {
    background-image: url("../img/background.png");
    background-position: center;
    background-size: cover;
    padding: 104px 0 154px 0;
}

.first__block {
    max-width: 855px;
}

.first__block__title {
    font-weight: 700;
    font-size: 80px;
    line-height: 110%;
    color: #030305;
    margin-bottom: 40px;
}

.first__block__desc {
    max-width: 502px;
    font-size: 16px;
    line-height: 130%;
    color: #030305;
    margin-bottom: 40px;
}

.button {
    width: 334px;
    height: 64px;
    padding: 20px;
    background-color: #030305;
    border: 0;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    transition: background-color 0.5s;
}

.button:hover {
    cursor: pointer;
    background-color: #575757;
}

.cars {
    padding: 100px 0;
}

.cars__title,
.price__title {
    font-weight: 700;
    font-size: 60px;
    line-height: 70px;
    color: #030305;
}

.cars__items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.car__item {
    max-width: 384px;
    text-align: center;
    margin-top: 40px;
}

.item__img {
    vertical-align: bottom;
}


.item__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #030305;
    padding: 15px 0 17px 0;
}

.item__settings {
    display: flex;
    align-items: center;
    justify-content: center;
}

.item__settings__point {
    width: 110px;
    height: 92px;
    margin: 0 7.5px;
}

.item__settings__point > p:nth-child(2) {
    font-weight: 700;
}

.item__settings__point img {
    margin-bottom: 11px;
}

.item__button {
    margin-top: 13px;
}

.item__button .button {
    width: 100%;
    padding: 15px;
    height: 54px;
}

.price {
    overflow: hidden;
}

.price .container {
    position: relative;
    padding-bottom: 121px;
}

.price__title {
    margin-bottom: 20px;
}

.price__decs {
    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;
    font-size: 16px;
    color: #000;
    outline: none;
    margin-bottom: 15px;
}

.price__input::placeholder {
    color: #5D5D5F;
}

.price__form button {
    width: 100%;
}

.price__img {
    position: absolute;
    bottom: 0;
    left: 401px;
}

.footer {
    border-top: 1px solid #e5e5e5;
    padding: 25px 0;
}
.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer_copyright {
    font-size: 15px;
    color: #030305;
}