.history {
  padding-bottom: 5rem;
  background: var(--main-font-color);
  /* color: var(--body-font-color); */
}

.history-image {
  padding-right: 0;
  padding-left: 0;
}

.history-image::before,
.carousel-item::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
}

.card-body {
  /* background-color: red; */
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-body h2 {
  /* background-color: green; */
  width: 80%;
  font-family: var(--main-font);
  font-size: 4rem;
  display: flex;
  flex-direction: column;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.5rem;
  z-index: 10;
  position: absolute;
  bottom: 40%;
  left: 50%;
  transform: translate(-50%);
  transition: all 650ms ease-in-out;
  color: #fff;
}

.orange {
  color: var(--secondary-font-color);
}

.card-body a,
.carousel-item a {
  position: absolute;
  left: 50%;
  bottom: 30%;
  transform: translate(-50%);
  transition: all 650ms ease-in-out;
  background-color: var(--main-font-color);
  border: none;
}

.carousel-item a {
  opacity: 1;
}

.carousel-item a {
  bottom: 33%;
}

.history-heading h1 {
  font-family: var(--main-font);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.history-btn {
  /* color: var(--body-font-color); */
  background-color: var(--body-font-color);
  border: none;
}
