main h1 {
    border-bottom: var(--accent2) solid 1px;
    font-size: 1.5rem;
    margin-top: 1rem;
    color: var(--accent1);
}

main p {
    color: var(--primary);
    font-size: 1rem;
}

ul, ol {
    color: var(--primary);
    list-style-position: inside;
}

.carousel {
  position: relative;
  width: inherit;
  height: auto;
  overflow: hidden;
  margin: auto;
}

.carousel-images {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-images img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000088;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  z-index: 1;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

@media screen and (min-width: 768px) {
    main h1 {
        font-size: 2rem;
    }

    main p {
        font-size: 1.5rem;
    }

    ul, ol {
        font-size: 1.5rem;
    }
}