@import url("https://fonts.cdnfonts.com/css/pp-neue-montreal");

:root {
  --base-100: #dcdbd5;
  --base-200: #e12c1a;
  --base-300: #1a0401;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h3 {
  text-transform: uppercase;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 8vw, 14rem);
}

h3 {
  font-size: clamp(2rem, 5vw, 8rem);
}

p {
  text-transform: uppercase;
  font-family: "PP Neue Montreal", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.1;
}

section {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.about {
  background-color: var(--base-300);
  display: flex;
  justify-content: center;
  align-items: center;
}

.about h3 {
  text-align: center;
  color: var(--base-100);
  width: 60%;
}

.hero-fg-content,
.hero-bg-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.hero-fg-content {
  background-color: var(--base-300);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  will-change: clip-path, transform;
  z-index: 2;
}

.hero-fg-img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-fg-header {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  padding: 2rem;
  color: var(--base-100);
  text-align: center;
}

.hero-fg-overlay-dark,
.hero-fg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  will-change: opacity;
}

.hero-fg-overlay-dark {
  background-color: var(--base-300);
}

.hero-fg-overlay {
  background-color: var(--base-200);
}

.hero-bg-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  background-color: var(--base-100);
  z-index: 0;
}

.hero-bg-content-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.hero-bg-content-col:nth-child(2) {
  display: flex;
  justify-content: flex-end;
}

.hero-bg-content-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 50%;
  will-change: transform;
}

.hero-bg-content-copy h3 {
  color: var(--base-200);
}

.hero-bg-content-copy p {
  color: var(--base-300);
}

.hero-outro-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
}

.hero-outro-img {
  flex: 1;
  height: 100%;
  will-change: clip-path;
}

.hero-outro-img:nth-child(1) {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.hero-outro-img:nth-child(2) {
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

.hero-outro-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--base-100);
  text-align: center;
  width: 60%;
}

.hero-outro-header .line {
  position: relative;
  will-change: transform;
}

@media (max-width: 1000px) {
  .hero-bg-content-copy {
    width: 100%;
  }

  .hero-bg-content-col:nth-child(1) .hero-bg-content-copy {
    margin-top: -50svh;
  }

  .hero-bg-content-col:nth-child(2) .hero-bg-content-copy {
    margin-top: 50svh;
  }

  .about h3,
  .hero-outro-header {
    width: 100%;
    padding: 2rem;
  }
}
