.schools h1 {
  margin-bottom: -10px;
}
.schools h1,
h2,
p,
address,
h3,
h4 {
  padding-left: 10px;
}
.schools li {
  margin-right: 10px;
}
.edu-title {
  border: 0px;
  border-bottom: 2px;
  border-style: solid;
}
.schools img {
  height: 22rem;
  width: 48vw;
  display: block;
  border-radius: 1rem;
  margin-top: 40px;
  border: 2px;
  border-style: solid;
}
.t-block {
  margin-top: 40px;
  height: 22rem;
  border-radius: 1rem;
  width: 48vw;
  flex: 0 1 48vw;
  background-image: linear-gradient(45deg, pink, #afb1da);
  border: 2px;
  border-style: solid;
  overflow: auto;
  box-shadow: 0 0.1rem 0.4rem #0004;
  overflow-y: scroll;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin-left: 1vw;
  margin-right: 1vw;
}
.mitty {
  margin-bottom: 40px;
}
.t-block:hover {
  transform: scale(1.02);
}
.grad-uncc,
.uncc,
.mitty,
.cmu-ssi {
  display: flex;
  align-items: flex-start;
}
.grad-text,
.uncc-text,
.mitty-text,
.cmu-text {
  flex: 0 0 auto; /* or 0 0 40vw */
}
.t-block h2 {
  border-bottom: 1px;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  border-style: solid;
  margin-top: 0px;
  padding-top: 5px;
  background-color: #fff3;
}
.awards h1 {
  padding-top: 20px;
}
.awards h2 {
  border-bottom: 1px;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  border-style: solid;
  margin-top: 0px;
  padding-top: 5px;
  background-color: #fff3;
}
.awards p:nth-child(3) {
  padding-bottom: 20px;
}
.awards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-left: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  gap: 15px;
  background-color: #f3e7e4;
  overflow: scroll;
}
.a-block {
  width: 27.5rem;
  height: 12rem;
  border-radius: 1rem;
  background-image: linear-gradient(45deg, pink, #afb1da);
  border: 2px;
  border-style: solid;
  overflow: auto;
  box-shadow: 0 0.1rem 0.4rem #0004;
  overflow-y: scroll;
  z-index: 100;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.a-block h2 {
  display: flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}
.a-block h3 {
  padding-left: 10px;
  padding-top: 18px;
}
.a-block:hover {
  transform: scale(1.05);
}
/*--------------------------------------------*/

/* Timeline code was learned from CodingDesign "Simple Interactive Timeline Using Vanilla Javascript" */
:root {
  --primary-color: rgb(136, 63, 136);
}
.course-timeline {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
  /* font-family: ; */
}
.timeline-wrapper::-webkit-scrollbar {
  display: none;
}

.timeline-wrapper {
  position: relative;
  max-width: 100vw;
  height: 88vh;

  /* background-color: aqua; */
  display: flex;
  justify-content: center;
  align-items: center;

  overflow-x: auto;
}

.timeline {
  position: absolute;
  height: 0.12rem;
  padding: 0 4rem;
  background-color: black; /*border of the timeline*/
  list-style-type: none;

  --scale: 1;

  display: flex;
}
.timeline li {
  /*adjusts the dots on the timeline */
  position: relative;
  width: 30rem;
  background-color: black;
}
.timeline li::before,
.timeline li:after,
.timeline li .title,
.info {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  transition: 0.5s ease;
}
.timeline li::before {
  top: 1rem;

  display: inline-block;
  width: 0.12rem;
  height: 1rem;
  background-color: pink;
}
.timeline li:nth-child(even)::before {
  top: -1rem;
}

.timeline li:hover::before {
  background-color: var(--var-color);
}

.timeline li::after {
  content: attr(data-semester);
  top: -3.4rem;
}
.timeline li:nth-child(odd)::after {
  top: 3.4rem;
}

.timeline li:hover:after,
.timeline li .title {
  color: var(--primary-color);
}
.timeline li .title {
  top: 2.4rem;

  font:
    600 1.1rem "poppins",
    sans-serif;
  white-space: pre;

  opacity: 0;
}

.timeline li:nth-child(odd) > .title {
  top: -2.4rem;
}
.timeline li:hover .title {
  opacity: 1;
}
.info {
  width: 1.3rem;
  height: 1.3rem;
  background-color: black;
  color: white;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: space-around;

  overflow: hidden;
  transition: 1s ease;
}

.timeline li:hover .info {
  background-color: var(--primary-color);
  --scale: 1.2;
  cursor: pointer;
  z-index: 100;
}
.info.show p {
  margin-top: 0;
}
.info.show {
  width: 25rem;
  height: 25rem;
  border-radius: 1rem;
  padding: 1rem;
  background-image: linear-gradient(45deg, pink, #afb1da);
  border: 1px;
  border-style: solid;
  box-shadow: 0 0.1rem 0.4rem #0004;
  overflow-y: scroll;
  z-index: 100;
  color: black;
}

.info h3 {
  text-transform: capitalize;
}

.info p {
  background-color: #fff3;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;

  margin-left: 0.7rem;
}

.info.show p {
  margin-left: 0;
}

.info .close {
  align-self: flex-start;
  background-color: #fff3;

  padding: 0.5rem 0.8rem;
  border-radius: 2rem;
  font-size: 1rem;
}
.class-title {
  border-bottom: 1px;
  border-top: 0px;
  border-right: 0px;
  border-left: 0px;
  border-style: solid;
  margin-top: 0px;
  padding-top: 5px;
}
