.historia-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.titulo {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
}

.descripcion {
    text-align: justify;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.5;
}

.subtitulo {
    border-left: 9px solid rgb(241, 33, 33);
    font-size: 22px;
    font-weight: bold;
    background-color: #026937;
    color: white;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: inline-block; /* Asegura que el fondo solo cubra el texto y su padding */
}


.timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.evento {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    text-align: center;
    padding: 15px;

}

.año {
    font-size: 18px;
    font-weight: bold;
    color: #026937;
    margin-bottom: 10px;
}

.recuadro {
    width: 150px;
    height: 100px;
    margin-bottom: 10px;
}

.evento p {
    font-size: 14px;
    color: #555;
}

.mensaje-final {
    font-size: 16px;
    font-weight: bold;
    color: #026937;
    margin-top: 30px;
    padding: 10px;

    border-radius: 5px;
}

.vision-mision {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.vision, .mision {
    flex: 1;
    padding: 20px;
    text-align: center;

}

.vision h2, .mision h2 {
    font-size: 18px;
    color: #026937;
    margin-bottom: 10px;
}

.vision p, .mision p {
    font-size: 14px;
    color: #555;
    text-align: justify;
}
.mision{
    border-left: 4px solid rgb(201, 5, 5);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        align-items: center;
    }

    .evento {
        width: 100%;
    }

    .vision-mision {
        flex-direction: column;
    }
}


.evento-destacado img {
    width: 120%; /* Aumenta el tamaño de la imagen */
    max-width: 400px; /* Evita que crezca demasiado */
    transition: transform 0.3s ease-in-out;
}

.evento-destacado img:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
}

@media (max-width: 768px) {
    .evento-destacado img {
        width: 100%;
        max-width: none;
    }
}


.evento2 img {
    width: 108%; /* Aumenta el tamaño de la imagen */
    max-width: 350px; /* Evita que crezca demasiado */
    transition: transform 0.3s ease-in-out;
}

.evento2 img:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
}

@media (max-width: 768px) {
    .evento2 img {
        width: 100%;
        max-width: none;
    }
}

.linea {
    border-right: 4px solid red;
    border-bottom: 4px solid red;
    border-bottom-right-radius: 30px; /* Ajusta según necesites */
    padding-right: 30px; /* Para separarlo del contenido */
    margin-right: 20px; /* Para separarlo de la imagen */
}

.linea-izquierda {
    border-left: 4px solid red;  
    border-bottom: 4px solid red;
    padding-left: 10px;
    padding-bottom: 7px;
    margin-left: 4px; /* Separación de la línea izquierda */
    position: relative;
}

.linea-izquierda::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Ajusta según necesidad */
    left: -5px; /* Ajusta según necesidad */
    width: 15px;
    height: 15px;
    background-color: whitesmoke; /* Color del fondo para cortar la línea */
}


  .float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    animation: pulse-animation 2s infinite; /* Añadido para la animación de pulso */
}

.float:hover {
    text-decoration: none;
    color: #FFF;
    background-color: #1ab152;
    animation: shake 1s infinite; /* Se aplicará la animación de sacudida al pasar el ratón */
}

.my-float {
    margin-top: 16px;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(5px); }
    50% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}