.right-flex {
  overflow-y: scroll;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.more-course-info {
  color: white;
  margin: 25px;
  margin-top: 10vh;
  margin-bottom: 25px;
  padding: 10px;
  background-color: #2c2b2b;
  opacity: 0.95;
  border-radius: 3px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.course-info-heading {
  color: white;
  font-size: x-large;
  font-weight: bold;
  margin: 25px;
}

.course-info-subheading {
  color: white;
  font-size: large;
  font-weight: bold;
  margin: 25px;
  display: flex;
}

.credit-hours {
  margin-left: auto;
}

.course-description-title {
  font-weight: 400;
  border-bottom: solid #20b2aa 1px;
  margin: 25px;
  padding: 5px;
}

.borderbottom {
  margin-top: 35px;
  border-bottom: solid #20b2aa 1px;
}

.course-description {
  margin: 25px;
  margin-left: 45px;
}

.course-prereq1 {
  display: flex;
}

.course-prereq11 {
  padding: 10px;
  border-radius: 5px;
  background-image: linear-gradient(to bottom, #20b2aa, grey);
  margin: 25px;
  margin-left: 45px;
  margin-top: 0px;
}

.margin-fix {
  margin-left: 25px;
}

.course-seats {
  display: flex;
  flex-direction: row;
  margin-left: 45px;
}
.seats-full {
  height: 35px;
  width: 370px;
  background-color: crimson;
  border: solid whitesmoke 0.5px;
  border-right: none;
  border-radius: 10px 0 0 10px;
  text-align: center;
  padding: 7px;
}
.seats-empty {
  height: 35px;
  width: 100px;
  border-bottom: solid whitesmoke 0.5px;
  border-top: solid whitesmoke 0.5px;
  border-right: solid whitesmoke 0.5px;
  border-radius: 0 10px 10px 0;
  text-align: center;
  padding: 7px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
