html{
    width: 100%;
  height: 100%;
  font-size: 16px; /* px quiere decir 'píxeles': el tamaño de la fuente base es ahora de 10 píxeles de altura */
  font-family:
    "Oswald", sans-serif; /* Este debe ser el resto del resultado que obtuviste de Google fonts */
  background: darkslategray;
}
body{
    height: auto;
    width: auto;/*470px;*/
    padding: 0 5px 5px 5px;
    background: cornflowerblue;
    margin: auto;
    border-bottom: 2px solid red;
}
h1{
  font-size: 32px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 1px 1px 1px red;
    margin: 0;
  padding-top: 5px;
    padding-bottom: 5px;
    color:   black;
    background-color: black;
}
h2 {
    text-align: center;
    color:  black;
    text-shadow: 1px 1px 1px bisque ;
    font-weight: bold;
    
}
div {
  width: auto;
  height: 100%;
  
}

.hidden {
  display: none;
}

div video {
  padding: 0px;
  display: block;
  width: 300px;
  margin: 0px auto;
}
button {
  background-color: black;
  border: 3px solid green;
  color: white;
    margin-bottom: 2px;
}  
.home {
    display: none;
  font-size: 16px;
 background-color: blue;
  border: 3px solid green;
    width: 100px;
  
}
a {
    color: yellow;
}

#myBtn2 {
  border: red;
  color: #00539f;/*azul profundo*/
  left: 10%;
}

nav ul, #myBtn2 {
  list-style: none; /* Elimina los puntos de la lista */
  padding: 0;
  margin: 0;
  background-color: midnightblue; /* Opcional: color de fondo del menú */
    justify-content: center;
}

nav li {
  display: inline-block; /* Muestra los elementos de la lista horizontalmente */
  margin-right: 3px; /* Espacio entre elementos */
  margin-left: 5px;
  font-size: 14px;
}

nav a {
  display: block; /* Hace que el enlace ocupe todo el espacio del li */
  padding: 10px 12px;
  text-decoration: none; /* Elimina el subrayado del enlace */
  color: #f3f3f3; /* Color del texto del enlace */
}

nav a:hover {
  background-color: #ddd; /* Efecto hover */
}

.cav2 {
    position: absolute;
    right: 0;
}
#ov{
    position: absolute;
    right: 0;
}
.menu-container {
    position: relative; /* Es necesario para posicionar el menú desplegable correctamente */
    display: inline-block;
   /* cursor: pointer;*/
  left: 55%;
  top: -100%;
    width: auto;
}

.user-avatar {
    width: 50px; /* Ajusta el tamaño de la imagen del usuario */
    height: 50px;
    border-radius: 50%; /* Opcional: para hacerla redonda */
    cursor: pointer;
}

.dropdown-menu {
    display: none; /* Oculta el menú por defecto */
    position: absolute;
    right: 0; /* Lo alinea a la derecha de la imagen */
    background-color: darkolivegreen; /*#f9f9f9;*/
    min-width: 100px;
    height: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-menu.show {
    display: block; /* Muestra el menú cuando tiene la clase 'show' */
  
}

.dropdown-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0 ;
    text-align: center;
}

.dropdown-menu a {
    color: whitesmoke;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    
}

.dropdown-menu a:hover {
    background-color:#ddd; /*#f1f1f1;*/
}
#men {
  position: absolute;
  top: 10%;
}


.text-center1 {
  font-weight: bold;
  border-color: white;
}
/*.avatar {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 16px;
      border: 3px solid #4A90E2;
      box-shadow: 0 2px 8px   rgba(74,144,226,0.14);
      position: absolute;
      top: 150px;
      right: 50px;
      cursor: pointer;
    }*/
.sal{
  background-color: blue;
  border: 3px solid black;
  position: absolute;
  top: 50px;
  right: 50px;
  color: black;
  display: flex;
padding: 0 30px;
}
 .avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 16px;
      border: 3px solid #4A90E2;
      box-shadow: 0 2px 8px   rgba(74,144,226,0.14);
      position: absolute;
      top: 150px;
      right: 50px;
      cursor: pointer;
    }
    .user-name {
      font-size: 1.4em;
      font-weight: bold;
      margin-bottom: 8px;
      color: blue;
      position: absolute;
      top: 120px;
      right: 50px;
      
    }

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  .modal-content {
    background-color: #1d1d1f;/*gris oscuro*/
    margin: 10% auto;
    padding: 5px;
    border: 1px solid #888;
    width: 80%;
    height: 80%;
  }
.modal-content h2 {
  background-color: #1d1d1f;
  color: white;
  text-align: center;
  font-size: 22px;
}
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
.btn-ent,
.btn-reg{
  background-color: blue;
  color: white;
  padding: 5px 80px;
  margin-left: 20px;
  margin-top: 10px;
  width: 83%;
  font-size: 1rem;
}

.form-co {
  background-color: #1d1d1f;
  border: 1px solid white;
  width: 80%;
  height: 40px;/*100%;*/
  color: aliceblue;
  font-size: 14px;
}
.form-la {
  color: cornflowerblue;
  font-size: 18px;
  display: block; /*intercala formulario y cuadro???? */
}
.form-la,
.form-co {
  margin-left: 20px;
  margin-bottom: 5px;
}

.text-center {
  color: bisque; /*darkgreen;*/
  background-color: #1d1d1f;
  text-align: center;
  border: none;
}
.text-center a{
  text-decoration: none;
}

.gauth, .dauth {
  /*margin-left: 5px;*/
  margin-bottom: 1px;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  width: 70%;/*83%;*/
}
.gauth:hover, .dauth:hover {
    color: #fff;
    opacity: 0.8;
}
.gauth {
  background: #ff5722;
  padding: 5px 35px;
}
.dauth {
  background: #818cf8;
  padding: 5px 35px;
}

/*Login flotante*/
    .auth-container {
        /*display: none;*/ 
        position: relative;
        width: 100%;
        height: 600px;
        overflow: hidden;
    }
    .auth-wrapper {
        position: absolute;
        width: 100%;
        height: 70%;
        transition: transform 0.6s ease-in-out;
        display: flex-inline;
        flex-direction: column;
        justify-content: center;
        padding-top: -60px;
        padding-left: 10px;
    }
    .auth-wrapper.login {
        transform: translateX(0%);
    }
    .auth-wrapper.register {
        transform: translateX(100%);
    }
    .auth-container.active .auth-wrapper.login {
        transform: translateX(-100%);
    }
    .auth-container.active .auth-wrapper.register {
        transform: translateX(0%);
    }
    .auth-container.active {
        height: 600px;
    }
#userIngresado{
    height: auto;
    background-color: #4A90E2;
}

#opt1 {
  color: aqua;
  background-color:  darkslateblue;
  /*border: 2px solid blue;*/
  font-size: 14px;
  align-content: center;
margin-left: 20%;
}
/*select {
    background-color: black;
    color: red;
}*/
select {
  font-size: 14px;
  color: #00539f;
  background-color: black;
}
.contenedor-video{
    border-bottom: 1px solid yellow;
    border-top: 1px solid yellow;
}
/* El contenedor principal que envuelve todo el nav */
.menhor {
    display: flex;
    justify-content: space-between; /* Empuja izq a la izquierda y dere a la derecha */
    align-items: center;           /* Centra todo verticalmente */
    background-color: darkblue;/*#1a1c1e;*/
    padding: 5px 20px;
    height: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* Grupo de la izquierda: links y botón */
.izq {
    display: flex;
    align-items: center;
    gap: 15px;
  		background-color: blue;
}

.izq ul {
    margin: 0;
    padding: 0 5px;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 15px;
  		background-color: darkblue;
}
.izq li{
  font-size: 14px;
  grap: 15px;
  margin-right: 1px;
}
.izq a {
  display: block; /* Hace que el enlace ocupe todo el espacio del li */
  /*padding: 5px 7px;*/
  text-decoration: none; /* Elimina el subrayado del enlace */
  color: #f3f3f3; /* Color del texto del enlace */
  cursor: pointer;
  background-color: none;
}
/* El formulario o botón submit dentro de la izquierda */
.nav-btn-submit {
    background-color: #FABD44;
    color: black;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* Grupo de la derecha: el avatar y su desplegable */
.dere {
    display: flex;
    align-items: center;
}

.menu-container {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
}
// Diseño Notificaciones

#notificaciones {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 90%; /* Para que en el celu no se desborde */
}

.notif {
    padding: 15px 20px;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    animation: aparecer 0.3s ease forwards;
}

/* Colores según el estado */
.notif.correcto { background-color: #2ec4b6; border-left: 5px solid #011627; }
.notificacion.alerta { background-color: #ff9f1c; border-left: 5px solid #d66800; }
.notif.error { background-color: #e71d36; border-left: 5px solid #9a031e; }
.notif.info { background-color: #011627; }

@keyframes aparecer {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes desaparecer {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px); }
}