/* 🔹 Contenedor lateral */
#social-sidebar {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1000;
}

#social-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#social-sidebar ul li {
  margin: 0.4rem 0;
}

/* 🔹 Estilos de los enlaces */
#social-sidebar ul li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: #fff;
  background-color: #333;
  width: 50px;
  height: 50px;
  border-radius: 0 30px 30px 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

/* 🔹 Ícono */
#social-sidebar ul li a i {
  font-size: 22px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  transition: all 0.3s ease;
  color: white;
}

/* 🔹 Texto oculto que aparece al pasar el mouse */
#social-sidebar ul li a span {
  font-size: 16px;
  white-space: nowrap;
  opacity: 0;
  padding-right: 15px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-15px);
}

/* 🔹 Hover: expande el botón */
#social-sidebar ul li a:hover {
  width: 120px;
  border-radius: 0 30px 30px 0;
}

/* 🔹 Hover: muestra el texto */
#social-sidebar ul li a:hover span {
  opacity: 1;
  transform: translateX(0);
}

/* 🔹 Colores de cada red */
#social-sidebar a.facebook { background: #3b5998; }
#social-sidebar a.youtube { background: #ff0000; }
#social-sidebar a.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
#social-sidebar a.email { background: #7abb18; }

/* 🔹 Sombra suave */
#social-sidebar ul li a {
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
/* 🔹 Hover: muestra el texto */
#social-sidebar ul li .deu:hover span {
  opacity: 1;
  transform: translateX(0);
}



.li_esc{
  visibility: hidden;
}

#social-sidebar ul li .deu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: #fff;
  background-color: #788d454c;
  width: 40px;
  height: 50px;
  border-radius: 0 30px 30px 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

/* Contenedor de banderas: centrado vertical y espacio entre ellas */
.flags-container {
    display: flex;
    align-items: center; /* centra verticalmente las banderas */
    gap: 1.5rem;
    border-radius: 2px;
}

/* Tamaño base de las banderas */
.flags {
    width: 85px;
    cursor: pointer;
}