* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f8f8f8;
    min-height: 100vh;
}
img{
    max-width:100%;
    height:auto;
}
/* COMIENZA NAV */
/* NAVBAR BASE */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.6);
}

/* LOGO */
.navbar-left img {
    width: 45px;
    transition: 0.4s;
}

.navbar-left img:hover {
    transform: scale(1.1) rotate(10deg);
}

/* LINKS */
.navbar-botones {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar-botones li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px;
}

/* EFECTO SUBRAYADO */
.navbar-botones li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: red;
    left: 0;
    bottom: 0;
    transition: 0.3s;
}

.navbar-botones li a:hover::after {
    width: 100%;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .navbar-right {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(10px);
        max-height: 0;
        overflow: hidden;
        transition: 0.4s ease;
    }

    .navbar-right.active {
        max-height: 300px;
    }

    .navbar-botones {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .navbar-botones li {
        margin: 10px 0;
    }
}
/* TERMINA NAV */

.historia-esc h1{
    margin-top: 2vh;
    margin-bottom: 5vh;
    padding-top: 5rem;
    text-align: center;
    color: hsl(0, 84%, 66%);
    
}

.texto-his p{
    text-indent: 20px;
    text-align: justify;
}


.texto-his-local,
.texto-his-nacional {
    text-align: justify;
    text-indent: 20px;
    max-width: 800px;
    margin-left: 10px;
    padding: 0 15px;
}

.historia-esc h2{
    font-family: 'Poppins', sans-serif;
    text-align: left;
    margin-right: 1rem;
    color: hsl(0, 0%, 100%);
    background-color:#e10600;
    padding: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5); 
    border-radius: 0 10px 10px 0;
}

/* COMIENZA CONTENIDO */
.contenido-intro{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.contenido-intro img{
    width: 300px;
    margin-left: 1rem;
    border-radius: 4px;
}

.contenido-intro .texto-his{
    max-width: 600px;
}
/* TERMINA CONTENIDO */

/* FOOTER */

.footer{
    background: #1f1f1f;
    color: white;
    margin-top: 60px;
}

.footer-contenido{
    max-width: 1200px;
    margin: auto;
    display :grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); /* Genera columnas automáticas que se adaptan al ancho de la pantalla */
    gap: 40px;
    padding: 40px 20px;
}

.footer-col h3{
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col p{
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col ul{
    list-style: none;
    padding: 0;
}

.footer-col ul li{
    margin-bottom: 8px;
}
 
.footer-col ul li a{
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}

.footer-col ul li a:hover{
    color: #e10600;
}

.redes a{
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 6px;
}

.redes a:hover{
    color:#e10600;
}

.footer-bottom{
    text-align: center;
    padding: 15px;
    background: #111;
    font-size: 14px;
}
/* RESPONSIVE */

@media (max-width:800px){

.contenido-intro{
    flex-direction:column;
    align-items:center;
}
/* imagen arriba, texto abajo */

.contenido-intro img{
    width:90%;
}
/* imagen más grande */

.texto-his{
    max-width:90%;
}
/* texto ocupa mejor el espacio */

}
@media (max-width: 600px) {
    .texto-his {
        padding: 0 12px;
    }
}