/* Updated about.css */
/* Content-specific styles only */
body, html {
    overflow-x: hidden;
    overflow-y: auto;
}

.about-title {
    position: relative;
    top: -20px; /* Moved another 50px higher from previous 30px */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-size: 50px;
    font-weight: 700;
    color: #333333; 
    letter-spacing: 6px;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Intel One Mono', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin: 0;
}

.about-container {
    padding: 90px 40px 0 40px; /* Adjusted top padding to match archive */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 50;
    min-height: calc(100vh - 150px); /* Match archive container */
}

/* This container is now removed from HTML structure */

/* Text content styling */
.content-text {
    background: rgba(218, 218, 218, 0.95); /* Slightly more transparent */
    padding: 30px 60px; /* Match archive table padding */
    border-radius: 12px;
    box-shadow: 
        0 0 0 3px #333333,
        0 0 0 6px #ffffff,
        0 0 0 9px #666666,
        0 8px 25px rgba(0, 0, 0, 0.15);
    line-height: 1.7; /* Slightly tighter line height */
    font-size: 15px; /* Slightly smaller font */
    color: #333333;
    text-align: justify;
    backdrop-filter: blur(5px);
    width: 100%;
    max-height: 70vh; /* Limit height */
    overflow-y: auto; /* Add scroll if needed */
    margin-top: 40px; /* Match archive table margin-top */
    margin-bottom: 60px; /* Match archive table margin-bottom */
}

.content-text h1 {
    font-size: 26px; /* Slightly smaller */
    font-weight: 700;
    color: #222222;
    margin-bottom: 25px; /* Reduced margin */
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.content-text p {
    margin-bottom: 18px; /* Reduced margin */
}

.content-text ul {
    margin-bottom: 18px;
}

.content-text li {
    margin-bottom: 12px;
}

/* Custom scrollbar for content */
.content-text::-webkit-scrollbar {
    width: 6px;
}

.content-text::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.content-text::-webkit-scrollbar-thumb {
    background: rgba(51, 51, 51, 0.6);
    border-radius: 3px;
}

.content-text::-webkit-scrollbar-thumb:hover {
    background: rgba(51, 51, 51, 0.8);
}

/* Responsive adjustments for content */
/* Lenovo Tab M10 Plus 3rd Gen optimization */
@media (min-width: 601px) and (max-width: 768px) {
    .about-title {
        top: -25px;
        font-size: 45px;
        letter-spacing: 4px;
    }
    
    .about-container {
        padding: 100px 30px 80px 30px;
    }
    
    .content-text {
        padding: 25px 40px;
        margin-top: 35px;
        margin-bottom: 50px;
    }
    
    .content-text h1 {
        font-size: 22px;
    }
}

/* Mobile phone sizes */
@media (max-width: 600px) {
    .background-svg {
        background-image: url('../img/mobile.png');
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .about-title {
        top: -30px; /* Moved another 50px higher from previous 20px */
        font-size: 40px;
        letter-spacing: 3px;
    }
    
    .about-container {
        padding: 110px 20px 100px 20px; /* Match archive container mobile padding */
        min-height: calc(100vh - 100px); /* Match archive container mobile height */
    }
    
    /* Content container no longer exists */
    
    .content-text {
        padding: 20px 25px; /* Match archive table mobile padding */
        margin-top: 30px; /* Match archive table mobile margin */
        max-height: none;
        overflow-y: visible;
    }
}