.ag-courses-item_link {
  display: block;
  padding: 20px 20px;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 130px; 
  position: relative;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover {
  text-decoration: none;
  color: #FFF;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.ag-courses-item_title {
  min-height: 87px;
  margin: 0 0 25px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  overflow: hidden;
  font-size: 20px;
  color: #000;

  z-index: 2;
  position: relative;
}

.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: rgba(248,96,72,0.5);

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}
.col-lg-3:nth-child(2n) .ag-courses-item_bg {
  background-color: rgba(0,186,163,0.5);
}
.col-lg-3:nth-child(3n) .ag-courses-item_bg {
  background-color: rgba(248,96,72,0.5);
}



@media only screen and (max-width: 979px) {
  .ag-courses_item {
    -ms-flex-preferred-size: calc(50% - 30px);
    flex-basis: calc(50% - 30px);
  }
  .ag-courses-item_title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }

}
@media only screen and (max-width: 639px) {
  .ag-courses_item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .ag-courses-item_title {
    min-height: 72px;
    line-height: 1;

    font-size: 24px;
  }
  .ag-courses-item_link {
    padding: 22px 40px;
  }
}