/* New file: css/about.css */
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
    perspective: 1000px;
}

.bio-container {
    width: 100%;
    max-width: 800px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.bio-card {
    background: linear-gradient(145deg, #2c3e50, #3498db);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.bio-card:hover {
    transform: translateZ(20px);
}

.bio-card h2 {
    color: #ecf0f1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transform: translateZ(30px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bio-text {
    color: #ecf0f1;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    transform: translateZ(20px);
}

.bio-text p {
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}
/*
.bio-text p:nth-child(1) { animation-delay: 0.2s; }
.bio-text p:nth-child(2) { animation-delay: 0.4s; }
.bio-text p:nth-child(3) { animation-delay: 0.6s; }
.bio-text p:nth-child(4) { animation-delay: 0.8s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(2deg) rotateY(2deg);
    }
    50% {
        transform: translateY(-10px) rotateX(-2deg) rotateY(-2deg);
    }
}
*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .bio-card {
        padding: 1.5rem;
    }

    .bio-card h2 {
        font-size: 1.5rem;
    }

    .bio-text {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .about-content {
        padding: 1rem;
    }

    .bio-card {
        padding: 1rem;
    }

    .bio-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}
.contact-link {
    color: #2c3e50;
    text-decoration: none;
    display: inline-block;
    animation: buzz 0.3s ease infinite;
    animation-play-state: paused;
    position: relative;
}

.contact-link:hover {
    color: #e74c3c;
    animation-play-state: running;
}

@keyframes buzz {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(1px); }
    75% { transform: translateX(-1px); }
}