/* Variables de color */
:root {
    --primary-color: #5D4037; /* Color marrón para elementos de madera */
    --secondary-color: #A1887F; /* Marrón claro para contraste */
    --background-color: #ECEFF1; /* Fondo claro similar a una oficina */
    --text-color: #3E2723; /* Texto en marrón oscuro */
    --card-bg-color: #FFFFFF; /* Fondo de tarjetas */
    --shadow-color: rgba(0, 0, 0, 0.1);
    --highlight-color: rgba(255, 255, 255, 0.7);
}

/* Estilos generales */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('/Images/office-background.jpg'); /* Fondo estático de oficina */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow-x: hidden;
}

/* Contenedores con imágenes a la derecha */
.content-with-image {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.text-content {
    width: 60%;
}

.content-with-image img {
    width: 35%;
    max-width: 400px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.7);
}

/* Imagen del KanbanBoard ahora más grande */
.header-image-large {
    display: block;
    margin: 20px auto;
    width: 100%;
    max-width: 1000px;
    object-fit: contain;
    height: auto;
    border-radius: 15px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.7);
}

/* Imagen de habilidades más pequeña */
.skills-image-small {
    width: 10% !important; /* Fuerza el tamaño al 10% */
    max-width: 150px !important; /* Fuerza un tamaño máximo */
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.7);
    margin: 20px 0;
}

/* Otros estilos ya presentes en tu código... */

/* Contenedor principal */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Títulos */
h1, h2, h3 {
    font-family: 'KG Tangled Regular', sans-serif;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

p {
    font-size: 1.2em;
    text-align: left;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto 20px auto;
}

/* Estilos neomórficos para contenedores */
.neumorphic {
    background: var(--card-bg-color);
    border-radius: 15px;
    box-shadow: 8px 8px 16px var(--shadow-color),
                -8px -8px 16px var(--highlight-color);
    padding: 30px;
    margin: 40px 0;
}

/* Imágenes y vídeos principales */
.header-image, video {
    display: block;
    margin: 20px auto;
    width: 100%;
    max-width: 800px;
    object-fit: contain;
    height: auto;
    border-radius: 15px;
    box-shadow: 8px 8px 16px var(--shadow-color),
                -8px -8px 16px var(--highlight-color);
}

/* Imágenes en hstack */
.hstack-images {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hstack-images img {
    width: 45%;
    max-width: 100%;
    object-fit: contain;
    height: auto;
    border-radius: 15px;
    box-shadow: 8px 8px 16px var(--shadow-color),
                -8px -8px 16px var(--highlight-color);
}

/* Contenedor alineado a la izquierda */
.left-align-container {
    background: var(--card-bg-color);
    color: var(--text-color);
    padding: 30px;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 8px 8px 16px var(--shadow-color),
                -8px -8px 16px var(--highlight-color);
}

.left-align-container h2, .left-align-container h3 {
    text-align: left;
    margin-top: 30px;
}

.left-align-container p {
    text-align: left;
    margin: 10px 0 20px 0;
}

.left-align-container ul {
    margin-left: 20px;
}

/* Estilos para imágenes especiales */
.warning-image, .skills-image, .running-sprints-image {
    display: block;
    margin: 40px auto;
    width: 100%;
    max-width: 600px;
    object-fit: contain;
    height: auto;
    border-radius: 15px;
    box-shadow: 8px 8px 16px var(--shadow-color),
                -8px -8px 16px var(--highlight-color);
}

/* Botón de atrás */
.back-button-container {
    position: fixed;
    top: 20px;
    left: 20px;
}

.back-btn {
    background: var(--card-bg-color);
    color: var(--text-color);
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 4px 4px 8px var(--shadow-color),
                -4px -4px 8px var(--highlight-color);
    text-transform: uppercase;
}

.back-btn i {
    font-size: 16px;
}

.back-btn:hover {
    box-shadow: inset 4px 4px 8px var(--shadow-color),
                inset -4px -4px 8px var(--highlight-color);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .hstack-images {
        flex-direction: column;
    }

    .hstack-images img {
        width: 100%;
    }
}

/* Imágenes alineadas horizontalmente ocupando la mitad del ancho */
.half-width-image {
    width: 48%; /* Ocupan el 48% del ancho para dejar un pequeño margen entre ambas */
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.7);
}

/* Aseguramos que las imágenes se alineen en una fila y mantengan espacio entre sí */
.hstack-images {
    display: flex;
    justify-content: space-between; /* Deja espacio entre las imágenes */
    align-items: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .hstack-images {
        flex-direction: column;
    }

    .half-width-image {
        width: 100%; /* En pantallas pequeñas, ocupan el 100% del ancho */
        margin-bottom: 20px; /* Añadimos espacio entre las imágenes */
    }
}

/* Imágenes alineadas horizontalmente ocupando la mitad del ancho */
.half-width-image {
    width: 48%; /* Ocupan el 48% del ancho */
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.7);
}

/* Aseguramos que las imágenes se alineen en una fila y mantengan espacio entre sí */
.hstack-images {
    display: flex;
    justify-content: center; /* Centrar imagen */
    align-items: center;
    margin-top: 20px;
}

/* Imágenes alineadas horizontalmente ocupando la mitad del ancho */
.half-width-image {
    width: 48%; /* Ocupan el 48% del ancho */
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.7);
}

/* Aseguramos que las imágenes se alineen en una fila y mantengan espacio entre sí */
.hstack-images {
    display: flex;
    justify-content: center; /* Centrar imagen */
    align-items: center;
    margin-top: 20px;
}
