.header__top-bar {
    white-space: nowrap;
}
.header__socials {
    margin-left: 35px;
}
/* --------------top-bar------------------ */
@media (max-width: 1230px) {
    .header__socials {
        margin-right: 100px;
    }
}
@media (max-width: 1150px) {
    .header__socials {
        margin-right: 50px;
    }
}
@media (max-width: 900px) {
    .header__socials {
        margin-right: 0px;
    }
}
@media (max-width: 850px) {
    .header__socials {
        margin-right: 0px;
    }
    .header__address-number--address, .header__address-number--number, .header__version {
        font-size: 10px;;
    }
    .header__socials-btn svg {
        width: 20px;
    }
    .header__version svg {
        width: 14px;
    }
}
@media (max-width: 750px) {
    .header__socials {
        margin-right: 0px;
    }
    .header__address-number--address, .header__address-number--number, .header__version {
        font-size: 10px;;
    }
    .header__socials-btn svg {
        width: 20px;
    }
    .header__socials {
        gap: 15px;
    }
    .header__socials {
        margin-left: 15px;
    }
}
@media (max-width: 700px) {
    .header__address-number {
        gap: 25px;
    }
}
@media (max-width: 650px) {
    .header__address-number {
        gap: 10px;
    }
}
@media (max-width: 400px) {
    .header__address-number--address svg {
        display: none;
    }
}
@media (max-width: 380px) {
    .header__address-number--address, .header__address-number--number {
        font-size: 9px;
    }
}
@media (max-width: 350px) {
    .header__address-number--address, .header__address-number--number {
        font-size: 8px;
    }
}
@media (max-width: 330px) {
    .header__address-number--address, .header__address-number--number {
        font-size: 10px;
    }
    .header__address-number {
        display: flex;
        flex-direction: column;
    }
    .header__address-number--address svg {
        display: inline-block;
    }
}
@media (max-width: 1000px) {
    .header__version {
        display: none !important;
    }
    .header__address-number {
        gap: 10px;
        display: flex !important;
        justify-content: space-between !important;
        width: 100%;
    }
    .header__socials {
        order: 0;
    }
    .header__address-number--address {
        order: -1;
    }
    .header__socials {
        display: none;
    }
}
@media (max-width: 500px) {
}
@media (max-width: 400px) {
    .header__address-number--number {
        margin-left: 15px;
    }
}
/* --------------NAV------------ */
@media (max-width: 1350px) {
    .header__nav ul {
        gap: 10px;
    }
    .header__nav-search {
        margin-left: 15px;
    }
    .search-div:focus-within #search-inte {
        width: 100%;  /* Ширина input, когда фокус на родительском элементе */
    }
}
@media (max-width: 1230px) {
    .header__nav ul {
        gap: 5px;
    }
    .header__navigation {
        font-size: 14px !important;
    }
    .dropdown-block li a {
        font-size: 12px !important;
    }
    .dropdown-studies {
        width: 450px; 
    }
    .dropdown-block li::before {
        content: "";
        position: absolute;
        width: 12px;
        height: 1px;
        top: -2px;
        border: 1px solid black;
        left: 10px;
        transition: all 0.3s ease;
    }
    .dropdown-teacher--before li::before {
            content: "";
            position: absolute;
            width: 12px;
            height: 1px;
            top: 5px;
            border: 1px solid black;
            left: 10px;
            transition: all 0.3s ease;
    }
    .search-div:focus-within #search-inte {
        width: 320px;  /* Ширина input, когда фокус на родительском элементе */
        opacity: 1;  /* Сделать input видимым */
        pointer-events: all;
    }
}
@media (max-width: 1120px) {
    .header__nav-logo svg {
        width: 80px;
    }
    .header__nav-description--text {
        max-width: 160px;
        margin-top: 10px;
    }
    .header__nav-description--link a {
        max-width: 160px;
        white-space: wrap !important;
    }
    .header__nav-description--link {
        margin-bottom: 10px;
    }
    .header__nav-logo {
        align-items: center;
    }
    .header__navigation > li {
        line-height: 130px;
        height: 130px;
    }
    .header__name-nav::after {
        bottom: 53px; 
    }
}
@media (max-width: 1100px) {
    .header__navigation > li {
        line-height: 145px;
        height: 145px;
    }
    .header__name-nav::after {
        bottom: 61px; 
    }
}
@media (max-width: 1050px) {
    .header__nav-description--text {
        max-width: 140px;
        margin-top: 10px;
        font-size: 8px;
    }
    .header__nav-description--link a {
        max-width: 140px;
        font-size: 8px;
    }
    .header__nav-description--link {
        margin-bottom: 10px;
    }
    .header__nav-logo {
        align-items: center;
    }
    .svg-search {
        width: 20px;
    }
    .header__nav ul {
        gap: 3px;
    }
}
@media (max-width: 1000px) {
        .header__nav__burger-menu {
            display: block;
        }
        .header__navigation {
            display: none !important;
            flex-direction: column;
        }
        .header__navigation.active {
            display: flex;
        }
    .header__nav-logo {
        flex-direction: column;
    }
    .header__nav-description {
        order: -1;
        margin-top: 10px;
    }
    .header__nav-description--text {
        max-width: 100% !important;
        width: 100% !important;
        text-align: center;
        margin-top: 10px;
        font-size: 16px;
    }
    .header__nav-description--link a {
        font-size: 16px !important;
    }
    .header__nav-description--link {
        text-align: center;
        margin-top: 10px;
    }
    .header__nav-logo {
        align-items:flex-start;
    }
    .header__nav__main {
        flex-direction: column;
    }
    .header__nav-search {
        display: none;
    }
    .header__nav-svg {
        display: none;
    }
    .header__nav {
        width: 100%;
    }
    .svg-search {
        width: 25px;
    }
    .search {
        cursor: pointer;
    }
    .header__nav-search .search svg {
        z-index: 2;
        position: relative;
    }
    .svg-search.active path {
        fill: black;
    }
    .search svg path {
        transition: fill 0.3s ease;
    }
    .header__mobile-nav .search svg {
        z-index: 2;
        position: relative;
    }
    .header__mobile-nav {
        gap: 30px;
    }
    .header__nav ul li:hover {
        color: white;
    }
    .mobile-nav {
        display: block;
    }
}
@media (max-width: 650px) {
    #search-inte-mobile::placeholder {
        font-size: 10px;
    }
}
@media (max-width: 500px) {
    #search-inte-mobile::placeholder {
        opacity: 0;
    }
}
@media (max-width: 400px) {
    #search-inte-mobile::placeholder {
        opacity: 0;
    }
    #search-inte-mobile {
        padding: 10px 50px 10px 20px;
    }
}
@media (max-width: 350px) {
    #search-inte-mobile {
        padding: 10px 50px 10px 20px;
    }
}
@media (max-width: 330px) {
    #search-inte-mobile {
        padding: 10px 50px 10px 20px;
    }
}
