header {
    display: flex;
    justify-content: space-between;
    padding: 12px 8%;
    align-items: center;
    background-color: var(--backgroundHeader);
    height: 80px;
}

.header-logo {
    max-width: 150px;
    height: 70px;
}

.menu {
    cursor: pointer;
    background-color: var(--backgroundNav);
    padding: 8px;
    align-items: center;
    display: flex;
    border-radius: 8px;
}

#input-menu {
    display: none;
}

#input-menu:checked ~ nav {
    display: flex;
}

nav {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    gap: 24px;
    top: 80px;
    left: 0px;
    width: 100%;
    background-color: var(--backgroundNav);
    padding: 32px;
    z-index: 10;
    flex: 1;
    justify-content: center;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-social {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-user {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px;
    background-color: var(--backgroundHeader);
    border-radius: 12px;
    width: 200px;
    text-decoration: none;
}

.user-perfil {
    width: 32px;
    padding-right: 10px;
}

.user-name {
    color: var(--white);
    font-weight: 500;
}

/* .alert {
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: gold;
    font-weight: bold;
} */

a#profile-link, .login-link, .register-link, .play-link {
    text-decoration: none;
}

@media screen and (max-width: 1344px) {
    .user-name {
        display: none;
    }
}

@media screen and not (max-width: 1280px) {
    .nav-user {
        border: 1px solid var(--white);
    }
}

@media screen and (min-width: 1280px) {
    #input-menu,
    .menu {
        display: none;
    }

    nav {
        display: flex;
        flex-direction: row;
        gap: 48px;
        position: static;
        background-color: transparent;
        padding: 0px;
        width: auto;
    }

    .nav-links {
        flex-direction: row;
        gap: 24px;
    }

    .nav-social {
        gap: 16px;
    }
}
