@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: transparent;
    color: white;
    overflow-x: hidden;
}

.about-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.content-wrapper, .blog-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: transparent;
    text-align: center; /* Center align the content */
}

h1, h2 {
    text-align: center;
    color: #ffffff;
}

h1 {
    font-size: 3em; /* Reduced from 4em */
    margin-bottom: 30px;
}

h2 {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: justify; /* Justifica todo el texto */
    -webkit-hyphens: auto; /* Añade guiones automáticos en Safari */
    -ms-hyphens: auto; /* Añade guiones automáticos en IE */
    hyphens: auto; /* Añade guiones automáticos para palabras largas */
    word-spacing: normal; /* Espaciado normal entre palabras */
    word-wrap: break-word; /* Permite la ruptura de palabras largas */
    overflow-wrap: break-word; /* Previene el desbordamiento del texto */
}


.khaos-image, .blog-post img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto 30px;
    border-radius: 10px;
}

.section, .blog-post {
    background-color: transparent;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.menu-icon {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 1000;
}

.menu-icon div {
    width: 35px;
    height: 5px;
    background-color: #ffffff;
    margin: 6px 0;
    transition: 0.4s;
}

/* Estilos del overlay (no transparente) */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

.blog-post h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.blog-post .image-container {
    display: flex;
    justify-content: center; /* Center the images */
    flex-wrap: wrap;
}

.blog-post .image-container img {
    flex: 1 1 300px;
    margin: 10px;
    max-width: calc(50% - 20px);
}

.objectives-list {
    list-style-type: none;
    padding-left: 20px;
}

.objectives-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.objectives-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
}


/* Ajustes generales para listas */
ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem; /* Aumenta el sangrado para mayor claridad */
    list-style-position: outside; /* Asegura que los bullets estén alineados */
    line-height: 1.6; /* Espaciado entre líneas */
}

/* Ajustes para elementos de lista */
li {
    margin-bottom: 0.5rem; /* Espacio entre elementos de lista */
}

/* Ajustes para texto en negrita dentro de listas */
li strong {
    font-weight: bold;
    color: #ffffff; /* Ajusta el color si es necesario */
}


@media (max-width: 600px) {
    h1 {
        font-size: 2em; /* Further reduced for mobile devices */
    }

    .blog-post h1 {
        font-size: 1.8em; /* Adjusted for consistency */
    }

    .blog-post .image-container img {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


