.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #1694d6;
}

.carousel .slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: center;
}
.carousel .slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 2rem;

  flex-direction: column;
}
.carousel .slide-content {
  flex: 1;
  font-size: 2rem;
  font-weight: 700;
  /** font-family: Audiowide; **/
  font-family: "Mulish", sans-serif;
  letter-spacing: 0.2rem;
  /** text-transform: uppercase; **/
  color: #0f2c3f;
  margin: 2rem;
  text-align: center;
  line-height: 1.7rem;
  position: sticky;
  top: 30px;
  left: 15px;

  @media (min-width: 1101px) {
    background-color: #f5a623;
    display: inline-block;
    padding: 0.5rem 1rem;
  }

  @media (max-width: 1200px) {
    font-size: 1.8rem;
    letter-spacing: 4px;
  }

  @media (max-width: 900px) {
    font-size: 1.5rem;
  }

  @media (max-width: 550px) {
    font-size: 1.2rem;
  }
}

.carousel .slide-image img {
  width: 100vw;
  height: auto;
  object-fit: cover;
  /*
  @media (max-width: 1500px) {
    width: 600px;
  }

  @media (max-width: 1200px) {
    width: 500px;
  }

  @media (max-width: 900px) {
    width: 400px;
    margin: 2rem;
    border: none;
    padding: 0;
  }

  @media (max-width: 550px) {
    width: 300px;
  }*/
}

.carousel .prev,
.carousel .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 10;
}
.carousel .prev {
  left: 1rem;
}
.carousel .next {
  right: 1rem;
}

/* Desktop: carousel height = viewport minus header */
@media (min-width: 1101px) {
  .carousel {
    /** height: calc(100vh - var(--header-height)); **/
    height: 700px;
  }
}

/* Mobile: full viewport height, hide image */
@media (max-width: 1100px) {
  .carousel .slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousel .slide-content {
    padding: 0 1rem;
    color: #ffffff;
  }
}
