@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');


/* Estilos generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Estilos del header */
header {
    background-color: #6ca0dc;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.doc {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2em;
    color: #007bff;
}

/* Estilos para la sección de archivos de admisión */
.admission-files {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 20px;
}

.file-container {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    width: 80%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.file-container h2 {
    font-size: 1.2em;
    color: #007bff;
    margin-bottom: 10px;
}

.file-container a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #007bff;
    font-size: 1em;
    padding: 10px 15px;
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.file-container a:hover {
    background-color: #007bff;
    color: white;
}

.file-container img {
    width: 30px;
    margin-right: 10px;
}

.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;
}
/* Media queries para móviles */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        text-align: center;
    }

    .nav-links li {
        margin: 10px 0;
    }
}



@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .logo img {
        width: 80px; 
    }
}

/* Estilos del footer */
footer {
    background-color: #64a2e0; 
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Estilos para los enlaces de redes sociales */
.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; 
    transition: opacity 0.3s ease;
}

.social-links a:hover img {
    opacity: 0.8; 
}
.whatsapp-icon {
    width: 20px;
    height: auto; 
    vertical-align: middle;
    margin-right: 8px; 
}


a {
    color: gray;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.buttons {
    margin-top: 20px;
}

.button {
    display: inline-block;
    background-color: #d9eaff;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 10px;
    border: 1px solid #b0c4de;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #b0d4ff;
}


@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: 20%;
        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;
    }
}