@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* 1. RESET Y ALTURA TOTAL */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* 2. BODY COMO COLUMNA FLEX */
body {
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

/* 3. FONDO SUPERIOR: solo en la sección de arriba */
body > section {
    background-image: url("../img/nuevo/fondo_v1.png");
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    flex: 0 0 auto;        /* Solo ocupa lo que necesita su contenido */
    width: 100%;
}

.footer-ciper__siguenos-icono {
    width: 30px;
    height: 30px;
}

.footer a {text-decoration: none; color: #fff; font-weight: 600; font-size: 0.9em;}
.footer a:hover {text-decoration: underline; color: #f8ea22;}

.thin {
    font-weight: 100;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.extralight {
    font-weight: 200;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.light {
    font-weight: 300;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.regular {
    font-weight: 400;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.medium {
    font-weight: 500;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.semibold {
    font-weight: 600;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.bold {
    font-weight: 700;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.extrabold {
    font-weight: 800;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.black {
    font-weight: 900;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

.divider:after,
.divider:before {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

.h-custom {
    height: calc(100% - 73px);
}

/* Primero móvil (mobile-first) */
#ppl-index {
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  flex-direction: column-reverse;
}

#columna2 {
  margin-top: 2rem;
}

/* 4. FOOTER: crece para llenar TODO el espacio restante */
.footer {
    flex: 1 1 auto;        /* Ocupa todo el espacio vertical sobrante */
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;           /* Elimina el espacio en blanco a la derecha */
    margin: 0;             /* Eliminamos el margin-left: -3px que desbordaba */
    background-image: url("../img/nuevo/footer.png");    
    background-position: center;
    background-repeat: repeat;
    color: #fff;
    box-sizing: border-box;
}

.footer a { color: #fff; }

/* Luego pantallas grandes */
@media screen and (min-width: 769px) {
  #ppl-index {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    flex-direction: row;
  }
  
  #columna2 {
    margin-top: 0;
  }
}

.linea_amarilla {
    border-top: 20px solid #f8ea22;
    width: 100%;    
}

#home_barra_azul,
#home_barra_amarilla {
    text-align: center;
    width: 500px;
    margin: 0 auto;
    height: auto;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

#home_barra_azul {
    background-color: #0b2334;
    color: #fff;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 5px;
}

.amarillo {
    color: #f8ea22;
}

.fondo_amarillo {
    background-color: #f8ea22;
    color: #0b2334;
}

#cajaIngresoSocio {
    background-color: #0b2334;
    color: #fff;
    font-weight: 600;
    font-size: 1.2em;
    padding: 30px;
    border-radius: 35px;
}

a.linkInicio:link,
a.linkInicio:visited,
a.linkInicio:active {
    color: #fff;
    text-decoration: underline;
}

a.linkInicio:hover {
    color: #f8ea22;
    text-decoration: underline;
}

a.link-amarillo:link,
a.link-amarillo:visited,
a.link-amarillo:active {
    color: #f8ea22;
}

a.link-amarillo:hover {
    color: #fff;
}

.sincuenta {
    font-size: 0.9em;
}

.textoayuda {
    margin-top: 20px;
    font-size: 1em;
}

#inputCorreo,
#inputPass {
    border-radius: 25px;
}

#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}