.activitybox .activity:nth-of-type(1) {
  width: calc(100% - 30px);
}

.activitybox {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
}
.activitybox .activity {
  background: #F2F2F2;
  width: calc(50% - 30px);
  margin: 0 15px 60px 15px;
  display: block;
  position: relative;
}
.activitybox .activity::after {
  position: absolute;
  content: "";
  width: 100px;
  height: 3px;
  background: #268dbb;
  right: calc(50% - 50px);
  bottom: 0px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}
.activitybox .activity:hover {
  text-decoration: none;
}
.activitybox .activity:hover::after {
  width: 100%;
  right: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}
.activitybox .activity:hover .imgbox img {
  transform: translate(-50%, -50%) scale(1.1);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}
.activitybox .activity .imgbox {
  cursor: pointer;
  position: relative;
  display: block;
  overflow: hidden;
  height: 0;
  width: 100%;
  padding-bottom: 75%;
}
.activitybox .activity .imgbox img {
  width: 100%;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
}
.activitybox .activity .textbox {
  padding: 20px 20px;
}
.activitybox .activity .textbox .date {
  font-size: 14px;
}
.activitybox .activity .textbox p {
  margin: 4px 0 0 0;
  font-size: 18px;
}

@media screen and (max-width: 667px) {
  .activity_page div.news_video {
    padding: 20px;
  }
  .activity_page div.news_video h3 {
    font-size: 20px;
  }
  .activitybox .activity {
    width: calc(100% - 30px);
    margin: 0 15px 40px 15px;
  }
}