.capa {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.61);
  z-index: -1;
}

.info {
  z-index: 1;
  width: 100%;
  max-width: 550px;
  text-align: center;
}

.gridC .gridB .capaImg h3 {
  color: rgb(119, 222, 253);
  font-weight: 400;
  margin-bottom: 120px;
  transition: all 400ms ease-out;
  margin-top: 30px;
  font-size: 2em;
}

.gridC .gridB .capaImg p {
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  width: 100%;
  max-width: 220px;
  margin: auto;
}

.gridC .gridB .capaImg p:first-child {
  color: rgb(255, 126, 126) !important;
}

.gridC .gridB .capaImg p:last-child {
  color: greenyellow;
}

.gridB img {
  width: 100%;
  height: auto;
  transition: all 400ms ease-out;
  will-change: transform;
}

@supports (object-fit: cover) {
  .gridB img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

.gridB {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.5);
  width: 470px;
  height: 490px;
}

.banner {
  height: 100vh;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  top: 0;
  position: absolute;
}

.bannerAux {
  height: calc(100vh - 120px);
  top: 0;
}

.bannerInfo {
  position: absolute;
  height: 500px;
  left: 70px;
  padding: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.bannerVideo {
  position: relative;
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
  object-fit: cover;
  background-position: center;
  background-size: cover;
  flex-direction: column;
  padding: 2px;
  z-index: -2;
}

.banner::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100px;
  bottom: 0;
  left: 0;
  background: linear-gradient(transparent, #011a38);
}

.tituloBanner {
  color: white;
  font-size: 7.5em;
  font-weight: 1000;
  z-index: 22;
  margin-bottom: 40px;
}

.tituloBanner span:nth-child(1) {
  color: #36c919;
}

.tituloBanner span:nth-child(2) {
  color: #d71434;
}

.descripcionBanner {
  color: white;
  font-size: 1.2em;
  z-index: 22;
  font-weight: 500;
  line-height: 1.6;
  max-width: 60%;
}

.btnBanner {
  width: 300px;
  height: 50px !important;
  margin: 0 !important;
  flex-basis: content !important;
  z-index: 23;
}

@media (min-width: 992px) {
  /* Principal */
  .gridMain {
    display: grid;
    grid-auto-rows: 250px;
    justify-items: center;
    width: 990px;
    align-items: center;
  }

  .gridC {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    width: 470px;
    height: 490px;
  }

  .gridC1 {
    grid-column: 1;
    grid-row-start: 1;
    grid-row-end: 3;
  }

  .gridC2 {
    grid-column: 2;
    grid-row-start: 2;
    grid-row-end: 4;
  }

  .gridC3 {
    grid-column: 1;
    grid-row-start: 4;
    grid-row-end: 6;
  }

  .gridC4 {
    grid-column: 2;
    grid-row-start: 5;
    grid-row-end: 7;
  }

  .gridC5 {
    grid-column: 1;
    grid-row-start: 7;
    grid-row-end: 9;
  }

  /*-------------------*/

  /* Efecto hover en imagenes */
  .gridC .gridB .capaImg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transition: all 400ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
  }

  .gridC .gridB:hover > .capaImg {
    opacity: 1;
    visibility: visible;
  }

  .gridC .gridB:hover > .capaImg h3 {
    margin-top: 70px;
    margin-bottom: 15px;
  }

  .gridC .gridB:hover > img {
    transform: scale(1.4);
  }
  /*-------------------*/
}

@media (max-width: 991px) {

  .bannerAux {
    height: calc(100vh - 145px);
    top: 0;
  }
  /* Principal */
  .gridMain {
    display: grid;
    grid-auto-rows: 520px;
    justify-items: center;
    align-items: center;
  }

  .gridC {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    width: 470px;
    height: 490px;
  }

  .gridC1 {
    grid-column: 1;
    grid-row: 1;
  }

  .gridC2 {
    grid-column: 1;
    grid-row: 2;
  }

  .gridC3 {
    grid-column: 1;
    grid-row: 3;
  }

  .gridC4 {
    grid-column: 1;
    grid-row: 4;
  }

  .gridC5 {
    grid-column: 1;
    grid-row: 5;
  }
  /*-------------------*/

  /* Banner automatico */
  .tituloBanner {
    font-size: 2.5em;
  }

  .descripcionBanner {
    display: none;
  }

  .btnBanner {
    width: 150px;
    height: 50px !important;
    margin: 0 !important;
    flex-basis: content !important;
    z-index: 23;
  }
  /*-------------------*/

  /* Efecto hover en imagenes */
  .gridC .gridB .capaImg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
    visibility: visible;
    text-align: center;
  }
  /*-------------------*/
}

.gif-container {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  overflow: hidden;
  background: rgb(255, 255, 255);
  /* background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); */
}

.capaGif {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  z-index: 200;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.gif-effect {
  width: 100%;
  height: 100%;
}
