@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Oswald&family=Playfair+Display:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=REM:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

@import "variables.css";

@import "404.css";

*,
*::before,
*::after {
  box-sizing: border-box;
}

a{
  text-decoration: none;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 800;
  color: var(--gris-oscuro);
  padding: 1rem;
}

h1{
  font-size: 4rem;
}

h2{
  font-size: 3rem;
  text-align: right;
}

h4{
  font-size: 1.5rem;
  text-align: center;
  padding: 0;
  color: var(--gris-oscuro);
}

html {
  font-size: 16px;
  scrollbar-color: var(--rojo-oscuro) transparent;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--celeste);
}

body {
  margin: 0 auto;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  color: #848484;
  background: linear-gradient(0deg,var(--rosaFluo), var(--rosaPastel));
  min-height: 100vh;
}

#errorResolucion{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top:0;
  left: 0;
  background: var(--blanco);
  width: 100%;
  height: 100%;
  z-index: 1300;
  visibility: hidden;
  opacity: 0;
}

#errorResolucion img{
  width: 80%;
}

#errorResolucion p{
  font-size: 1.25rem;
  line-height: 1.75rem;
  padding: 2rem 3rem;
  text-align: center;
}

#cargaPagina{
  position: fixed;
  top:0;
  left: 0;
  background: var(--blanco);
  width: 100%;
  height: 100%;
  z-index: 1300;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .5s ease;
  visibility: visible;
  opacity: 1;
}

.loader {
  width: 5rem;
  height: 5rem;
  background-image: url("/img/favicon.png");
  background-repeat: no-repeat;
  background-position: center;
}

.loader::before {
 content: "";
 box-sizing: border-box;
 position: absolute;
 width: 5rem;
 height: 5rem;
 border-radius: 50%;
 border-top: 2px solid var(--rojo-oscuro);
 border-right: 2px solid transparent;
 animation: spinner8217 0.8s linear infinite;
}

@keyframes spinner8217 {
 to {
  transform: rotate(360deg);
 }
}

main{
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 2rem;
  /*min-height: 100vh;*/
  width: 96%;
  /*box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;*/
  overflow-x: hidden;
  margin-bottom: 2rem;
}

img.imgcenter{
  vertical-align: middle;
  object-fit: cover;
}

/****** Menu ********/
.abrir-menu, .cerrar-menu {
  display: none;
  width: 3rem;
}

.abrir-menu{
  position: absolute;
  top: 3rem;
  left: 1rem;
}

.abrir-menu img{
  width: 2rem;
}

.m-sitio img{
  width: 1.5rem;
}

.boton{
  width: 6rem;
  height: 2rem;
  background: none;
  color: var(--gris-oscuro);
  font-size: .9rem;
  border: 1px solid var(--gris-oscuro);
}

.recupPass{

}

.ingresar{
  position: absolute;
  top: 2.5rem;
  right: 2rem;
}

.loginMovil{
  position: absolute;
  right: 1rem;
  top: 2.5rem;
  width: 3rem;
  height: 3rem;
  border: none;
  display: none;
  background: none;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.loginMovil img{
  width: 100%;
  height: auto;
}

/* formulario Login */

.modal {
  box-shadow: #111, 0 0 0 100vw rgb(0 0 0 / 0.7);
  background: #fff;
  color: #222;
  border: 1px solid #111;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.modal {
  max-width: 70ch;
}

.modal::backdrop {
  background-color: rgb(0 0 0 / 0.8);
  opacity: 0;
}

.modal[open] {
  animation: slide-up 1000ms forwards, fade-in 500ms forwards;
}

.modal[open]::backdrop {
   animation: fade-in 500ms forwards;
}

.modal[closing] {
  display: block;
  pointer-events: none;
  inset: 0;
  animation: fade-out 500ms forwards;
}

.modal[closing]::backdrop {
   animation: fade-out 500ms forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes slide-up {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0%);
  }
}

form .txt_field{
  position: relative;
  margin: 2rem 0.5rem;
}

#email{
  text-transform: lowercase;
}

.txt_field label{
  position: absolute;
  top: 65%;
  left: .35rem;
  color: #adadad;
  transform: translateY(-70%);
  font-size: 1rem;
  pointer-events: none;
  transition: 1s;
}

.txt_field span::before{
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 0;
  width: 0%;
  height: 2px;
  transition: 1s;
}

.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
  top: -5px;
  color: #red;
}

.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before{
  width: 100%;
}

.pass{
  margin: -.35rem 0 1.25rem .35rem;
  color: #a6a6a6;
  cursor: pointer;
}

.pass:hover{
  text-decoration: underline;
}

.pass:visited{
  color: #a6a6a6;
}



.txt_field input.valido{
  border: 1px solid var(--verde);
}

.txt_field input.invalido{
  border: 1px solid var(--rojo);
}

input[type="submit"]{
  width: 60%;
  margin: 0 auto;
  height: 2.5rem;
  border: 1px solid;
  background: red;
  border-radius: 2rem;
  font-size: 1.2rem;
  color: #e9f4fb;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

input[type="submit"]:hover{
  border: 2px solid red;
  color: red;
  background: white;
  transition: 1s;
}

.signup_link{
  margin: 2rem 0;
  text-align: center;
  font-size: 1rem;
  color: #666666;
}

.signup_link a{
  color: red;
  text-decoration: none;
}

.signup_link a:hover{
  text-decoration: underline;
}

/* Estilos para el botón cuando está deshabilitado */
input[type="button"]:disabled {
  cursor: not-allowed; /* Cambia el cursor a "no permitido" cuando el botón está deshabilitado */
  background-color: #ccc; /* Cambia el color de fondo cuando el botón está deshabilitado */
}

button:disabled{
  cursor: not-allowed; /* Cambia el cursor a "no permitido" cuando el botón está deshabilitado */
  background-color: #ccc; /* Cambia el color de fondo cuando el botón está deshabilitado */
}

.boton:hover{
  cursor:pointer;
  background: var(--rojo);
  color: var(--blanco);
}

/* Estilos para el botón cuando no está deshabilitado y el cursor está sobre él (hover) */
input[type="button"]:disabled:hover {
  background-color: #ccc; 
  color: var(--gris-suave);
}

.display-error{
  height: 2rem;
  line-height: 2rem;
  font-size: .8rem;
  color: var(--rojo-oscuro);
}

/* Final Login */
.encabezado{
  width: 100%;
  margin: 0 auto;
  position: relative;
  /*background-color: var(--blanco);*/
  padding: 1.25rem 1rem 1.25rem 1rem;
}

.logo{
  width: 100%;
  margin: 0 auto;
  margin-top: 1rem;
  height: 18rem;
  text-align: center;
}

.logo img{
  text-align: center;
  margin: 0 auto;
  height: 12rem;
  filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.5));
}

.animar-logo {
  opacity: 0;
  transform: translateY(-30px);
  animation: aparecer 2.5s ease-out forwards;
  /* Puedes cambiar duración y easing */
}

/* Keyframes para animar */
@keyframes aparecer {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  flex-direction: row;
  justify-content: center;
}

.menu li {
  display: inline-block;
  padding: 1.25rem .75rem;
}

.menu a {
  text-transform: uppercase;
  color: var(--negro);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.75rem;
  position: relative;
  transition: width 0.25s ease-out;
  padding: .65rem .65rem;
  border-radius: 1.25rem;
  text-decoration: none;
}

.menu a:hover {
  text-decoration: none;
  color: var(--rojo-oscuro);
  transition: all ease 1.5s;
}

.menu i{
  font-size: 1.875rem;
}

.menu a.active{
  color: var(--rojo-oscuro);
}

p{
  font-size: 0.95rem;
  line-height:  1rem;
}

