* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {font-family: Arial, sans-serif;}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(60, 78, 114);
    color: white;
    padding: 15px 70px;
    position: relative;
    width: 100%;
}
.logo {
    font-size: 20px;
    color: white; /* Color del logo */
}
.nav {display: flex; /* Mostrar el menú siempre */}
.nav ul {
    display: flex;
    list-style: none;
    padding: 0;
}
.nav ul li {margin: 10px 15px;}
.nav ul li a {
    color: white; /* Color de los enlaces */
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
}
.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    display: none; /* Ocultar el botón en pantallas grandes */
}


.blog-section {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
}
h1 {text-align: center;}
.main-image {
    width: 100%;
    height: 340px;
}
p {line-height: 1.6;}
.image-text-left, .image-text-right {
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.image-text-left .text-content, .image-text-right .text-content {margin-left: 20px;}
.image-text-right {flex-direction: row-reverse;}
.side-image {
    width: 200px;
    height: auto;
    border-radius: 8px;
}
/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 60px; /* Ajustar según la altura del header */
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: #333;


        padding: 20px;
        display: flex; /* Ocultar el menú por defecto */
        transform: translateX(-100%); /* Ocultar el menú fuera de la vista */
        transition: transform 0.3s ease;
    }

    .nav.active {
        display: flex; /* Mostrar el menú */
        transform: translateX(0); /* Mostrar el menú */
    }

    .menu-toggle {
        display: block; /* Mostrar el botón en pantallas pequeñas */
    }
    .nav ul{flex-direction: column;}


    .image-text-left, .image-text-right {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-text-left .text-content, .image-text-right .text-content {
        margin-left: 0;
        margin-top: 10px;
    }
}