@font-face {
    font-family: 'Fira Sans';
    src: local('Fira Sans Regular'), local('FiraSans-Regular'),
    url('fonts/FiraSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans';
    src: local('Fira Sans SemiBold'), local('FiraSans-SemiBold'),
    url('fonts/FiraSans-SemiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

* {
    font-family: 'Fira Sans', serif;
}

:root {
    --text-color: #1A1C1F;
    --button-main-color: #E74B3C;
}

body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: Mont, serif;
}

.header__top {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e3e3e3;
    padding: 30px 0;
    box-sizing: border-box;
}

.header__logo {
    width: 245px;
    height: auto;
}

.header__logoImg {
    width: 100%;
    height: 60px;
}

.headerForm {
    display: flex;
}

.headerForm__input {
    outline: none;
    border: 1px solid #e3e3e3;
    width: 700px;
    box-sizing: border-box;
    padding: 14px 55px 14px 28px;
    font-size: 16px;
    transition: all ease-in-out 0.3s;
}

.headerForm__input:hover,
.headerForm__input:active,
.headerForm__input:focus {
    border: 1px solid #cc3d3d;
}

.headerForm__submit {
    font-size: 16px;
    color: #fff;
    width: 80px;
    height: 50px;
    background: #cc3d3d;
    border: none;
    outline: none;
    cursor: pointer;
    transition: opacity ease-in-out 0.3s;
}

.headerForm__submit:hover {
    opacity: 0.7;
}

.header__registration {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    padding: 12px 16px;
    background: #85C1E9;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: opacity ease-in-out 0.3s;
}

.header__registration:hover {
    opacity: 0.7;
}

.title {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    width: 100%;
    padding: 16px 0;
    box-sizing: border-box;
    margin: 0;
    color: var(--text-color);
}

.title__suffix {
    color: #89919C;
}

.subTitle {
    all: unset;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: var(--text-color);
}

.button {
    all: unset;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #357894;
    padding: 12px 16px;
    background: #EBF2F4;
    border-radius: 8px;
    cursor: pointer;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    width: 230px;
    margin-right: 16px;
    background: #fff;
    border-radius: 5px;
}

.card__img {
    width: 106px;
    height: 106px;
    background: #E0E4E7;
    border-radius: 8px;
}

.card__info {
    width: 90%;
    margin: 18px 0 12px 0;
}

.card__infoRow {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    line-height: 16px;
}

.card__infoTitle {
    margin: 4px 0;
}

.card__infoValue {
    margin: 4px 0;
    font-weight: 700;
    color: #357894;
}

.card__name {
    width: 100%;
    font-size: 14px;
    line-height: 16px;
    color: #4F565F;
}

.card__nameTitle {
    font-weight: bold;
    margin-bottom: 4px;
}

.card__bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card__button {
    all: unset;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    padding: 6px 16px;
    background: var(--button-main-color);
    border-radius: 8px;
    cursor: pointer;
}

.card__price {
    all: unset;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: var(--text-color);
}

.cards {
    width: 100%;
    margin: 24px 0 16px 0;
    overflow-x: scroll;
}

.cards__list {
    display: inline-flex;
}

.content {
    width: 1200px;
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content__row {
    display: flex;
    width: 100%;
    margin-bottom: 32px;
}

.content__row_vertical {
    flex-direction: column;
}

.content__block {
    padding: 24px;
    background: #fff;
    border-radius: 5px;
    box-sizing: border-box;
}

.content__block:nth-of-type(even) {
    margin-left: 24px;
}

.content__block_wide {
    width: 55%;
    flex: 1 1 0;
}

.content__block_small {
    width: 45%;
}

.part__top {
    display: flex;
    width: 100%;
}

.part__img {
    width: 200px;
    height: 200px;
    background: #E0E4E7;
    border-radius: 8px;
}

.part__info {
    flex: 1 1 0;
    margin-left: 32px;
}

.part__list {
    padding: 0;
    margin: 24px 0;
    column-count: 2;
}

.part__listItem {
    width: 100%;
    display: inline-flex;
    font-size: 14px;
    line-height: 20px;
    margin: 12px 0;
    color: #89919C;
}

.part__listSeparator {
    border-bottom: 1px solid #89919C;
    width: 100%;
    flex: 1 0 0;
}

.part__bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.part__price {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    margin-right: 18px;
    color: var(--text-color);
}

.part__button {
    all: unset;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    padding: 12px 16px;
    background: var(--button-main-color);
    border-radius: 8px;
    cursor: pointer;
}

.cars {
    margin: 24px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 24px;
    color: #89919C;
    background: #fff;
    border-radius: 4px;
    text-transform: capitalize;
}

.cars__row {
    display: flex;
}

.cars__row:first-of-type {
    border-bottom: 1px solid #89919C;
}

.cars__cell {
    border-right: 1px solid #89919C;
    padding: 4px;
    word-break: break-word;
    text-align: center;
    flex: 1 1 0;
}

.about {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color);
    margin: 24px 0;
}

.reviews {
    width: 100%;
    margin: 24px 0;
    overflow-x: scroll;
}

.reviews__list {
    display: inline-flex;
}

.review {
    background: #fff;
    border: 1px solid #B4B9C0;
    border-radius: 8px;
    padding: 12px;
    width: 400px;
    box-sizing: border-box;
    margin-right: 12px;
}

.review__rate {

}

.review__text {
    font-size: 14px;
    line-height: 20px;
    margin: 4px;
    color: var(--text-color);
 }

.footer {
    width: 100%;
    background: #eff0f2;
}

.footer__content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px 0;
    border-bottom: 2px solid #fff;
}

.footer__searchInfo {
    width: 400px;
}

.footer__searchTitle {
    font-size: 38px;
    font-weight: 700;
    line-height: 40px;
}

.footer__searchInfoText {
    font-size: 14px;
}

.footerForm {
    display: flex;
    width: 700px;
}

.footerForm__input {
    outline: none;
    border: 1px solid #e3e3e3;
    width: 500px;
    box-sizing: border-box;
    padding: 14px 55px 14px 22px;
    margin: 0 8px;
    font-size: 16px;
    transition: all ease-in-out 0.3s;
}

.footerForm__input:hover,
.footerForm__input:active,
.footerForm__input:focus {
    border: 1px solid #cc3d3d;
}

.footerForm__submit {
    font-size: 16px;
    color: #fff;
    background: #cc3d3d;
    padding: 0 32px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: opacity ease-in-out 0.3s;
}

.footerForm__submit:hover {
    opacity: 0.7;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 0;
    border-bottom: 2px solid #fff;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.footer__contacts {
    align-self: center;
}

.footer__logo {
    width: 235px;
    height: auto;
}

.footer__menu {
    align-self: start;
}

.footer__menuTitle {
    font-weight: 700;
    text-transform: uppercase;
}

.footer__menuList {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer__menuItem {
    font-size: 14px;
    margin: 12px 0;
    line-height: 1.2;
}

.footer__menuLink {
    text-decoration: none;
    cursor: pointer;
}

.footer__menuLink:hover {
    color: #cc3d3d;
}

.footer__banking {
    width: 150px;
    height: auto;
}

.footer__copyright {
    font-size: 12px;
}

@media screen and (max-width: 1100px) {
    body {
        width: 100%;
    }

    main {
        width: 100%;
        padding: 24px;
        box-sizing: border-box;
    }

    .header__top {
        width: 100%;
        flex-direction: column;
        padding: 30px 12px;
    }

    .headerForm {
        margin: 24px 0;
    }

    .headerForm__input {
        width: 100%;
        font-size: 14px;
    }

    .title {
        font-size: 24px;
        line-height: 28px;
        padding: 24px 0;
    }

    .subTitle {
        font-size: 22px;
        line-height: 26px;
    }

    .content {
        width: 100%;
        padding: 24px;
        box-sizing: border-box;
    }

    .content__row {
        flex-direction: column;
    }

    .content__block_wide,
    .content__block_small {
        width: 100%;
    }

    .content__block:last-of-type {
        margin-left: 0;
        margin-top: 24px;
    }

    .part__top,
    .part__bottom {
        flex-direction: column;
        align-items: center;
    }

    .part__info {
        margin-top: 24px;
        margin-left: 0;
    }

    .part__list {
        column-count: 1;
    }

    .cars {
        overflow-x: scroll;
    }

    .cars__row {
        width: 450px;
    }

    .footer__search {
        flex-direction: column;
    }

    .footer__searchInfo {
        width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .footer__searchTitle {
        font-size: 22px;
        line-height: 22px;
    }

    .footer__searchText {
        font-size: 14px;
    }
    .footerForm {
        width: 100%;
    }

    .footerForm__input {
        width: 100%;
        font-size: 14px;
        padding: 8px;
    }

    .footer__top {
        flex-direction: column;
        margin: 0 24px;
    }

    .footer__menu {
        width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
    }
}
