/* Right bio text styling */
.bio {
    position: absolute;
    top: 14%;
    right: 2%;
    color: white;
    /* Responsive font sizing using viewport units to prevent crossing lines */
    font-size: clamp(0.7rem, 0.9vw, 0.9rem);
    font-family: var(--app-font-family, Arial, Helvetica, sans-serif);
    max-width: 400px;
    text-align: right;
    line-height: 1.5;
    animation: fadeSlideUp 1s ease forwards;
    animation-delay: 1.7s;
    opacity: 0;
    /* Ensure text doesn't extend beyond the line at 20% */
    /* With top at 14% and line-height 1.5, ensure content fits in ~5% space */
}

/* Left bio text styling */
.bio-left {
    position: absolute;
    top: 39%;
    left: 2%;
    color: white;
    /* Responsive font sizing using viewport units to prevent crossing lines */
    font-size: clamp(0.7rem, 0.9vw, 0.9rem);
    font-family: var(--app-font-family, Arial, Helvetica, sans-serif);
    max-width: 400px;
    text-align: left;
    line-height: 1.5;
    animation: fadeSlideUp 1s ease forwards;
    animation-delay: 1.7s;
    opacity: 0;
    /* Ensure text doesn't extend beyond the line at 45% */
    /* With top at 39% and line-height 1.5, ensure content fits in ~5% space */
}

/* Responsive adjustments for bio text */
@media (max-height: 600px) {
    .bio,
    .bio-left {
        font-size: clamp(0.6rem, 0.8vw, 0.8rem);
    }
}

@media (max-height: 500px) {
    .bio,
    .bio-left {
        font-size: clamp(0.5rem, 0.7vw, 0.7rem);
    }
}

/* On very small viewports, reduce font size further */
@media (max-height: 400px) {
    .bio,
    .bio-left {
        font-size: clamp(0.45rem, 0.6vw, 0.6rem);
        line-height: 1.3;
    }
}
