@font-face {
  font-family: raleway;
  src: url(/fonts/Raleway-VariableFont_wght.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}



body {
  font-family: raleway, sans-serif;
}

img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  filter: brightness(85%);
}

h1 {
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: -0.1rem;
  line-height: 1.25;
}

p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
  
}

.card-description p {
  font-size: clamp(1rem, 0.5vw + 1rem, 5rem);
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

section {
  position: relative;
  width: 100%;
  background-color: #0f0f0f;
  color: #fff;
}

.intro, .outro {
  height: 100svh;
  padding: 1.5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro h1, .outro h1 {
  width: 60%;
  text-align: center;
  line-height: 1.1;
  font-weight: 400;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25svh;
  border-radius: 24px;
}

.card-marquee {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  overflow: hidden;
}

.marquee {
  display: flex;
}

marquee h1 {
  white-space: nowrap;
  font-size: 10vw;
  font-weight: 600;
  margin-right: 30px;
}

.card {
  position: relative;
  width: 100vw;
  height: 100svh;
  padding: 1.5em; 
}

.card-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-img img {
  transform: scale(2);
}

.card-content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
}

.card-content .card-title {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.card-title h1 {
  font-family: raleway;
}

.card-content .card-description {
  text-align: center;
  width: 40%;
  margin-bottom: 3em;
  position: relative;
  transform: translateX(40px);
  opacity: 0;
}
.card:nth-child(2) {
  margin-top: 50vh;
}

.char {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.char span {
  transform: translateX(100%);
  display: inline-block;
  will-change: transform;
  font-family: raleway;
  font-weight: 400;
}

@media (max-width: 900px) {
  h1 {
    font-size: 2rem;
    letter-spacing: 0;
  }

  .intro h1, outro h1 {
    width: 100%;
  }

  .card-content .card-description {
    width: 90%;
  }
}