/* TITULO CON EL NOMBRE DE PESTAÑA */

.name {
    position: absolute;
    opacity: 0;
    width: 3em;
    height: 6em;
    left: 15%;
    /*     background-color: red; */
    transform: translateX(-50%);
    bottom: 0.1vh;
    z-index: -1;
    place-content: center;
    align-items: center;
    justify-content: center;
}

.active {
    opacity: 1;
}

.in {
    color: rgb(255, 80, 80);
    z-index: 1000;
}


.conta {
    position: fixed;
    width: 5em;
    height: auto;
    font-family: 'Pixelify Sans', sans-serif;
    text-shadow: 0 1px 0 var(--color-primary);
    font-size: 1.1em;
    border-radius: 1em;
    background: var(--color-bt);
    color: var(--color-bt-icon);
    z-index: 1000;
}

.navbar {
    position: fixed;
    width: 37em;
    height: 4.1em;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1vh;
    place-content: center;
    background: var(--color-font-blur);
    display: flex;
    border-radius: 4em;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbarBT {
    position: a;
    opacity: 0.9;
    background-color: var(--color-bt);
    width: 3.5em;
    height: 3.5em;
    border-radius: 2.4em;
    margin: 1%;
    list-style: none;
    transition: 0.2s;
    z-index: 2;
}

.navbarBT:hover {
    transform: scale(1.1) translateY(-0.8em);
    box-shadow: #00000094 0px 0px 40px 0px;
}

.item {
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--color-bt-icon);
    animation: loop 2s infinite;
    z-index: 2;
}

@keyframes loop {
    0% {
        transform: scale(1.7);
    }

    50% {
        transform: scale(1.9);
    }

    100% {
        transform: scale(1.7);
    }

}

.item:hover {
    text-decoration: none;
    color: var(--color-bt-icon);
    animation: hover 2s infinite;
    z-index: 2;
}

@keyframes hover {
    0% {
        transform: scale(1.5) translateY(0.2em);
    }

    20% {
        transform: rotate(10deg) scale(1.8) translateY(-0.1em);
    }

    40% {
        transform: rotate(-10deg) scale(1.8) translateY(-0.1em);
    }

    80% {
        transform: scale(1.8) translateY(-0.3em);
    }

    100% {
        transform: scale(1.5) translateY(0.2em);
    }

}


@media only screen and (max-width: 600px) {
    .navbar {
        width: 100vw;
        font-size: 0.8em;
        height: auto;
        bottom: 0;
    }

}

@media only screen and (max-width: 400px) {
    .navbar {
        width: 100vw;
        height: auto;
        display: inline-flex;
        place-content: center;
    }

}

@media only screen and (max-width: 250px) {
    .navbar {
        width: 100vw;
        height: auto;
        display: inline;
        left: 2em;
        place-content: center;
    }

}

/* PANEL DE LENGUAJE */

#languageDiv {
    position: fixed;
    font-family: 'Pixelify Sans', sans-serif;
    text-shadow: #ff0000 0px 1px 0;
    bottom: 1em;
    background-color: var(--color-bt);
    color: var(--color-bt-icon);
    width: auto;
    height: auto;
    place-items: center;
    text-align: center;
    margin: 5em;
    padding: 1em;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

#languageDiv li {
    width: 5em;
    height: 1.5em;
    border-radius: 20px;
    background-color: rgb(61, 61, 61);
    margin: 1em;
    transition: 0.2s;
}

#languageDiv li:hover {
    scale: 1.1;
    cursor: pointer;
}

#languageDiv ul {
    display: flex;
    width: 100%;
}


/* Animación de aparición */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-20px);
    }
}

/* Animación de desaparición */
@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(-20px);
    }

    to {
        opacity: 0;
        transform: translateY(0);
    }
}