
.section-activity {
    background: linear-gradient(to right, rgba(229,228,227,1) 0%, rgba(229,228,227,1) 42%, rgba(229,228,227,1) 71%, rgba(229,228,227,1) 100%);
}

.wrap-activity {
    
    padding: 0 0 40px 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 980px;
    max-width: 100%;
}
.wrap-activity .activity {
    list-style: none;
    padding: 0;
}

.activity {
    position: relative;
    
    /* width: 284px; */
    /* max-width: 100%; */
    z-index: 1;
    margin: -10px 15px;

    text-decoration: none;
}
.activity .activity-inner {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}
.activity-bg {
   max-width: 100%;
    /* height: 100%; */
    /* position: absolute;
    transform-origin: center;
    transform-box: fill-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    z-index: -1;
    transition: .3s; */
}
.activity .activity-inner > span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px 32px;
}
.activity-title {
    font-family: FbGezer;
    color: #4dc0e8;
    font-size: 30px;
    font-size: clamp(1.25rem, 1.0983rem + 0.6472vw, 1.875rem);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.activity-link {
    font-size: 18px;
    color: #2b3492;
    font-weight: 700;
    font-family: FbApolo;
    text-align: center;
    width: 136px;
    height: 36px;
    line-height: 36px;
    text-decoration: none;
    display: inline-block;
    background: url(../img/activity/link.png) no-repeat center;
    background-size: contain;
    transition: .3s;
}
.activity-inner .activity-link:hover {
    transform: scale(1.05);
}


@media (max-width: 1199px) {
    
    
    .activity {
        width: 320px;
        max-width: calc(50% - 10px);
    }
    
}

@media (max-width: 767px) {

    .activity-title {
        font-size: 1.1em;
    }
    .activity {
        width: 240px;
        max-width: calc(50% - 4px);
        margin: 2px;
    }
    .activity > span {
        padding: 10px;
    }
    .activity-link {
        font-size: 13px;
        width: 100px;
    }

}
