@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Poppins: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");

/* Estilos generales */

.contenedor {
  max-width: 1366px;
  margin: auto;
  padding: 24px 48px;
}

:root {
  --fondo: #98d4fc;
  --contraste: #69afd2;
  --base: #0e8ec2;
  --verde: #c6d7b0;
  --verde-oscuro: #2a817d;
  --fondo-2: #f1f9fe;
}
body {
  margin: 0;
}
a {
  text-decoration: none;
  color: #0e8ec2;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}
a:hover {
  color: #fd9323;
}

/* Estilos tipograficos */
h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 40px;
  color: white;
  margin-top: 0;
  margin-bottom: 12px;
}
h2 {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: normal;
}
p {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}
body {
  background-color: var(--fondo);
}
sub {
  font-size: 12px !important;
}

/* Index */
#navbar {
  max-width: 1366px;
  margin: auto;
  padding: 24px 48px 0 48px;
  text-align: right;
}
#navbar a {
  font-size: 18px;
  font-weight: bold;
}
#first-section {
  text-align: center;
}
#first-section p {
  color: var(--verde-oscuro);
}

.svg-icon {
  max-width: 45%;
}
.second-section {
  background-color: white;
}
.estadisticas {
  text-align: center;
}
.estadisticas h2 {
  font-size: 20px;
  color: var(--base);
}
.estadisticas img {
  text-align: center;
}
.num {
  font-size: 80px;
  font-weight: 700;
  color: var(--base);
  margin: 0;
}
.cuadricula-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.cuadricula-4 h2 {
  margin-top: 0;
}
.espaciador {
  height: 12px;
  margin-top: 12px;
  background-color: #ffd50b;
}
.third-section .cuadricula {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: center;
  justify-content: center;
}
.third-section .info p {
  text-align: justify;
}
.huella img {
  max-width: 85%;
}
.huella {
  text-align: center;
}
.third-section .cuadricula .info {
  padding: 48px;
  background-color: var(--verde);
  border-radius: 50px;
}
.contenedor.third-section {
  padding-bottom: 0;
}
img.objetivo {
  max-width: 60%;
}
.fourth-section .cuadricula {
  width: 80%;
}
.fourth-section .cuadricula .info {
  padding: 48px;
  background-color: white;
  border-radius: 50px;
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.logos img {
  display: block;
  margin-bottom: 24px;
  width: 150px;
}

.fourth-section {
  background-image: url(../img/rueda-opacidad.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}
.fifth-section {
  background-color: white;
  border-top: 5px solid #fd9323;
  border-bottom: 5px solid #fd9323;
}

.fifth-section .cuadricula {
  display: grid;
  grid-template-columns: repeat(7, 2fr);
  gap: 48px;
  justify-items: center;
}
.fifth-section .cuadricula .icono {
  width: 100px;
  height: 100px;
}
.fifth-section .bloque {
  text-align: center;
}
.fifth-section h2 {
  font-size: 18px;
  margin-bottom: 0;
}
.cuadricula a {
  color: black;
}
.cuadricula a:hover {
  color:var(--base);
}
.anex {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  font-size: 18px;
  color: var(--base);
  margin-top: 12px;
  margin-bottom: 0;
}
footer .cuadricula {
  display: grid;
  grid-template-columns: repeat(6, 2fr);
  gap: 24px;
  justify-items: center;
  align-items: center;
}
footer .logo {
  max-width: 150px;
}

footer {
  background-color: white;
  margin-top: -10px;
}
footer p {
  text-align: right;
}
.regla {
  margin-top: 24px;
}
footer .bloque a {
  display: block;
}
img.logo.ministerio {
  max-width: 100%;
}
.bloque.minis {
  grid-column: 5 / 7;
  grid-row: 1;
}
.asistencia{
  text-align: center;
  margin: 10px 0;
}

/* Responsive Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .contenedor {
    padding: 48px 10px;
  }
  .fourth-section .cuadricula {
    width: 100%;
  }
  .fifth-section .contenedor {
    padding: 48px 10px;
  }
  .fifth-section .cuadricula {
    grid-template-columns: repeat(3, 2fr);
  }
  footer .cuadricula {
    grid-template-columns: repeat(3, 2fr);
  }
  .third-section .cuadricula .info {
    padding: 24px;
  }
  .svg-icon {
    max-width: 100%;
  }
  .regla {
    margin-top: 48px;
  }
}

/* Responsive movil */
@media (max-width: 800px) {
  #navbar {
    padding: 48px 10px 0 10px;
  }
  h1 {
    font-size: 30px;
    margin-top: 0;
  }
  .contenedor {
    padding: 48px 10px;
  }
  .cuadricula-4 {
    display: grid;
    grid-template-columns: 100%;
  }
  .third-section .cuadricula .info {
    padding: 24px;
  }
  .third-section .cuadricula {
    display: grid;
    grid-template-columns: 100%;
  }
  img.objetivo {
    max-width: 100%;
  }
  .fourth-section .cuadricula .info {
    padding: 24px;
    grid-template-columns: 100%;
  }
  .fourth-section .cuadricula {
    width: 100%;
  }
  .fifth-section .contenedor {
    padding: 48px 10px;
  }
  .fifth-section .cuadricula {
    display: grid;
    grid-template-columns: 100%;
  }
  footer .cuadricula {
    grid-template-columns: 100%;
  }
  .logos {
    display: flex;
    gap: 24px;
    justify-content: center;
  }
  .logos img {
    max-width: 45% !important;
  }
  .regla {
    margin-top: 48px;
  }
  .separador-r {
    overflow: hidden;
    text-align: center;
  }
  img.regla {
    width: 300%;
    text-align: center;
    object-fit: cover;
    margin-left: 0px;
    padding-left: 0px;
  }
  .svg-icon {
    max-width: 60%;
  }
  footer .contenedor {
    padding: 48px 10px;
  }
  .bloque {
    text-align: center;
  }
  .contenedor.third-section {
    padding-bottom: 0;
  }
  footer .logo {
    max-width: 250px;
  }
  img.logo.ministerio {
    max-width: 80%;
  }
}
