:root {
    font-size: 16px;

    /* colors */
    --color-primary:        #073288;
    --color-primary-dark:   #051B46;
    --color-primary-medium: #2B4A6F;
    
    --color-secondary:      #D62227;
    --color-secondary-dark: #AC1B1F;

    --color-white:          #ffffff;
    --color-black:          #000000;
    
    --color-grey:           #959595;
    --color-grey-light:     #F6F6F6;
}

html,
body {
    height: 100%;
}
body {
    color: var(--color-grey);
}

.padd {
    padding: 2rem 0;
}

.logo {
    width: 40px;
}
.logo-sm {
    display: inline-block;
    width: 60px;
    margin-left: 10px;
}
.logo-sm img {
    width: 100%;
}

.title {
    color: var(--color-black);
    font-weight: bold;
    margin-bottom: 1rem;
}
.title.lg {
    font-size: 1.5rem;
}
.title.md {
    font-size: 1.25rem;
}
.title.sm {
    font-size: 1.125rem;
}
/*  */
.title-sections {
    color: var(--color-black);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 2rem;
}
.title-sections::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 15px auto 0 auto;
}
.title-sections.light {
    color: var(--color-white);
}
.title-sections.light::after {
    background-color: var(--color-secondary);
}
.title-sections .sub {
    color: var(--color-grey);
    font-family: var(--font-narrow);
    font-size: 1.125rem;
}
/*  */
.title-block {
    max-width: 700px;
    color: var(--color-black);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin: 0 auto 2rem;
}
.title-block::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 15px auto 0 auto;
}
.title-block.light {
    color: var(--color-white);
}
.title-block.light::after {
    background-color: var(--color-secondary);
}

.stuck {
    position:fixed;
    top:0;
}

/* navigation */
.nav-bar {
    position: relative;
    z-index: 5;
    margin-top: -60px;
}
.navigation {
    position: relative;
    z-index: 1;
    height: 60px;
    background-color: rgba(7, 50, 136, 0.86);
    /* margin-top: -60px; */
}
.navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.navigation li {
    margin: 0 20px;
}
.navigation li a {
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    line-height: 1;
    color: var(--color-white);
    text-decoration: none;
}
.navigation li a:hover {
    text-decoration: none;
}
.navigation li a:hover::after,
.navigation li a.activo::after {
    content: "";
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    margin: 0;
}
.navigation li a.home .icon i {
    font-size: 40px;
    vertical-align: middle;
}
/*  */
.navigation .options-mov ul {
    justify-content: space-between;
    align-items: center;
}
.navigation .options-mov .logo {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

/* navihation movil */
.nav-main-mov {
    display: none;
}
.nav-main-mov ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.nav-main-mov ul li {
    margin-bottom: .5rem;
}
.nav-main-mov ul li a {
    display: block;
    color: var(--color-grey);
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
}

.options-mov {
    display: none;
}

.btn-menu-mov {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.btn-menu-mov span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    height: 4px;
    background: var(--color-white);
    margin: auto;
}
.btn-menu-mov span:after,
.btn-menu-mov span:before {
    position: absolute;
    content: '';
    left: 0;
    width: 40px;
    height: inherit;
    background: var(--color-white);
}
.btn-menu-mov span:after {
    top: -10px;
}
.btn-menu-mov span:before {
    bottom: -10px;
}
/*  */
.btn-menu-mov-close {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.btn-menu-mov-close span {
    position: absolute;
    top: calc(50% - 2px);
    display: block;
    width: 40px;
    height: 4px;
    background: var(--color-grey);
}
.btn-menu-mov-close span:first-child {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.btn-menu-mov-close span:last-child {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* redes */
.redes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 150px;
    margin: auto;
}
.redes a {
    color: var(--color-grey);
    font-size: 40px;
    text-decoration: none;
}
.redes a:hover {
    color: var(--color-primary);
}

/* ==================================================
columns
================================================== */
/* .columns-content {
    display: flex; */
    /* height: 100%; */
    /* min-height: 100%;
} */
/*  */
/*.columns-content .content-left {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 25%;
    background-color: #375099;
}*/
.columns-content .content-left {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 25%;
    background-color: var(--color-grey-light);
}
.columns-content .content-left.activo {
    left: 0;
}
/*  */
.columns-content main {
    width: 75%;
    margin-left: auto;
}

/* side left */
.content-left {
    display: flex;
    justify-content: center;
    height: 100%;
    padding: 1rem 2rem;
    transition: all .25s;
}
.content-left .top {
    display: none;
    text-align: right;
}
.content-left .block {
    margin: auto 0;
}
.content-left .logo-slogan {
    width: 200px;
    margin: auto;
}
.content-left .logo-slogan .logo {
    width: 200px;
    margin: 0 auto;
}
.content-left .logo-slogan .logo img {
    width: 100%;
}
.content-left .logo-slogan .slogan {
    text-align: center;
    line-height: 1.2;
}
.content-left .quotes {
    font-size: 1.125rem;
    text-align: center;
    margin: 3rem auto;
}
.content-left .quotes span {
    display: block;
    color: var(--color-primary);
    font-weight: bold;
}
.content-left .redes-sociales article {
    margin-bottom: 10px;
    text-align: center;
}

/* ==================================================
index
================================================== */
/* slider principal */
.slider-main img {
    width: 100%;
}
.slider-main .owl-nav {
    position: absolute;
    right: 0;
    left: 0;
    top: calc(50% - 19px);
    height: 1px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0 !important;
}
.slider-main .owl-nav [class*=owl-] {
    width: 38px;
    height: 38px;
    color: var(--color-white) !important;
    font-size: 30px !important;
    background-color: rgba(0,0,0,.5) !important;
    padding: 0 !important;
    margin: 0 20px !important;
    border-radius: 0 !important;
}
.slider-main .owl-dots {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 60px;
}
.slider-main .owl-dots .owl-dot.active span, 
.slider-main .owl-dots .owl-dot:hover span {
    background-color: var(--color-primary) !important;
}

/* datos de escuelas */
.num-escuelas .items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.num-escuelas .item {
    flex: 1 0 auto;
    max-width: calc(100% / 5);
    padding: 0 1.5rem;
    margin-bottom: 20px;
}
.num-escuelas .icon {
    width: 60px;
    height: 60px;
    margin: auto;
}
.num-escuelas .icon i {
    color: var(--color-secondary);
    font-size: 60px;
}
.num-escuelas .numeros {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}
.num-escuelas p {
    text-align: center;
    margin: 0;
}
.num-escuelas p span {
    font-weight: bold;
    font-size: 20px;
}

/* videos */
.videos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.videos div {
    width: 50%;
    margin: 0 auto;
    display: block;
}

.videos div video {
    display: flex;
    justify-content: center;
    width: 616px;
    height: 346px;
    margin: 0 auto;
}

/* educacion a distancia */
.educacion_distancia {
    margin-bottom: 20px;
}

/* logros */
.logros {
    background-color: var(--color-primary-medium);
}
.logros .items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.logros .block {
    flex: 1 0 auto;
    min-width: 280px;
    max-width: calc(100% / 2);
    text-align: center;
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}
.logros .item {
    color: var(--color-white);
    text-align: center;
    /* max-width: 400px; */
}
.logros .item .icon {
    width: 60px;
    height: 60px;
    margin: auto;
}
.logros .item .icon i {
    color: var(--color-secondary);
    font-size: 60px;
}
.logros .item article {
    font-size: 1.5rem;
    font-weight: bold;
}
.logros .item p {
    margin: 0;
}

/* nuestras instalaciones */
.nuestras-instalaciones .title {
    color: var(--color-grey);
    text-align: center;
}
.nuestras-instalaciones .carousel-nuestras-instalaciones {
    margin-bottom: 2.5rem;
}
.nuestras-instalaciones .owl-nav {
    position: absolute;
    right: 0;
    left: 0;
    top: calc(50% - 19px);
    height: 1px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0 !important;
}
.nuestras-instalaciones .owl-nav [class*=owl-] {
    width: 38px;
    height: 38px;
    color: var(--color-white) !important;
    font-size: 30px !important;
    background-color: rgba(0,0,0,.5) !important;
    padding: 0 !important;
    margin: 0 20px !important;
    border-radius: 0 !important;
}
.nuestras-instalaciones .owl-dots {
    margin-top: 10px;
}
.nuestras-instalaciones .owl-dots .owl-dot.active span, 
.nuestras-instalaciones .owl-dots .owl-dot:hover span {
    background-color: var(--color-primary) !important;
}

/* contacto */
.contacto-home {
    background-color: var(--color-primary-medium);
}
.contacto-home .buttons {
    margin-top: 1.5rem;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    /* gap: 20px; */
    max-width: 900px;
    padding: 0 15px;
    margin: auto;
}
.form-grid .block {
    padding: 0 .5rem;
}
.form-grid .block:nth-child(-n+3) {
    width: calc(100% / 3);
}
.form-grid .block:nth-child(4) {
    width: 100%;
}

/* direccion y mapa */
.direccion {
    display: flex;
}
.direccion address {
    flex: 1;
    padding: 0 1rem;
}
.direccion address article {
    color: var(--color-black);
    font-size: 1.125rem;
    font-weight: bold;
}
.direccion address a {
    color: var(--color-grey);
    word-break: break-all;
}
.direccion .mapa {
    flex: 1;
}


/* ==================================================
nosotros
================================================== */
/* historia y objetivo */
.historia-objetivo .block {
    margin-bottom: 1.5rem;
}
.historia-objetivo .block:last-child {
    margin-bottom: 0;
}
.historia-objetivo .title {
    margin-bottom: .5rem;
}
.historia-objetivo p {
    margin-bottom: 0;
}

/* mision, vision y valores */
.mision .items {
    display: flex;
    flex-wrap: wrap;
}
.mision .item {
    flex: 0 0 50%;
    padding: 20px;
    text-align: center;
}
.mision .item .icon {
    width: 60px;
    height: 60px;
    margin: auto;
}
.mision .item .icon i {
    color: var(--color-secondary);
    font-size: 60px;
}
.mision .item article {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* nuestras generaciones */
.nuestras-generaciones .grid {
    display: flex;
    gap: 10px;
    max-width: 900px;
    padding: 0 10px;
    margin: auto;
}
.nuestras-generaciones .grid .col-l {
    flex: 1;
}
.nuestras-generaciones .grid .col-r {
    flex: 1;
}
.nuestras-generaciones .blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.nuestras-generaciones .blocks .block {
    flex: 0 0 calc(50% - 5px);
}
/*  */
.nuestras-generaciones .item {
    position: relative;
}
.nuestras-generaciones .item .image {
    overflow: hidden
}
.nuestras-generaciones .item .image img {
    width: 100%;
    display: block;
    transition: all .25s;
}
.nuestras-generaciones .item article {
    position: absolute;
    bottom: 10px;
    left: 10px;
    line-height: 1.2;
}
.nuestras-generaciones .item article span {
    display: block;
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: bold;
}
.nuestras-generaciones .item:hover .image img {
    transform: scale(1.1);
}

/* el mejor equipo */
.mejor-equipo {
    background-color: var(--color-primary-medium);
}
.mejor-equipo .items {
    display: flex;
    justify-content: center;
}
.mejor-equipo .item {
    max-width: calc(100% / 3);
    margin: 10px;
}
.mejor-equipo .item .image {
    overflow: hidden;
}
.mejor-equipo .item .image img {
    width: 100%;
    transition: all .25s;
}
.mejor-equipo .item article {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}
.mejor-equipo .item a:hover {
    text-decoration: none;
}
.mejor-equipo .item a:hover img {
    transform: scale(1.1);
}

/* ==================================================
kinder
================================================== */
/* competencias */
.competencias .items {
    display: flex;
    flex-wrap: wrap;
}
.competencias .item {
    flex: 0 0 50%;
    padding: 0 20px;
}
.competencias .item .icon {
    width: 100px;
    height: 100px;
    margin: auto;
}
.competencias .item .icon i {
    color: var(--color-primary);
    font-size: 100px;
}
.competencias .item article {
    color: var(--color-black);
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

/* ademas ofrecemos */
.ofrecemos .items {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.ofrecemos .item {
    position: relative;
    flex: 0 0 auto;
    /* min-width: 160px; */
    max-width: calc(100% / 3);
    padding: 0 1.5rem;
    padding: 5px;
    margin-bottom: 5px;
}
.ofrecemos .image {
    overflow: hidden;
}
.ofrecemos .image img {
    width: 100%;
    transition: all .25s;
}
.ofrecemos .name {
    position: absolute;
    top: 50%;
    width: 100%;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    transform: translateY(-50%);
}
.ofrecemos .item:hover img {
    transform: scale(1.1);
}

/* eventos */
.eventos .items {
    display: flex;
    flex-wrap: wrap;
}
.eventos .item {
    flex: 0 0 calc(100% / 4);
    padding: 5px;
}
.eventos .item .image {
    overflow: hidden;
}
.eventos .item .image img {
    width: 100%;
    transition: all .25s;
}
.eventos .item:hover img {
    transform: scale(1.1);
}

/* ==================================================
primaria
================================================== */
/* educacion integral */
.educacion-integral .items {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    /* margin-bottom: 20px; */
}
.educacion-integral .item {
    position: relative;
    flex: 0 0 auto;
    /* min-width: 160px; */
    max-width: calc(100% / 3);
    padding: 0 1.5rem;
    padding: 5px;
    margin-bottom: 5px;
}
.educacion-integral .image {
    overflow: hidden;
}
.educacion-integral .image img {
    width: 100%;
    transition: all .25s;
}
.educacion-integral .name {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    transform: translateY(-50%);
}
.educacion-integral .item:hover img {
    transform: scale(1.1);
}

/* ==================================================
secundaria
================================================== */
/* examen admision */
.examen-admision .title {
    text-align: center;
}
.examen-admision .fecha {
    text-align: center;
    line-height: 1;
}
.examen-admision .fecha article {
    font-size: 4rem;
}
.examen-admision .fecha p {
    color: var(--color-black);
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}
.examen-admision .fecha span {
    color: var(--color-black);
    font-size: 1.5rem;
}

/* datos importantes */
.datos-importantes .datos {
    margin-bottom: 20px;
}
.datos-importantes article {
    color: var(--color-black);
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.datos-importantes .list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.datos-importantes .list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}
.datos-importantes .list li::before {
    content: "";
    position: absolute;
    top: .5rem;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
}
.datos-importantes .list span {
    color: var(--color-black);
    font-weight: bold;
}


/* ==================================================
testimonios
================================================== */
/* testimonios */
.testimonios .items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}
.testimonios .item {
    flex: 1 0 auto;
    min-width: 280px;
    max-width: calc(100% / 3);
    text-align: center;
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}
.testimonios .image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
    overflow: hidden;
}
.testimonios .image img {
    width: 100%;
}
.testimonios article {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: bold;
}
.testimonios p {
    color: var(--color-black);
    margin-top: 10px;
}


/* ==================================================
gracias
================================================== */
.gracias {
    text-align: center;
    padding: 2.5rem 0;
}
.gracias p {
    margin-bottom: 2.5rem;
}


footer {
    color: var(--color-black);
    text-align: center;
    padding: 1rem;
}

div {
    text-align: justify;
    text-justify: inter-word;
}

.container_carrousel {
  position: relative;
  width: 320px;
  height: 200px;
  margin: 0 auto 0 auto;
  /*perspective: 1000px;*/
}

.carousel {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; 
  animation: rotate360 60s infinite forwards linear;
}
.carousel__face { 
  position: absolute;
  width: 300px;
  height: 187px;
  top: 20px;
  left: 10px;
  right: 10px;
  background-size: cover;
  box-shadow:inset 0 0 0 2000px rgba(0,0,0,0);
  display: flex;
}

.carousel__face span {
  margin: auto;
  font-size: 2rem;
}


.carousel__face:nth-child(1) {
  background-image: url("../img/clasesDistancia/11.jpg");
  transform: rotateY(  0deg) translateZ(430px); }
.carousel__face:nth-child(2) { 
  background-image: url("../img/clasesDistancia/8.jpg");
    transform: rotateY( 40deg) translateZ(430px); }
.carousel__face:nth-child(3) {
  background-image: url("../img/clasesDistancia/9.jpg");
  transform: rotateY( 80deg) translateZ(430px); }
.carousel__face:nth-child(4) {
  background-image: url("../img/clasesDistancia/10.jpg");
  transform: rotateY(120deg) translateZ(430px); }
.carousel__face:nth-child(5) { 
  background-image: url("../img/clasesDistancia/K3.jpg");
 transform: rotateY(160deg) translateZ(430px); }
.carousel__face:nth-child(6) { 
  background-image: url("../img/clasesDistancia/P1.jpg");
 transform: rotateY(200deg) translateZ(430px); }
.carousel__face:nth-child(7) { 
  background-image: url("../img/clasesDistancia/P2.jpg");
 transform: rotateY(240deg) translateZ(430px); }
.carousel__face:nth-child(8) {
  background-image: url("../img/clasesDistancia/P3.jpg");
  transform: rotateY(280deg) translateZ(430px); }
.carousel__face:nth-child(9) {
  background-image: url("../img/clasesDistancia/P4.jpg");
  transform: rotateY(320deg) translateZ(430px); }
.carousel__face:nth-child(10) {
  background-image: url("../img/clasesDistancia/P6.jpg");
  transform: rotateY( 80deg) translateZ(430px); }
.carousel__face:nth-child(11) {
  background-image: url("../img/clasesDistancia/K4.jpg");
  transform: rotateY(120deg) translateZ(430px); }
.carousel__face:nth-child(12) { 
  background-image: url("../img/clasesDistancia/P7.jpg");
 transform: rotateY(160deg) translateZ(430px); }
.carousel__face:nth-child(13) { 
  background-image: url("../img/clasesDistancia/P8.jpg");
 transform: rotateY(200deg) translateZ(430px); }
.carousel__face:nth-child(14) { 
  background-image: url("../img/clasesDistancia/P5.jpg");
 transform: rotateY(240deg) translateZ(430px); }
.carousel__face:nth-child(15) {
  background-image: url("../img/clasesDistancia/P9.jpg");
  transform: rotateY(280deg) translateZ(430px); }
.carousel__face:nth-child(16) {
  background-image: url("../img/clasesDistancia/P10.jpg");
  transform: rotateY(320deg) translateZ(430px); }



@keyframes rotate360 {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(-360deg);
  }
}