:root {
    /* Colors */
    --primary: #249faf;
    --secondary: #949494;
    --background: #ffffff;
    --shadow-light-background: #d9d9d9;
    --shadow-dark-background: #7b7b7b;

    /* Textconfig */
    --text-color-dark: #333333;
    --text-color-light: #ececec;
    --font-family: 'Google Sans Flex', 'Arial', sans-serif;
    --font-light: 200;
    --font-regular: 400;
    --font-bold: 700;

    /* element styles */
    --element-radius: 5px;
    --element-border: 1px solid #ddd;
}

body, html {
    font-family: var(--font-family);
    background-color: var(--background);
    margin: 0;
}

#app-wrapper {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-content: flex-start;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#section-header {
    width: 100%;
    padding: 50px;
    text-align: center;
    background-color: var(--primary);
    color: var(--text-color-light);
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

#section-header img {
    width: 80px;
}

#section-header * {
    font-weight: var(--font-light);
    font-size: 2.5em;
}

#section-introduction {
    width: 100%;
    padding: 50px;
    display: grid;
    grid-template-columns: 20% auto;
    grid-template-areas: "image text" "image text" "image text";
    justify-content: center;
    align-items: start;
    justify-items: center;
}

#section-introduction * {
    font-weight: var(--font-regular);
}

#section-introduction > div {
    grid-area: text;
    padding-left: 30px;
}

#section-introduction > div > p {
    color: var(--text-color-dark);
    font-size: 1.2em;
    line-height: 1.5em;
}

#section-introduction > div > p:first-child {
    margin-top: 0;
}

#section-introduction img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    border: var(--element-border);
    box-shadow: 0 4px 8px var(--shadow-light-background);
    grid-area: image;
}

.section-project {
    width: 100%;
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-project:nth-child(odd) {
    background-color: var(--secondary);
}

.section-project:nth-child(even) {
    background-color: var(--background);
}

.section-project:nth-child(odd) h2 {
    font-weight: var(--font-regular);
    color: var(--text-color-light);
}

.section-project:nth-child(even) h2 {
    font-weight: var(--font-regular);
    color: var(--text-color-dark);
}

.section-project h2 {
    font-size: 1.8em;
    margin: 0 0 10px 0;
}

footer {
    width: 100%;
    padding: 20px;
    text-align: center;
    background-color: var(--primary);
    color: var(--text-color-light);
}

.projects-wrapper {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0px;
}

.projects-wrapper *  {
    text-decoration: none;
    color: var(--text-color-dark);
    font-weight: var(--font-regular);
}

.section-project:nth-child(even) .projects-wrapper a {
    box-shadow: 0 4px 8px var(--shadow-light-background);
}

.section-project:nth-child(odd) .projects-wrapper a {
    box-shadow: 0 4px 8px var(--shadow-dark-background);
}

.projects-wrapper a {
    width: 250px;
    min-height: 300px;
    background-color: var(--background);
    border: var(--element-border);
    border-radius: var(--element-radius);
    transition: 0.1s;
}

.projects-wrapper a:hover {
    transform: translateY(-3px) !important;
    cursor: pointer;
}

.projects-wrapper a img {
    width: 100%;
    border-radius: var(--element-radius);
}

.projects-wrapper a h3 {
    font-size: 1.2em;
    margin: 10px;
}

.project-category {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-color-light);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    margin: 0 10px 10px 10px;
}

.projects-wrapper a p {
    font-size: 0.9em;
    margin: 0 10px 10px 10px;
    color: var(--text-color-secondary);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out both;
}

.firstload-display {
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #section-introduction {
        grid-template-columns: 1fr;
        grid-template-areas: "image" "text";
        padding: 30px;
    }

    #section-introduction > div {
        padding-left: 0;
        text-align: center;
    }

    #section-introduction img {
        max-width: 150px;
        margin-bottom: 20px;
    }

    .projects-wrapper a {
        width: 80%;
    }

    #section-header h1 {
        display: none;
    }
}