.home-course {
  width: 330px;
  border: 1px solid #dcf3;
  border-radius: 8px;
  background: radial-gradient(circle farthest-side at 0% 100%, #dcf1, #dcf0);
  transition: border-color 167ms;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.course-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
}

.course-cover {
  width: 306px;
  border-radius: 8px;
  margin: 12px;
}

.course-details {
  padding: 0 1rem;
}

.home-course:hover {
  border-color: #dcf5;
}