:root {
    --social-icon-size: 1.6em;
}

header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 3;
    background-color: transparent;
    padding: 1.5rem 0;
}

header,
nav {
    width: 100%;
    display: flex;
    flex-direction: row;
}

nav {
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 3rem;
    background: radial-gradient(231% 135.8% at 0.9% 2.98%, rgba(181, 181, 181, 0.06) 0%, rgba(3, 34, 107, 0) 100%);
    backdrop-filter: blur(20px) brightness(0.6);
    border-radius: 1rem;
    border: 1px solid var(--quaternary-color);
}

.header-container {
    width: 100%;
    max-width: var(--page-width);
    padding: 0 0.25rem;
}

.mobile-header {
    display: none;
}

#open-panel {
    width: 2rem;
    height: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#open-panel {
    font-size: 1.5em;
    color: var( --quaternary-color) !important;
    line-height: 1rem;
}

.logo-container {
    height: 2.5rem;
    transition: 0.5s;
}

.logo-container img {
    height: 100%;
    object-fit: contain;
    user-select: none;
}

.nav-container {
    width: 100%;
    max-width: 32rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.nav-container li {
    list-style: none;
}

.nav-item {
    font-weight: 500;
    font-size: 1.2em;
}

.nav-item a {
    text-decoration: none;
    color: var(--quarternary-color);
}

.nav-item a:hover {
    color: var(--secondary-color);
}

.more-options {
    display: flex;
    line-height: 1rem;
}

.social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.social-links a {
    font-size: var(--social-icon-size);
    text-decoration: none;
    color: var(--quarternary-color);
}

.social-links a:nth-child(2) {
    font-size: calc(var(--social-icon-size) + 2px);
    margin-top: 2px;
}

.social-links a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: flex;
    }
}