header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    z-index: 20;
    background: rgba(7, 11, 22, 0.84);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(127, 160, 220, 0.16);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(20px, 5vw, 72px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.26);
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 24px);
}

.nav a {
    padding: 8px 4px;
    font-size: 16px;
    color: #b6c3d8;
    font-family: 'FYT';
    font-weight: 600;
    line-height: 1;
    transition: color 0.2s ease;
}
header a img {
    width: 46px;
    height: 46px;
    display: block;
    border-radius: 12px;
}

.nav .active {
    color: #74a7ff;
}

aside {
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d1424;
}

aside a {
    font-size: 17px;
    color: #aebbd0;
    font-family: 'FYT';
    margin: 0 10px;
}

aside span {
    width: 2px;
    height: 14px;
    background: rgba(174, 187, 208, 0.5);
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #050814;
    padding: 56px 20px;
    gap: 8px;
}

footer p {
    display: flex;
    gap: 8px;
    line-height: 24px;
}

footer p a {
    font-size: 15px;
    color: #aebbd0;
    font-family: 'FYT';
}


@media screen and (orientation: portrait) {
    header {
        padding: 0 12px;
        height: 52px;
    }

    header a img {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .nav a {
        padding: 6px 0;
    }

    .nav a {
        font-size: 12px;
    }

    aside {
        flex-wrap: wrap;
        gap: 10px;
        align-content: center;
    }

    aside a {
        font-size: 12px;
    }

    footer {
        padding-top: 20px;
        padding-bottom: 30px;
    }

    footer p {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer p a {
        font-size: 12px;
    }

}
