@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100%;

  background: linear-gradient(
    -45deg,
    rgb(246, 129, 87),
    rgb(243, 219, 210),
    rgb(233, 180, 34),
    rgb(245, 226, 158)
  );
  background-size: 400% 400%;
  animation: gradientBackground 11s ease infinite;
}
@keyframes gradientBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.backGround {
  height: 100vh;
  background: url("Images/medicine.jpg");
  background-position: 20% 50%;
  background-size: 30%;
  background-repeat: no-repeat;
  font-family: "Libre Baskerville", serif;
  font-size: 1.5rem;
}
.container {
  position: absolute;
  display: flex;
  top: 47.5%;
  left: 18%;
  overflow: hidden;
}
.unit {
  height: 220px;
  width: 800px;
  padding: 15px;
  background: linear-gradient(to right bottom, rgb(247, 247, 203), white);
}

@keyframes pushLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-800px);
  }
}

a {
  text-decoration: none;
  color: orangered;
  font-size: 1.25rem;
  font-weight: bold;
}

a:hover {
  color: orange;
}
h5:hover {
  transform: translateX(2px) translateY(2px);
  color: rgb(104, 120, 143);
}

#backToMain,
#toNext {
  margin-left: 15px;
  margin-top: 15px;
  font-size: 2rem;
  color: orangered;
}
#toNext {
  font-size: 1.25rem;
}
#backToMain:hover,
#briefHistory:hover,
#toNext:hover {
  color: white;
}
#briefHistory {
  margin-left: 15px;
  margin-top: 15px;
  font-size: 1.25rem;
  color: orangered;
}
