* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow: hidden;
    height: 100%;
    width: 100%;
    color : #0b1d30;
    background-color: #0b1d30;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #0b1d30;
}

.container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    height: 100vh;
    background-color: #0b1d30;
}

.sidebar {
    width: 30%;
    background-color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.logo-container {
    text-align: center;
    padding: 20px 0 50px;
}

.logo {
    max-width: 250px;
}

        .social-icons {
            display: flex;
            flex-direction: column;
            position: absolute;
            bottom: 40px;
            left: 40%;
        }
        
        .social-icon {
            width: 80px;
            height: 80px;
            background-color: #0b1d30;
            color: white;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
.content {
    width: 70%;
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: #f5f5f5;
}

.carousel {
    height: 100%;
    width: 100%;
    background-color: #1c3860;
}

.carousel-inner {
    height: 100%;
    width: 100%;
}

.carousel-item {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    overflow-y: auto;
}

.profile-image-container {
    width: 40%;
    height: 40%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bio-container {
    background-color: #1c3860;
    color: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    max-height: calc(100vh - 430px); /* Altura ajustada para que quepa en la pantalla */
    overflow-y: auto; /* Permite scroll vertical si el contenido es muy largo */
    max-height: 320px;
}

.bio-title {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 15px;
    text-align: center;
}

.bio-text {
    font-family: 'Courier New', Courier, monospace;
    color: white;
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
}

.footer {
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 12px;
    color: #333;
    z-index: 10;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 10px;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 1.5s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    padding: 5px 10px;
}

.mobile-menu-btn {
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .sidebar.open {
        transform: translateY(0);
    }
    
    .content {
        width: 100%;
        height: 100vh;
        padding-top: 60px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .social-icons {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
    }
    
    .social-icon {
        margin: 0 5px;
    }
    
    .logo-container {
        padding: 10px 0 20px;
    }
    
    .carousel-item {
        padding: 20px;
    }
    
    .profile-image-container {
        width: 250px;
        height: 250px;
    }
    
    .bio-container {
        padding: 20px;
        max-height: calc(100vh - 380px);
    }
}

@media (max-width: 576px) {
    .profile-image-container {
        width: 200px;
        height: 200px;
    }
    
    .bio-title {
        font-size: 22px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .bio-container {
        max-height: calc(100vh - 330px);
    }
}