body {
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 3vw;
  font-weight: 700;
  color: #fff;
  text-decoration: underline #cdd64d;
}

span {
  font-size: 0.9rem;
  color: #757373;
}

h6 {
  font-size: 1.1rem;
  color: reg(24, 24, 49);
}

.sidebar {
  background: linear-gradient(#e66465, #9198e5);
}

#course .course-box {
  padding: 3vw 8vw 7vw 8vw;
  text-align: center;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  grid-gap: 1rem;
  margin-top: 50px;
}

.pic {
  width: 100%;
  height: 200px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(heroImage/course.jpg);
  background-position: center;
  background-size: cover;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pic p {
  color: #fff;
}

.pic>p>a {
  text-decoration: none;
  color: #fff;
}

.pic>p>a:hover {
  color: greenyellow;
}

#course .courses {
  text-align: start;
  background-color: #f9f9ff;
  height: 100%;
  position: relative;
}

#course .courses img {
  width: 100%;
  height: 60%;
  background-size: cover;
  background-position: center;
}

#course .courses .derails {
  padding: 15px 15px 0 15px;
}

#course .courses .derails i {
  color: #fdc93b;
  font-size: 0.9rem;
}

#course .courses .cost {
  background-color: rgb(74, 74, 136);
  color: #fff;
  line-height: 70px;
  width: 70px;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  right: 15px;
  bottom: 117px;
}

@media (max-width: 800px) {
  h1 {
    font-size: 2rem;
    font-weight: 700;
  }

  #course .courses .cost {
    bottom: 100px;
  }
}