:root {
    --primary-color: #0263d4;
    --hover-color: #004890;
    --background-color: #f0f0f0;
    --text-color: #222;
    --border-color: #e0e0e0;
}

body {
    background: linear-gradient(135deg, var(--background-color), #e0e0e0);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 1rem;
    box-sizing: border-box;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--hover-color);
}

#page-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 5%;
    max-width: 1100px;
}

#overview {
    display: flex;
    flex-direction: row;
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#info-bar, #content-bar {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

#info-bar {
    flex: 1;
    align-items: center;
}

#profile-image {
    width: 60%;
    aspect-ratio: 1/1;
    border: 0.2rem solid #ccc;
    border-radius: 50%;
    background-color: var(--background-color);
}

#title {
    font-size: 2rem;
    text-align: center;
}

#content-bar {
    flex: 2;
    padding-left: 2rem;
}

.heading {
    font-size: 1.5rem;
    margin-bottom: 0.5em;
    text-align: center;
    text-decoration: underline;
    color: #111;
    font-weight: normal;
}

.content {
    font-size: 1.2rem;
    margin-bottom: 0.5em;
    color: var(--text-color);
}

#contact-me {
    list-style-type: none;
    padding: 0;
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-color);
}

#email-clipboard {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;

}

#email-clipboard:active #copy-svg {
    fill: #8f9398;
}


#project-section {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#projects {
    list-style-type: none;
    padding: 0;
}

.project {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1.5em;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.project-title {
    font-size: 1rem;
    margin-bottom: 0.5em;
    padding: 0.5rem;
    font-weight: bold;
}

.project-description {
    font-size: 1rem;
    margin-bottom: 0.5em;
    padding: 0.5rem;
    color: #333;
}

@media screen and (max-width: 800px) {
    #page-container {
        padding: 2%;
    }

    #overview {
        flex-direction: column;
    }

    #info-bar {
        flex-direction: row;
    }

    #info-bar, #content-bar {
        width: calc(100% - 2rem);
        padding: 1rem;
    }

    #profile-image {
        width: 40%;
    }

    #title {
        font-size: 2rem;
    }

    .heading {
        font-size: 2rem;
    }

    .content {
        font-size: 1.5rem;
    }

    .project {
        flex-direction: column;
        text-align: center;
    }
}