body {
  margin: 0px;
  background-color: #fff;
  max-width: 100vw;
  overflow-y: auto;
  overflow-x: hidden;
}
a {
  outline: none !important;
  box-shadow: none !important;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}
@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu-Regular.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}
@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu-Bold.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
  font-weight: bold;
}
.sombra {
  -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.36);
  -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.36);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.36);
}
.centrado {
  display: flex;
  justify-content: center;
  align-items: center;
}
.centrado-vertical {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
}

/* Barra de navegación */

.navbar_boton {
  color: #333;
  background-position: bottom;
  background-image: -webkit-linear-gradient(0deg, #009045, #70a83b, #a3bd31);
  background-size: 0% 0%;
  margin-bottom: 4px;
  background-repeat: no-repeat;
  cursor: pointer;
  font-family: var(--fuente-texto);
  font-size: 1.6rem;
  padding-left: 1.4rem !important;
  padding-right: 1.4rem !important;
}
.navbar_boton:hover {
  color: #000;
  background-size: 100% 5%;
  animation-name: ani_btn;
  animation-duration: 1.4s;
}
@keyframes ani_btn {
  0% {
    background-size: 0% 5%;
  }
  15% {
    background-size: 100% 5%;
  }
  37% {
    background-size: 78% 5%;
  }
  50% {
    background-size: 100% 5%;
  }
  64% {
    background-size: 91% 5%;
  }
  70% {
    background-size: 100% 5%;
  }
  100% {
    background-size: 100% 5%;
  }
}

/* Banner */
#header {
  position: relative;

  /* background-image: url(/img/SGI/hero-section-sgi.webp);
  background-repeat: round; */
}
.img-banner {
  width: 100%;
  filter: drop-shadow(0px 2px 20px #444);
}
div.titulo {
  margin-top: 25%;
  position: absolute;
  text-align: center;
  width: 100%;
  bottom: 16%;
  left: 0px;
}
div.titulo > div {
  max-width: 83rem;
  cursor: pointer;
  user-select: none;
  border: solid 13px #fff;
  display: inline-block;
  padding: 0.7em 3em;
  border-radius: 28.4rem;
  filter: drop-shadow(3px 2px 3px rgba(0, 0, 0, 0.6));
  animation-duration: 8s;
}
h1.titulo {
  /*box-shadow: none;*/
  font-family: var(--fuente-titulos);
  font-weight: bold;
  font-size: 5.5rem;
  /* text-shadow: 2px 1px 3px #121212dd; */
  color: #fff;
  display: inline-block;
  line-height: 1.1em;
}

main {
  position: relative;
  max-width: 114rem;
  margin: auto;
  padding: 0rem 1.5rem;
  margin-top: 5rem;
}

/* Sección objetivo y PGI */
.objetivo {
  width: 100%;
  display: grid;
  grid-template-columns: 51.3% 48.7%;
  padding: 0rem 1.5rem;
}

.pgi {
  position: relative;
  display: grid;
  grid-template-columns: 47% 25% 28%;
  padding: 0rem 1.5rem;
}

.objetivo > div:first-of-type,
.pgi > div:nth-of-type(2n + 1) {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.objetivo > div:first-of-type > .item,
.pgi > div:nth-of-type(2n + 1) > .item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  max-width: 50.6rem;
}

.objetivo .titulo-objetivo,
.pgi .titulo-pgi {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.6rem 4.5rem;
  background-color: #e1a23c;
  border-radius: 10rem;
}

.objetivo .titulo-objetivo > h1,
.pgi .titulo-pgi > h1 {
  font-size: 3.6rem;
  font-family: var(--fuente-titulos);
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.objetivo .texto-objetivo,
.pgi .texto-pgi {
  position: relative;
  top: -4rem;
  padding: 5.2rem 2.8rem 2.8rem 2.8rem;
  border-radius: 1rem;
  box-shadow: 0 0 0.5rem 0.3rem #00000026;
  z-index: -1;
}

.pgi .texto-pgi {
  top: -6rem;
  padding: 7.2rem 2.8rem 2.8rem 2.8rem;
}

.objetivo .texto-objetivo > p,
.pgi .texto-pgi > p {
  font-family: var(--fuente-texto);
  font-size: 2rem;
  text-align: justify;
}

.objetivo > div:last-of-type {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.objetivo > div:last-of-type img:first-of-type {
  position: relative;
  width: 86%;
  /* max-width: 40rem; */
}
.objetivo > div:last-of-type img:last-of-type {
  position: absolute;
  width: 82%;
  animation: latido 3.5s linear infinite 0s;
  /* max-width: 35rem; */
  /* top: -7%; */
  /* left: 15%; */
}

.pgi > div:nth-of-type(2n + 2) {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pgi > div:nth-of-type(2n + 3) {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.flecha {
  position: relative;
  max-width: 10rem;
  left: 3rem;
  animation: flecha 1s linear infinite;
}

.pdf {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf > img {
  position: relative;
  width: 80%;
  max-width: 20rem;
  right: 7rem;
  z-index: +3;
}

.animado-1 {
  content: url(../img/SGI/pdf.svg);
  position: absolute;
  width: 47%;
  max-width: 18.4rem;
  right: 9rem;
}

.animado-2 {
  content: url(../img/SGI/pdf.svg);
  position: absolute;
  width: 47%;
  max-width: 18.4rem;
  right: 9rem;
}

.pdf:hover ~ .animado-1 {
  transform: rotateZ(-20deg);
  transition: linear 0.5s;
}

.pdf:hover ~ .animado-2 {
  transform: rotateZ(-10deg);
  transition: linear 0.5s;
}

.alcance {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 0rem 1.5rem;
}

.alcance > .titulo-alcance {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.6rem 4.5rem;
  background-color: #fff;
  box-shadow: 0 0 0.5rem 0.3rem #00000026;
  border-radius: 10rem;
  z-index: 2;
}

.alcance > .titulo-alcance > h1 {
  font-family: var(--fuente-titulos);
  font-size: 3.5rem;
  font-weight: bold;
  text-align: center;
  color: #e1a23c;
}

.alcance > .cuerpo-alcance {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  column-gap: 7.5rem;
  row-gap: 5rem;
  top: -6rem;
  padding: 10rem 10.6rem 5rem 10.6rem;
  background-color: #e1a23c;
  border-radius: 1rem;
  box-shadow: 0 0 0.5rem 0.3rem #00000026;
}


.alcance > .cuerpo-alcance > div {
  position: relative;
  background-color: #fff;
  border-radius: 1rem;
}

.alcance > .cuerpo-alcance > div:hover {
  background-color: #e1a23c;
  box-shadow: 0px 0px 10px 0px #a57529;
  /* animation: latido 1s 0s infinite linear fill-mode; */
  animation: latido 1s linear 0s 1 alternate;
}

.alcance > .cuerpo-alcance > div:hover > a {
  color: #fff;
}

.alcance > .cuerpo-alcance > div > a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #000;
  padding: 2rem 3.3rem;
  font-family: var(--fuente-texto);
  font-size: 2rem;
}


.mapa {
  position: relative;
  width: 100%;
}

/* Animaciones */
@keyframes latido {
  0% {
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
    -o-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
  }
}

@keyframes flecha {
  0% {
    -webkit-transform: scaleX(1);
    -o-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
  }
  50% {
    -webkit-transform: scaleX(1.2);
    -o-transform: scaleX(1.2);
    -moz-transform: scaleX(1.2);
    -ms-transform: scaleX(1.2);
  }
  100% {
    -webkit-transform: scaleX(1);
    -o-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
  }
}

/* Puntos de interrupción */

@media only screen and (max-width: 1036px) {
  .pgi {
    grid-template-columns: 100%;
    top: 4rem;
  }
  .pgi > div:nth-of-type(2n + 1) {
    align-items: center;
  }
  .pgi > div:nth-of-type(2n + 3) {
    justify-content: center;
    align-items: center;
  }
  .pdf > img {
    right: 0;
    margin-top: 6rem;
  }
  .animado-1,
  .animado-2 {
    display: none;
  }
  .flecha {
    left: 0rem;
    animation: none;
    transform: rotateZ(90deg);
    -moz-transform: rotateZ(90deg);
    -o-transform: rotateZ(90deg);
    -webkit-transform: rotateZ(90deg);
    -ms-transform: rotateZ(90deg);
  }
  .alcance {
    margin-top: 9rem;
  }
}

@media only screen and (max-width: 827px) {
  div.titulo > div {
    width: 100%;
    max-width: 35rem;
  }
  h1.titulo {
    font-size: 2.5rem;
  }
  .objetivo {
    grid-template-columns: 100%;
  }
  .objetivo > div:first-of-type {
    align-items: center;
  }
  .objetivo > div:last-of-type {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .alcance > .cuerpo-alcance {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .objetivo .titulo-objetivo,
  .pgi .titulo-pgi {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.6rem 4.5rem;
    background-color: #e1a23c;
    border-radius: 10rem;
  }
  .objetivo .titulo-objetivo > h1,
  .pgi .titulo-pgi > h1 {
    font-size: 2.6rem;
    font-family: var(--fuente-titulos);
    font-weight: bold;
    color: #fff;
    text-align: center;
  }
  .objetivo .texto-objetivo > p,
  .pgi .texto-pgi > p {
    font-size: 1.6rem;
  }
  .alcance > .cuerpo-alcance > div {
    font-size: 1.7rem;
  }
  .alcance > .titulo-alcance > h1 {
    font-size: 2.6rem;
  }
}

@media only screen and (max-width: 600px) {
  .img-banner {
    width: auto;
    height: 70vh;
  }
  div.titulo {
    margin-top: 2%;
    top: 102%;
  }
  div.titulo > div {
    border: solid 8px #651717;
    filter: none;
  }
  h1.titulo {
    font-weight: normal;
    color: #000;
  }
}

@media only screen and (max-width: 520px) {
  .alcance > .cuerpo-alcance {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
}
