@font-face {
  font-family: "Chandler Mountain";
  src: url("fonts/chandler-mountain-chandler-mountain-black-800.otf")
    format("opentype");
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
}

@font-face {
  font-family: "Herdrock";
  src: url("fonts/herdrock-herdrock-regular-400.otf") format("opentype");
}

html,
body {
  margin: 0;
  font-family: "DM Sans";
  line-height: 1.6;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

.banner {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-clouds {
  width: 100%;
  object-fit: cover;
  z-index: 0;
  height: 100dvh;
  object-position: 50% 50%;
}

.banner-text {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 30rem;
  max-width: 100vw;
  text-align: center;
}

.nowrap {
  white-space: nowrap;
}

.parallax {
  animation: parallaxAnimation linear 60s;
}

@keyframes parallaxAnimation {
  0% {
    transform: scaleX(1.11) translateX(-5dvw);
  }
  50% {
    transform: scaleX(1.11) translateX(+5dvw);
  }
  100% {
    transform: scaleX(1.11) translateX(-5dvw);
  }
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

li {
  margin: 0.5rem 0;
}

li strong {
  display: block;
}

h1 {
  text-align: center;
  font-family: "Herdrock";
  font-weight: normal;
  text-transform: uppercase;
  font-size: 4rem;
  margin: 0 0 -1rem 0;
}
h2 {
  font-family: "Chandler Mountain";
  font-weight: 900;
}
h3 {
  font-family: "DM Sans";
  font-weight: bold;
}

h2:not(:first-of-type) {
  margin-top: 3rem;
}

.tagline {
  font-family: "DM Sans";
  font-weight: bold;
  display: block;
  margin-top: -0.5rem;
  margin-bottom: -0.5rem;
  font-size: 1.1rem;
}

.big {
  width: unset;
  max-width: 80vw;
  max-height: 8rem;
}

h3 {
  margin-bottom: -1rem;
}

section {
  margin: 4rem 0;
}

article img {
  /* display: block; */
  max-height: 30rem;
  max-width: 100%;
  border-radius: 10px;
  margin: 0 auto;
}

/* article img:last-child {
  margin-bottom: 3rem;
} */

.social-media {
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  position: sticky;
  margin-top: -4rem;
  top: 0;
  /* background-color: white; */
  z-index: 2;
}

.social-media-bg {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1;
  display: block;
  height: 4rem;
}

.social-media a {
  margin: 0 0.6rem;
}

.social-media a img {
  height: 2rem;
}

.banner-link {
  color: unset;
}

.intro {
  text-align: center;
  margin-top: 1rem;
  /* font-weight: bold; */
}

p,
li {
  font-size: 1.1rem;
}

.carousel {
  position: relative;
  max-width: 100%;
  margin: 2rem auto;
  overflow: hidden;
  background-color: gray;
  border-radius: 10px;
}

.carousel-container {
  display: flex;
  align-items: center;
}

.carousel-track-container {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  margin: 0;
  padding: 0;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.carousel-caption {
  margin: 0;
  font-size: 0.8rem;
  color: #333;
  background-color: #f0f0f0;
  padding: 0.2rem;
  padding-left: 0.5rem;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  position: absolute;
  bottom: 0;
}

.carousel-button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

@media (min-width: 1200px) {
  .parallax {
    animation: parallaxAnimation linear 70s;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .parallax {
    animation: parallaxAnimation linear 60s;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .parallax {
    animation: parallaxAnimation linear 50s;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .parallax {
    animation: parallaxAnimation linear 40s;
  }
}

@media (max-width: 575px) {
  .parallax {
    animation: parallaxAnimation linear 30s;
  }
}

@media (max-width: 768px) {
  .carousel-button {
    font-size: 1rem;
    padding: 0.25rem;
  }
}

.parallax {
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}
