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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

/* Header */
header {
    background: linear-gradient(270deg, #ff9a9e, #fad0c4, #a18cd1);
    background-size: 600% 600%;
    animation: backgroundAnimation 10s ease infinite;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

@keyframes backgroundAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
}

header nav ul li a:hover {
    color: #ffeb3b;
}

/* Hero Section */
#hero {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5em;
    color: #555;
}

/* About Section */
#about {
    padding: 50px 20px;
    background: #e4e4e4;
    text-align: center;
}

#about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#about p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.2em;
}

/* Projects Section */
#projects {
    padding: 50px 20px;
    background: #fff;
}

#projects h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-item {
    flex: 1 1 300px;
    max-width: 350px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.project-item h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.project-item p {
    font-size: 1.1em;
    color: #666;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #a18cd1;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 5px;
}

.btn:hover {
    background: #ff9a9e;
}

/* Footer */
footer {
    background: linear-gradient(270deg, #a1c4fd, #c2e9fb, #84fab0);
    background-size: 600% 600%;
    animation: backgroundAnimation 10s ease infinite;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #ffeb3b;
    margin: 0 5px;
}