
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Estilos generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


header {
    background-color: #6ca0dc; 
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 15px;
}

.school-info {
    display: flex;
    flex-direction: column;
}

.school-type {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 5px;
}

.school-name-container {
    display: flex;
    align-items: baseline;
}

.school-info h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #1336d6;
    font-size: 2rem;
    margin-right: 15px; 
}

.school-motto {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #ffff99; 
    font-size: 1.2rem;
    white-space: nowrap; 
}

/* Estilos del menú de navegación */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-family: 'Lobster', cursive;
    text-decoration: none;
    color: white;
    font-weight: 700;
    padding: 10px;
}

nav ul li a:hover {
    background-color: #3380ff; 
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #3380ff; 
    top: 100%;
    left: 0;
    min-width: 150px;
    z-index: 1;
}

.dropdown-content li {
    display: block;
}

.dropdown-content li a {
    padding: 10px;
    color: white;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.whatsapp-icon {
    width: 20px;
    height: auto; 
    vertical-align: middle;
    margin-right: 8px; 
}



/* Sección de Agenda */
.agenda-section {
    padding: 3rem;
    max-width: 800px;
    margin: 2rem auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.agenda-section h2 {
    text-align: center;
    color: #2D3748;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Estilo de los eventos */
.agenda {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.agenda-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background-color: #EDF2F7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.agenda-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Fecha */
.agenda-date {
    text-align: center;
    padding: 0.5rem;
    margin-right: 1.5rem;
    background-color: #2D3748;
    color: #ffffff;
    border-radius: 8px;
    width: 60px;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agenda-date .day {
    font-size: 1.8rem;
}

.agenda-date .month {
    font-size: 1rem;
}

/* Detalles del evento */
.agenda-details {
    flex: 1;
}

.event-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2D3748;
}

.event-day {
    color: #718096;
    font-size: 0.9rem;
}
footer {
    background-color: #64a2e0; 
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-info {
    max-width: 800px;
    margin: 0 auto;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
}

.social-links img {
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    object-fit: cover; 
}

.social-links a:hover img {
    opacity: 0.8; 
}
/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }

    nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #6ca0dc;
    }

    nav .nav-links.open {
        display: flex;
    }

    nav .nav-links li {
        width: 100%;
        text-align: center;
    }
}



@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0; 
        left: -100%; 
        width: 40%;
        height: 100%;
        background-color: #6ca0dc; 
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 20px; 
        padding-left: 15px; 
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3); 
    }

    nav.active {
        left: 0; 
        padding-top: 50px; 
    }

    .menu-toggle {
        margin-top: 10px; 
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        flex-direction: column;
    }
}

@media (min-width: 769px) {
    nav {
        position: static; 
        width: auto;
        height: auto;
        background-color: transparent; 
    }

    nav ul {
        flex-direction: row; 
        justify-content: flex-end; 
        gap: 20px;
    }

    nav ul li {
        display: inline-block; 
    }

    nav ul li a {
        padding: 10px 15px; 
        color: white;
    }

    nav ul li a:hover {
        background-color: #3380ff;
        border-radius: 5px;
    }

    
    .menu-toggle {
        display: none;
    }
}


.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001; 
}

.menu-toggle .bar {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav ul {
        flex-direction: column;
    }
}