@import url('main.css');

.logo {
    width: 50px;
    height: auto;
}

.profile__logo {
    width: 50px;
    height: auto;
}

.nav__item {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: var(--grey-90);
}
.nav__item:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    max-width: 100%;
}

.header__flexbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.header__logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo__text {
    font-family: var(--second-family);
    font-weight: 900;
    font-size: 22px;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__item:hover {
    color: var(--text-main);
}

.nav__item--btn {
    background: var(--accent-gradient);
    color: var(--text-main) !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.nav__item--btn:hover {
    opacity: 0.9;
}

.profile__logo {
    width: 32px;
    height: 32px;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.profile__logo:hover {
    opacity: 1;
}
.burger__container {
    position: relative;
    top: -24px;
    right: 39px;
    z-index: 101;
    display: none;
}

.burger__menu {
    width: 50px;
    height: 50px;
    background-color: var(--hover-color);
    border-radius: 6px;
    cursor: pointer;
    position: absolute;
}

.burger__line {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    margin: 7px auto;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.burger__line:nth-child(1) {
    margin-top: 12px;
}

.burger__window {
    position: fixed;
    top: 11%;
    right: 4%;
    width: 92%;
    height: 80%;
    background-color: var(--container-color);
    border-radius: 8px;
    padding: 20px;
    z-index: 100;
    display: none;
}

.burger__window.active {
    display: block;
}

.window__nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 140px 20px;
    justify-content: space-between;
    height: 100%;
}

.burger__navitem{
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: var(--text-main);
}

@media (max-width: 600px) {
    .header__nav,
    .header__profile{
        display: none; 
    }

    .burger__container {
        display: block;
    }
}