.header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    
}

.header__nav {
    width: 90%;
    max-width: 480px;
    height: 65%;
    display: flex;
    align-items: center;
    margin: 16px;

    background-color: var(--bg-surface);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.header__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header__button--menu, .header__button--contrast{
    height: 100%;
    padding: 8px;

    background-color: transparent;
    border: none;
}

.header__list div {
    flex: 1;
    text-align: center;
}

.header__list div .header__link--logo{
    letter-spacing: 4px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
}

/* MAIN */

.main__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 90%;
    margin: 0 auto;
    text-align: center;

    color: var(--text-main);
}

.main__content h2 {
    font-weight: 500;
    font-size: clamp(2rem, 8vw, 5rem);
    margin-bottom: 50px;
}

.main__content p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 18px;
}

.main__content a {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    transition: var(--transition-fast);
}

.main__content a:hover {
    transform: scale(1.06);
    color: var(--btn-text);
    background-color: var(--btn-bg);
    box-shadow: 0 0 5px 0 #0003;
}

/* dialog */

#main__dialog {
    margin: auto;
    width: 90%;
    max-width: 480px;
    padding: 1.5rem;
    border-radius: 12px;

    border: none;
    background-color: var(--bg-surface);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
}

#main__dialog::backdrop {
    backdrop-filter: blur(5px);
    --webkit-backdrop-filter: blur(5px);
}

#main__dialog h3 {
    font-size: clamp(1rem, 10vw, 2rem);
    margin-bottom: 10px;;
}


#main__dialog button {
    cursor: pointer;
    margin-top: 40px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background-color: var(--btn-bg);
    color: var(--btn-text);
}

#main__dialog button:focus {
    outline: 2px solid rgba(0, 255, 127, 0.8);
}


/* FOOTER */

.footer {
    width: 100%;
    padding: 0 1.5rem 1.8rem;
    color: var(--text-main);
}

.footer__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.footer__list {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 20px;
}

.footer__link {
    font-size: 12px;
    font-weight: 300;
    font-family: var(--font-mono);
    text-decoration: none;
    color: var(--text-muted);
}

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

.copyright {
    color: var(--text-muted);
    font-size: 10px;
    text-align: center;
}

@media screen and (max-width: 770px) {
    .footer {
        padding: 0 2rem 1.875rem;
    }

    .footer__list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}