*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: white;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.requisitos,.historia{
  text-align: center;
  font-family: 'Racing Sans One';
  width: 90%;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 20px;
}

.requisitos > h2,.historia > h2{
  font-size: 30px;
  margin-top: 10px;
  margin-bottom: 8px;
}

.requisitos > p, .historia > p{
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 8px;
}

p > a{
  color: #1f4763;
}

.contacto{
  position: relative;
  max-width: 100%;
  height: 440px;
  z-index: -1;
  overflow: hidden;
}

.cursos{
  text-align: center;
  overflow: hidden;
  position: relative;
  font-family: 'Racing Sans One';
  color: #000;
  width: 90%;
  margin: auto;
  z-index: 1;
}

.teoricos, .practicas{
  position: relative;
  display: inline-table;
  width: 46%; 
  overflow: hidden;
  height: 500px;
}

.teoricos{
  padding-left: 10px;
  margin-right: 2em;
}

.practicas{
  padding-right: 10px;
  margin-left: 6em;
}

.contt > h2, .contp > h2 {
  font-size: 40px;
  margin-bottom: 8px;
  text-decoration-line: underline;
}

.contt > p, .contp > p {
  text-align: justify;
  line-height: 25px;
  font-size: 20px;
}

.contt, .contp{
  width: 90%; 
  height: 450px;
  animation: teoricos .5s linear;
  position: absolute;
}

@keyframes teoricos {
  from { margin-top: 300px; }
  to { margin-top: 0px; }
}

.barra{
  width: 4px;
  height: 300px;
  background-color: #1f4763;
  display: inline-table;
  position: absolute;
}

.contenetor-bg{
  object-fit: contain;
}

.title{
  font-size: 3em;
  color:#071013;
  border-bottom: 10px solid #ff8d00;
  text-shadow: 0 0 4px #fff, 0 0 6px #fff;
}

.info > p{
  font-size: 2em;
  color: #071013;
  text-shadow: 0 0 4px #fff, 0 0 6px #fff;
  font-weight: bold;
}

.info{
  text-align: center;
  animation: info 10s ease;
  width: 45%;
  margin-top: 9em;
  float: right;
  background-color:rgba(255, 255, 255, .8);
  border-radius: 5px;
}
.infoPracticas, .infoTeoricas{
  margin-top: 20px;
  margin-bottom: 20px;
}
@keyframes info {
  from { opacity: 0; }
  to { opacity: 1; }
}

.containerLogo{
  width: 95%;
  text-align: center;
  position: fixed;
  height: 0;
  z-index: 10;
}

.logo{
  width: 6%;
  margin-top: 2em;
  transition: width 1s;
  cursor:pointer;
  position: absolute;
  animation: flip-with-scale .5s linear 1.5s 2;
}

.logoscale{
  transition: width 1s;
  margin-top: 2em;
  width: 7%;
  cursor:pointer;
  position: absolute;
}

@keyframes flip-with-scale {
  0% {
      transform: perspective(400px) scaleX(1);
  }

  50% {
    transform: perspective(400px) scaleX(-1);
  }

  100% {
      transform: perspective(400px) scaleX(1);
  }
}

#historia-l{
  margin-bottom: 40px;
}

#whatsAppIcon{
  display: none;
}

@media screen and (max-width: 900px){
  #backgroundC{
    height: 260px;
    width: auto;
  }
  .contenetor-bg{
    object-fit: none;
  }
  .contacto{
    position: relative;
    max-width: 100%;
    height: 360px;
    z-index: -1;
    overflow: hidden;
  }
  .info {
      margin-top: 16em;
      float: none;
      width: 100% ;
  }
  .title{
    font-size: 2em;
    border-bottom: 6px solid #ff8d00;
  }

  .info > p {
    font-size: 1em;
  }

  .hamburger, .hamburger-three:before, .hamburger-three:after {
    width: 40px !important;
    height: 5px !important;
  }

  .containerLogo {
    width: 90% !important;
  }

  .logo {
    width: 14% !important;
    margin-top: 1em !important;
  }

  .logoscale {
    width: 10% !important;
  }

  .slashLogo {
    width: 10% !important;
  }
      
  .icon-three{
    width: 40px !important;
    height: 40px !important;
  }

  .requisitos > h2, .historia > h2{
    font-size: 25px;
  }

  .requisitos > p, .historia > p{
    font-size: 15px;
  }

  #history, #practices{
    width: 100% !important;
    height: 240px !important;
    max-width: 60% !important;
    margin-left: 20% !important;
  }

  #practices {
    margin-top: 0 !important;
  }

  #history{
    margin-bottom: 6em !important;
  }

  .containerSlider{
    height: 250px !important;
  }

  .backArrow,.nextArrow{
    top:40% !important;
  }

  .teoricos, .practicas{
    margin: 0 !important;
    width: 100% !important;
    height: 300px !important;
  }

  .contt > h2, .contp > h2{
    margin-top: 10px;
    font-size: 35px !important;
  }

  .contt > p, .contp > p{
    font-size: 15px !important;
    line-height: 15px !important;
  }

  #theoretical {
    margin-top: 1em !important;
    margin-bottom: 1em !important;
    width: 100%;
  }

  #historia-l{
    font-size: 30px !important;
  }

  #pfrecuentes,#pfrecuentes-l{
    padding-right: 4px;
    padding-left: 4px;
  }

  .preguntas {
    padding: 0 !important;
    padding-top: 20px !important;
    margin-bottom: 2em !important;
  }

  .preguntas li{
    height: auto !important;
  }

  .preguntas li h3,.preguntas li p{
    font-size: 15px !important;
  }

  .navBar > ul{
    padding-top: 20% !important;
    line-height: 3em !important;
    overflow: scroll !important;
  }

  .displayBlock > li{
    font-size: 30px !important;
    width: 100% !important;
  }

  .backgroundMenu > img{
    width: 180% !important;
    height: 150% !important;
    left: -100px !important;
  }

  #whatsAppIcon{
    display: block;
    position: fixed;
    height: 50px;
    width: 50px;
    bottom: 0;
    margin-bottom: 2em;
    margin-left: 1em;
    z-index: 1;
  }

  .whatsapp{
    width: 50px;
    height: 50px;
  }

}

@media screen and (max-width: 760px){
  #history, #practices{
    max-width: 100% !important;
    margin-left: 0 !important;
  }
  #backgroundC{
    height: 140px;
  }
  .info {
    margin-top: 9em;
  }
  .contacto{
    height: 280px;
  }

  .navBar > ul{
    padding-top: 40% !important;
    line-height: 4em !important;
  }

  .slashLogo {
    width: 17% !important;
  }

  .logo {
    width: 20% !important;
  }

  .logoscale {
    width: 12% !important;
  }
}