header>div>div.menu{
    height: 50px;
}
header>div>div .mobile_menu_icon{
    display: none;
}
header>div>div.mobile_menu{
    display: none;
    transition: transform 1s ease;
}
header>div>div.info_head{
    display:flex;
    justify-content: space-between;
    padding: 0 15px;
}
header>div>div.info_head>div>a>img{
    max-width: 250px;
    width: 100%;
}
header>div>div.info_head .contacts_head{
    display:flex;
    justify-content: space-between;
}
header>div>div .mobile_menu_icon i{
    transition: transform 1s ease;
    transition: 0.7s linear;
}
.rotate {
    transform: rotate(180deg);
    color: #fcc781;
}
header ul{
    display: flex;
    list-style-type: none;
    /* margin-left: -55px; */
    margin-top:20px;
    height: 100%;
    padding-inline-start: 0px;
}
header ul>li{
    color: white;
    margin: 0 18px;
    font-size: 13px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.692;
    font-family: Questrial,sans-serif;
    letter-spacing: .1em;
    cursor: pointer;
    position: relative;
    display: inline-block;
}
header ul>li>a{
    color: white;
    cursor: pointer;
    position: relative;
    line-height: 1; /*задаём высоту строки*/
    text-decoration: none; /*убираем подчёркивание*/
    margin: 5px 0;
}
header ul>li>a:after {
    display: block;
    bottom: -23px;
    position: absolute;
    left: 0; /*изменить на right:0;, чтобы изменить направление подчёркивания */
    width: 0;/*задаём длинну линии до наведения курсора*/
    height: 4px; /*задаём ширину линии*/
    background-color: #f3ae21; /*задаём цвет линии*/
    content: "";
    transition: width 0.4s ease-out; /*задаём время анимации*/
}
header ul>li>a:hover:after,
header ul>li>a:focus:after {
    width: 100%; /*устанавливаем значение 100% чтобы ссылка подчёркивалась полностью*/
}
.dropdown-content{
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 140px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
    height: auto;
}
.dropdown-content{
    text-align: left;
    padding: 15px 30px;
}
.dropdown-content>a>li{
    color: black;
    margin: 15px 0;
    font-size: 13px;
    font-weight: lighter;
}
.dropdown-content>a>li:after{
    display: none;
}
.dropdown-content>a>li:hover{
    text-decoration: none;
    color: #f3ae21;
    transition-duration: 500ms;
}
.dropdown:hover .dropdown-content {display: block;}
@media (max-width: 1102px) and (min-width: 864px){
    header ul{
    justify-content: space-between;
    }
    header ul>li{
        font-size: 12px;
        margin: 0 5px;
    }
}
@media (max-width: 863px){
    header hr{
        display: none;
    }
    header>div>div.menu{
        display: none;
    }
    header>div>div.info_head .contacts_head{
        flex-direction: column;
    }
    header>div>div.info_head .contacts_head div{
        margin: 3px 0;
    }
    header>div>div .mobile_menu_icon{
        display: block;
        font-size: 30px;
        color: #fff;
    }
    header>div>div.mobile_menu ul{
        display: block;
        margin: 0 auto;
        max-width: 200px;
        padding: 0 0 10px 0;
    }
    header>div>div.mobile_menu>ul>li{
        display: block;
        margin: 0;
    }
    header>div>div.mobile_menu>ul>li:not(:first-child){
        margin: 25px 0;
    }
    header>div>div.mobile_menu>ul>li>ul>a>li{
        margin: 5px auto;
    }
}
@media (max-width: 546px){
    header>div>div.info_head{
        display: block;
    }
    header>div>div.info_head>div:first-child{
        text-align: center;
    }
    header>div>div.info_head .contacts_head{
        max-width: 230px;
        margin: 10px auto 0 auto;
    }
    header>div>div .mobile_menu_icon{
        text-align: right;
    }
    header>div>div .mobile_menu_icon i{
        margin: 15px 0;
    }
}
