@import url(menu.css);
@import url(footer.css);
@import url(contenedor-1.css);
/*@import url(informacion.css);
@import url(login.css);*/
@import url(imagenes-covid.css);
@import url(popup.css);
@import url(botonup.css);



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background: #e3e3e3;
  }

  
  .contenedor{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 550px;
    top: 50px;
  }

  .contenedor .slider{
    position: absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 100%;
    animation: animate 25s linear infinite;
  }

  .contenedor .slider .slide{
    position: relative;
    width: 20%;
    height: 100%;
    float: left;
  }

    .contenedor .slider .slide .caption{
    position: absolute;
    width: 60%;
    bottom: 50px;
    left: 60px;
    right: 60px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }

  .contenedor .slider .slide .caption .slogan{
    font-size: 20px;
  }

  .contenedor .slider .slide .caption h2{
    margin: 0 0 20px;
    padding: 0;
    color: #fff;
    font-size: 50px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgb(73, 73, 73);
  }

  .contenedor .slider .slide .caption h3{
    /*margin: 0 0 20px;
    padding: 0;*/
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgb(73, 73, 73);
  }

  .contenedor .slider .slide .caption p{
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 15px;
    line-height: 20px;
    text-shadow: 1px 1px 1px rgb(73, 73, 73);
  }

  .contenedor .slider .slide .caption a{
    width: 100px;
    background: linear-gradient(135deg, #3b72b1, #2b2a7e);
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 2px hsla(0, 0%, 48%, 0.719);
  }

  .contenedor .slider .slide .caption a:hover{
    color: #f5ef1f;
  }

 
    .contenedor .slider .slide1{
    background-image: url(../imagenes/todos1.jpg);
    background-size: cover;
    background-position: center;
  }
 

  .contenedor .slider .slide2{
    background-image: url(../imagenes/kinder1.jpg);
    background-size: cover;
    background-position: center;
  }

  .contenedor .slider .slide3{
    background-image: url(../imagenes/primaria1.jpg);
    background-size: cover;
    background-position: center;
  }

  .contenedor .slider .slide4{
    background-image: url(../imagenes/secundaria1.jpg);
    background-size: cover;
    background-position: center;
  }

  @keyframes animate{
      0%{
          left: 0;
      }

      20%{
          left: 0;
      }

      25%{
          left: -100%;
      }

      45%{
          left: -100%;
      }

      50%{
          left: -200%;
      }

      70%{
          left: -200%;
      }

      75%{
          left: -300%;
      }

      95%{
          left: -300%;
      }

      100%{
          left: -400%;
      }
  }

  @media (max-width:900px){
   .contenedor .slider .slide .caption{
      width: 85%;
      left: 30px;
      right: 30px;
      background: none;
      bottom: 10px;
    }

    .contenedor .slider .slide .caption h2{
      font-size: 50px;
      text-align: center;
      margin: 0 0 10px;
    }

    .contenedor .slider .slide .caption h3{
      font-size: 25px;
      margin: 0 0 10px;
      text-align: center;
    }

    .contenedor .slider .slide .caption p{
      font-size: 13px;
      text-align: justify;
    }

    .slide .imagen img{
      width: 250px;
      margin-top: 50px;
    }
  }

  @media (max-width:450px){
    .contenedor .slider .slide img{
      margin-top: 10px;
    }

    .contenedor .slider .slide .caption{
      width: 85%;
      left: 25px;
      right: 20px;
    }

    .contenedor .slider .slide .caption h2{
      font-size: 40px;
      text-transform: uppercase;
    }

    .contenedor .slider .slide .caption h3{
      font-size: 18px;
    }

    .contenedor .slider .slide .caption p{
      font-size: 13px;
      text-align: center;
    }

    .contenedor .slider .slide .caption a{
      display: flex;
      justify-content: center;
      margin: auto;
    }

  }
  

  /*header{
    width: 100%;
    height: 700px;
    background: #00B4DB; 
    background: -webkit-linear-gradient(to right, hsla(195, 100%, 35%, 0.301), hsla(191, 100%, 43%, 0.301)), url(../imagenes/principal.png); 
    background: linear-gradient(to right, hsla(195, 100%, 35%, 0.301), hsla(191, 100%, 43%, 0.295)), url(../imagenes/principal.png);
    background-size: cover;
    background-attachment: fixed;
    position: relative;    
} */

/* banner y textos principales*/

/*header .textos-header{
    display: flex;
    height: 750px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 1000;
}

.textos-header h1{
    font-size: 80px;
    color: #fff;
    font-weight: bolder;
    text-shadow: 2px 2px 2px rgb(73, 73, 73);
}

.textos-header h2{
    font-size: 60px;
    font-weight: 300;
    color: #fff;
    text-shadow: 2px 2px 2px rgb(73, 73, 73);
}

.textos-header p{
    color: #1c2b66;
    padding: 15px 20px;
    background: hsla(60, 93%, 53%, 0.719);
    border-radius: 30px;
    margin-top: 6px;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

@media (max-width:900px){
    header{
        background-position: center;        
    }
    
    .textos-header h1{                  /*banner principal y textos*/
      /* font-size: 50px;
    }

    .textos-header h2{
        font-size: 35px;
    }

    .textos-header p{
        font-size: 11px;
    }
}*/

