/* Body transitions moved to global or handled via .about-page class */
.about-page {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.about-page.loaded {
    opacity: 1;
}

.center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    background-color: rgba(30, 30, 30, 0.6);
    border-radius: 15px;
    max-width: 800px;
    width: auto;
    margin: 20px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 200ms, 1s cubic-bezier(0.680, -0.550, 0.265, 1.550);
    will-change: transform, opacity;
}

.content-container.loaded {
    opacity: 1;
    transform: translateY(0);
}

.content-container:hover ~ #particles-js {
    pointer-events: none;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    opacity: 0.7;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.content-container img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#content-area h1 {
    font-weight: 700;
    font-size: 3rem;
    margin: 0 0 10px 0;
    line-height: 1;
}

#content-area h1::after {
    content: " limatt!";
    color: #ea9cb2;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.about-me {
    margin: 0 0 30px 0;
}

.about-me p {
    font-weight: 300;
    font-size: 1.2rem;
    margin: 0;
}

.icon-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
    width: 80px;
}

.icon-link:hover {
    transform: translateY(-5px);
}

.icon-link img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.icon-link span {
    font-weight: 400;
    font-size: 0.9rem;
}

.project-buttons {
    margin-top: 20px;
}

.project-buttons a {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-buttons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 2;
}

.contact-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.email-container {
    margin: 20px 0;
    text-align: center;
}

#emailReveal {
    background: transparent;
    border: none;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

@media (max-width: 768px) {
    .content-container {
        padding: 30px 20px;
        width: 90%;
    }
    
    .content-container img {
        width: 150px;
        height: 150px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
}