* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 30px;
    background: linear-gradient(135deg, #2e2e2e23, #121212); 
    animation: slideDown 0.8s ease-in-out;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    animation: fadeIn 0.8s ease-in-out;
    transition: color 0.3s, transform 0.3s;
}

.logo:hover {
    color: #2e2e2e23;
    transform: scale(1.1);
}

/* Hero Section */
.hero { 
    text-align: center; 
    padding: 100px 50px; 
    background: linear-gradient(135deg, #2e2e2e23, #121212); 
    color: #ffffff; 
    border-radius: 10px; 
    margin: 20px; 
    max-width: 950px;
   margin-left: auto;
   margin-right: auto;
    animation: fadeIn 1s ease-in-out;
}

.hero h1 { 
    font-size: 40px; 
    margin-bottom: 20px; 
}

.hero p { 
    font-size: 24px; 
    margin-bottom: 30px; 
}

button {
    padding: 15px 30px;
    background-color: #333333b7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.3s;
    animation: fadeIn 1.5s ease-in-out;
}

button:hover {
    background-color: #444444;
    transform: scale(1.05);
}

/* Repositories Section */
.repo-section {
    text-align: center;
    margin-top: 50px;
    padding: 40px 20px;
    animation: fadeInUp 0.8s ease-in-out;
}

.repo-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #ffffff;
    animation: fadeIn 0.8s ease-in-out;
}

/* Flexbox for Repositories */
.repo-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    animation: fadeInUp 0.8s ease-in-out;
}

.repo-item {
    width: 30%;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    background-color: #1c1c1c;
    transition: transform 0.3s ease;
    animation: fadeInUp 0.8s ease-in-out;
}

.repo-item:hover {
    transform: scale(1.05);
}

.repo-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
    animation: fadeIn 0.8s ease-in-out;
}

.repo-item p {
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 15px;
    animation: fadeIn 1.2s ease-in-out;
}

.repo-item a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #333333;
    border-radius: 8px;
    transition: background-color 0.3s;
    animation: fadeIn 1.5s ease-in-out;
}

.repo-item a:hover {
    background-color: #444444;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #121212;
    color: #ffffff;
    position: relative;
    bottom: 0;
    width: 190%;
    font-size: 15px;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.active {
    display: block;
}

/* Contact Section Styles */
#contact {
    background: none;
    padding: 40px 20px;
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 0.8s ease-in-out;
    font-size: 20px;
}

#contact h2, #contact p, #contact a {
    color: #ffffff;
    font-size: 20px;
    animation: fadeIn 0.8s ease-in-out;
}

#contact button {
    padding: 12px 20px;
    background-color: #1c1c1c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    margin-top: 20px;
    animation: fadeIn 1.2s ease-in-out;
}

#contact button:hover {
    background-color: #444444;
    transform: scale(1.1);
}
