/* clases-online.css */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
}

header {
    background-color: #ea5898;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.title img {
    height: 50px;
}

.navbar {
    flex-grow: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: #5bb9eb;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #5bb9eb;
    z-index: 1;
    min-width: 180px;
}

.dropdown-content a {
    color: white;
    padding: 0.5rem 1rem;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

main.contenido {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.texto-con-imagen {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.texto-con-imagen .texto {
    flex: 1 1 60%;
}

.texto-con-imagen .imagen {
    flex: 1 1 35%;
}

.texto-con-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #ea5898;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

h2 {
    color: #5bb9eb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
    .texto-con-imagen {
        flex-direction: column;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #ea5898;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
    }
}
.contacto {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #efed3f;
    border-radius: 12px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contacto h3 {
    margin-bottom: 1rem;
    color: #ea5898;
    font-size: 1.2rem;
}

.contacto a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-wpp {
    background-color: #25d366;
    color: white;
}

.btn-gmail {
    background-color: #ea4335;
    color: white;
}

.contacto a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}
.footer {
    background-color: #5bb9eb;
    padding: 2rem 1rem;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    border-top: 4px solid #ea5898;
    margin-top: 3rem;
  }
  
  .footer-content {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .footer p {
    margin-bottom: 1rem;
    font-size: 1rem;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
  }
  
  .social-icons a {
    color: white;
    font-size: 1.6rem;
    transition: transform 0.3s, color 0.3s;
  }
  
  .social-icons a:hover {
    transform: scale(1.2);
  }
  
  .whatsapp:hover {
    color: #25d366;
  }
  
  .instagram:hover {
    color: #e1306c;
  }
  
  .facebook:hover {
    color: #1877f2;
  }
  .youtube:hover {
    color: #ff0000;
  }
  
  @media (max-width: 768px) {
    .footer p {
      font-size: 0.9rem;
    }
  
    .social-icons a {
      font-size: 1.4rem;
    }
  }
  header {
    background-color: #00c2f2;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1000;
  }
  
  .title img {
    max-height: 60px;
  }
  
  .navbar {
    width: 100%;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  
  .nav-links li {
    position: relative;
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  .nav-links a:hover {
    background-color: #ea5898;
    transform: scale(1.05);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ea5898;
    width: 200px;
    top: 100%;
    left: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content a {
    color: white;
    padding: 0.75rem 1rem;
    text-align: left;
  }
  
  .dropdown-content a:hover {
    background-color: #efed3f;
    color: #333;
  }
  
  /* Botón hamburguesa */
  .menu-toggle {
    display: none;
    cursor: pointer;
    background: #ea5898;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-top: 10px;
  }
  
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fdf6f6;
    transition: all 0.3s ease-in-out;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      position: absolute;
      top: 10px;
      right: 20px;
      z-index: 1001;
    }
  
    .nav-links {
      flex-direction: column;
      align-items: center;
      background-color: #5bb9eb;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      display: none;
      padding-bottom: 1rem;
      text-align: center;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links li {
      margin: 10px 0;
      width: 100%;
    }
  
    .dropdown-content {
      display: none;
      flex-direction: column;
      background-color: #ea5898;
      width: 100%;
      box-shadow: none;
      border-radius: 0;
      position: relative;
    }
  
    .dropdown.active .dropdown-content {
      display: flex;
    }
  
    .dropdown .dropbtn::after {
      content: " ▼";
    }
  }
  