header{
    width: 100%;
    height: 600px;
    background: linear-gradient(to bottom, rgba(46, 45, 44, 0.6),
    rgba(157, 165, 168, 0.45),
    rgba(250, 251, 251, 0.45)
    ), url('https://images.pexels.com/photos/6483579/pexels-photo-6483579.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    
  }
  nav{
    width: 100%;
    box-shadow: 0 0 15px 0 #fdffff;
  }
  .nav1{
    background: #00161d;
    height: 80px;
    color: #ffffff;
  }
  .nav2{
    background: #00161d;
    height: 100px;
    color: rgb(248, 248, 248);
  }
  .contenedor-nav{
    display: flex;
    margin: auto;
    width: 90%;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    height: inherit;
    overflow: hidden;
  }
  nav .enlaces a{
    display: inline-block;
    padding: 5px 0;
    margin-right: 17px;
    font-size: 17px;
    font-weight: 300;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    color:#fff;
  }
  nav .enlaces a:hover{
    border-bottom: 3px solid #e5e5e5;
    transition: 0.6;
  }
  .logo, .logo img{
    height: 80px;
  }
  .icono{
    display: none;
    font-size: 24px;
    padding: 23.5px 20px;
  }
  .textos{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: rgb(0, 0, 0);
    overflow: hidden;
    text-align: center;
  }

  .textos>h1{
    font-size: 80px;;
  }
  .textos>h2{
    font-size: 30px;
    font-weight: 300;
    font-style: italic;
  }

p {
  animation-duration: 4s;
  animation-name: animTexto;
  margin: 50px;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  color: black;
    
  
}

@keyframes animTexto {
  from {
    margin-left: 100%;
    width: 100%;
  }
  to {
    margin-left: 0%;
    width: 100%;
  }
}
.conten{
  width: 310px;
  height: 310px;
  overflow: visible;
  background-image: url();
}
.tit{
  font-family: 'Roboto', sans-serif;
  /*font-family: 'Bebas Neue', sans-serif;*/
}
.area{
  
  text-align:center;
  display: flex;
  font-size:6em;
  font-family: 'Roboto', sans-serif;
  color: rgb(0, 0, 0);
  letter-spacing: -3px;
  font-weight:700;
  animation:blur .90s ease-out infinite;
  text-shadow:0px 0px 5px #fff,
      0px 0px 7px #fff;
     
        
      header{
          position: fixed;
          width: 100%;
          height: 70px;  
          background-color: #F7F9FA;
      }
      nav{
          max-width: 1024px;
          margin: 0 auto;
      }
      header img{
          padding: 18px 10px;
      }
}

@keyframes blur{
  from{
      text-shadow:0px 0px 10px #41ff08,
      0px 0px 10px #082dff,
      0px 0px 25px #082dff,
      0px 0px 25px #082dff,
      0px 0px 25px #fff700,
      0px 0px 25px #fff,
      0px 0px 25px #fff,
      0px 0px 25px #fff,
      0px 0px 50px #fff,
      0px 0px 50px #fff,
      0px 0px 50px #7B96B8,
      0px 0px 150px #7B96B8,
      0px 10px 100px #7B96B8,
      0px 10px 100px #7B96B8,
      0px 10px 100px #7B96B8,
      0px 10px 100px #7B96B8,
      0px -10px 100px #7B96B8,
      0px -10px 100px #7B96B8;}
}


.slider-container {
  display: flex;
  width: 100%;
  height: 50vh;
  overflow-x: scroll;

  /* Vamos a añadir esto 👇 */
  scroll-snap-type: x mandatory;
}

.slider-container img {
  flex: 0 0 100%;
  width: 500px;
  object-fit: cover;

  /* Vamos a añadir esto 👇 */
  scroll-snap-align: center;
}
.letranimada{
  position: initial;
  top: calc(20% - 220px);
  left: calc(20% - 400px);
  text-align: center;
  height: 500px;
  width: 800px;
  display: contents;
  align-content: center;
  justify-content: center;
 
}


#marketing{
  color: white;
  align-self: center;
  font-size: 80px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 5px;
  font-family: 'Roboto', sans-serif;
  animation: glow 1200ms ease-in-out infinite alternate;
  
  background: #ffffff;
}
@keyframes glow {
  0% {
      color: rgb(255, 255, 255 0.2);
      text-shadow:  10px 10px 100px white,
      10px 10px 100px white,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,

  }
  20% {
      color: rgb(46, 181, 13);
      text-shadow:  5px 5px 2px white,
      10px 10px 100px white,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,

  }
  30% {
      color: rgb(205, 29, 29);
      text-shadow:  5px 5px 2px white,
      10px 10px 100px white,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,

  }
  40% {
      color: rgb(239, 255, 8);
      text-shadow:  5px 5px 2px white,
      10px 10px 100px white,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,

  }
  50% {
      color: rgb(32, 215, 209);
      text-shadow:  5px 5px 2px white,
      10px 10px 100px white,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,

  }
  60% {
      color: rgb(210, 85, 22);
      text-shadow:  5px 5px 2px white,
      10px 10px 100px white,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,

  }
  
  100%{
      color: rgba(16, 35, 111, 0.8);
      text-shadow:  0px 0px 5px white,
      10px 10px 100px white,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,
      10px 10px 100px blue,

  }
}


div.cards {
  margin: 30px auto;
  max-width:1200px;
  text-align: center;
}

div.card {
  background: rgb(255, 255, 255);
  display: inline-block;
  margin: 8px;
  max-width: 250px;
  perspective:100px;
  position: relative;
  transition: all 0.3s 0s ease-in;
  width: 200%;
  z-index: 1;
}
.segunda{
left: auto 10px;
}

  div.card-title {
      background: rgb(255, 255, 255);
      padding: 3px 7px 5px;
      position: relative;
      z-index: 0;
      border-radius: 9px;
      box-shadow: 0 0 30px 0 rgb(204, 27, 180);
  }
      
      a.toggle-info {
        border-radius: 32px;
        height: 60px;
        padding: 0;
        position: absolute;
        right: 15px;
        top: 10px;
        width: 32px;}
        span.left {
          right: 14px;
          transform: rotate(45deg);
        }
        span.right {
          left: 14px;
          transform: rotate(-45deg);
        }
      
  
      
  div.card-description {
      padding: 0 15px 15px;
      position: relative;
      font-size: 20px;
      color: rgb(0, 0, 0);
      background-color: rgb(255, 255, 255);
      box-shadow: 0 0 30px 0 rgb(204, 27, 180);
      border-radius: 9px;
      font-family: 'Roboto', sans-serif;
      
  }

  div.card-actions {
      box-shadow: 0 2px 0px  30px rgb(204, 27, 180);
      padding: 10px 15px 10px;
      text-align: center;
  }
  
  div.card-flap {
      background: black;
      position:initial;
      width: 100%;
      transform-origin: top;
      transform: rotateX(-90deg);
  }
      div.flap1 {
          transition: all 0.3s 0.3s ease-out;
          z-index: -1;
      }
      div.flap2 {
          transition: all 0.3s 0s ease-out;
          z-index: -2;
      }
  
div.cards.showing {

  cursor: pointer;
  opacity: 0.6;
  transform: scale(0.88);

}

.no-touch  div.cards.showing {

  opacity: 0.94;
  transform: scale(0.92);

}

div.card.show {
opacity: 1 !important;
transform: scale(1) !important;
background: salmon !important;
}
    span {
      top: 15px;
    }
    span.left {
      right: 10px;
    }
    span.right {
      left: 10px;
    }
  
   

div.card-flap {
  background: white;
  transform: rotateX(0deg);
}
div.flap1 {
  transition: all 0.3s 0s ease-out;
}
div.flap2 {
  transition: all 0.3s 0.2s ease-out;
}

#titulos{
  color: white;
  align-self: center;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  font-family: 'Roboto', sans-serif;
  animation: glow 1200ms ease-in-out infinite alternate;

}
div.gallery {
  border: 2px solid #ccc;
  height: 210px;
  border-radius: 10px;
  box-shadow: 0 0 20px 0 rgb(59, 10, 255) ; 
  
}

div.gallery:hover {
  border: 2px solid #0d1128;
}

div.gallery img {
  width: 100%;
  height: 50%;
}

div.desc {
  padding: 20px;
  width: 100%;
  text-align: center;
  color: rgb(0, 0, 0);
  height: 50%;
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
  
}


.responsive {
  padding:  20px;
  float: left;
  width: 16.5%;

}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 10px ;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
.escuela{
  text-align: center;
  color: white;
  float: left;
  width: 50%;
  
}
.nombre{
  align-content: center;
  background: rgb(10, 10, 10);
  padding: 30px 30px 15px;
  position:static;
  color: white;
  z-index: 0;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
}
.pequeña{
  width: 300px;
  height: 300px;

}
.justificado{
  text-align: justify;
}