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;
  /* margin-bottom: 10rem; */

  /* 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 {
  cursor: pointer;
  user-select: none;
  border: solid 10px #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;
}

/* Certificaciones */

.grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  width: 100%;
  row-gap: 10rem;
  margin-bottom: 3rem;
}

.grid > div:nth-child(2) {
  grid-row: 1/3;
  grid-column: 2/3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 52.7rem;
}

.item > .titulo {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 10rem;
  top: 0rem;
  margin: 0rem;
}

.item > .titulo > h1 {
  position: absolute;
  padding: 0rem 7rem;
  font-family: var(--fuente-titulos);
  font-size: 3.6rem;
  font-weight: bold;
  color: #fff;
}

.item > .titulo > img {
  position: relative;
  top: 0rem;
  filter: drop-shadow(0rem 0.4rem 3rem rgba(0, 0, 0, 0.25));
}

.item > .cuerpo {
  position: relative;
  width: 93%;
  padding: 22rem 4.3rem 4.3rem 5.2rem;
  box-shadow: 0rem 0.4rem 1.7rem 0rem rgba(0, 0, 0, 0.25);
  border-radius: 2rem;
}

.item > .cuerpo > .contenido {
  position: relative;
  display: grid;
  grid-template-columns: 27% 73%;
}

.item > .cuerpo > div.contenido:not(:first-of-type) {
  margin-top: 4rem;
}

.item > .cuerpo > .contenido > div:first-of-type {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item > .cuerpo > .contenido > div:first-of-type img {
  max-width: 100px;
}

.item > .cuerpo > .contenido > div:first-of-type p {
  font-family: "Arial";
  font-size: 1.2rem;
  font-weight: bold;
  color: #0085ca;
  margin: 0rem 0rem 0rem 0rem;
  user-select: none;
}

.item > .cuerpo > .contenido > div:last-of-type {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item > .cuerpo > .contenido > div:last-of-type > p {
  font-family: var(--fuente-texto);
  font-size: 1.6rem;
  text-align: justify;
  margin-left: 2.2rem;
  margin-bottom: 0rem;
}

.contenedor-botones {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  text-align: center;
}
.contenedor-botones > a {
  font-family: var(--fuente-texto);
  font-size: 1.6rem;
  color: #fff;
  padding: 1rem;
  margin-top: 2rem;
  background-color: #e1a23c;
  border-radius: 1rem;
  box-shadow: 0rem 0.4rem 1.7rem 0rem rgba(0, 0, 0, 0.25) !important;
}

.contenedor-botones > a:hover {
  text-decoration: none;
  background-color: #0d5519;
}

/* Animaciones */
@keyframes temblor {
  0% {
    -webkit-transform: rotateZ(-10deg);
  }
  50% {
    -webkit-transform: rotateZ(10deg);
  }
  100% {
    -webkit-transform: rotateZ(-10deg);
  }
}

/* Puntos de interrupción */

@media only screen and (max-width: 1049px) {
  .grid {
    position: relative;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    width: 100%;
    row-gap: 10rem;
    margin-bottom: 5rem;
  }
  .grid > div:nth-child(2) {
    grid-row: auto;
    grid-column: auto;
    justify-content: center;
  }
  .grid > div {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media only screen and (max-width: 600px) {
  #header {
    margin-bottom: 0rem;
  }
  .grid {
    position: relative;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    width: 100%;
    row-gap: 5rem;
    margin-bottom: 5rem;
  }
}

@media only screen and (max-width: 539px) {
  main {
    padding: 0rem;
  }
  .item > .titulo > h1 {
    font-size: 2.7rem;
    padding: 0rem 1rem;
  }
  .item > .cuerpo > .contenido {
    position: relative;
    display: grid;
    grid-template-columns: 100%;
  }
  .contenedor-botones {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
    flex-direction: column;
  }

  .item > .cuerpo {
    position: relative;
    width: 93%;
    padding: 15rem 4.3rem 4.3rem 4.3rem;
    box-shadow: 0rem 0.4rem 1.7rem 0rem rgba(0, 0, 0, 0.25);
    border-radius: 2rem;
  }
  .item > .cuerpo > .contenido > div:last-of-type > p {
    margin-top: 1rem;
    margin-left: 0rem;
  }
}
