html {
    scroll-behavior: smooth;
    background-color: #000;
}

body {
    padding: 0;
    margin: 0;
    transition: background 0.3s ease;
    background-image: url('image/Moritz-Malik_Hintergrund-Startseite.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right center;
    background-size: cover;
}

h3 {
    font-family: "Reddit Sans", sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #EFEDE4;
    margin: 0 0 15px 0;
}

h4 {
    font-family: "Reddit Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin: 0;
}

p {
    font-family: "Reddit Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    color: #EFEDE4;
    margin: 0;
}

#p5-canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    display: block;
}

/* - - - - - About Section - - - - - */

#about {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 50px 5%;
}

.about-content {
    max-width: 700px;
}

.intro-text {
    max-width: 555px;
    margin-bottom: 25px;
}

.schwerpunkte {
    margin-top: 60px;
}

#profilbild {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}

button {
    font-family: 'Reddit Sans', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 15px;
    color: #000000;

    background-color: #ffffff;
    padding: 8px 15px;
    border-radius: 100px;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;

    line-height: normal;
    text-align: center;
}

button:hover {
    background-color: #f0f0f0;
}

.award-block {
    margin-top: 20px;
}

.award-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 450px;
}

.award-icon {
    font-size: 40px;
}

.award-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dark-text {
    color: #333 !important;
    line-height: 1.2;
    font-size: 14px;
}

@media (max-width: 1024px) {
    #about {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 60px 30px;
        gap: 40px;
    }

    .about-content {
        text-align: left;
    }

    .intro-text {
        margin-left: 0;
    }

    .schwerpunkte {
        margin-left: 0;
        margin-top: 40px;
    }

    #profilbild {
        max-width: 100%;
    }
}

/* - - - - - Lebenslauf - - - - - */

#full-page-cv {
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 10%;
    box-sizing: border-box;
}

.cv-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    gap: 40px;
}

.cv-container {
    border-left: 2px solid #ffffff;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cv-entry {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
}

.cv-date {
    font-family: "Reddit Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    opacity: 0.9;
}

.cv-title {
    font-family: "Reddit Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
}

.cv-footer {
    font-family: "Reddit Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.4;
}

@media (max-width: 768px) {
    #full-page-cv {
        padding: 40px 5%;
        align-items: flex-start;
    }

    .cv-entry {
        grid-template-columns: 1fr;
        gap: 5px;
        margin-bottom: 10px;
    }

    .cv-container {
        padding-left: 20px;
    }
}