.header{
    background-color: var(--secondary-light-color);
    color: var(--primary-dark-color);
    padding: 22px 0;
    z-index: 100;
    position: sticky;
    top: 0;
}

.header-container{
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

@media print {
    .header-container{
        display:none;
    }
}

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


.header-navigation .logo{
    display: none;
}

.header-menu{
    display: flex;
    align-items: center;
    /* position: relative; */
}

.header-menu .menu-link{
    position: relative;
    color: var(--primary-dark-color);
    transition: 0.2s ease-in-out;
    padding: 4px 8px;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.header-menu .menu-item .menu-link:after{
    content: "";
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    transform-origin: 0 50%;
    transform: scaleX(0);
    transition: transform .3s cubic-bezier(.51,.92,.24,1),-webkit-transform .3s cubic-bezier(.51,.92,.24,1);
}

.header-menu .menu-item.menu-item--color1 .menu-link:after{
    background-color: var(--additional-1-color);
}

.header-menu .menu-item.menu-item--color2 .menu-link:after{
    background-color: var(--additional-2-color);
}

.header-menu .menu-item.menu-item--color3 .menu-link:after{
    background-color: var(--additional-3-color);
}

.header-menu .menu-item.menu-item--color4 .menu-link:after{
    background-color: var(--additional-4-color);
}

.header-menu .menu-item.menu-item--color5 .menu-link:after{
    background-color: var(--additional-5-color);
}

.header-phone{
    display: flex;
    align-items: center;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 7px 11px;
    transition: 0.2s ease-in-out;
    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    margin-left: 16px;
  }

.header-phone svg {
    margin-right: 8px;
}

.header-phone--light{
    color: var(--secondary-grey-color) ;
}

.header .logo{
    margin-right: 16px;
    align-self: flex-start;
}

.header .logo img{
    max-width: 180px;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop{
    position: absolute;
    top: calc(100% + 10px);
    width: 100%;
    left: 0;
    background-color: var(--bg-dark-color);
    color: var(--secondary-grey-color);
    padding: 40px 0px;
    display: grid;
    grid-gap: 0 36px;
    grid-template-columns: repeat(3, 300px);
    justify-content: space-around;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in 400ms ;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop:before{
    content: "";
    position: absolute;
    display: block;
    height: 20px;
    width: 100%;
    left: 0;
    bottom: 100%;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-item{
    margin-bottom: 24px;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-item:last-child{
    margin-bottom: 0;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-link{
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: var(--secondary-grey-color);
    padding: 8px;
    transition: 0.2s ease-in-out;
    background-color: var(--bg-dark-color);
    border-radius: 8px;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-title{
    margin-bottom: 14px;
    white-space: nowrap;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-arrow{
    margin-left: auto;
    transition: transform 0.2s ease-in-out;
    width: 24px;
    height: 24px;
    display: block;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-icon{
    display: block;
    margin-right: 16px;
    width: 40px;
    height: 40px;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-grey-color);
    transition: 0.2s ease-in-out;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-text{
    font-size: 16px;
    font-weight: 500;
    margin-right: 16px;
    font-family: var(--font-primary);
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-heading{
    margin-bottom: 16px;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-description{
    margin-bottom: 48px;
    color: var(--secondary-grey-color);
    font-family: var(--font-secondary);
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-link:hover{
    background-color: var(--primary-accent-color);
    color: var(--secondary-light-color);
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-link:hover .menu-drop-icon{
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-light-color);
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-link:hover .menu-drop-arrow{
    transform: translateX(5px);
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-col.menu-drop-col--bordered{
    position: relative;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-col .btn{
    width: 100%;
}

.header-menu .menu-item.menu-item--hasdrop .menu-drop-col.menu-drop-col--bordered:before{
    content: "";
    display: block;
    background-color: var(--secondary-grey-color);
    position: absolute;
    left: -18px;
    width: 1px;
    height: 100%;
    top: 0;
}

.header-actions{
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-actions .btn{
    margin-right: 10px;
}

.header-actions .btn:last-of-type{
    margin-right: 0;
}

.burger{
    position: relative;
    padding: 3px;
    margin-left: auto;
    display: none;
    cursor: pointer;
}

.burger span{
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--bg-dark-color);
    margin: 3px 0;
    transition: 0.2s ease-in-out;
}

.burger.open span{
    background-color: var(--bg-dark-color);
}
.burger.open .bg-dark{
    background-color: var(--secondary-grey-color);
}

.burger.open span:nth-child(1){
    transform: translateY(5px) rotate(45deg);
}

.burger.open span:nth-child(2){
    transform: translateX(10px);
    opacity: 0;
}

.burger.open span:nth-child(3){
    transform: translateY(-5px) rotate(-45deg);
}

.header.header--dark{
    background-color: var(--bg-dark-color);
    color: var(--secondary-light-color);
}

.header.header--dark .header-menu .menu-link{
    color: var(--secondary-light-color);
}

@media screen and (max-width: 1260px){
  .header.header--dark .header-menu .menu-link{
    color: var(--primary-dark-color);
  }
}

.header.header--dark .header-menu .menu-item.menu-item--hasdrop .menu-drop{
    background-color: var(--secondary-light-color);
    color: var(--primary-dark-color);
}

.header.header--dark .header-menu .menu-item.menu-item--hasdrop .menu-drop-description{
    color: var(--secondary-dark-color);
}

.header.header--dark .header-menu .menu-item.menu-item--hasdrop .menu-drop-link{
    color: var(--primary-dark-color);
    background-color: var(--secondary-light-color);
}

.header.header--dark .header-menu .menu-item.menu-item--hasdrop .menu-drop-icon{
    color: var(--primary-accent-color);
    background: rgba(46, 46, 229, 0.1);
}

.header.header--dark .burger{
    background-color: var(--bg-dark-color);
}

.header.header--dark .burger span{
    background-color: var(--secondary-light-color);
}

.header.header--dark .header-menu .menu-item.menu-item--hasdrop .menu-drop-link:hover{
    background-color: var(--primary-accent-color);
    color: var(--secondary-light-color);
}

.header.header--dark .header-menu .menu-item.menu-item--hasdrop .menu-drop-link:hover .menu-drop-icon{
    color: var(--secondary-light-color);
    background: rgba(255, 255, 255, 0.1);
}

@media only screen and (min-width: 1261px){
    .header-menu .menu-item.menu-item--hasdrop:hover .menu-drop{
        opacity: 1;
        visibility: visible;
    }
    .header-menu .menu-item:hover .menu-link:after{
        transform: scaleX(1);
    }
}

@media only screen and (max-width: 1260px){
    .burger{
        display: block;
    }
    .overlay{
        position: fixed;

    }
    .header-navigation-top{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 16px;
    }
    .header-navigation{
        position: fixed;
        top: 0;
        right: -100%;
        width: 365px;
        height: 100vh;
        overflow-y: auto;
        background-color: var(--secondary-light-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 24px;
        box-sizing: border-box;
        z-index: 100;
        transition: 0.5s ease-in-out;
    }
    .header-navigation-dark{    
        background-color: var(--bg-dark-color);
    }
    .header-navigation.open{
        right: 0;
    }
    .header-navigation .logo{
        margin-right: 0;
        display: block;
    }
    .header-menu{
        flex-direction: column;
        align-items: flex-start;
        font-family: var(--font-primary);
    }

    .header-menu .menu-link{
        color: var(--primary-dark-color);
        font-size: 18px;
        font-weight: 500;
        padding: 8px 0;
        position: relative;
    }
    .header-menu .menu-link-light{
        color: var(--secondary-grey-color);
    }

    .header-menu .menu-item--hasdrop .menu-link:before{
        content: "";
        display: block;
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.03243 9.26651L11.5045 12.8018L14.9765 9.26651C15.3255 8.91116 15.8893 8.91116 16.2383 9.26651C16.5872 9.62187 16.5872 10.1959 16.2383 10.5513L12.1309 14.7335C11.7819 15.0888 11.2181 15.0888 10.8691 14.7335L6.76173 10.5513C6.59417 10.381 6.5 10.1499 6.5 9.90888C6.5 9.66787 6.59417 9.43675 6.76173 9.26651C7.11073 8.92027 7.68343 8.91116 8.03243 9.26651Z' fill='%231F1656'/%3E%3C/svg%3E%0A");
        width: 24px;
        height: 24px;
        position: absolute;
        right: 0;
        top: 50%;
        margin-top: -12px;
    }
    .header-actions{
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }
    .header-menu{
        margin-bottom: 24px;
        width: 100%;
    }
    .header-menu .menu-item{
        width: 100%;
    }
    .header-phone{
        margin-bottom: 24px;
        margin-top: auto;
    }
    .header-menu .menu-item.menu-item--hasdrop .menu-drop{
        position: static;
        display: none;
        padding: 0;
        grid-template-columns: 1fr;
        visibility: visible;
        opacity: 1;
    }
    .header-menu .menu-item.menu-item--hasdrop .menu-drop-col{
        padding: 24px 0;
    }
    .header-menu .menu-item.menu-item--hasdrop .menu-drop-heading{
        margin-bottom: 8px;
    }
    .header-menu .menu-item.menu-item--hasdrop .menu-drop-description{
        margin-bottom: 16px;
    }
    .header-menu .menu-item.menu-item--hasdrop .menu-drop-col.menu-drop-col--bordered:before{
        left: 0;
        width: 100%;
        height: 1px;
        top: 0;
    }
    .header-menu .menu-item.menu-item--hasdrop .menu-drop-link{
        padding: 8px;
        margin: 0 -8px;
    }
    .header-menu .menu-item.menu-item--hasdrop .menu-drop-item{
        margin-bottom: 0;
    }
    .header-menu .menu-item.menu-item--hasdrop .menu-drop-title{
        margin-bottom: 8px;
    }
    .header-menu .menu-item.menu-item--hasdrop.open .menu-drop{
        display: block;
    }
    .header-menu .menu-item.menu-item--hasdrop.open .menu-link:before{
        transform: rotate(-180deg);
    }
    .header-actions{
        width: 100%;
    }
    .header-actions .btn{
        margin-right: 0;
    }
    .header-actions .btn.btn--simple{
        border-color: var(--primary-accent-color);
        color: var(--primary-accent-color);
        margin-top: 16px;
        margin-bottom: 16px;
    }
    .header-actions .btn.btn--help{
        margin-top: 16px;
    }
    .header-navigation .btn, .header-menu .menu-item.menu-item--hasdrop .menu-drop-col .btn{
        width: 100%;
        max-width: 100%;
    }
}

@media only screen and (max-width: 575px){
    .header-navigation{
        width: 100%;
    }
    
    
}

.language-picker {
  padding: 8px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  margin-right: 16px;
  border-color: transparent;
  outline: transparent;
}
.language-picker.language-picker-dark-bg {
  background-color: transparent;
  color: white;
}
.language-picker.language-picker-light-bg {
  background-color: rgba(255, 255, 255, 1);
  color: var(--primary-dark-color);
}
.language-picker.language-picker-dark-bg .select-item{
  color: var(--primary-dark-color);
}

@media screen and (min-width: 1260px) and (max-width: 1385px){
  .header-menu .menu-link {
    font-size: 12px;
  }
}
@media screen and (min-width: 1260px) and (max-width: 1301px){
  .header-menu .menu-link {
    padding: 4px 4px;
  }

}
@media screen and (max-width: 1259px){
  .language-picker.language-picker-dark-bg {
      background-color: rgba(255, 255, 255, 1);
  color: var(--primary-dark-color);
  
}
.language-picker.language-picker-light-bg {
  background-color: transparent;
  color: white;
}
.language-picker.language-picker-light-bg option{
    color: var(--primary-dark-color);
}
}