.activity-sel {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}


.activity-sel a {
    font-size: 14px;
    width: 120px;
    text-align: center;
    padding: 10px 0;
    border: 1px solid #eeeeee;
    margin: 0 10px;
    border-radius: 5px;
}

.activity-sel a:hover {
    background-color: #e23434;
    color: #ffffff;
}

.selasw {
    background-color: #e23434;
    color: #ffffff;
}





.activity-ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0;
}

.activity-ul li {
    width: 48%;
    padding: 15px 0;
}

.activity-ul li a {
    width: 100%;
}

.activity-ul li a:hover {
    color: #e23434;
}

.activity-ul li a:hover p span {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .4);
}

.activity-ul li a p {
    width: 100%;
    position: relative;
}

.activity-ul li a p img {
    width: 100%;
    height: auto;
}

.activity-ul li a h5 {
    font-size: 16px;
    margin-top: 10px;
}

@media only screen and (max-width: 1340px) {

    .activity-sel {
        padding: 30px 0;
    }

    .activity-ul {
        padding: 15px 0;
    }

    .activity-ul li {
        padding: 10px 0;
    }

}

@media only screen and (max-width: 769px) {

    .activity-sel {
        padding: .3rem 0;
    }

    .activity-sel a {
        font-size: 12px;
    }

    .activity-ul {
        padding: .15rem .1rem;
    }

    .activity-ul li {
        padding: .1rem 0;
    }

    .activity-ul li a h5 {
        font-size: 14px;
        margin-top: .1rem;
    }

}