body {
    background-color: #252525;
    color: #ffffff;
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    min-height: 100vh;
    box-sizing: border-box;
}

.menu-bar {
    width: 100%;
    max-width: 1200px;
    background-color: #efe5db;
    border-radius: 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.menu-bar .logo {
    height: 2.8rem;
    width: auto;
}

.menu-nav {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    justify-content: center;
}

.menu-item {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #76070d;
    text-decoration: none;
    text-shadow: -0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-0.25rem);
}

.main-content {
    display: flex;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
}

.left-square {
    background-color: #efe5db;
    border-radius: 1.5rem;
    padding: 2rem;
    width: fit-content;
    min-width: 250px;
}

h1 {
    font-family: 'League Spartan', sans-serif;
    font-weight: 600;
    color: #76070d;
    font-size: 7rem;
    text-shadow: -0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    margin: 0 0 1rem 0;
    line-height: 1;
}

.subtitle {
    font-family: 'Kumbh Sans', sans-serif;
    text-align: left;
    color: #252525;
    font-size: 0.9rem;
    line-height: 1.4;
}

.right-square {
    background-color: #efe5db;
    border-radius: 1.5rem;
    padding: 2rem;
    flex: 1;
    position: relative;
}

.right-square ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.right-square::after {
    content: 'Integrantes';
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-family: 'League Spartan', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #76070d;
    text-shadow: -0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

.image-container {
    width: 5.5rem;
    height: 6.6rem;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}

.color1 { background-color: #76070d; }
.color1-text { color: #4b0509; }
.color2 { background-color: #ffecaa; }
.color2-text { color: #998d62; }
.color3 { background-color: #4f6815; }
.color3-text { color: #34440d; }
.color4 { background-color: #afa7e0; }
.color4-text { color: #726c92; }
.color5 { background-color: #efe5db; }
.color5-text { color: #252525; }

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

ul li a:hover .image-container img {
    opacity: 1;
}

.caption {
    display: block;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 5.5rem;
    text-align: center;
}

ul li a:hover .caption {
    opacity: 1;
    transform: translateY(0);
}

.name {
    display: block;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.2;
    text-align: center;
}

.title {
    display: block;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 0.7rem;
    text-align: center;
}

.empty-square {
    width: 100%;
    max-width: 1200px;
    background-color: #efe5db;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}




.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: left;
    flex: 1;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 0.8rem;
    color: #252525;
}

.highlight-text {
    color: #76070d;
    text-shadow: -0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    font-weight: 500;
    line-height: 1.4;
}

.info-column {
    flex: 1;
    padding-left: 2rem;
}

.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background-color: #8b0000;
    transition: width 0.2s ease-out;
    z-index: 1000;
}

.fixed-info-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.4;
    z-index: 999;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    body {
        padding: 1rem;
        gap: 2rem;
    }

    .menu-bar {
        height: auto;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .menu-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .menu-item {
        font-size: 1.2rem;
    }

    .empty-square {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 5rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .menu-bar .logo {
        height: 2rem;
    }

    .menu-item {
        font-size: 1rem;
    }

    .fixed-info-bar {
        font-size: 0.7rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
        gap: 1rem;
    }

    .menu-bar {
        border-radius: 1rem;
        padding: 0.75rem;
    }

    .empty-square {
        padding: 1rem;
        border-radius: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    .image-container {
        width: 4.5rem;
        height: 5.4rem;
    }

    .name {
        font-size: 0.8rem;
    }

    .title {
        font-size: 0.6rem;
    }

    .fixed-info-bar {
        padding: 0.5rem;
    }
}