
p, h1, h2, a, li, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto; 
  font-style: normal;
  font-variation-settings: "wdth" 100;
  margin: 0;
  color: var(--blue-color);
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
}
h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--block-bg-1);
}
ul {
    list-style-type: none;
    padding-left: 0;
}
body {
    margin: 0;
    background-color: var(--background);
}
.wrapper {
    margin: 0 auto;
    width: 1110px;
}
:root {
    --red-color: #E1041C;
    --block-bg-1: #082751;
    --background: #F5F5F5;
    --Akcent-1: #FF7070;
    --Akcent-2: #557DA6;
    --grey-stroke: #B3B3B3;
    
    --shadow-block: 0 0 13px 4px #00000010;
}

.input-main {
    padding: 11px 10px;
    border-radius: 5px;
    background-color: var(--background);
    border: 1px solid var(--grey-stroke);
    box-sizing: border-box;
    font-size: 16px;
}
.btn-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    background-color: var(--background);
    border: 1px solid var(--grey-stroke);
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s linear;
}
.btn-1:hover {
    background-color: #ebebeb;
}

.btn-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    background: white;
    font-size: 16px;

    transition: 0.3s linear;
}
.btn-2:hover {
    opacity: 0.7;
}
.btn-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    background: var(--Akcent-2);
    color: white; 
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s linear;
    
}

/* Основновной контент  */

header {
    height: 100px;
    display: flex;
    align-items: center;
    background-color: white;
}
.header-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}
.header-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}
.header-search {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    gap: 20px;
}
.input-search {
    max-width: 540px;
    min-width: 262px;
    width: 100%;
    display: flex;
    position: relative;
    background: url(../img/icon-search.svg) center right 10px no-repeat, var(--background) ;
    background-size: 20px 20px;
    
}
.header-reg {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.btn-heder-enter {
    padding-left: 40px;
    background: url(../img/icon-person.svg) no-repeat center left 10px, var(--Akcent-2);
}
.btn-heder-enter:hover {
    background: url(../img/icon-person.svg) no-repeat center left 10px, #4a6d91;
}


.header-menu-block {
    background-color: var(--block-bg-1);
}
.heder-menu {
    display: flex;
    flex-direction: row;
    margin: 0;
    gap: 40px;
    padding: 20px 0;
    list-style-type: none;
    position: relative;

}
.heder-drop-menu {
    position: absolute;
    top: 100%;
    background-color: #868686;
    padding: 20px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 17px;
    z-index: 100;


    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.4s ease,
        opacity 0.2s ease ;
}
.heder-drop-menu.active {
    max-height: 500px;
    opacity: 1;
}

.heder-drop-menu li {
    font-size: 17px;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    transition: 0.3s linear;
}
.heder-menu-item-drop {
    display: none;
}
.heder-drop-menu li:hover {
     color: rgb(200, 200, 200);
} 

.heder-menu-item {
    color: white;
    font-weight: 700;

    transition: 0.3s linear;
}
.heder-menu-item:hover {
    color: rgb(218, 218, 218);
}
.heder-menu-item li{
    font-weight: 600;
}
.heder-menu-item:first-child {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}
.heder-menu-item:first-child::before {
    content: '';
    display: block;
    height: 24px;
    width: 24px;
    background: url(../img/icon-burger.svg) no-repeat center center;
}
.heder-menu:has(.heder-drop-menu.active) #heder-btn-catalog::before{
     background: url(../img/icon-footer-arrow.svg) no-repeat center center;
     background-size: 30px 30px;
     transform: rotate(270deg);
}


/* Секция марок авто  */

.section-catalog {
    margin-top: 50px;
}
.catalog-box {
    background-color: white;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 5px;
    border:  1px solid var(--grey-stroke);
    box-shadow: var(--shadow-block);
}

.catalog-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 22px;
    margin-top: 30px;
    /* gap: 30px; */
    column-gap: 50px;
    row-gap: 10px;
}
    
.catalog-list-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.catalog-list-column li {
    font-size: 16px;
    color: #082751;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
}
.catalog-list__read-word::before {
    content: ' ';
    width: 12px;
    display: flex;
    justify-content: flex-end;
    position: absolute;
    left: 0px;
    margin-left: -22px;
    font-weight: 700;
    color: var(--Akcent-1);
}
#read-word-b::before   {
      content: 'B';
}
#read-word-c::before   {
      content: 'C';
}
#read-word-d::before   {
      content: 'D';
}
#read-word-e::before   {
      content: 'E';
}
#read-word-f::before   {
      content: 'F';
}
#read-word-g::before   {
      content: 'G';
}
#read-word-h::before   {
      content: 'H';
}
#read-word-i::before   {
      content: 'I';
}
#read-word-j::before   {
      content: 'J';
}
#read-word-k::before   {
      content: 'K';
}
#read-word-l::before   {
      content: 'L';
}
#read-word-m::before   {
      content: 'M';
}
#read-word-n::before   {
      content: 'N';
}
#read-word-o::before   {
      content: 'O';
}
#read-word-p::before   {
      content: 'P';
}
#read-word-r::before   {
      content: 'R';
}
#read-word-s::before   {
      content: 'S';
}
#read-word-t::before   {
      content: 'T';
}
#read-word-v::before   {
      content: 'V';
}

.catalog-list__blod-word {
    text-align: start;
    font-weight: 700;
}


footer {
    margin-top: 200px;
    background-color: #989898;
    padding-top: 50px;
    padding-bottom: 50px;
}
.footer-box-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.footer-menu {
    display: flex;
    flex-direction: row;
    gap: 40px;
}
.footer-menu li{
    color: white;
    transition: 0.3s linear;
    font-size: 16px;
}
.footer-menu li:hover{
    color: rgb(233, 233, 233);
}
.footer-bottom {
    margin-top: 40px;
}
.footer-ofert-social {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footer-ofert {
    color: white;
    font-size: 15px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    height: 100%;
    align-items: center;
    cursor: pointer;
}
.footer-ofert::after {
    content: '';
    display: flex;
    height: 20px;
    width: 20px;
    background: url(../img/icon-footer-arrow.svg) no-repeat center center;
}
.footer-social {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: end;
}
.footer-social-item {
    cursor: pointer;
    height: 30px;
    width: 30px;
}
.footer-social-head {
  white-space: nowrap;
  color: white;
  margin-right: 10px;
  box-sizing: border-box;
}
.footer-line {
    height: 1px;
    width: 100%;
    background-color: white;
    margin-top: 10px;
}
.footer-desk {
    color: rgb(203, 203, 203);
    font-size: 13px;
    margin-top: 5px;
}

@media (max-width: 1110px) {
    .wrapper {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .footer-box-top {
        flex-direction: column;
    }
    .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
    .heder-drop-menu {
        left: -10px;
    }
}
@media (max-width: 860px) {
    .header-block {
        gap: 20px;
    }
}
@media (max-width: 760px) {
    .header-search .btn-1, .header-search .btn-2 {
        display: none;
    }
}
@media (max-width: 720px) {
    .heder-menu-item-drop {
        display: block;
    }
    .heder-menu-item {
        display: none;
    }
}
@media (max-width: 640px) {
    header {
        height: auto;
        padding: 20px 0;
    }
    .header-block {
        flex-direction: column;
    }
    .footer-ofert-social {
        flex-direction: column-reverse;
        gap: 50px;
    }
    .footer-social {
        align-self: center;
    }
    .footer-menu   {
        flex-direction: column;
        align-items: center;
    }

}