
@media (min-width: 577px) {
   .burger-menu {
    display: none;
}

html {
    overflow: -moz-scrollbars-none;
    scrollbar-width: none;
}
body {
    font-family: 'Jost', sans-serif;
    overflow-x: hidden; /* Обрезает горизонтальный скролл */
    max-width: 100vw;   /* Ограничивает ширину областью просмотра */
    position: relative;
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
    scrollbar-width: none; /* Для Firefox */
    margin: 0;
    padding: 0;
}
body::-webkit-scrollbar {
    display: none;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
button {
    font-family: 'Jost', sans-serif;
}
a {
    font-family: 'Jost', sans-serif;
}


ul {
    text-align: center;
    color: brown;
}
a {
    text-decoration: none;
    color: black;
    border: none;
}
/* -------------------- Шапка -------------------- */
.header {
    background-color: white;
    align-content: space-between;
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 65px;
    width: 100%;
    max-width: 100vw;
    position: fixed;
    /*margin-top: -8px;*/
    top: 0;
    z-index: 3;
    padding:10px -10px 10px -10px;
    margin-left: -8px;

}

/* -------------------- Папка всех главных кнопок -------------------- */
.MainButton {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: calc(5px + 0.5vw);
    width:100%;
    max-width: 80vw;
    transition: all 0.2s ease;

}
.mid-btn {
    display: flex;
    flex-direction: row;
}
.logo {
    margin-top: 6px;
    border: none;
    transition: all 0.2s ease;
}
.logo:hover {
    scale: 110%;
    transition: all 0.2s ease;
}

.logo-2 {
    margin-top: 6px;
    border: none;
}

.profile-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #0095DA;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-icon:hover {
    transform: scale(1.1);
}
/* -------------------- Основные кнопки -------------------- */
.Buttons.active {
    color: #0095DA;
    margin:5px;
    align-content: center;
    text-align: center;
    font-size: calc(5px + 0.5vw);
    text-transform: uppercase;
    text-decoration-line: underline;
    text-decoration-thickness:calc(3.5px - 0.1vw);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}
.ButtonActive:hover {
    cursor: pointer;
    color: gray;
    transition: all 0.2s ease;
}
.Buttons {
    margin:5px;
    width: 8vw;
    text-transform: uppercase;
    align-content: center;
    text-align: center;
    transition: all 0.2s ease;
}
.Buttons:Active {
    text-decoration-line: none;
    color: white;
}
.Buttons:Hover {
    cursor: pointer;
    color: gray;
}
/* -------------------- Боковые кнопки -------------------- */
.sub-menu {
    align-content: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.subButtons {
    text-transform: uppercase;
    /*margin-left:px ;*/
    border: none;
    align-content: center;
    text-align: center;
    width: 50px;
    cursor: pointer;
    display: grid;
    justify-content: space-between;
}

#Notifications {
    transition: all 0.2s ease;
}
#Notifications:hover {
    scale: 110%;
    margin-top: 0;
    transition: all 0.2s ease;
}
#Account {
    margin-top: 2px;
    transition: all 0.2s ease-in-out;
}
#Account:hover {
    scale: 110%;
}
.blackbutton {
    position: relative;
    /*border: ;*/
}
.notification-badge  {
    position: absolute;
    background-color: white;
    padding: 0 2px;
    font-weight: bold;
    color: #FF0600;
    border-radius: 28px;
    margin-top: 2px;
}

/* -------------------- SUBMENU -------------------- */
.profile-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #0095DA;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-icon:hover {
    transform: scale(1.01);
}

.account-menu-container {
    position: relative;
    display: inline-block;
}

.account-submenu {
    display: none;
    position: absolute;
    right: calc(0vh - 60px);
    top: 100%;
    background: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,36,78,0.05);
    border-radius: 0 0 18px 18px;
    padding: 0 0;
    z-index: 1000;
    overflow: hidden;
}

.account-menu-container:hover .account-submenu {
    display: block;
}
.submenu-item {
    display: block;
    padding: 10px 20px;
    color: #00244E;
    text-decoration: none;
    font-weight: normal;
    text-align: center;
    font-size: calc(6px + 0.5vw);
    transition: all 0.2s ease;
}
.submenu-item:hover {
    background: #f5f5f5;
}
.admin-button {
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 0;
    border-right-width: 0;
    border-color: #00244E;
    border-style: solid;
}
form {
    margin: 0;
    color: #00244E;

}
form button  {
    width: 100%;
    text-transform: uppercase;
    align-content: center;
    text-align: center;
    border: none;
    padding: 10px 20px;
    background: transparent;
    font-size: calc(5px + 0.5vw);
}
form:hover {
    background: #f5f5f5;
}
}

.mobile-menu {
    right: 0;
    display: none;
}


/*-------------------------------------------------- БУРГЕР МЕНЮ*/
@media (max-width: 768px) {
    .header {
        display: none;
    }
    body {
        font-family: 'Jost', sans-serif;
    }
    .burger-menu {
        position: fixed;
        display: flex;
        top: 2rem;
        right: -4rem;
        background-color: rgba(0, 149, 218, 0.02);
        z-index: 1002;
    }

    .notification {
        position: fixed;
        display: block;
        top: 2rem;
        left: -4rem;
    }

    .burger-wrapper {
        background-color: #0095DA;
        padding: 15px;
        border-radius: 28px;
        width: 100px;

    }
    .burger-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 1001;
    }
    .burger-icon span {
        display: block;
        height: 3px;
        width: 80%;
        background: #fff;
        transition: all 0.3s ease;
    }

    .mobile-menu {
        position: fixed;
        display: flex;
        flex-direction: column;
        height: 100%;
        max-height: 100vh;
        max-width: 320px;
        width: 80%;
        z-index: 1000;
        backdrop-filter: blur(20px); /* Размытие 8px */
        border-radius: 28px 0 0 28px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        top: 0;
        right: 0;
        transition: all 0.3s ease;
        transform: translateX(100%);

    }
    /*.mobile-menu.active {*/
    /*    right: 0;*/
    /*    !*transform: translateX(0);*!*/
    /*}*/
    .bgblur {
        background-color: rgba(255, 255, 255, 0.5);
        margin: -10px;
        padding: 10px;
        display: flex;
    }

    .mobile-nav {
        display: flex;
        top: 10px;
        flex-direction: column;
        padding: 20px;
        font-weight: normal;
        margin-top: 10vh;
    }
    .mobile-button {
        padding: 1.5vh 0;
        cursor: pointer;
        font-size: 16px;
        text-transform: uppercase;
        text-align: start;
        font-weight: normal
    }
    form > button  { !important;
        width: 100%;
        text-transform: uppercase;
        align-content: center;
        text-align: start;
        border: none;
        padding: 10px 20px;
        background: transparent;
        font-weight: normal;
    }
    a {
        text-decoration: none;
        color: black;
        border: none;
        font-weight: normal
    }
      /* Анимация бургера */
    .burger-icon.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-icon.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    .mobile-menu.bgblur.active {
        right: 0;
        display: flex;
        transform: translateX(0);
    }

    .overlay.active {
        opacity: 1;
        background: rgba(0, 0, 0, .5);
        transition: all 0.2s ease;
    }
    /*    Затемнение фона*/
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0);
        z-index: 999;
        display: flex;
        pointer-events: none;
        opacity: 0;
        transition: all 0.2s ease;

    }
}






