:root {
  --darkBlue: #1C355E;
  --orange: #FFA400;
}
/* Define Nexa Bold */
@font-face {
    font-family: 'Nexa';
    src: url('fonts/nexa_bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Define Nexa Light */
@font-face {
    font-family: 'Nexa';
    src: url('fonts/nexa_light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}





*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: unset;
  font-family: 'Karla', sans-serif;
 }
html{
  scroll-behavior: smooth;
}
body{
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: white;
    overflow-x: hidden;
    padding-top: 69px;
}

img{
    width: 100%;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
a, a:focus, a:visited {
    text-decoration: none;
    color: white; /* Mantener el color del texto heredado del elemento padre */  
    cursor: pointer;
}

nav a:focus-visible{
    outline: none;
}

input[type=number] { -moz-appearance:textfield; }

section{
  width: 100%;
}

.visble_desk{
  display: block;
}

.visible_mov{
  display: none;
}

header{
      width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--darkBlue);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
}

.header-logo{
  width: 200px;
}


.visble_desk ol, .visible_mov ol{
    list-style-type: none;
    margin: 0;
    padding: 0;
}


.menu-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 73px;
}

.nav-menu{
    display: flex;
}

.Nav-primary-link{
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: 1rem;
    cursor: pointer;
    color: white !important;

}

.blue{
    color: var(--darkBlue) !important;
}

.Nav-primary-link::before{
    background-color: var(--orange);
    bottom: -10px;
    content: "";
    height: 0;
    left: 0;
    position: absolute;
    transition: height .15s;
    width: 30%;
    border-radius: 0 0 5px 5px;
    transition: all 0.5s;
    z-index: 3;
}

.Nav-primary-link:hover, .Nav-primary-link:focus-within{
    color: var(--orange);
}

.Nav-primary-link:hover::before, .Nav-primary-link:focus-within::before {
    height: 4px;
}


/*Slider*/

.swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
.swiper-button-next, .swiper-button-prev{
  color: white !important;
}


/**/
.section-aprende{
  background: url(img/aprende.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0;
}

.subtitle-aprender{
  color: #ffffff99;
    font-size: 1.8rem;
    line-height: 95%;
    font-weight: 700;
}

.title-aprender{
  color: #ffffff99;
  font-size: 11rem;
  font-weight: 900;
  line-height: 95%;
}

.item-aprende{

}
.logo-aprende{
  width: 50px;
  margin: auto;
}
.button-aprende{
  background-color: #1c355e;
  color: white;
  border-radius: 15px;
  text-align: center;
  padding: 7px 25px;
  margin: auto;
}

.aprende-row{
  width: 95%;
  margin: auto;
  max-width: 1240px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}

.section-somos{
    background-image: url(img/somos.jpg);
    background-size: cover;
    background-position: center;
    padding: 50px 0;
}

.somos-content{
  width: 95%;
  max-width: 1240px;
  margin: auto;

}

.somos-title{
  font-size: 4rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.somos-text{
  color: white;
}

.somos-logo{
  width: 200px;
  margin-left: auto;
  margin-top: 50px;
}

.materias-secction{
  width: 100%;
  background-image: url(img/materias.jpg);
  background-size: cover;
  background-position: center;
  height: 40VH;
  position: relative;
}

.blue-title{
     position: absolute;
    bottom: 50px;
    right: 0;
    width: 35%;
    color: white;
    font-weight: 100;
    text-transform: uppercase;
    padding: 15px 20px;
    background-color: #45a5d5;
    font-size: 2rem;
}



.materias{
  display: flex;
  width: 90%;
  max-width: 1024px;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: stretch;
  padding: 20px 0;
}
.material-card{
  width: 45%;
  max-width: 200px;
}

.row{
  display: flex;
  width: 90%;
  max-width: 1024px;
  margin: auto;
  padding: 15px 0;
}

li{
  margin-bottom: 15px;
}

.logo-container{
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: auto;
  flex-wrap: wrap;
}

.logo-icon{
  width: 50%;
  max-width: 200px;
}

footer{
  margin-top: 30px;
  padding: 50px 0;
  width: 100%;
  background-color: var(--darkBlue);
}
footer .row{
  flex-direction: column;
  gap: 20px;
}
.social_icons{
  display: flex;
  gap: 15px;
  align-self: flex-end;
}
.social_icon{
  width: 40px
}
.contact-mail{
  color: white;
  align-self: flex-end;
  text-align: right;
}
.bold{
  font-weight: 800;
}
.footer-info{
  color: white;
}


.fixed-elements{
  position: fixed;
  top: 50%;
  right: 0px;
  z-index: 99;
}

.wasap{
  width: auto;
  width: 50px;
  height: 50px;
  overflow: hidden;
  transition: all 0.5s;
}

.wasap:hover{
  width: 209px;
}
.wasap img{
  width: auto;
  height: 100%;
}
/*Moviles*/



@media (max-width: 1000px) {
  .visble_desk{
    display: none;
  }



.visible_mov{
    display: block;
  }

  .menu-btn {
            position: relative;
            z-index: 3;
            cursor: pointer;
            transition: all 0.5s ease-out;
        }

        /* Styling the hamburger lines */
        .menu-btn .btn-line {
            width: 28px;
            height: 3px;
            margin: 0 0 5px 0;
            background: white;
            transition: all 0.5s ease-out;
        }

        /* Adding transform to the X */
        .menu-btn.close {
            transform: rotate(180deg);
        }

        /* Styling the three lines to make it an X */
        .menu-btn.close .btn-line:nth-child(1) {
          background: var(--orange);
            transform: rotate(45deg) translate(5px, 5px);
        }

        .menu-btn.close .btn-line:nth-child(2) {
            opacity: 0;
        }

        .menu-btn.close .btn-line:nth-child(3) {
          background: var(--orange);
            transform: rotate(-45deg) translate(7px, -6px);
        }
  .nav-container{
        position: absolute;
        left: 0;
        width: 100%;
        top: 66px;
        background: white;   
        z-index: 999;
         }
    .nav-menu{
            flex-direction: column;
    }

    .Nav-primary-link{
            justify-content: flex-start;
            font-size: 1.25rem;
            border-bottom: 2px solid var(--orange);
            color: var(--darkBlue);
            padding: 13px 10px;
    }

    .nav-container{
        max-height: 0;
        overflow: hidden;
        background: white;
    }

    .nav-container{
        transition: max-height .8s cubic-bezier(0,1,0,1) -.1s;
    }

    
    .nav-mov-open{
        max-height: 9999px;
        transition-delay: 0s;
        transition-timing-function: cubic-bezier(.5,0,1,0);
    
    }
    .slide_section {
      height: 95vh;
    }

    .slide-blue-container{
      width: 100%;
        height: unset;
        top: unset;
        left: 0;
        bottom: 0;
        padding: 10px;
    }

    .slider-text{
      width: 80%;
        font-size: 1.3rem;
    }

    .slider-wobutton,.slideshow-pagination, .slideshow-navigation{
      display: none;
    }

    .title-aprender{
        font-size: 9rem;
      }

    .item-aprende {
        margin-left: auto;
        padding-right: 20px;
    }



    .section-somos{
        height: 80%;
        flex-direction: column;

    }

    .somos-content{
      width: 100%;
      padding: 1rem;

    }

    .blue-title{
      width: auto;
      font-size: 1.5rem;
    }

    .logo-container{
      justify-content: center;
    }
}