header {
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    position: fixed;
    width: 100%;
    /* Fondo transparente */
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    /* Fijar en la parte superior */
    left: 0;
    right: 0;
    z-index: 3;
    /* Asegúrate de que la cabecera esté encima de otros elementos */
    align-items: center;
    backdrop-filter: blur(20px);
    /* Desenfoque en el fondo detrás de la cabecera */
    -webkit-backdrop-filter: blur(20px);
    /* Para compatibilidad en Safari */
}


.header {
    width: 100%;
    padding: 0 20px;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 73px;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}


.header .header-name {
    padding: 10px 0;
    display: none;
    cursor: pointer;
}

.header-logo {
    display: block;
    cursor: pointer;
}

.header-name a {
    color: var(--text-color);
}

.header #logo__mov {
    width: 4rem;
    margin-left: -10px;
    margin-top: 5px;
}

.header nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: -5px;
}

.header nav ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 300px;
}

.nav a {
    font-size: .9rem;
    color: var(--text-color)
}

.nav a:hover {
    color: var(--link);
}


.header__toggle {
    display: flex;
    align-items: center;
}

.header .toggle-switch {
    width: 20px;
    cursor: pointer;

}

/* Tablets grandes y laptops pequeñas */
@media (min-width: 769px) {

    /* Cambios para tablets en horizontal y laptops */
    .header-logo {
        display: none;
    }

    .header .header-name {
        display: block;
        font-size: 1.6rem;
        font-weight: 600;
    }

    .header-name .header-name--color {
        color: var(--link);
    }

}