/*------------------------------------*\
 carga de fuentes tipográficas
\*------------------------------------*/

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Noto Sans Light"), url(../fonts/NotoSans-Light.ttf) format("ttf");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Noto Sans Regular"), url(../fonts/NotoSans-Regular.ttf) format("ttf");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 500;
  src: local("Noto Sans Medium"), url(../fonts/NotoSans-Medium.ttf) format("ttf");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Noto Sans Bold"), url(../fonts/NotoSans-Bold.ttf) format("ttf");
}

/*--------------------------------------------*\
estilos globlaes
\*--------------------------------------------*/

html {
  scroll-behavior: smooth;
  scroll-padding-top: 3em;
}

body {
  background-color: #4d6094;
  color: #334155;
  font-family: "Noto Sans", sans-serif;
}

main {
  margin: 0 auto 12em;
}

.contenedor {
  margin: 0 auto 8rem;
  max-width: 1180px;
}

/*--------------------------------------------*\
menú navegación
\*--------------------------------------------*/

.navbar {
  background-color: #0c1241 !important;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.navbar-dark .navbar-toggler {
  border-color: transparent !important;
  color: #e2e8f0;
}

.navbar-collapse .navbar-nav {
  display: flex;
  font-size: 1rem;
  min-height: 100vh;
}

.navbar-toggler-icon {
  height: 1.2em;
  width: 1.2em;
}

.navbar-collapse h3 {
  font-weight: 700;
}

.navbar-collapse .navbar-nav img {
  margin-bottom: 0;
  width: 50px;
}

.navbar-collapse .navbar-nav a {
  color: #f1f5f9 !important;
  font-weight: 500;
  margin-top: 0;
  padding: 0.4em 0 0.4em;
  transition: all ease 0.1s;
}

.navbar-collapse .navbar-nav .nav-link:hover {
  color: #fff !important;
  /* transform: scale(1.04); */
  transform: translateX(10px);
}

.nav-link {
  padding-bottom: 0;
}

.nav-item .nav-link img {
  width: 28px;
}

.navbar-collapse .navbar-nav li {
  border-bottom: 1px solid #131a4d;
  padding: 0.4em 0.6em;
}

.navbar-collapse .navbar-nav img {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 0.4rem;
}

.navbar-collapse .navbar-nav li:last-child {
  border-bottom: none;
}

.logo {
  display: block;
  padding: 0 1em 0 0;
}

.logo-mobile {
  display: none;
}

@media only screen and (max-width: 400px) {
  .logo {
    display: none;
  }

  .logo-mobile {
    display: block;
    margin-left: 1em;
  }
}

.navbar {
  justify-content: space-between;
}

/*--------------------------------------------*\
secciones
\*--------------------------------------------*/

.portada {
  background-image: url("../img/bg_capacitacion_index.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 900px;
}

.portada::before {
  background: linear-gradient(
    90deg,
    rgba(49, 71, 131, 0.85) 0%,
    rgba(49, 71, 131, 0.9) 50%,
    rgba(49, 71, 131, 0.85) 100%
  );
  bottom: 0px;
  content: "";
  height: 900px;
  left: 0px;
  opacity: 1;
  position: absolute;
  right: 0px;
  top: 0px;
}

.portada-header-box {
  align-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-items: center;
  margin: auto;
  max-width: 1280px;
  padding: 0 2em;
}

.portada_title {
  color: rgba(255, 255, 255, 1);
  flex: 1;
  font-family: "Noto Sans", sans-serif;
  font-size: clamp(3rem, 1.7087rem + 5.7391vw, 6.3rem);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: center;
  z-index: 1;
}

@media only screen and (max-width: 520px) {
  .portada_title {
    font-size: 2.6rem;
    line-height: 1.2;
  }

  .portada {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
  }

  .portada::before {
    height: 600px;
  }
}

.portada_description {
  border-bottom: 2px solid #93c5fd;
  color: #fff;
  display: inline-block;
  position: relative;
}

.portada-header-box > div {
  flex: 0 0 100%;
  z-index: 100;
}

#boton-ir {
  background-color: #93c5fd;
  border-radius: 5px;
  box-shadow: 0 7px 10px rgba(18, 54, 146, 0.2);
  color: #334155;
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  margin: 2em auto;
  padding: 0.6em 1.3em;
  text-align: center;
  transition: all ease 0.1s;
  width: 210px;
}

#boton-ir:hover {
  background-color: #60a5fa;
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  transform: scale(1.03);
}

.intro {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 7px 10px rgba(18, 54, 146, 0.2);
  color: #0f172a;
  font-size: clamp(0.9rem, 0.822rem + 0.3902vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 2rem;
  margin-top: 0;
  padding: 6rem 4rem 6rem 4rem;
}

.intro-reticula {
  column-gap: 4rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  scroll-margin-top: 4rem;
}

.intro-text {
  border-right: 1px solid #e2e8f0;
  padding-right: 3rem;
}

.grid-span-2 {
  grid-column: span 2;
}

@media only screen and (max-width: 940px) {
  .intro {
    padding: 4rem 2rem 4rem 2rem;
  }

  .intro-reticula {
    grid-template-columns: 1fr;
  }

  .grid-span-2 {
    grid-column: span 1;
  }

  .intro-text {
    border-right: none;
    padding-right: 0;
  }
}

.intro p span {
  color: #395cbd;
  font-weight: 700;
}

.sidebar {
  padding-top: 3rem;
  position: relative;
}

.sidebar h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 5rem;
}

.secciones-item {
  border-radius: 8px;
  box-shadow: 0 4px 3px #00000012, 0 2px 2px #0000000f;
  color: #fff;
  display: flex;
  margin-bottom: 2em;
  position: relative;
  transition: all ease 0.1s;
}

.secciones-item:hover {
  color: #fff;
  filter: saturate(130%);
  transform: scale(1.01);
}

.secciones-item img {
  border-radius: 5px;
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  width: auto;
}

@media only screen and (min-width: 600px) {
  .secciones-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0 2.6em;
    justify-content: flex-start;
  }

  .contenido-subtitle {
    flex-grow: 1;
    width: 100%;
  }

  .secciones-item {
    flex-basis: 31%;
  }
}

.secciones-text {
  background: rgb(12, 18, 65);
  background: linear-gradient(0deg, rgba(12, 18, 65, 1) 0%, rgba(12, 18, 65, 0) 100%);
  border-radius: 0 0 8px 8px;
  bottom: 0;
  font-size: clamp(1rem, 0.9333rem + 0.3333vw, 1.2rem);
  font-weight: 600;
  padding: 1em 1.4em 1.4em;
  position: absolute;
  transition: all ease 0.1s;
  width: 100%;
}

.secciones-text span {
  line-height: 1.3;
}

.text-mas {
  color: #0f172a;
  display: inline-block;
  font-size: clamp(1rem, 0.8529rem + 0.2941vw, 1.125rem);
  font-weight: 400;
  position: absolute;
  top: 0;
  width: fit-content;
}

.contenido {
  font-size: 1rem;
  line-height: 1.7;
  padding: 0.6em 2em;
}

.contenido-header-titulo {
  height: 500px;
}

.contenido-header-box {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  margin: auto;
  max-width: 1280px;
  padding-top: 2rem;
}

.contenido-header-titulo h2 {
  font-size: clamp(2.6rem, 1.9348rem + 2.9565vw, 4.3rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  width: 100%;
}

.contenido-img {
  border-radius: 5px;
  display: block;
  filter: contrast(200%);
  margin-bottom: 2em;
  transition: all ease 0.3s;
}

.contenido-title {
  color: #77d2fc;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 1em;
}

.contenido-subtitle {
  font-size: clamp(1.5rem, 1.3043rem + 0.8696vw, 2rem);
  font-weight: 700;
  margin-bottom: 3rem;
}

.contenido p {
  margin-bottom: 2em;
}

.contenido ul li {
  color: #bad2f5;
  line-height: 1.8;
  padding: 0.6em 1em;
}

.capacitacion-bg {
  background: linear-gradient(270deg, rgba(49, 71, 131, 1) 0%, rgba(49, 71, 131, 1) 48%, rgba(49, 71, 131, 1) 75%),
    url("../img/bg_capacitacion.webp");
  background-color: #0c1241;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 800px;
  background-size: cover;
}

.ventajas-bg {
  background-color: #4d6094;
}

.fichas-contanier {
  padding: 0 3rem;
}

.ficha-box {
  background-color: #f1f5f9;
  border-radius: 11px;
  box-shadow: 0 7px 10px rgba(18, 54, 146, 0.2);
  font-size: 0.9em;
  margin-bottom: 5em;
  position: relative;
}

.ficha-img {
  box-shadow: 0 7px 10px rgba(18, 54, 146, 0.25);
  height: 150px;
  position: absolute;
  right: -130px;
  top: 30px;
  width: 130px;
  z-index: 1;
}

.ficha-img img {
  border-radius: 0 8px 8px 0px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ficha-header {
  align-items: flex-start;
  background-color: #fff;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 11px 11px 0 0;
  display: flex;
  font-size: clamp(1.1rem, 1.0609rem + 0.1739vw, 1.2rem);
  height: 200px;
  justify-content: space-between;
  padding: 2em 2.6em;
  position: relative;
  z-index: 100;
}

.ficha-header h3 {
  color: #334155;
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.2;
}

.ficha-contenido {
  background-color: #fff;
  border-radius: 0 0 11px 11px;
  display: grid;
  /* font-size: clamp(1rem, 0.9609rem + 0.1739vw, 1.1rem); */
  font-size: 1rem;
  gap: 2em;
  grid-template-columns: 1fr 1fr;
  line-height: 1.7;
  padding: 3em;
}

.ficha-contenido div ul li {
  margin-bottom: 0.6rem;
}

@media only screen and (max-width: 1350px) {
  .ficha-img {
    display: none;
  }
}

@media only screen and (max-width: 640px) {
  .ficha-contenido {
    grid-template-columns: 1fr;
  }

  .ficha-header {
    flex-direction: column;
    height: fit-content;
  }

  .ficha-header h3 {
    margin-bottom: 1rem;
  }

  .fichas-contanier {
    padding-inline: 0;
  }
}

.ficha-curso-duracion {
  display: flex;
  font-size: 16px;
  gap: 2rem;
}

.ficha-curso-duracion span img {
  fill: #000;
  /* margin-bottom: 0.3em; */
  width: 46px;
}

.ficha-curso-duracion span {
  display: block;
  /* flex-basis: 50%; */
  margin-bottom: 0;
  text-align: center;
}

.ficha-curso-duracion span strong {
  display: block;
}

.ficha-curso-duracion span em {
  display: block;
  font-style: normal;
  margin-top: -0.2em;
}

.ficha-box div h4 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.ficha-box div ul {
  padding-left: 0.9em;
}

.ficha-box .lista-indice {
  counter-reset: index;
  padding: 0;
}

.ficha-box .lista-indice li {
  align-items: center;
  box-sizing: border-box;
  counter-increment: index;
  display: flex;
}

.ficha-box .lista-indice li::before {
  align-self: flex-start;
  background-attachment: fixed;
  -webkit-background-clip: text;
  background-color: #334155;
  content: counters(index, ".");
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  padding-right: 10px;
  text-align: right;
  -webkit-text-fill-color: transparent;
}

.contenido2 {
  padding: 2em;
}

@media only screen and (min-width: 800px) {
  .contenido-tematico-borde {
    border-left: 1px solid #e2e8f0;
    padding-left: 2em;
  }
}

@media only screen and (min-width: 600px) {
  .competencias_img {
    display: flex;
  }
}

.certificacion-intro {
  color: #fff;
  font-size: clamp(1.1rem, 1.0609rem + 0.1739vw, 1.2rem);
  padding: 0 2em 3em;
}

.certificacion {
  background-color: #fff;
  border-bottom: 2px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 7px 10px rgba(18, 54, 146, 0.2);
  padding: 3rem 3rem 4rem;
}

.certificacion-clave {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 0.3em;
  text-align: center;
  width: auto;
}

.certificacion-clave span {
  background-color: #e2e8f0;
  border-radius: 20px;
  display: inline-block;
  font-size: 0.9em;
  padding: 0.3rem 1rem;
}

.certificacion h2 {
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1em;
  text-align: center;
}

.certificacion p {
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.tabla-funciones {
  font-size: 0.9rem;
  width: 100%;
}

/* .tabla-funciones td,
.tabla-funciones th {} */

.tabla-funciones thead {
  background-color: #f1f5f9;
  padding: 0.6em 0.6em 0.3em;
  text-align: center;
}

.tabla-funciones thead th {
  padding: 0.6em 1.6em;
  text-align: left;
}

.tabla-funciones thead tr:last-child {
  background-color: #f3f4f6;
  font-size: 1em;
  font-weight: 700;
  width: 100%;
}

.tabla-funciones thead tr:last-child th {
  padding: 0.8em 1em;
}

.tabla-funciones thead tr th:first-child {
  min-width: 80px;
}

.tabla-funciones tbody {
  font-weight: normal;
}

.tabla-funciones tbody tr td {
  font-weight: normal;
  padding: 1em 1em 0.6em;
  vertical-align: top;
  /* background-color: #0220a5; */
}

.intro footer {
  /* background-color: #fff; */
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.8;
  padding-bottom: 6rem;
  padding-top: 8rem;
  text-align: center;
}

.intro footer a {
  color: #2a4dac;
}

.intro footer a:hover {
  color: #294183;
}

.footer-logo {
  width: 500px;
}

.footer-sections {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.8;
  padding-bottom: 6rem;
  padding-top: 0rem;
  text-align: center;
}

.footer-sections a {
  color: #fff;
  text-decoration: underline;
}

/* .footer-sections {
  font-size: 0.9rem;
  line-height: 1.8;
  padding-bottom: 6rem;
  padding-top: 0;
  text-align: center;
} */

@media only screen and (max-width: 800px) {
  .footer-logo {
    width: 90%;
  }
}

.bg_curso_proteccion {
  /* background: linear-gradient(230deg, rgba(226, 232, 240, 1) 0%, rgba(255, 255, 255, 1) 100%),
    url("../img/curso_proteccion.jpg"); */
  background-color: #fff;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_analisis {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_analisis.png");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_instalaciones {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_instalaciones.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_primer {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_primer.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_conduccion {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_conduccion.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_seguridad {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_seguridad.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_control {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_control.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_formacion {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_formacion.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_cultura {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_cultura.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_defensa {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_defensa.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_curso_auxilios {
  background: linear-gradient(120deg, rgba(241, 245, 249, 1) 70%, rgba(241, 245, 249, 0) 100%),
    url("../img/curso_auxilios.jpg");
  background-color: #0c1241;
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
}

@media only screen and (max-width: 600px) {
  .bg_curso_proteccion,
  .bg_curso_analisis,
  .bg_curso_instalaciones,
  .bg_curso_primer,
  .bg_curso_conduccion,
  .bg_curso_seguridad,
  .bg_curso_control,
  .bg_curso_formacion,
  .bg_curso_cultura,
  .bg_curso_defensa,
  .bg_curso_auxilios {
    background-size: cover;
  }
}

.reticula-columnas {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
}

@media only screen and (max-width: 1028px) {
  .reticula-columnas {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
  }
}
