main {
    padding: 2rem;
    font-family: 'Poppins', sans-serif;
}

.activity-header {
    height: 20vh;
    position: relative;
    text-align: center;
    color: #3b0927;
    margin-bottom: 2rem;

    .activity-background-img {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        filter: blur(3px);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;

        div {
            width: 100%;
            height: 100%;
            background-color: rgba(155, 89, 141, 0.28);
            border-radius: 0.6em;
        }
    }

    .activity-header-title {
        position: relative;
        z-index: 1;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        h1 {
            font-family: 'Great Vibes', sans-serif;
            font-size: 3rem;
            color: #e8e2dd;
            text-shadow: 0 1px 0 #3B3B3B;
            animation: fade-animation 3s ease-in-out;
        }
    }
}

.activity-part {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--cream);
    border-radius: 0.6em;
    box-shadow: 0 1.8em 3em rgba(1, 17, 39, 0.15);

    &:nth-child(odd) {
        flex-direction: row-reverse;
    }

    .activity-description {
        flex: 1;
        padding: 1rem;

        h2 {
            font-size: 2rem;
            color: #3b0927;
            margin-bottom: 1rem;
        }

        p {
            font-size: 1.2rem;
            color: #3b0927;
        }
    }

    .activity-description-img {
        flex: 1;
        padding: 1rem;
        display: flex;
        justify-content: center;
        position: relative;


        img {
            width: 60%;
            position: sticky;
            height: auto;
            border-radius: 0.6em;
            object-fit: cover;
        }
    }
}

/* Add media query for mobile devices */
@media screen and (max-width: 650px) {

    .activity-header .activity-header-title h1 {
        font-size: 2rem;
    }

    .activity-part {
        flex-direction: column;
        padding: 1rem;

        &:nth-child(odd) {
            flex-direction: column;
        }

        .activity-description, .activity-description-img {
            width: 100%;
            height: 100%;
            padding: 0.5rem;
        }

        .activity-description h2 {
            font-size: 1.5rem;
        }

        .activity-description p {
            font-size: 1rem;
        }
    }
}