@font-face {
    font-family: "Inter-UI-Black";
    src: url("../fonts/Inter/Inter-UI-Black.otf") format("opentype");
    }

@font-face {
    font-family: "Inter-UI-BlackItalic";
    src: url("../fonts/Inter/Inter-UI-BlackItalic.otf") format("opentype");
    }

@font-face {
    font-family: "Inter-UI-Bold";
    src: url("../fonts/Inter/Inter-UI-Bold.otf") format("opentype");
    }


@font-face {
    font-family: "Inter-UI-BoldItalic";
    src: url("../fonts/Inter/Inter-UI-BoldItalic.otf") format("opentype");
    }

@font-face {
    font-family: "Inter-UI-Italic";
    src: url("../fonts/Inter/Inter-UI-Italic.otf") format("opentype");
    }

@font-face {
    font-family: "Inter-UI-Medium";
    src: url("../fonts/Inter/Inter-UI-Medium.otf") format("opentype");
    }

@font-face {
    font-family: "Inter-UI-MediumItalic";
    src: url("../fonts/Inter/Inter-UI-MediumItalic.otf") format("opentype");
    }

@font-face {
    font-family: "Inter-UI-Regular";
    src: url("../fonts/Inter/Inter-UI-Regular.otf") format("opentype");
    }

@font-face {
    font-family: "Manrope-bold";
    src: url("../fonts/Manrope/Manrope-bold.otf") format("opentype");
    }


@font-face {
    font-family: "Manrope-light";
    src: url("../fonts/Manrope/Manrope-light.otf") format("opentype");
    }

@font-face {
    font-family: "Manrope-medium";
    src: url("../fonts/Manrope/Manrope-medium.otf") format("opentype");
    }

@font-face {
    font-family: "Manrope-regular";
    src: url("../fonts/Manrope/Manrope-regular.otf") format("opentype");
    }

@font-face {
    font-family: "Manrope-semibold";
    src: url("../fonts/Manrope/Manrope-semibold.otf") format("opentype");
    }

@font-face {
    font-family: "Manrope-thin";
    src: url("../fonts/Manrope/Manrope-thin.otf") format("opentype");
    }

@font-face {
    font-family: "Gilroy-Bold";
    src: url("../fonts/Gilroy-Gilroy-Bold.woff") format("opentype");
    }

@font-face {
    font-family: "Gilroy-Medium";
    src: url("../fonts/Gilroy-Gilroy-Medium.woff") format("opentype");
    }

@font-face {
    font-family: "Gilroy-Regular";
    src: url("../fonts/Gilroy-Gilroy-Regular.woff") format("opentype");
    }

@font-face {
    font-family: "Gilroy-SemiBold";
    src: url("../fonts/Gilroy-Gilroy-SemiBold.woff") format("opentype");
    }

* {
    box-sizing: border-box;
}

:root {
    --bac-color-def: rgb(211, 0, 0);
    --bac-color-hover: rgb(176, 2, 2);
    --bac-color-border: #e2e2e2;
    --bac-color-text: #36414F;
    --font-semibold: "Gilroy-SemiBold";
    --font-bold: "Gilroy-Bold";
    --bac-color-background: #f8f8f8;
    --pad-con: 0 230px;
    --pad-sec: 30px 0;
    --border-radius: 25px;
    --pad-vn: 20px;
    --line-height: 1.5;
}

html {  
    font-family: "Gilroy-Regular";
    color: var(--bac-color-text);
    background-color: var(--bac-color-background);
}



ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.section{
    padding: var(--pad-sec);
}

.container {
    max-width: 1920px;
    margin-right: auto;
    margin-left: auto;
    padding: var(--pad-con);
}

h3 {
    margin: 0;
}

p {
    font-size: 14px;
    padding: 0;
    margin: 0;
}

strong {
    font-family: var(--font-bold);
}

.display_none {
    display: none;
}


/* header */
.header {
    position: fixed;
    z-index: 10;
    width: 100%;
    top: 0;
    background-color: white;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}


.header_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}



.logo_hed {
    width: 60px;
}


.header_list_c {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header_list_r {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}


.header_list_r_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}


.header_list_r_item_nun {
    border-radius: 100%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: var(--bac-color-def);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

.header_list_c_item a {
    color: var(--bac-color-text);
}

.header_list_c_item a:hover {
    color: var(--bac-color-hover);
}


/* section_info */
.section_info {
    margin-top: 60px;
}

.container_info {
    display: flex;
    justify-content: space-between;
}

.h1_info {
    width: 45%;
    font-family: var(--font-bold);
}

.info_block {
    display: flex;
    align-items: center;
    width: 50%;
    margin-bottom: 30px;
}

.info_text {
    padding-right: 20px;
    text-align: right;
}

.info_h4 {
    font-family: var(--font-bold);
    margin-bottom: 10px;
}

.info_p {
    line-height: var(--line-height);
}


.info_face {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius);
}

.info_update {
    display: flex;
    gap: 25px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--pad-vn);
}

.info_update_img {
    height: 200px;
}

.info_update_date {
    font-size: 16px;
}

.info_update_ob,
.info_update_date {
    line-height: var(--line-height);
}







/* section_count */




.block_count {
    background-color: white;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: var(--pad-vn);
    margin-bottom: 30px;
}


.block_count_img {
    height: 270px;
    border-radius: var(--border-radius);
}

.block_count_centr {
    width: 35%;
}

.block_count_h3 {
    font-family: var(--font-bold);
    margin-bottom: 20px;
}

.popular {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bac-color-border);
}

.popular_like {
    align-items: center;
    margin-right: 20px;
}

.popular_span {
    font-size: 20px;
}

.popular_like_img {
    width: 20px;
    cursor: pointer;
    margin-right: 5px;
    transition: transform 0.3s ease-in-out;
}

.popular_dislike_img {
    width: 20px;
    cursor: pointer;
    margin-right: 5px;
    transition: transform 0.6s ease-in-out;
}

.popular_dislike_img:hover,
.popular_like_img:hover {
    scale: 1.3;
}

.block_count_p {
    padding-top: 10px;
    line-height: var(--line-height);
    font-size: 16px;
}

.block_count_right {
    width: 25%;
    padding-left: 20px;
    border-left: 1px solid var(--bac-color-border);
}

.block_count_right_b {
    font-family: var(--font-bold);
    color: var(--bac-color-text)
}

.block_count_right_a {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    background-color: var(--bac-color-def);
    border-radius: var(--border-radius);
}

.block_count_right_a:hover {
    background-color: var(--bac-color-hover);
}

.block_count_right_span {
    display: block;
    padding-bottom: 10px;
    line-height: var(--line-height);
}

.website {
    color: var(--bac-color-text);
    font-family: var(--font-semibold);
}

.website:hover {
    color: var(--bac-color-hover);
}

.block_count_pl_l {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Добавлено свойство для растяжения элементов */
    gap: 20px;
    margin-bottom: 30px;
}

.block_count_pl,
.block_count_minuses {
    width: 50%;
    padding: var(--pad-vn);
    background-color: white;
    border-radius: var(--border-radius);
    display: flex; /* Добавлено свойство для растяжения элементов */
    flex-direction: column; /* Добавлено свойство для растяжения элементов */
}

.block_count_span_min,
.block_count_span_pl {
    font-family: var(--font-bold);
    font-size: 25px;
}

.block_count_span_min {
    color: red;
}

.block_count_span_pl {
    color: green;
}

.block_count_pl_item {
    margin-bottom: 5px;
}

/* section_table  */



.table_sort thead tr td:first-child {
    text-align: left;
}

.table_sort thead tr td:not(:first-child) {
    cursor: pointer;
}

.table_sort thead tr td {
    padding-bottom: 15px;
    vertical-align: middle;
    text-align: center;
    font-family: var(--font-bold);
}

.table_sort thead tr td:not(:first-child):hover {
    color: var(--bac-color-hover);
}

.table_sort tbody tr td:first-child {
    text-align: left;
}

.table_sort tbody tr td {
    vertical-align: middle;
    border-top: 1px solid #e2e2e2;
    padding: 15px 0;
    text-align: center;
}

.table_sort {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--pad-vn);
    width: 100%;
}

.table_sort tbody tr td .df {
    display: flex;
    align-items: center;
    gap: 10px
}

.img_wr {
    width: 38px;
    border-radius: 100%;
}

.img_wr_se {
    width: 38px;
    height: 38px;
    border-radius: 1000%;
}


/* section_text_block */



.text_block_con {
    background-color: white;
    padding: var(--pad-vn);
    border-radius: var(--border-radius);
}

.h1_text_block {
    margin: 0;
    margin-bottom: 30px;
}

.text_block_item {
    line-height: var(--line-height);
    margin-bottom: 10px;
}

.text_block_item:last-child {
    margin-bottom: 30px;
}

.text_block_p {
    font-size: 16px;
    line-height: var(--line-height);
}

/* section_purchasing_stages */


.block_purchasing_stages {
    background-color: white;
    padding: var(--pad-vn);
    border-radius: var(--border-radius);
}

.h1_purchasing_stages {
    margin: 0;
    margin-bottom: 15px;
}




.purchasing_stages_list_right,
.purchasing_stages_list_left {
    width: 50%;
}


.purchasing_stages_list_right,
.purchasing_stages_list_left_item {
    font-size: 16px;
    line-height: var(--line-height);
}


/* section_purchasing_car */

.div_list_car {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block_purchasing_car {
    background-color: white;
    padding: var(--pad-vn);
    border-radius: var(--border-radius);
}

.h1_purchasing_car {
    margin: 0;
    margin-bottom: 15px;
}




.purchasing_car_list_right,
.purchasing_car_list_left {
    width: 50%;
}


.purchasing_car_list_right,
.purchasing_car_list_left_item {
    font-size: 16px;
    line-height: var(--line-height);
}

/* section_reviews */

.block_reviews {
    background-color: white;
    padding: var(--pad-vn);
    border-radius: var(--border-radius);
}

.h1_reviews {
    margin: 0;
    margin-bottom: 15px;
}

.reviews_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.reviews_list_item {
    width: calc(50% - 10px); 
    border: 1px solid var(--bac-color-border);
    border-radius: var(--border-radius);
    padding: var(--pad-vn);
}

.reviews_list_item_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reviews_list_item_name_div {
    margin-bottom: 10px;
}

.reviews_list_item_span {
    display: block;
    font-family: var(--font-bold);
}

.reviews_list_item_span:first-child {
    margin-bottom: 10px;
}

.reviews_list_item_span_a {
    color: var(--bac-color-text);
}

.reviews_list_item_span_a:hover {
    color: var(--bac-color-hover);
}

.reviews_list_item_grade_img {
    height: 18px;
    margin-right: 5px;
}

.reviews_list_item_p {
    line-height: var(--line-height);
}

.h1_wishes {
    margin: 0;
    margin-bottom: 15px;
}


.form_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; 
}

.first_name, 
.e_mail,
.items_select_brand,
.items_select_grade {
    width: 300px;
    height: 60px;
    padding: 20px;
    color: var(--bac-color-text);
    font-weight: 300;
    background-color: white;
    border: 0px;
    outline: 0px;
    border: 1px solid var(--bac-color-border);
    border-radius: var(--border-radius);
    overflow: visible;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 20px;
    border: 1px solid var(--bac-color-border);
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23000000" width="24" height="24" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    cursor: pointer;
  }


.form_body {
    margin-top: 20px;
    margin-bottom: 20px;
}

.text_form_body {
    display: block;
    resize: none;
    height: 150px;
    border: 0px;
    outline: 0px;
    border: 1px solid var(--bac-color-border);
    border-radius: var(--border-radius);
    width: 100%;
    padding: var(--pad-vn);
    text-indent: 0;
    line-height: var(--line-height);
}

.form_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.form_btn {
    width: 250px;
    height: 50px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bac-color-def);
    border-radius: var(--border-radius);
    font-family: var(--font-semibold);
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    transition: all 0.3s linear;
}

.form_btn:hover {
    background: var(--bac-color-hover);
}



/* footer */

.footer {
    background-color: white;
}

.container_footer {
    padding-bottom: 30px;
    padding-top: 30px;
    display: flex;
    justify-content: space-around;
    gap: 20px;
}


.footer_img_logo {
    height: 100px;
}

.footer_right {
    width: 50%;
}

.footer_right_a {
    color: var(--bac-color-text);
}

.footer_right_a:hover {
    color: var(--bac-color-hover);
}

.footer_right_p {
    margin-top: 15px;
    line-height: var(--line-height);
}

.formatted_date_foo {
    font-family: var(--font-bold);
    padding-bottom: 10px;
    text-align: center;
}


@media (max-width: 1760px) {
    :root {
        --pad-con: 0 150px;
    }
 
}

@media (max-width: 1600px) {
    :root {
        --pad-con: 0 100px;
    }
 
}

@media (max-width: 1440px) {
    :root {
        --pad-con: 0 50px;
    }
 
}

@media (max-width: 1350px) {
    :root {
        --pad-con: 0 40px;
    }

    /*  */

    /* section_reviews */
    .form_top {
        justify-content: space-around;
    }
    
}


@media (max-width: 1280px) {
    :root {
        --pad-con: 0 40px;
    }

    /* section_info */
    .h1_info br {
        display: none;
    }

    /* section_count */
    .block_count {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .block_count_right {
        flex: 1 0 100%;
        border: none;
        padding: 0;
    }

    .block_count_right_a {
        width: 300px;
    }

}


@media (max-width: 1024px) {
    /* section_count */
   
    .block_count_centr,
    .block_count_img_wrapper {
        flex: 1 0 100%;
    }

    /* footer */
    .container_footer {
        justify-content: center ;
        align-items: center;
        flex-wrap: wrap;
        gap: 20%;
    }

   .footer_right {
    flex: 1 0 100%;
    text-align: center;
    margin-top: 20px;
   }
 
}


@media (max-width: 768px) {
    :root {
        --pad-con: 0 40px;
    }
    /* section_info */
    .container_info {
        display: block;
    }

    .h1_info {
       width: 100%; 
    }

    .h1_info br {
        display: block;
    }

    .info_block {
        width: 100%;
    }

    .info_update {
        display: block;
    }

    .info_update_img {
        display: none;
    }

    /* section_count */
   
    .block_count_img {
        width: 100%;
        height: auto;
    }

    /* .section_reviews */


    .reviews_list_item {
        flex: 1 0 100%;
    }
 
}


@media (max-width: 576px) {

    :root {
        --pad-con: 0 15px;
    }

    h1 {
        font-size: 20px;
    }

    /* header */ 
    .header_list_c {
        display: none;
    }

    /* section_info */
    .h1_info {
        text-align: center;
    }

    /* section_count */


    .block_count_img {
        width: 100%;
        height: auto;
    }

    .block_count_right_a {
        width: 100%;
    }

    .block_count_pl_l {
        display: block;
    }


    .block_count_minuses,
    .block_count_pl {
        width: 100%;
    }

    .block_count_pl {
        margin-bottom: 30px;
    }

    /* section_table */
    .sort:last-child {
        display: none;
    }

    .table_sort tbody tr td:last-child {
        display: none;
    }

    /* section_purchasing_stages */
    .div_list_car {
        display: block;
    }

    .purchasing_stages_list_left,
    .purchasing_stages_list_right {
        width: 100%;
    }

    /* section_purchasing_stages */
    .div_list {
        display: block;
    }

    .purchasing_car_list_left,
    .purchasing_car_list_right {
        width: 100%;
    }

    /* .section_reviews */

    .first_name,
    .e_mail,
    .items_select_brand,
    .items_select_grade {
        flex: 1 0 100%;
    }

    .form_btn {
        width: 100%;
    }
 
}









