body {
    font-family: "Plus Jakarta Sans Regular", sans-serif;
    padding-top: 3.5rem;
}

#activity-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0rem;
    align-items: center;
    justify-content: center;
}

.activity { /* div */
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin: 0rem 1.5rem;
}

.activity img {
    display: inline;
    max-width: 50%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    /* object-position: right; */
}

.text {
    /* text-align: center; */
    font-size: 1.2rem;
    padding: 1rem;
    border-radius: 0.5rem;
    max-width: 50%
}

.btn-show-text {
    display: none;
    position: absolute;
    max-height: 1.2rem;
    right: 1rem;
    bottom: 1rem;
    /* transform: rotate(90deg); */
}

@media screen and (min-width: 769px) and (max-width: 1024px){ /* tablet */
    .text h1{
        font-size: 2rem;
    }
    .text p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px){ /* mobil */
    .activity {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.03);
    }
    .activity img:hover {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
        transition: box-shadow 0.3s ease-in-out;
    }
    
    .text {
        position: absolute;
    }
    .text h1{
        font-size: 1.7rem;
    }
    .text p {
        font-size: 1rem;
        display: none;
    }

    .activity img {
        max-width: 100%;
    }

    .btn-show-text {
        display: inline-block;
    }
}
