.row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
}

.card {
  width: calc((100% - 3rem) / 4);
  height: 350px;
  border-radius: 7px 7px 0px 0px;
  overflow: hidden;
  position: relative;
}

.card .image {
  height: 100%;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.course-info {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.course-info h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
}
.course-info p {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 0.5rem;
}

.course_date {
  text-decoration: underline;
}
.single_course {
  background-color: #fff;
  border: none;
  color: #79a148;
  padding: 0.2rem 1rem;
  font-size: 1.2rem;
  margin-top: 2rem;
  cursor: pointer;
  border-radius: 3px;
}
@media (max-width: 768px) {
  .card {
    width: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 600px) {
  .card {
    width: 100%;
  }
}
