div#banner {
  width: 100%;
  height: 500px;
  margin: 0px auto;
  background-image: url(../formacion/img/nubes.png);
  background-position: 120% 70px, 0px 0px, 0px 0px;
  background-repeat: repeat;
  animation: animate-background linear 50s infinite;
}

#nube {
  position: absolute;
  width: 400px;
  height: 200px;
  top: 500px;
  left: 0;
  animation: move linear 55s infinite;
}

.redes ul {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
}

.redes ul li {
  position: relative;
  list-style: none;
  width: 40px;
  height: 40px;
  margin: 0 20px;
  transform: rotate(-30deg) skew(25deg);
}

.redes ul li span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  transition: 0.5s;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px !important;
}

.redes ul li:hover span {
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1);
}

.redes ul li:hover span:nth-child(5) {
  transform: translate(35px, -35px);
  opacity: 1;
}

.redes ul li:hover span:nth-child(4) {
  transform: translate(25px, -25px);
  opacity: 0.8;
}

.redes ul li:hover span:nth-child(3) {
  transform: translate(15px, -15px);
  opacity: 0.6;
}

.redes ul li:hover span:nth-child(2) {
  transform: translate(5px, -5px);
  opacity: 0.4;
}

.redes ul li:hover span:nth-child(1) {
  transform: translate(0, 0);
  opacity: 0.2;
}

.redes ul li:nth-child(1) span {
  background: #3b5999;
}

.redes ul li:nth-child(2) span {
  background: #55acee;
}

.redes ul li:nth-child(3) span {
  background: #e4405f;
}

.redes ul li:nth-child(4) span {
  background: #0077b5;
}

.carousel {
  max-width: 1000px;
}

.lateral {
  width: 50%;
}

.formulario {
  width: 500px;
  max-width: 95%;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.3);
  position: relative;
}

.formulario_titulo {
  text-align: center;
  margin-bottom: 40px;
}

.formulario_input,
.formulario_label,
.formulario_submit {
  display: block;
  width: 100%;
}

.formulario_input {
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  max-height: 60px;
}

.formulario_input:focus {
  outline: 1px solid rgba(0, 0, 0, 0.7);
}

.formulario_input:focus + .formulario_label {
  margin-top: -135px;
}

.formulario_label {
  padding-left: 15px;
  position: absolute;
  margin-top: -85px;
  z-index: -20;
  transition: all 0.2s;
}

.fijar {
  margin-top: -135px;
}

.tarjeta {
  margin: 15px;
}

.interior_t {
  overflow: hidden;
}

.interior_t img {
  transition: all 1.5s ease;
}

.interior_t:hover img {
  transform: scale(1.5);
}

.thecard {
  transform-style: preserve-3d;
  transition: all 0.6s ease;
}

.thecard:hover {
  transform: rotateY(180deg);
}

.thefront {
  backface-visibility: hidden;
  width: 100%;
  height: 100%;
}

.theback {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform: rotateY(180deg);
}

.arrow {
  position: relative;
  font-size: 36px;
  text-align: center;
  animation: bouncearrow 1s infinite;
  color: #000000;
}

.sobremi {
  width: 300px;
  height: 400px;
  position: relative;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  transform: translate(-50%) perspective(1000px);
  background: rgb(254, 255, 213);
  box-shadow: inset 300px 0 50px rgba(0, 0, 0, 0.5),
    0 20px 100px rgba(0, 0, 0, 0.5);
  transition: 1s;
  z-index: 5;
}

.sobremi:hover {
  transform: translate(-50%) perspective(1000px) rotate(-10deg);
  box-shadow: inset 20px 0 50px rgba(0, 0, 0, 0.5),
    0 10px 100px rgba(0, 0, 0, 0.5);
}

.sobremi:before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgb(182, 181, 156);
  transform-origin: bottom;
  transform: skewX(-45deg);
}

.sobremi:after {
  content: "";
  position: absolute;
  top: 0;
  right: -5px;
  width: 5px;
  height: 100%;
  background: rgb(156, 163, 118);
  transform-origin: left;
  transform: skewY(-45deg);
}

.sobremi .imgBox {
  width: 100%;
  height: 100%;
  position: relative;
  transform-origin: left;
  transition: 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.sobremi:hover .imgBox {
  transform: rotateY(-135deg);
}

.sobremi .detalles {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  padding: 10px;
  z-index: -1;
}

.contenedor {
  position: relative;
  width: 1200px;
  margin: 20px auto;
}

.contenedor .box {
  position: relative;
  width: calc(400px - 30px);
  height: calc(300px - 30px);
  float: left;
  margin: 15px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 15px;
}

.contenedor .box .icono {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: 1;
}

.contenedor .box:hover .icono {
  top: 20px;
  left: calc(50% - 40px);
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.contenedor .box .icono .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  transition: 0.5s;
}

.contenedor .box:hover .icono .fa {
  font-size: 40px;
}

.contenedor .box .contenido {
  position: absolute;
  top: 100%;
  left: 0;
  height: calc(100% - 100px);
  width: 100%;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  transition: 1s;
  opacity: 0;
}

.contenedor .box:hover .contenido {
  top: 100px;
  opacity: 1;
}

.contenedor .box .contenido h3 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 24px;
}

.contenedor .box .contenido p {
  margin: 0;
  padding: 0;
}

.contenedor .box:nth-child(1) .icono {
  background: #55acee;
}

.contenedor .box:nth-child(1) {
  background: #8dc4ee;
}

.contenedor .box:nth-child(2) .icono {
  background: coral;
}

.contenedor .box:nth-child(2) {
  background: rgb(236, 170, 146);
}

.contenedor .box:nth-child(3) .icono {
  background: khaki;
}

.contenedor .box:nth-child(3) {
  background: rgb(216, 211, 166);
}

.img-fondo {
  position: absolute;
  right: 0;
  z-index: -1;
  height: 90%;
}

.img-a-d {
  position: absolute;
  left: 0;
  z-index: -1;
  max-height: 90%;
}

.separa {
  position: relative;
  top: 15px;
}

.parallax-window {
  min-height: 500px;
  background: transparent;
}

.texto-parallax {
  padding: 20px;
}

.titulo-parallax {
  padding: 50px;
  text-shadow: 15px 5px rgba(0, 0, 0, 0.4);
  font-size: 64px;
}

.portfolio-gallery {
  width: 320px;
  padding: 20px;
}

.portfolio-gallery:hover {
  transform: scale(1.1) rotate(10deg);
  transition: 0.7s;
}

.marco-foto {
  width: 320px;
  overflow: hidden;
}

.wrapper-formacion {
  position: absolute;
  top: 10%;
  left: calc(50% - 140px);
  width: 300px;
  height: 500px;
  perspective: 900px;
}

.container-formacion {
  position: absolute;
  top: 0%;
  width: 100%;
  height: 100%;
  transition: 0.5s all ease;
  transform: rotateX(60deg) scale(0.7);
  perspective: 900px;
  box-shadow: 0px 20px 50px #555;
  animation: entry 1s linear 1;
}

.container-formacion:hover {
  cursor: pointer;
  transform: rotate(0deg) scale(1) translateY(10px);
  transition: 0.5s all ease;
  z-index: 400;
}

#c0 {
  position: absolute;
  top: 0%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #eba65b 30%, #d99267 100%);
  z-index: 300;
  box-shadow: 0px 20px 100px #555;
}

#c1 {
  background: linear-gradient(to bottom, #59476f 30%, #7b88d1 100%);
  box-shadow: 0px 20px 100px #555;
  left: 100%;
  z-index: 0;
}

#c2 {
  left: -100%;
  z-index: 0;
  background: linear-gradient(to bottom, #59476f 30%, #7b88d1 100%);
  box-shadow: 0px 20px 100px #555;
}

.image-formacion {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 45%;
  background: linear-gradient(to top, #eba65b 30%, #d99267 100%);
}

.story-formacion {
  position: absolute;
  top: 45%;
  left: 0%;
  height: 55%;
  width: 100%;
  background: linear-gradient(to bottom, #eba65b 0%, #d99267 40%);
  z-index: 5;
}

.info-formacion {
  position: absolute;
  top: 10%;
}

.movil-formacion {
  padding: 15px;
  top: 250px;
  z-index: 50;
}

@keyframes bouncearrow {
  0% {
    left: 0px;
  }

  50% {
    left: 20px;
    color: #ffc728;
  }

  100% {
    left: 0px;
  }
}

@media screen and (max-width: 600px) {
  .lateral {
    width: 100%;
  }
}

@media screen and (max-width: 1200px) {
  .contenedor {
    width: 100%;
  }
}

@media screen and (min-width: 1000px) {
  .navbar-brand {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .img-fondo {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .logocuadrado {
    display: none;
  }
}

@keyframes animate-background {
  from {
    background-position: 120% 70px, 0px 0px, 0px 0px;
  }

  to {
    background-position: -20% 70px, -1000px 0px, -500px 0px;
  }
}

@keyframes move {
  0% {
    transform: translate(0);
    opacity: 0;
  }

  50% {
    transform: translate(1100px);
    opacity: 0.7;
  }

  100% {
    opacity: 0;
  }
}

@keyframes entry {
  0% {
    top: -20%;
    opacity: 0.1;
  }

  100% {
    top: 0%;
  }
}

@media screen and (max-width: 1000px) {
  .wrapper-formacion {
    display: none;
  }
}

@media screen and (min-width: 1000px) {
  .movil-formacion {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .nube {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  div#banner {
    display: none;
  }
}
