@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.contenido {
  margin: auto;
  display: flex;
  justify-content: center;
}


.caja-botones button {
  box-shadow: 1px 2px 5px rgb(141, 135, 135);
  border-radius: 5px;
}

.banner0 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_general.jpg");
}

#banner1 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_ingles_linea.jpg");
}

#banner2 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_algebra_linea.jpg");
}

#banner3 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_nosotros-te-llamamos.jpg");
}

#banner4 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_MAGUEY.jpg");
}

#banner5 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_estadistica.jpg");
}

#banner6 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_diseno_interiores.jpg");
}

#banner7 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_TOEFL.jpg");
}

#banner8 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_cambridge.jpg");
}

#banner9 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_euroexam.jpg");
}

#banner10 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_acreditabach_linea.jpg");
}

#banner11 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_nooc_competencias.jpg");
}

#banner12 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_nooc_competencias.jpg");
}

#banner13 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_mooc_inteligencia_emocional.jpg");
}

#banner14 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_mooc_liderazgo.jpg");
}

#banner15 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_pre_bachillerato.jpg");
}

#banner16 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_pre_bachillerato.jpg");
}

#banner17 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_guitarra.jpg");
}

#banner18 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_motivacion.jpg");
}

#banner19 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_autocad.jpg");
}

#banner20 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_administracion_trabajo.jpg");
}

#banner21 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_soporte.jpg");
}

#banner22 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_tanatologia.jpg");
}

#banner23 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla_tkt.jpg");
}

#banner24 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla-INGLES-VIAJEROS.jpg");
}

#banner25 {
  background-image: url("../images/BANNERS-CURSOS-WEB/portadilla-SUPER-INTENSIVO-TOEFL.jpg");
}

#banner26 {
  background-image: url("../images/BANNERS-CURSOS-WEB/ADULTO-DIGITAL.jpg");
}

.titulo-tippy {
  margin-left: 10%;
  width: 80%;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.modal {
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 1500px;
}

.modal-banner {
  background-size: cover;
}

.caja-botones button:hover {
  background-color: rgb(202, 200, 200);
  transition: .6s;
}

.imgrow button, .imgrow a {
  margin: 3%;
  width: 19%;
  border-radius: 20px;
  box-shadow: 12px 12px 14px 2px rgba(86, 85, 85, 0.2);
  background-color: transparent;
  border: none;
  padding: 0;
}

.imgrow {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
}



@media (min-width: 921px) {

  .banner-top img {
    width: 100%;

  }

  .banner-top-movil {
    display: none;
  }

  .contenido-movil {
    display: none;
  }

  .imgrow button img, .imgrow a img {
    width: 100%;
    border-radius: 20px;
    margin: 0%;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    overflow: auto;
  }

  .esconder {
    background-color: rgba(0, 0, 0, 0.413);
    height: 100vh;
    width: 100vw;
    z-index: 1;
  }

  .modal-content {
    z-index: 2;
    position: fixed;
    top: 0;
    margin-top: 10vh;

    width: 80vw;
    border-radius: 70px;

    max-height: 1050px;
  }

  .barra-modal {
    background-color: white;
    border-radius: 70px 70px 0px 0px;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .modal-title {
    padding-top: 1%;
    padding-bottom: 1%;
    font-size: 3vw;
    font-weight: 700;
    font-family: Montserrat !important;

  }

  .modal-banner {
    display: flex;
    flex-wrap: wrap;
  }


  .dinorow1 {
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 2%;
  }

  .dinocol1 {
    height: 100%;
    width: 30%;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    font-family: Montserrat !important;
    color: white;
    background-color: transparent;
    text-align: center;
  }

  .dinocol1 img {
    width: 40%;
  }


  .modal-info {
    display: flex;
    width: 100%;
    background-color: white;
    border-radius: 0px 0px 70px 70px;
    align-items: center;
    justify-content: space-between;
  }

  .caja-detalles {
    margin-top: 1vh;
    display: flex;
    flex-direction: column;
    align-content: space-around;
    width: 65%;
    margin-left: 3vw;
    font-family: Montserrat !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 2.8vh;
  }

  .caja-detalles p o {
    font-weight: 600;
  }

  @media (max-height: 425px) {
    .modal-content {
      margin-top: 1vh;
    }

    .caja-botones:last-child {
      margin-bottom: 2vh;
    }

    .caja-botones a {
      margin-top: .2vh;
      justify-content: center;
      align-items: center;
      display: flex;
      width: 70%;
      border: 2px solid #707070;
      border-radius: 5px;
      background-color: white;
      font-size: 12px;
    }

    .caja-botones a:hover {
      background-color: gainsboro;
    }

    .caja-botones a img {
      margin-right: 10px;
      width: 35px;
    }
  }

  @media (min-height: 425px) {

    .caja-botones a {
      margin-top: 2vh;
      justify-content: center;
      align-items: center;
      display: flex;
      width: 70%;
      border: 2px solid #707070;
      border-radius: 5px;
      background-color: white;
      font-size: 1.5vw;

    }

    .caja-botones a:hover {
      background-color: rgb(231, 231, 231);
    }

    .caja-botones a img {
      margin-right: 10px;
      width: 35px;
    }
  }

  .caja-botones {
    display: flex;
    flex-direction: column;
    width: 35%;
    text-align: center;
    align-items: center;
    padding-bottom: 20px;
  }

  #title-maguey {
    font-size: 3vw;
    padding-top: 2%;
  }

  #dur-ing {
    font-size: 11.5px;
  }

  #cost-toefl {
    font-size: 14px;
  }

  #cambridge {
    font-size: 14px;
  }

  #euroexam {
    font-size: 14px;
  }

  #ac-bach {
    font-size: 14px;
  }

  .titulo-largo {
    padding-left: 1vw;
    padding-right: 1vw;
    font-size: 1.9vw;
  }
}










@media (max-width:921px) {
  .imgrow button, .imgrow a {
    width: 44%;
  }

  .imgrow button img, .imgrow a img {
    width: 100%;
  }
}


@media (max-width: 920px) {

  .banner-top-movil img {
    width: 100vw;
    height: auto;
  }


  .banner-top {
    display: none;
  }

  .contenido-movil {
    flex-direction: column;
  }

  .dinorow-movil {
    display: flex;
    flex-direction: row;
  }

  .dinocol-movil {
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 40%;
  }

  .dinocol-movil img {
    width: 40vw;
    margin-right: -10px;
    margin-left: -10px;
    border-radius: 20px;
    box-shadow: 12px 12px 14px 2px rgba(86, 85, 85, 0.2);
  }

  .dinocol-movil button {
    overflow: hidden;
    background-color: unset;
    border-radius: 20px;
    border-style: none;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    overflow: auto;
  }

  .esconder {
    background-color: rgba(0, 0, 0, 0.413);
    height: 100vh;
    width: 100vw;
    z-index: 1;
  }

  .modal-content {
    z-index: 2;
    position: fixed;
    top: 0;
    margin-left: 5%;
    margin-top: 25vh;
    background-color: rgb(255, 255, 255);
    width: 90%;
    border-radius: 15px;
  }


  .barra-modal {
    background-color: white;
    border-radius: 25px 25px 0px 0px;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .modal-title {
    padding-top: 4%;
    padding-bottom: 1%;
    font-size: 4vw;
    font-weight: 700;
    font-family: Montserrat !important;

  }

  .modal-banner {
    display: flex;
    flex-wrap: wrap;
  }

  .dinorow1 {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
  }

  .dinocol1 {
    height: 100%;
    width: 30%;
    margin-top: 10px;
    font-weight: 900;
    font-family: Montserrat !important;
    color: white;
    background-color: transparent;
    text-align: center;
  }

  .small-text {
    font-size: 2vw;
  }

  .dinocol1 img {
    width: 45px;
  }



  .modal-info {
    display: flex;
    width: 100%;
    align-items: center;
  }

  .caja-detalles {
    margin-top: 1vh;
    display: flex;
    flex-direction: column;
    align-content: space-around;
    width: 65%;
    margin-left: 3vw;
    font-family: Montserrat !important;
    font-weight: 500;
    font-size: 2.8vw;
    line-height: 2.8vw;
  }

  .caja-detalles p o {
    font-weight: 600;
  }

  .caja-botones {
    margin-top: 2vh;
    display: flex;
    flex-direction: column;
    width: 35%;
    text-align: center;
    align-items: center;
  }

  .caja-botones a {
    margin-top: 1vh;
    justify-content: left;
    align-items: center;
    display: flex;
    width: 90%;
    border: 2px solid #707070;
    border-radius: 5px;
    font-size: 2.5vw;

  }

  .caja-botones:last-child {
    margin-bottom: 2vh;
  }

  .caja-botones a img {
    margin-right: 10px;
    margin-left: 0;
    height: 8vw;


  }

}



@media(min-width:1920px) {
  .caja-botones a {
    font-size: 40px;
  }

  .caja-detalles {
    font-size: 1.2vw;
  }
}