@font-face {
  font-family: Anton;
  src: url(../assets/fonts/Anton-Regular.ttf) format("TrueType");
}

@font-face {
  font-family: AnekTelugu-Medium;
  src: url(../assets/fonts/AnekTelugu.ttf) format("TrueType");
}

/* css variables */

:root {
  --primary-color: rgb(0, 30, 97);
  --secondary-color: #d7282f;
  --main-background: #fff;
  --primary-color-preparatoria: #fff;
  --secondary-color-preparatoria: #5e0d26;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: AnekTelugu-Medium;
  font-size: 2.1875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 3.125rem;
  color: var(--primary-color);
}

main {
  flex: 1 0 auto;
}

.index-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_INICIO.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.maternal-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_MATERNAL.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.primaria-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_PRIMARIA.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.secundaria-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_SECUNDARIA.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.galeria-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_GALERIA.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.mision-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_MISION.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.filosofia-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_FILOSOFIA.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.preparatoria-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_PREPARATORIA.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.preparatoria-galeria-bg {
  background-image: url("/assets/svg/backgrounds/FONDOS_PAGINA_WEB_PREPARATORIA_GALERIA.svg");
  background-size: cover;
  background-repeat: no-repeat;
}

footer {
  margin-top: 30px;
}

footer p {
  color: var(--primary-color);
  text-align: center;
  font-family: Anton;
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.mixed {
  font-size: 3.2rem;
  line-height: 1.5;
}

.footer-logo {
  width: 12.875rem;
  height: 12.5625rem;
  flex-shrink: 0;
}

.social-section {
  position: absolute;
  right: 3px;
  top: 0;
  bottom: 3px;
}

.social-networks-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.social-networks {
  font-size: 4.3125rem;
  flex-shrink: 0;
  margin-left: 2rem;
  margin-right: 2rem;
}

.titulo {
  margin-bottom: 64px;
}

.justify-align {
  text-align: justify;
}

.parallax-container {
  height: 100%;
}

.row {
  margin: 16px;
}
.col {
  margin-bottom: 16px;
  position: relative;
}
.block {
  height: 20px;
}

.container {
  width: 90%;
}

.vineta {
  width: 72px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vineta-item {
  display: flex;
  align-items: center;
}
h1 {
  color: var(--secondary-color);
  font-family: Anton;
  /* min: 32px, preferido: 5vw + 1rem, max: 116px (~7.26rem) */
  font-size: clamp(2rem, 5vw + 1rem, 7.26rem);
  font-weight: 400;
  line-height: 1.1;
}

h2 {
  color: var(--primary-color);
  font-family: Anton;
  /* min: 28px, preferido: 3.5vw + 0.75rem, max: 60px (~3.75rem) */
  font-size: clamp(1.75rem, 3.5vw + 0.75rem, 3.75rem);
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  color: var(--primary-color);
  font-family: Anton;
  /* min: 24px, preferido: 2.5vw + 0.5rem, max: 50px (~3.125rem) */
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 3.125rem);
  font-weight: 400;
  line-height: 1.25;
}

h4 {
  color: var(--primary-color);
  font-family: Anton;
  /* min: 20px, preferido: 2vw + 0.5rem, max: 40px (~2.5rem) */
  font-size: clamp(1.25rem, 2vw + 0.5rem, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
}

h5 {
  color: var(--primary-color);
  font-family: Anton;
  /* min: 18px, preferido: 1.5vw + 0.5rem, max: 30px (~1.875rem) */
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.875rem);
  font-weight: 400;
  line-height: 1.35;
}

h6 {
  color: var(--primary-color);
  font-family: Anton;
  /* min: 16px, preferido: 1vw + 0.5rem, max: 18.5px (~1.16rem) */
  font-size: clamp(1rem, 1vw + 0.5rem, 1.16rem);
  font-weight: 400;
  line-height: 1.4;
}

a {
  color: var(--primary-color);
}
.nomarg {
  margin-top: 0px;
  margin-bottom: 0px;
}

.small-margin {
  margin-top: 10px;
  margin-bottom: 10px;
}

.row {
  margin: 0px;
}
.mySlides {
  display: none;
}
.espaciado {
  line-height: 30px;
}
@media (max-width: 600px) {
  .minus {
    margin-top: -7vh;
  }
}
i {
  font-size: 32px;
}
.no-marg {
  margin-bottom: 0px;
}
.session {
  background-color: var(--primary-color);
  position: absolute;
  right: 0;
}

.session:hover {
  background-color: rgb(0, 30, 50);
}

.acceso {
  font-size: 180%;
}

/* Navigation */

nav {
  display: flex;
  padding-top: 0.78rem;
  height: 124px;
  background-color: var(--primary-color);
  padding-bottom: 0.78rem;
  padding-left: 7%;
  padding-right: 7%;
}

.logo {
  display: flex;
  align-items: center;
}

.menu-list {
  display: flex;
  flex: 1;
  align-items: stretch;
  justify-content: space-between;
  background-color: var(--main-background);
  border-radius: 60px;
}

.menu-item {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  font-family: "Anton-Regular", sans-serif;
  font-size: 34px;
  font-weight: 400;
}

.menu-item:hover,
.menu-item.active {
  background-color: color-mix(in srgb, var(--primary-color) 20%, transparent);
  border-radius: 18px;
}

.menu-text {
  font-family: Anton;
  color: var(--primary-color);
  text-align: center;
  font-size: 2.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.brand-logo {
  width: 3.61313rem;
  height: auto;
}

.regular-accent {
  color: var(--secondary-color);
}

/* Main */

/* Carousel */
.carousel {
  display: flex;
  overflow: hidden;
  height: 53rem;
  align-items: center;
}

.carousel-slide {
  &.active {
    margin-left: 1vw;
    margin-right: 1vw;
  }
  &.prev {
    margin-right: 1vw;
    transform: scale(0.9);
    width: 30vw;
    overflow: hidden;
  }
  &.next {
    margin-right: 1vw;
    transform: scale(0.9);
    width: 30vw;
    overflow: hidden;
  }
  &.hidden {
    display: none;
  }
}

.carousel-buttons {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-left: 1.5%;
  padding-right: 1.5%;
}

.filosofia {
  padding-left: 10vw;
  padding-right: 10vw;
}

.no-block-margin {
  margin-block-start: 0;
  margin-block-end: 0;
}

.right-space {
  margin-right: 10px;
}

/* Margins */
.mt-10 {
  margin-top: 10px;
}

.mb-10 {
  margin-bottom: 10px;
}

.ml-10 {
  margin-left: 10px;
}

.mr-10 {
  margin-right: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.ml-20 {
  margin-left: 20px;
}

.mr-20 {
  margin-right: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}

.ml-30 {
  margin-left: 30px;
}

.mr-30 {
  margin-right: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mb-50 {
  margin-bottom: 50px;
}

.section {
  margin-top: 10vh;
}

.title-preparatoria {
  font-family: Anton;
  color: var(--primary-color-preparatoria);
  /* min: 48px, preferido: 8vw + 2rem, max: 200px (~12.5rem) */
  font-size: clamp(3rem, 8vw + 2rem, 12.5rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.05;
}

.container-preparatoria {
  margin-top: 5vh;
  padding-left: 10vw;
  padding-right: 10vw;
}

.subtitle-preparatoria {
  font-family: Anton;
  color: var(--primary-color-preparatoria);
  /* min: 28px, preferido: 3.5vw + 0.75rem, max: 60px (~3.75rem) */
  font-size: clamp(1.75rem, 3.5vw + 0.75rem, 3.75rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  padding-top: clamp(25px, 4vw, 50px);
}

.p-preparatoria {
  color: var(--primary-color-preparatoria);
}

.call-to-action {
  font-family: "Anton-Regular", sans-serif;
  color: var(--primary-color-preparatoria);
  font-family: Anton;
  font-size: 8.75rem;
  font-weight: 400;
  line-height: 13.1875rem;
  text-align: center;
}

.preparatoria-hero {
  position: relative;
}

.preparatoria-cta {
  position: absolute;
  right: 15px;
  bottom: 30px;
  z-index: 1;
  color: var(--primary-color-preparatoria);
  font-family: Anton;
  font-size: 1.8rem;
  font-weight: 400;
  background-color: var(--secondary-color-preparatoria);
  height: 60px;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preparatoria-cta:hover {
  background-color: #45081a;
}

.left-arrow,
.right-arrow {
  width: 10vw;
  height: auto;
}

/* Gallery Carousel - Preparatoria */
.gallery-carousel-container {
  width: 100%;
}

.gallery-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-carousel-slide {
  display: none;
}

.gallery-carousel-slide.active {
  display: block;
}

.gallery-carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.gallery-carousel-prev {
  left: 1px;
}

.gallery-carousel-next {
  right: 1px;
}

.gallery-carousel-arrow img {
  width: 10vw;
  height: auto;
}

/* Gallery Carousel */
.b-gallery-carousel-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.b-gallery-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 500px;
}

.b-gallery-carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.b-gallery-carousel-slide {
  position: absolute;
  transition: all 0.4s ease;
  opacity: 0.5;
}

.b-gallery-carousel-slide.prev {
  left: -5%;
  transform: translateX(-50%) scale(0.7);
  z-index: 1;
}

.b-gallery-carousel-slide.active {
  position: relative;
  left: auto;
  transform: scale(1) rotate(-3deg);
  opacity: 1;
  z-index: 3;
}

.b-gallery-carousel-slide.next {
  right: -5%;
  left: auto;
  transform: translateX(50%) scale(0.7);
  z-index: 1;
}

.b-gallery-carousel-slide.hidden {
  opacity: 0;
  pointer-events: none;
}

.b-gallery-carousel-slide img {
  width: 50vw;
  max-width: 600px;
  height: auto;
  display: block;
}

.b-gallery-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.b-gallery-carousel-prev {
  left: 3vw;
}

.b-gallery-carousel-next {
  right: 3vw;
}

.b-gallery-carousel-arrow img {
  width: 15vw;
  height: auto;
}
