header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-top: 16px;
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    transition: background-color 0.3s ease, height 0.3s ease;
    flex-wrap: wrap;
    z-index: 10;
}

.logo {
    height: 50px;
}

.link-site,
.menu-icon {
    color: white;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.link-site {
    font-size: 18px;
}

.menu-icon {
    display: none;
}

.menu-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: #E39EA4;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    z-index: 99;
}

.menu-mobile .close-menu {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 26px;
    cursor: pointer;
}

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

    #menu-icon {
        display: block;
        font-size: 30px;
    }

    .login-content h1 {
        font-size: 20px;
    }

    header.ativo {
        background-color: #E39EA4;
        border-radius: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        height: auto;
    }

    header.ativo .logo {
        height: 50px;
    }

    header.ativo .link-site {
        display: block;
        color: white;
        font-weight: 700;
        font-size: 20px;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    header.ativo #menu-icon {
        display: none;
    }

    header.ativo #close-menu {
        display: block;
        position: absolute;
        right: 16px;
        top: 16px;
        font-size: 40px;
        cursor: pointer;
        color: white;
    }

    #close-menu {
        display: none;
    }
}