/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding-top: 50px; /* Space for fixed header */
}

.container {
    width: 80%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    color: #2ba9c9;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
}

header p {
    font-size: 1.1rem;
    color: #555;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
    animation-delay: 0.5s;
}

header a {
    color: #2ba9c9;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.5s ;
}

.fade-in:nth-child(3) {
    animation-delay: 1s;
}

/* Slide-in Animation for Links */
.slide-in { 
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 1s ease-out forwards;
}

.slide-in:nth-child(2) {
    animation-delay: 0.5s;
}

/* Header & Section Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Styles */
.h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}
.section {
    margin-bottom: 30px;
}

.ul {
    list-style: none;
    margin-left: 20px;
}

.ul li {
    margin-bottom: 8px;
}

.project-item {
    margin-bottom: 20px;
}

.project-item a {
    color: white;
    text-decoration: none;
}

.project-item a:hover {
    text-decoration: underline;
}

/* Hover Effects for Links and Buttons */
 

.button:hover {
    background-color: #21df2a;
}

/* Link Styles */
a {
    color: #af4c7a;
}

a:hover {
    text-decoration: underline;
}
footer {
    text-align: center;
    padding: 10px;
    background-color: #f4f4f9;
    font-size: 0.9em;
}
footer a {
    color: #0077b5;
    text-decoration: none;
}