/*La propiedad POSITION en css establece cómo se posiciona
el elemento en la página. Por defecto, la propiedad es
STATIC. Los otros valores que toma esta propiedad son
RELATIVE, ABSOLUTE, FIXED Y STICKY.*/

/*Cuando le damos un valor ABSOLUTE a un elemento, este se
vuelve asboluto con respecto a toda la página. Esto serviría
si queremos centrar el div con respecto a toda la página.*/

/*Si le damos el valor al elemento padre de RELATIVE...*/

.img-container {
  position: relative;
  width: 100%;
  height: fit-content;
  z-index: 11;
}

/* .img-container::after{
    content: " Este es un cuadro ";
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    width: fit-content;
    height: 500px;
    left: 0;
    top: 0;
} */

/*y al hijo le damos el valor de ABSOLUTE, le damos un valor
absoluto con respecto a su padre con un valor relativo. */

/*Usando la propiedad MARGIN con valor auto, y dándole los 
valores de las coordenadas en 0, le dará al elemento hijo el 
espacio necesario, y ajustará el espacio restante de forma 
equitativa, quedando en un elemento centrado.*/

.title-container {
  letter-spacing: 10px;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 75%;
  height: fit-content;
}

/*Cuando se pone un elemento sobre otro usando TOP, LEFT, 
BOTTOM y RIGHT, el último elemento del html será el elemento 
que esté encima.*/

/*Si se usa un z-index en un BEFORE y AFTER, solo funcionará 
si el elemento del que derivan estas propiedades no tiene un 
z-index declarado.*/

.title-container h1 {
  font-size: 15rem;
  color: #d9d9d9;
  opacity: 80%;
}

.title-container h4 {
  font-size: 5rem;
  padding-left: 1.2rem;
  margin-top: -3rem;
  color: #d9d9d9;
}

.rectangle {
  background-color: #d9d9d9;
  width: 100%;
  height: 20rem;
  margin: auto;
  z-index: 10;
}

.rectangle > hr {
  margin-top: 3rem;
  width: 20%;
}

.rectangle > .above-square {
  /* margin-top: -10rem; */
  margin: -10rem 2rem 0rem 2rem;
}

.rectangle > .above-square {
  margin: -3rem 2rem 0rem 2rem;
}

.above-square {
  width: 30%;
  position: relative;
  z-index: 20;
}

.above-square p {
  /*arriba, derecha, abajo, izquierda*/
  padding: 2rem 1.5rem 6rem 1.5rem;
  text-align: center;
  background-color: #002b52;
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: 1px;
}

.above-square strong {
  color: #5f9600;
}

.grid-contain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  top: -630px;
  margin: auto;
  position: relative;
}

#num-1 {
  grid-column: 1/2;
  margin-left: 24%;
}

#num-2 {
  grid-column: 4/5;
  margin-right: 24%;
}

/* .sep{
    height: 4px;
    background-color: #5f9600;
    width: 75%;
} */

.drill {
  /* top: -350px; */
  position: relative;
  width: 90%;
  /* display: inline-block; */
  z-index: 20;
}

.drill img {
  text-align: center;
  position: absolute;
  height: 60rem;
  width: 50rem;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#right-info {
  margin-top: -0rem;
  width: 100%;
}

#left-info {
  margin-top: 25rem;
  width: 100%;
}

.mission-box {
  background-color: #0045ab;
  color: #fff;
  padding: 3rem;
  /* padding-top: 70px;
    padding-bottom: 70px; */
  position: relative;
  width: 55%;
  height: fit-content;
  z-index: 1;
  border: solid 8px #fff;
}

.mission-tag {
  font-family: DemiBold;
  font-size: 65px;
  color: rgb(255, 255, 255);
  padding-bottom: 30px;
}

.missBox {
  font-family: miFuente;
  font-size: 23px;
  padding-left: 20px;
  text-align: justify;
  line-height: 130%;
}

.vission {
  background-color: #61a60e;
  color: #fff;
  padding: 3rem;

  position: relative;
  width: 55%;
  height: fit-content;
  z-index: 1;
  border: solid 8px #fff;
}

.vission-tag {
  font-family: DemiBold;
  text-align: end;
  font-size: 65px;
  color: rgb(255, 255, 255);
  padding-bottom: 30px;
}

.vissBox {
  font-family: miFuente;
  font-size: 25px;
  padding-left: 20px;
  text-align: justify;
}

.separator-contain {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.margin-box {
  padding-left: 100px;
  padding-right: 100px;
}

.separator-contain hr {
  grid-column: 1/6;
  width: 100%;
}

/* Valores */
.values-box {
  background-color: #000;
  height: 90px;
  position: relative;
}

/* Slider */
/* .container{
    width: 90%;
    min-height: 65vh;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #e0e0e0;
} */

.slider {
  padding: 4rem 0rem 5rem 0rem;
  background-color: aliceblue;
  height: 45rem;
}

.slider-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  /* gap: 1em; */
  padding: 7rem 8rem;
  width: 90%;
  background-color: #e0e0e0;
}

.slider_body {
  grid-column: 2/3;
  grid-row: 1/2;
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr max-content;
  align-items: center;
  transition: opacity 1.5s;
  margin-left: 10vh;
  margin-right: 10vh;
}

.slider_body--show {
  opacity: 1;
  pointer-events: unset;
}

/* .slider_text{
    max-width: 600px;
} */

.subtitle {
  font-family: squareFont;
  letter-spacing: 1px;
  font-size: 3.4rem;
  color: #0045ab;
  margin-bottom: 20px;
}

.slider_review {
  font-family: squareFont;
  color: #5f971b;
  letter-spacing: 2px;
  text-align: start;
  font-weight: 300;
  line-height: 1.2;
}

.slider_arrow {
  cursor: pointer;
  width: 90%;
  color: #fff;
  font-weight: bold;
}

.slider_arrow:nth-last-of-type(2) {
  justify-self: end;
}

.name-container {
  width: fit-content;
  min-width: 20%;
  white-space: nowrap;
  padding: 2rem 5rem;
}

.section-name {
  z-index: 1;
  width: 85%;
  margin-bottom: -4rem;
}

.section-name hr {
  margin-right: 2rem;
  margin-bottom: 4rem;
}

/* Slider */
.organization {
  background-color: #61a60e;
  width: 90%;
  margin: auto;
}

.title-tag {
  margin: 0;
  padding: 3rem 4rem;
  font-size: 4rem;
  font-family: squareFont;
  color: #fff;
}

.second_container {
  min-height: 40vh;
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
  /* background-color: #5f971b; */
}

.diagram {
  padding-bottom: 40px;
}

.diagram-container {
  display: grid;
  grid-template-columns: auto 1fr auto;

  align-items: center;
  gap: 1em;
}

.diagram_body {
  grid-column: 2/3;
  grid-row: 1/2;
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr max-content;
  align-items: center;
  transition: opacity 1.5s;
}

.diagram_body--show {
  opacity: 1;
  pointer-events: unset;
}

.diagram_text {
  text-align: center;
}

.diagram_text img {
  width: 100%;
}

.diag-img:nth-child(3) {
  width: 20%;
}

.tag {
  font-family: squareFont;
  letter-spacing: 1px;
  font-size: 3.4rem;
  color: #0045ab;
  margin-bottom: 20px;
}

.diagram_arrow {
  cursor: pointer;
  width: 90%;
  padding: 10px;
  color: #fff;
}

.diagram_arrow:nth-last-of-type(2) {
  justify-self: end;
}

.section-container {
  width: 90%;
  background-color: aliceblue;
}

#wsp-container {
  width: 90%;
  height: 10%;
  padding: 50px 20px 50px 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
}

#wsp-container div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  padding: 10px;
  background-color: rgb(45, 177, 45);
  border-radius: 100%;
}

@media (max-width: 570px) {
  .img-container img {
    height: 35rem;
  }

  .above-square {
    width: 30rem;
  }

  .above-square p {
    width: 30rem;
    padding: 2rem 1.5rem 2rem 1.5;
    letter-spacing: 0;
  }

  .title-container h1 {
    font-size: 10rem;
  }

  .title-container h4 {
    font-size: 2.3rem;
  }

  .rectangle > hr {
    width: 3rem;
  }

  .mission-box {
    width: 100%;
  }

  .mission-box p {
    font-size: 2rem !important;
  }

  .vission {
    width: 100%;
  }

  .vission p {
    font-size: 2rem !important;
  }

  .drill img {
    width: 40rem;
    height: 53rem;
  }

  .slider-container {
    padding: 0rem 0rem;
  }

  .slider_body {
    margin: 0rem 4rem;
  }
}
