.header__top {
    padding: 7px;
    text-align: right;
    background-color: var(--second-color);
    color: var(--main-color);
}

.header__content-wrap {
    background-color: var(--beige-color);
    padding: 15px 0px;
}

.header__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;   
}

.navigation__list {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;   
    font-weight: 650;
}

.navigation__link {
    display: block;
    border-bottom: 2px solid transparent;
    padding: 3px 0px 3px 0px;
    transition-property: border;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
}

.navigation__link:hover {
    border-bottom: 2px solid var(--red-color);
}

.navigation__item:not(:last-child) {
    padding-right: 23px;
}

.header__mail {
    line-height: 160%;
    font-weight: 650;
}

.header__phone {
    line-height: 160%;
    font-weight: 650;
}


@media(max-width:1300px) {
    .header__logo {
        order: 1;
    }
    .header__navigation {
        display: none;
    }
    .header__phone {
        order: 2;
    }
}

@media(max-width:1000px) {
    .header__content {
        font-size: 18px;
    }
}

@media(max-width:760px) {
    .header__content {
        font-size: 20px;
    }  
    .header__mail {
        display: none;
    }
}
@media(max-width:568px) {
    .header__content {
        font-size: 18px;
    }
    .header__logo {
        width: 180px;
        height: 54px;
    }
    .header__phone {
        font-size: 16px;
    }
    
}
@media(max-width:450px) {
    .header__content {        
        flex-direction:column;        
        gap:15px;  
    }
}
