@import url('https://fonts.googleapis.com/css2?family=Winky+Rough:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@font-face {
    font-family: 'Duo';
    src: url(../fonts/quicksand.ttf) format('ttf');
    font-weight: normal;
    font-style: normal;
}



:root {
    /* PrincipalColors */
    --white-col: #F9FCFB;
    --black-col: #0D0D0D;
    --white-transparent: #f5f5f5c7;
    --gray-col:#f7f7f7;
    --black-transparent: #0d0d0db0;
    --prpl-col:rgb(240, 180, 236);
    --prpl-b-col:rgb(168, 127, 166);
    --principal-col: #99F2D9;
}

* {
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
     box-sizing: border-box; 
     scroll-behavior: smooth;
}


html,
body {
    background-color:var(--white-col);
    background-size:cover;
    overflow-x: hidden;
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    min-height: 100%;
    font-family: "Quicksand", sans-serif;
}

.container {
    display:flex;
    justify-content: center;
    width:100%;
}

.container .row {
    width:80%;
}

.nav-bar {
    display:flex;
    justify-content: center;
    align-items: center;
    width:100%;
    padding:30px 10px;
    z-index:10;
    position:fixed;
}

.nav-bar .bg-glass {
    display:flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width:70%;
    padding:10px;
    z-index:3;
    border-radius:50px;
    transition:.3s ease-in-out;
}

.nav-bar .nav-nav {
    display:flex;
    justify-content: center;
    align-items: center;
    z-index:3;
    gap:50px;
    text-align:center;
}

.nav-bar .nav-nav a i {
    margin:0 10px;
}


.nav-bar .nav-nav a {
    display:flex;
    padding:5px;
    color:var(--black-col);
    font-weight: 600;
    text-decoration:none;
    font-size:17px;
    cursor:pointer;
    transition:.2s ease-in-out;
    text-transform: uppercase;
}

.nav-bar .logo {
    width:6%;

}

.nav-bar .logo img {
    width:100%;
    object-fit:cover;
}

.nav-bar .nav-nav,
.nav-bar .buttons-log {
    flex: 1;
}
.nav-bar .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    flex: 0;
}

.nav-bar .logo img {
    width: 100px;
    object-fit: contain;
}

.header {
    display:flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width:100%;
    height:100dvh;
    padding:20px;
    position:relative;
    background:url('../img/bg/header_bg.gif');
    background-size:cover;
    z-index:2;
}

.header .content {
    width:60%;
    padding:10px;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    text-align: left;
    color:var(--white-col);
    z-index: 2;
}

.header .content .logo {
    width:80%;
}

.header .content .logo img {
    width:100%;
    object-fit: cover;
}

.header .content .buttons {
    width:63%;
    display:inline-flex;
    flex-direction:row;
    gap:10px;
    flex-wrap: wrap;
    justify-content: center;
}

.header .content .buttons input {
    width:76%;
    padding:20px;
    border-radius:10px;
    border:none;
    background:var(--gray-col);
    color:var(--black-col);
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    font-family: "Quicksand", sans-serif;
}

.header .content .buttons button {
    padding:20px;
    border-radius:10px;
    border:none;
    background-color:#5ce6d7;
    color:white;
    font-weight: bolder;
    border-bottom:5px solid #419c92;
    cursor:pointer;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.068);
    font-family: "Quicksand", sans-serif;
}

.slogan h1 {
  color:var(--black-col);
  font-family: "Quicksand", sans-serif;
}

.header #happy-reaction-head {
    width:8%;
    top:19%;
    left:20%;
    position:absolute;
    animation: float 3s ease-in-out infinite;
}

.header #shy-reaction-head {
    width:8%;
    bottom:19%;
    right:20%;
    position:absolute;
    animation: float 3s ease-in-out infinite;
}


.header #blob-header {
    width:100%;
    height:100%;
    position:absolute;
    opacity:.1;
    top:5%;
}

#about {
    width:100%;
    height: 100%;
    padding:20px;
    display:flex;
    justify-content: center;
    align-items: center;
    position:relative;
    overflow: hidden;
    flex-direction: column;
}

.shape-parallax-bg1,
.shape-parallax-bg2 {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-repeat: repeat-y;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  opacity:.5;
  transition: transform 0.1s ease-out;
}

.shape-parallax-bg1 {
  background-image: url(../img/shape-bg1.png);
  background-position: 10% center;
}

.shape-parallax-bg2 {
  background-image: url(../img/shape-bg2.png);
  background-position: 90% center;
}


#about .video-presentation {
    width:50%;
    border-radius:10px;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    will-change: transform, opacity;
    z-index:1;
}

#about  #party {
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    opacity:0;
    transform: translateY(10px);
    will-change: transform, opacity;
}


#about .video-presentation .preview {
    width:100%;
    position: relative;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.445);
}

#about .video-presentation .preview .playButton {
    width:100%;
    height:100%;
    display:flex;
    background:#00000036;
    justify-content: center;
    align-items: center;
    text-align: center;
    position:absolute;
    color:var(--white-col);
    border-radius:13px;
}

#about .video-presentation .preview .playButton i {
    padding:40px 45px;
    font-size:40px;
    background-color:var(--prpl-col);
    border-radius:100%;
    cursor:pointer;
    transition: .2s ease-in-out;
}

#about .video-presentation .preview .playButton i:hover {
    transform: scale(1.1);
}

#about .video-presentation .preview img {
    width:100%;
    height: 100%;
    object-fit: contain;
}

.t {
    font-size:20px;
    margin-bottom:10px;
    color:var(--prpl-col);
    opacity:0;
    transform: translateY(10px);
    will-change: transform, opacity;
}


svg {
    background-color: transparent;
}


#line, #line .content {
    width:100%;
    padding:10px;
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

#line .title {
  font-size: 60px;
  font-weight: bold;
  background: linear-gradient(90deg, #F73D66, #9A44AA); /* Rosa → Morado */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#line .world-content {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding:10px;
    align-items: center;
    justify-content: center;
    position:relative;
    gap:15rem;
    margin:20px 0;
    opacity: 0;
    transform: translateY(20px);
}

#line .world-content .legos {
    width:100%;
    height: 100%;
    position:absolute;

    img {
        width:100px;
        position:absolute;
    }
}

#line .world-content .legos .lego-rojo {
    top:40%;
    left:44%;
}

#line .world-content .legos .lego-amarillo {
    top:70%;
    left:4%;
}


#line .world-content .legos .lego-azul {
    top:15%;
    left:4%;
}


.legos .lego-speaking {
    width:140px !important;
    top:5%;
    right:7%
}


.legos .lego-english {
    width: 140px !important;
    top:70%;
    right:43%;
}

.legos .lego-writing {
    width: 140px !important;
    top:70%;
    right:5%;
}


.legos .lego-reading {
    width: 140px !important;
    top:40%;
    right:3%;
}

.world-content .path {
    width:100%;
    top:-40%;
    right:10%;
    position:absolute;
}

#line .world-content .world {
    width:30%;

    img {
        width:100%;
        object-fit: cover;
    }
}

#line .world-content .data {
    width:30%;
    .title {
        font-size:30px;
        font-weight: 700;
    }

    span {
        font-size:17px;
    }
}


#courses {
    width:100%;
    padding:20px;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    position:relative;
    overflow: hidden;
    z-index:2;
    margin-top: 160px;

    .content {
        width:100%;
        padding:20px;
        display:flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        position:relative;
        overflow: hidden;
        gap:10px;
        z-index:2;
    }

    .title {
        font-size: 60px;
        font-weight: bold;
        background: linear-gradient(90deg, #F73D66, #9A44AA); /* Rosa → Morado */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .course {
        display:flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width:40%;
        gap:20px;
        padding:10px;

        .image {
            width:40%;
            img {
                width:100%;
                object-fit: cover;
                border-radius:20px;
            }
        }
    }

    
    .course .data {
        width:35%;
        .title {
            font-size:35px;
            word-break: break-all;
            font-weight: 700;
        }

        p {
            font-size:20px;
            margin:10px 0;
            color:gray;
        }

        button {
            width:100%;
            padding:15px;
            border:none;
            color:white;
            background-color:var(--prpl-col);
            cursor:pointer;
            border-radius:10px;
        }
    }
}

#langs {
  overflow: hidden;
  padding: 50px 0;
}

#langs .lang, #langs .lang2 {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  margin: 40px 0;
  will-change: transform;
  font-size:60px;
  text-transform: uppercase;
  color:gray;
  opacity:.4;
}

#ad {
    display:flex;
    width:100%;
    height:100dvh;
    margin-top:120px;
    background-color:#B6DBF5;
    background-image: url('../images/bg/ad.png');
    background-position:center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 4;
    margin:0;
}

#banner {
    position:relative;
    #top-wave {
        width:100%;
        position:absolute;
        top:0;
        z-index:9;
    }
    #bottom-wave {
        width:100%;
        position:absolute;
        bottom:0;
        z-index:9;
    }
}

#pre-footer {
    margin-bottom:-7px;
    position:relative;

    .title {
        display:flex;
        width:100%;
        height:60%;
        align-items: center;
        position:absolute;
        justify-content: center;

        font-size: 60px;
        font-weight: bold;
        background: linear-gradient(90deg, #F73D66, #9A44AA); /* Rosa → Morado */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    #chest {
        width:60%;
        left:0;
        right:0;
        bottom:20px;
        margin:auto;
        position:absolute;
        cursor:pointer;
        transition:.3s ease-in-out;
        z-index:3;

        &:hover {
            transform:scale(1.1);
        }
    }
}

#pre-footer svg {
    width:100%;
    height:30%;
    object-fit: cover;
    margin:0;
}


footer {
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
    width:100%;
    padding:100px;
    margin:0;
    background-color:#EF2E5E;

    .navigation {
        width:100%;
        display:flex;
        flex-direction:row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap:140px;

        ul {
            display:flex;
            flex-direction: column;
            align-items: flex-start;
            gap:15px;
            margin:0;
            padding:0;
            color:white;
            list-style: none;

            span {
                font-weight:600;
                font-size:20px;
                margin-bottom:10px;
            }

            li a {
                color:var(--prpl-col);
                text-decoration:none;
                transition:.3s ease-in-out;
                font-size:18px;

                &:hover {
                    color:white;
                }
            }
        }
    }

    .hr {
        width:100%;
        margin:60px 0;
        padding:1px;
        background-color:white;
    }

    .idiomas {
        display:flex;
        flex-direction: column;
        gap:20px;
        width:73%;
        color:white;
        span {
            font-weight: 600;
            font-size:20px;
            text-align: left;
        }

        ul {
            list-style: none;
            display:flex;
            flex-wrap: wrap;
            flex-direction:row;
            padding:0;
            margin:0;
            gap:20px;

            li a {
                color:var(--prpl-col);
                text-decoration:none;
                transition:.3s ease-in-out;
                font-size:16px;

                &:hover {
                    color:white;
                }
            }
        }
    }

}



@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ===== Mobile nav toggle & drawer ===== */
#navToggle {
  display: none; /* se activa por media query/JS */
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(90deg,#ffffff, #f3f4ff);
  border: 1px solid rgba(0,0,0,0.06);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(16,24,40,0.08);
  display: none;
}
#navToggle i { font-size: 18px; color: #111827; }

/* overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 995;
  opacity: 0;
  transition: opacity .18s ease;
}
.nav-overlay.show { display: block; opacity: 1; }

/* mobile drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 84%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  transform: translateX(-110%);
  z-index: 997;
  transition: transform .28s cubic-bezier(.22,.9,.31,1);
  box-shadow: 0 30px 60px rgba(11,15,35,0.18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 22px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mobile-inner { display:flex; flex-direction:column; gap:18px; }
.mobile-close {
  background: transparent;
  border: none;
  font-size: 34px;
  line-height: 1;
  align-self: flex-end;
  cursor: pointer;
}

/* mobile links */
.mobile-links { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 8px; }
.mobile-links a { text-decoration: none; color: #111827; font-weight: 700; padding: 10px 6px; display:block; border-radius:8px; }
.mobile-links a:hover { background: rgba(15,23,42,0.04); }

/* action buttons */
.mobile-actions { display:flex; flex-direction:column; gap:10px; }
.btn-mobile { display:block; text-align:center; padding:10px 14px; border-radius:10px; text-decoration:none; color:#fff; background: linear-gradient(90deg,#4f46e5,#6366f1); }

/* lock body scroll when open */
body.mobile-open { overflow: hidden; }

/* hide desktop nav links and show toggle on mobile (adjust breakpoints as needed) */
@media (max-width: 992px) {
  #navToggle { display: flex; align-items:center; justify-content:center; }
  .nav-bar .bg-glass { width: 92%; }
  .nav-bar .nav-nav { display: none; } /* hide desktop nav */
  .nav-bar .buttons-log { display: none; }
}

/* ensure desktop keeps original layout */
@media (min-width: 993px) {
  .mobile-menu, .nav-overlay { display: none !important; }
}

/* --- 1️⃣ Pantallas grandes / laptops medianas --- */
@media (max-width: 1200px) {
  .nav-bar .bg-glass {
    width: 85%;
  }

  .header .content {
    width: 70%;
  }

  #about .video-presentation {
    width: 70%;
  }

  #line .world-content {
    gap: 8rem;
  }

  #courses .course {
    width: 45%;
  }

  footer .navigation {
    gap: 80px;
  }
}

/* --- 2️⃣ Tablets horizontales / pantallas medianas --- */
@media (max-width: 992px) {
  /* NAV */
  .nav-bar .bg-glass {
    flex-direction: column;
    gap: 10px;
    width: 90%;
  }

  .nav-bar .nav-nav {
    gap: 25px;
  }

  /* HEADER */
  .header {
    flex-direction: column;
    text-align: center;
  }

  .header .content {
    width: 85%;
  }

  .header #happy-reaction-head,
  .header #shy-reaction-head {
    width: 12%;
  }

  .header .content .buttons {
    width: 80%;
  }

  /* ABOUT */
  #about .video-presentation {
    width: 80%;
  }

  /* LINE SECTION */
  #line .title {
    font-size: 45px;
    text-align: center;
  }

  #line .world-content {
    flex-direction: column;
    gap: 4rem;
  }

  #line .world-content .world,
  #line .world-content .data {
    width: 80%;
    text-align: center;
  }

  .world-content .path {
    position: relative;
    width: 80%;
    top: 0;
  }

  /* COURSES */
  #courses .title {
    font-size: 45px;
    text-align: center;
  }

  #courses .course {
    width: 80%;
    flex-direction: column;
  }

  #courses .course .image,
  #courses .course .data {
    width: 80%;
    text-align: center;
  }

  /* LANGS */
  #langs .lang, #langs .lang2 {
    font-size: 40px;
    gap: 25px;
  }

  footer {
    padding: 60px;
  }

  footer .navigation {
    gap: 60px;
  }

  footer .idiomas {
    width: 90%;
  }
}

/* --- 3️⃣ Tablets verticales / móviles grandes --- */
@media (max-width: 768px) {
  .nav-bar {
    padding: 15px;
  }

  .nav-bar .nav-nav {
    display: none; /* puedes cambiarlo por un menú hamburguesa */
  }

  .header .content .logo {
    width: 100%;
  }

  .header .content .buttons {
    flex-direction: column;
    width: 100%;
  }

  .header .content .buttons input,
  .header .content .buttons button {
    width: 100%;
  }

  #about .video-presentation {
    width: 90%;
  }

  #line .title {
    font-size: 34px;
  }

  #line .world-content .data .title {
    font-size: 22px;
  }

  #line .world-content .data span {
    font-size: 15px;
  }

  #courses .course .data .title {
    font-size: 28px;
  }

  #courses .course .data p {
    font-size: 16px;
  }

  #langs .lang, #langs .lang2 {
    font-size: 28px;
    gap: 15px;
  }

  footer {
    padding: 40px;
  }

  footer .navigation {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  footer .navigation ul {
    align-items: center;
    text-align: center;
  }
}

/* --- 4️⃣ Móviles pequeños / ≤480px --- */
@media (max-width: 480px) {
  .nav-bar .logo img {
    width: 70px;
  }

  .header .content {
    width: 95%;
  }

  .header .content .buttons {
    width: 100%;
  }

  .header #happy-reaction-head,
  .header #shy-reaction-head {
    display: none;
  }

  .slogan h1 {
    font-size: 20px;
    line-height: 1.3em;
  }

  #about {
    padding: 10px;
  }

  #line .title,
  #courses .title {
    font-size: 26px;
  }

  #line .world-content .data,
  #line .world-content .world {
    width: 95%;
  }

  #line .world-content .data .title {
    font-size: 18px;
  }

  .world-content .path {
    display: none;
  }

  #courses .course {
    width: 95%;
  }

  #courses .course .data .title {
    font-size: 22px;
  }

  #courses .course .data p {
    font-size: 14px;
  }

  #langs .lang, #langs .lang2 {
    font-size: 20px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  footer {
    padding: 30px 15px;
  }

  footer .idiomas span {
    text-align: center;
  }

  footer .idiomas ul {
    justify-content: center;
  }

  footer .navigation ul span {
    font-size: 18px;
  }

  footer .navigation ul li a {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  #pre-footer .title {
    font-size: 28px;
    line-height: 1.3em;
  }

}

@media (max-width: 480px) {

  #pre-footer .title {
    font-size: 22px;
    line-height: 1.4em;
  }
}

