/* =================== Header ==================== */
header {
    display: flex;
    height: 55px;
    width: 100%;
    max-width: 1420px;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 36px;

    z-index: 1000;

    background: transparent;
    padding: 30px 15px;
    border-radius: 15px;
    transition: background 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out, padding 0.3s ease-in-out;
}

header.header-active {
    background: var(--surface-2);
    backdrop-filter: blur(12px);
}

header a {
    text-decoration: none;
}

header .name {
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    transition: all 0.3s ease-in-out;
}

/* Navigation */
nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;

    background: transparent;
    border: none;
    border-radius: 0;
}

.nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;

    color: var(--text-primary);
    font-family: Baskervville;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding-bottom: 4px;

    transition: color 0.3s ease-in-out;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--text-primary);
}


/* =================== Footer ==================== */
footer {
    display: flex;
    width: 100%;
    max-width: 1420px;
    padding-bottom: 21px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Copyright */
.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    align-self: stretch;

    color: var(--text-primary);
    font-family: Baskervville;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}

.copyright h1 {
    font-size: 16px;
    line-height: 100%;
    margin: 0;
}