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

html, body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}

header p {
    font-weight: lighter;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 15px;
}

nav ul li {
    padding: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Main Content */
main {
    flex: 1;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

main h2 {
    color: #333;
    padding: 10px 0;
}

/* Interactive Animation */
#interactive-animation {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 80px;
}

#animation-container {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    position: relative;
}

/* Color Change Button */
#color-change-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: background-color 0.3s ease;
    z-index: 10; /* Ensure button is above other elements */
}

#color-change-btn:hover {
    background-color: #0056b3;
}

/* Interactive Footer */
#interactive-footer {
    position: relative;
    height: 300px;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #333;
}

/* Footer */
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 0px;
}

/* Introduction effect */
#who-i-am .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile {
    flex: 1;
    text-align: center;
}

.profile-img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid #6a11cb;
}

.bio {
    flex: 2;
    padding-left: 40px;
}

.bio h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.bio p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
}


/* Effects for timeline items */
.timeline {
    list-style: none;
    padding: 0;
}

.timeline-item {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 3px solid #007bff;
}

.timeline-item h3 {
    margin-top: 0;
}

/* Projects Section */
#projects {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.project p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

#skills-showcase {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.skill-category {
    width: 45%;
}

.skill-category h2 {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-item {
    background-color: #fff;
    padding: 15px;
    border: 2px solid #007bff;
    border-radius: 8px;
    font-weight: bold;
    color: #333;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

/* Easter Egg Section */
#easter-egg {
    margin-top: 40px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
}

#easter-egg-msg {
    font-size: 18px;
    color: #333;
}

#easter-egg-msg {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}