.translate{
    display: flex;
    justify-content: end;
    width: 95%;
    margin: auto;
}
.idioma ul{
    padding-left: 0;
    list-style: none;
}
.idioma a{
    text-decoration: none;
}
.idioma img{
    width: 30px;
    height: 30px;
}

.idioma{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
    position: relative;
}
.idioma:hover{
    background-color: rgb(228, 228, 228);
}
/* Lista de idiomas */
.idiomas{
    position: absolute;
    top: 100px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}
.idiomas li{
    width: 100%;
}
.idiomas li a{
    display: block;
    padding: 10px;
    font-size: 10px;
    color: rgb(85, 85, 85);
}
.idiomas li a:hover{
    background-color: rgb(219, 219, 219);
}
.idiomas li img{
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
/* toogle - js */
.toggle{
    visibility: visible;
}

/* Oculta la lista inicialmente */
.idiomas {
    display: none;
}

/* Muestra la lista cuando se activa la clase .toggle */
.toggle {
    display: flex;
    flex-direction: column;
}

/* Estilo para las imágenes */
.idiomas li img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

/* Ocultar texto alternativo */
img {
    visibility: hidden;
}

img[src] {
    visibility: visible;
}
