#home-activity {
    background: var(--theme-color-background);
}

#home-activity .header {
    color: var(--theme-color-text-trans2);
    font-size: 1em;
    text-align: center;

    margin-bottom: 4rem;
}

#home-activity .header h2 {
    color: var(--theme-color-text-trans1);
    /*font-family: var(--font-heading);*/
    font-size: clamp(1.875rem, 5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

#home-activity .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

#home-activity .card { /* card w/ a dynamic shadow*/
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;

    overflow: hidden; /* prevents content from overflow the rounded corners */
    border-radius: 0.75rem;
    /*border: 1px solid red;*/

    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#home-activity .card .image { /* top image */
    overflow: hidden; /* prevent image overflow when scale changes */
    width: 100%;
    height: 12rem;
    cursor: pointer;
}

#home-activity .card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /*filter: hue-rotate(20deg) saturate(0.8);*/
}

#home-activity .card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

#home-activity .card:hover img {
    transform: scale(1.05);
    filter: none;
}

#home-activity .card .content { /* icon, label, title, text */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-items: flex-start;
    align-items: flex-start; /* h-align */
    gap: 0.5rem;

    padding: 1rem 1.5rem;
}

#home-activity .card .content svg {
    width: 3rem;
    height: 3rem;
    border-radius: 0.8rem;
    border: 10px solid transparent; /* padding for the SVG instead of another container around it */
}

#home-activity .card .content svg.card1 {
    background-color: var(--theme-color-background-pillar1);
    color: var(--theme-color-pillar1);
}

#home-activity .card .content svg.card2 {
    background-color: var(--theme-color-background-pillar2);
    color: var(--theme-color-pillar2);
}

#home-activity .card .content svg.card3 {
    background-color: var(--theme-color-background-pillar3);
    color: var(--theme-color-pillar3);
}

#home-activity .card .content .label {
    color: var(--theme-color-text-trans2);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

#home-activity .card .content .title {
    /*font-size: clamp(1.25rem, 3vw, 1.5rem);*/
    font-size: 1.3rem;
    font-weight: 600;
    padding-top: 0.25rem;
    color: var(--theme-color-text-trans1);
    margin-bottom: 0.7rem;
}

#home-activity .card .content .description {
    color: var(--theme-color-text-trans2);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#home-activity .card .animated-link {
    margin: 0 0 1.5em 1.5em;
}

#home-activity .card .animated-link svg {
    width: 1em;
    height: 1em;
}

@media (min-width: 768px) {
    #home-activity .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TODO Responsive */
@media (max-width: 767px) {
/*    #section-activity .activity-header {*/
/*        margin-bottom: 2rem;*/
/*    }*/

/*    #section-activity .activity-header h2 {*/
/*        font-size: 1.875rem;*/
/*    }*/
}
