* {
    margin: 0;
    padding: 0;
     box-sizing: border-box;
    font-family: "Fredoka", sans-serif;
}

body {
    font-family: "Georgia", serif;
    background-image: url(../../imagenes/imagen_indice1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
#no {
    display: flex;
    align-items: center;
    justify-content: center;
}

#volvermenu {
    cursor: pointer;
    border: none;
     background-color: #d39e8277;
    border: 1px, solid, #9c98987c;
    border-radius: 20px;
    margin: 20px;
    padding: 20px;
    color: #132115;
    text-decoration: none;
   
}
#volvermenu img {
  margin-right: 10px;
    width: 20px;
    height: 20px;
  
}

.grid {
    border: solid, 1px, rgba(144, 140, 140, 0.283);
    display: flex;
    background-color: rgba(50, 57, 38, 0.402);
    padding: 50px;
    justify-items: center;
    align-items: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    backdrop-filter: blur(5px);
}

h1 {
    color: rgb(255, 235, 187);
    text-align: center;
    justify-items: center;
    align-items: center;
    margin: 0%;
    padding: 0%;
    width: 100%;
    font-weight: 400;
}

.inputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    
}

.inputs div {
  text-align: center;  
  font-size: 30px;  
  
}
.inputs input {
    width: 40vh;
    height: 5vh;
    margin: 10px;
    border: none;
    border-radius: 3px;
    padding: 25px;
}

.checkbox {
    display: flex;
    justify-content: space-between;
    padding: 10px;
 color: rgb(255, 235, 187);
    margin: 10px;
}

#enlace {
    color: rgb(255, 235, 187);
}

p {
    text-align: center;
    padding: 30px;
}

.iniciecon {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    color: rgb(255, 235, 187);
}

.boton {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#boton {
    background-color: #d39e8277;
    border: 1px, solid, #9c98987c;
    border: none;
    border-radius: 20px;
    height: 70px;
    width: 30%;
    cursor: pointer;
    color: #132115;
    font-size: 20px;
}

.botonregistro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#botonregistro {
    /* box-shadow: 4px 8px 7px rgba(0, 0, 0, 0.6); */
    background-color: #d39e8277;
    border: 1px, solid, #9c98987c;
    border-radius: 20px;
    height: 60px;
    width: 100%;
    cursor: pointer;
    color: #132115;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 25px;
}

#botonregistro:hover {
  transform: scale(1.05);
}


#boton:hover {
  transform: scale(1.05);
}

.imagenes {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    margin-left: 10px ;
    padding: 10px;
    
}
.imagenes img {
    background-color: rgb(198, 133, 133);
    border-radius: 10px;
    width: 60px;
    gap: 50px;
    padding: 10px;
    margin: 20px;
    cursor: pointer;
    box-shadow: 4px 8px 7px rgba(0, 0, 0, 0.6);
}

.imagenes img:hover {
  transform: scale(1.05);
}

.no a {
    display: flex;
    justify-content: center;
    color: #ffffff;
}

/* Notificaciones registro/login */
.notificacion {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(90%, 560px);
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.notificacion p {
  margin: 4px 0;
}

.notificacion.exito {
  background: #e8fff1;
  color: #136b32;
  border: 1px solid #79d99a;
}

.notificacion.error,
.mensaje-error {
  background: #ffe8e8;
  color: #8f1111;
  border: 1px solid #e08989;
}

.mensaje-error {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
}

.ayuda-password {
  color: #f7ead2;
  font-size: .9rem;
  line-height: 1.4;
  margin: 0 auto 10px;
  max-width: 360px;
}


.notificacion {
  animation: toastFadeOut .6s ease 3s forwards;
}

@keyframes toastFadeOut {
  from { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  to { opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .notificacion {
    animation: none;
  }
}
