* {
  margin: 0;
  padding: 0;
}

.about-container {
  margin: 40px 10px 10px 10px;
  position: relative;
  /* border: 1px solid red; */
}
.cancel-btn {
  position: absolute;
  top: -50px;
  right: 0px;
  cursor: pointer;
  width: 50px;
}

.top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.profile-details {
  display: flex;
  align-items: center;
}
.profile-details img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
}
.profile-details .use-info {
  margin-left: 20px;
}
.use-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.use-info p {
  margin: 0;
  margin-bottom: 10px;
}
.use-info .badge {
  background-color: #0425a5;
  text-align: center;
  padding: 10px 20px;
  align-self: flex-start;
}
.social-share img {
  width: 60px;
  height: 60px;
}

/* middle section */
.middle-section {
  margin-top: 60px;
}
.middle-section h3 {
  margin-bottom: 20px;
}
.middle-section p {
  font-size: 0.8em;
  line-height: 1.7;
  max-width: 900px;
}

/* last section */
.last-section {
  margin-top: 60px;
  margin-bottom: 50px;
}
.last-section h3 {
  margin-bottom: 60px;
}
.last-inner-section {
  display: flex;
  align-items: center;
}

.course-details-container {
  margin-left: 40px;
}
.course-details-container:first-of-type {
  margin-left: 0;
}
.course-details-container {
  max-width: 300px;
  border: 1px solid #0022a3;
  border-radius: 10px;
}
.course-head img {
  max-width: 300px;
}
.course-head {
  position: relative;
}
.course-head .course-price {
  box-shadow: 15px 12px 20px 2px #0000000f;
  font-size: 0.9em;
  margin: 0;
  padding: 0 15px;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #0022a3;
  background-color: #fff;
}
.add-padding {
  padding: 10px;
}
.course-middle {
  font-weight: bold;
  max-width: 200px;
  margin-top: 20px;
  margin-bottom: 50px;
  color: #707070;
}
.course-bottom {
  display: flex;
  align-items: center;
}
.hours {
  margin-left: 20px;
}
.lessons,
.hours {
  display: flex;
  align-items: center;
}
.lessons p,
.hours p {
  font-size: 0.9em;
  margin: 0;
  margin-left: 10px;
}
.lessons img,
.hours img {
  width: 20px;
}

.last-inner-section {
  display: flex;
  overflow: scroll;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.last-inner-section::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.last-inner-section {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* mobile */
@media screen and (max-width: 800px) {
  .about-container {
    margin: 50px 10px 10px 10px;
  }
}

@media screen and (max-width: 600px) {
  .about-container {
    margin: 50px 10px 10px 10px;
  }

  .top-section {
    display: flex;
    flex-direction: column;
  }
  .profile-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-details img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }
  .profile-details .use-info {
    margin-left: 0px;
  }
  .use-info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .use-info .badge {
    background-color: #0425a5;
    text-align: center;
    padding: 10px 20px;
    align-self: auto;
  }
  .social-share img {
    width: 30px;
    height: 30px;
  }
}
