:root {
  --color-dark: black;
  --color-light: #ffffff;
  --gold: #ded3cd;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Osvald", Arial, Helvetica, sans-serif;
  font-size: 16px;
  padding: 0;
  margin: 0;
  line-height: 1.5;

  background-color: #efefef;
}

.baner-estudiantes {
  padding: 0;
  margin: 0;
  left: 0;
}

.baner-estudiantes img {
  width: 100%;
  height: 200px;
}

/*--------------------
Barra de Navegación 
---------------------*/
.show {
  display: flex !important;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;

  background-color: white;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li > a {
  display: inline-block;
  position: relative;
  padding: 5px 15px 5px 15px;
  text-decoration: none;

  color: black;
}

ul .link {
  text-decoration: none;
  color: black;
}

nav ul li .link::before {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;

  background-color: #ffc300;
}

nav ul li .link:hover::before {
  transform: scaleX(1);
}

nav .more {
  display: none;
}

nav .menu {
  margin-top: 50px;
  position: absolute;
  display: none;
  flex-direction: column;
  min-width: 200px;

  background-color: white;
}

nav .menu a {
  padding: 10px;
  color: black;
  text-decoration: none;
}

nav .menu a:hover {
  background-color: black;
  color: white;
}

nav .mobile {
  display: none;
  width: 100%;
}

nav .mobile .header {
  background-color: white;
  display: flex;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px 10px 10px;
  flex-direction: row;
}

nav .mobile .header a {
  color: black;
  display: inline-flex;
  text-decoration: none;
}

nav .mobile .header #bmenu {
  border: none;
  background-color: transparent;

  color: white;
}

nav .mobile .links {
  display: none;
  flex-direction: column;
  position: relative;
  z-index: 200;
}

nav .mobile .links a {
  font-size: 18px;
  display: block;
  padding: 10px 20px;
  text-decoration: none;

  color: black;
}

nav .mobile .links a:hover {
  font-size: 18px;
  display: block;
  padding: 10px 20px;
  text-decoration: none;

  background-color: black;
  color: white;
}

span .Icon-color {
  background-color: #ffc300;
}

/*--------------
    Slider 
 ---------------*/

.carousel-1 {
  background-image: url("../Inicio/Img/Carousel-fondo-logo1.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 80vh;
}

.carousel-2 {
  background-image: url("../Inicio/Img/Carousel-fondo-logo3.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 80vh;
}

.carousel-3 {
  background-image: url("../Inicio/Img/Carousel-fondo-logo2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 80vh;
}

.carousel-caption {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  right: 0;
  width: 83%;
  padding: 0;
  margin: 0 auto;
}

.vertical-align {
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  bottom: unset;
}

.carousel-inner h2 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #ffc300;
}

.carousel-inner .text-aqua {
  color: white;
  font-weight: bold;
  font-size: 1.7rem;
}

.carousel-inner .text-black {
  color: black;
  font-weight: bold;
  font-size: 1.7rem;
}

.carousel-control-next,
.carousel-control-prev {
  width: 5% !important;
}

.carousel-inf {
  display: flex;
  margin-top: 10%;
}

.carousel-caption .carousel-inf {
  display: inline-block;
  border-radius: 20px;
  padding: 15px;
}

.carousel-inf .carousel-inf_button {
  display: flex;
  align-items: center;
  justify-content: left;
}

.carousel-caption .carousel-inf button {
  border-radius: 25px;
  padding: 6px 10px 6px 10px;
  margin-left: 3px;
  border: none;

  background-color: white;
  color: black;
}

.carousel-caption .carousel-inf .carousel-button3 {
  border-radius: 25px;
  padding: 6px 10px 6px 10px;
  margin-left: 3px;
  border: none;

  background-color: black;
  color: white;
}

.carousel-caption .carousel-img {
  display: inline-block;
  float: right;
  margin: 0;
}

.carousel-item img {
  width: 400px;
}

/*--------------
    Intro 
 ---------------*/

.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 1050px;
  margin: 0 auto;
  padding: 10px;
  margin-top: 25px;
}

.intro .intro-titulo {
  font-family: "Montserrat", sans-serif;
  font-weight: bolder;
  font-size: 2.3rem;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 5px;
  margin-top: 50px;
}

.intro-info {
  display: inline-block;
  text-align: center;
  margin-top: 10px;
  margin-left: 40px;
  margin-bottom: 40px;
  margin-right: 30px;
  font-size: 1.2rem;
}

.intro-img {
  display: inline-block;

  padding: 5px;
}

.intro-img img {
  border-radius: 20px;
  width: 350px;
}

/*--------------
    Slide Img
 ---------------*/

.conocenos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-top: 40px;

  background-color: white;
}

.conocenos {
  width: 1200px;
  margin: 0 auto;
  margin-top: 20px;
}

.conocenos-container .conocenos-frase {
  font-family: "Montserrat", sans-serif;
  font-weight: bolder;
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 2.5rem;

  color: black;
}

/* @import url(https://fonts.googleapis.com/css?family=Istok+Web); */
@keyframes slidy {
  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%;
  }
}

div#captioned-gallery {
  width: 100%;
  overflow: hidden;
}
figure.slider {
  position: relative;
  width: 500%;
  font-size: 0;
  animation: 30s slidy infinite;
}
figure.slider figure {
  width: 20%;
  height: auto;
  display: inline-block;
  position: inherit;
}
figure.slider img {
  width: 100%;
  height: 500px;
}
figure.slider figure figcaption {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  width: 100%;
  font-size: 2rem;
  padding: 0.6rem;
}

.redimensionar img {
  width: 100%;
  height: 748px;
}

/*__________________

Preguntas Frecuentes 
__________________*/

.preguntas-container {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 20px;
  width: 100%;
  height: 100%;

  background-color: #3b4dff;
  background-size: 100% 100%;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
}

.preguntas-container h1 {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: bolder;
  font-size: 2.3rem;
  text-align: left;
  margin-top: 1.5rem;
  padding-left: 1.9rem;

  color: white;
}

.preguntas-container .preguntas-content {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 1150px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 20px 20px 20px 20px;

  color: white;
}

.preguntas-content .preguntas-izquierda {
  display: inline-block;
  max-width: 600px;
  padding: 5px;
  margin: 0;
}

.preguntas-content .preguntas-derecha {
  display: inline-block;
  max-width: 600px;
  padding: 5px;
  margin: 0;
}

.preguntas-izquierda summary {
  border: white solid 1px;
  font-size: 1.1rem;
  max-width: 513px;
  margin: 4px;
}

.preguntas-derecha summary {
  border: white solid 1px;
  font-size: 1.1rem;
  /* max-width: 513px; */
  margin: 4px;
}

.preguntas-izquierda .preguntas-lista {
  max-width: 515px;
  /* margin-top: 10px; */
  margin-left: 4px;
  margin-right: 5px;
  padding-left: 30px;
}

.preguntas-derecha .preguntas-lista {
  max-width: 515px;
  /* margin-top: 10px; */
  margin-left: 4px;
  margin-right: 5px;
  padding-left: 30px;
}

/* Imagenes con Efecto */

.section-padre {
  margin-top: 10px;
  background-color: white;
  width: 100%;
}

.animacion-container {
  display: flex;
  text-align: center;
  color: black;
  margin-left: 40px;
  padding-top: 20px;
  margin-bottom: 20px;
}

.animacion {
  display: flex;
  align-items: center;
  justify-content: center;
}

.animacion p {
  font-weight: bold;
  font-size: 2rem;
  margin-right: 10px;
}

.animacion h1 {
  background-color: #030732;
}

.animacion a {
  font-size: 2rem;
  text-decoration: none;
}

.animacion span {
  color: white;
}

.section-hijo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-bottom: 70px;
  /* background-color: violet; */
}

.card {
  position: relative;
  width: 600px;
  height: 350px;
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  transition: 0.5ms;

  background-color: white;
}

.card .circle {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.card .circle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d83131;
  clip-path: circle(120px at center);
  transition: 0.5s;
}

.card:hover .circle::before {
  background-color: #0065c3;
  clip-path: circle(400px at center);
}

.card img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 270px;
  pointer-events: none;
  transition: 0.5s;
}

.card:hover img {
  left: 72%;
  height: 350px;
}

.card .img-horizontales {
  position: absolute;
  top: 50%;
  left: 51%;
  transform: translate(-50%, -50%);
  height: 220px;
  pointer-events: none;
  transition: 0.5s;
}

.card:hover .img-horizontales {
  left: 72%;
  height: 320px;
  padding-left: 30px;
}

.card .card-img-ajustes {
  position: absolute;
  top: 52.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 210px;
  pointer-events: none;
  transition: 0.5s;
}

.card:hover .card-img-ajustes {
  left: 72%;
  height: 240px;
  padding-left: 30px;
}

.card .content {
  position: relative;
  left: 0;
  width: 50%;
  padding: 20px 20px 20px 40px;
  margin-top: 8%;
  margin-right: 295px;
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;

  background-color: rgba(0, 0, 0, 0.4);
}

.card:hover .content {
  left: 0;
  opacity: 1;
  visibility: visible;
}

.card .content h2 {
  color: white;
  text-transform: uppercase;
  font-family: "Times New Roman", Times, serif;
  font-size: 2em;
  line-height: 1em;
  font-weight: bold;
  margin-bottom: 20px;
}

.card .content .titulo-largo {
  font-size: 1.5em;
}

.card .content p {
  color: white;
  font-size: 14px;
  line-height: normal;
  text-align: justify;
}

.card .content a {
  position: relative;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  background-color: white;
  color: black;
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
}

/*__________________

footer 
__________________*/

.footer_container-footer {
  display: flex;
  position: relative;
  background-color: violet;
  width: 100%;
  height: 80vh;
}

.footer_container-gris {
  display: flex;
  flex-direction: row;
  position: absolute;
  width: 100%;
  height: 40vh;
  background-color: grey;
}

.footer_caja-footer1 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #efefef;
  height: 100%;
  width: 33.3%;
}

.footer_caja-footer2 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #efefef;
  height: 100%;
  width: 33.3%;
}

.footer_caja-footer3 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #efefef;
  height: 100%;
  width: 33.3%;
}

.footer_caja-contenido {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 80%;
  height: 80%;
  background-color: #efefef;
}

.footer_caja-llamanos {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_llamanos-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  background-color: #efefef;
}

.footer_llamanos-icon h1 {
  font-size: 1.2rem;
  margin-top: 0.8rem;
}

.footer_llamanos-icon p {
  font-size: 0.9rem;
  margin-top: 0.8rem;
  text-align: center;
}

.footer_icon-white {
  font-size: 3rem;
  background-color: #030732;
  height: 100%;
  border-radius: 200px;
  color: white;
}

.footer_container-blanco {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 40vh;
  background-color: white;
  margin-top: 60px;
}

.footer_caja-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  width: 33%;
  height: 100%;
  bottom: 0;
  right: 0;

  background-color: white;
}

.footer_caja-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: white;
  height: 80%;
  width: 80%;
}

.footer_caja-info img {
  width: 100px;
  height: 100px;
}

.footer_caja-info h1 {
  margin-top: 20px;
  text-align: center;
}

.caja-iconos {
  display: flex;
  align-items: center;
  background-color: white;
}

.whatsap {
  width: 70px;
  height: 50px;
  background-color: white;
}

@media (max-width: 991px) {
  .section-hijo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: violet; */
  }

  .card {
    width: auto;
    max-width: 350px;
    align-items: flex-start;
    margin: 10px;
  }

  .card:hover {
    height: 600px;
  }

  .card .content {
    width: 100%;
    left: 0;
    padding: 30px;
  }

  .card:hover img {
    top: 70%;
    left: 50%;
    height: 300px;
  }

  .card:hover .img-horizontales {
    top: 75%;
    left: 45%;
    height: 250px;
  }

  .card:hover .card-img-ajustes {
    top: 75%;
    left: 45%;
    height: 250px;
  }
}

@media (max-width: 420px) {
  .card {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #d83131;
  }

  .card .content {
    padding: 20px;
    margin-bottom: 40px;
  }
}

/* Animacion */

@media screen and (max-width: 1144px) {
  nav .link-hide {
    display: none;
  }

  nav .more {
    display: flex;
  }
}

@media screen and (max-width: 1126px) {
  .intro {
    width: 100%;
  }

  .intro-titulo {
    display: block;
    padding: 10px;
    text-align: center;
  }

  .intro-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .intro-info {
    text-align: justify;
    max-width: 100%;
  }
  .preguntas-container h1 {
    text-align: center;
  }

  .preguntas-container .preguntas-content {
    display: flex;
    flex-direction: column;
    width: 500px;
  }
}

@media screen and (max-width: 1069px) {
  .carousel-item {
    background-color: greenyellow;
    width: 100%;
    height: 85vh;
  }

  .carousel-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 90%;
    margin-left: 50px;
  }

  .carousel-caption .carousel-inf {
    margin-bottom: 70px;
  }

  .carousel-caption .carousel-img {
    margin-top: 75px;
  }

  .carousel-img img {
    width: 200px;
  }
}

@media screen and (max-width: 772px) {
  .carousel-inf {
    display: none;
  }
  .carousel-img {
    display: block;
    position: absolute;
  }
  .preguntas-container h1 {
    text-align: center;
    padding: 0;
    margin: 20px 0;
  }

  .preguntas-container .preguntas-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    margin: 0 auto;
  }

  .preguntas-content .preguntas-izquierda {
    display: inline-block;
    max-width: 500px;
    padding: 0;
    margin: 0;
  }
  .preguntas-content .preguntas-derecha {
    display: inline-block;
    max-width: 500px;
    padding: 0;
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  .carousel-1 {
    background-image: url("../Inicio/Img/Infancia.jpeg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 70vh;
  }

  .carousel-2 {
    background-image: url("img/Graduados.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 70vh;
  }

  .carousel-3 {
    background-image: url("../Inicio/Img/Graduados-terraza.jpeg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 70vh;
  }

  .carousel-inner {
    position: relative;
    display: block;
  }

  .carousel-img {
    position: absolute;
    width: 200px;
  }

  .intro {
    max-width: 567px;
  }

  .intro-titulo {
    display: block;
    padding: 10px;
    text-align: center;
  }

  .intro-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .intro-info {
    text-align: justify;
    max-width: 567px;
  }

  .conocenos-frase h1 {
    font-size: 1.8rem;
  }

  .preguntas-container .preguntas-content {
    display: flex;
    flex-direction: column;
    width: 500px;
  }

  .preguntas-container h1 {
    text-align: center;
  }
}

@media screen and (max-width: 591px) {
  .carousel-item {
    background-color: orangered;
    width: 100%;
    height: 50vh;
  }

  nav {
    width: 100%;
    padding: 0;
  }
  nav ul {
    display: none;
  }

  nav .mobile {
    display: block;
  }
  .card .content {
    padding: 20px;
  }
}

@media screen and (max-width: 504px) {
  .preguntas-container h1 {
    text-align: center;
    padding: 0;
    margin: 20px 0;
  }

  .preguntas-container .preguntas-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0;
  }

  .preguntas-content .preguntas-izquierda {
    display: inline-block;
    padding: 0 40px;
  }
  .preguntas-content .preguntas-derecha {
    display: inline-block;
    padding: 0 40px;
  }
}
