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

body {
  background-color: #f40c3f;
  overflow-x: hidden;
}

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

section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.intro,
.outro {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f40c3f;
  color: #000;
}

.intro h1,
.outro h1 {
  font-family: "GR NORCH";
  font-size: 5vw;
  font-weight: lighter;
  text-transform: uppercase;
}

.outro {
  top: -0.125em;
}

.work {
  background-color: #000;
  overflow: hidden;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
}

#grid-canvas {
  z-index: 0;
}

#letters-canvas {
  z-index: 1;
}

.text-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  perspective: 2500px;
  perspective-origin: center;
}

.letter {
  position: absolute;
  font-family: "Bigger", sans-serif;
  font-size: 14rem;
  font-weight: bold;
  color: #f40c3f;
  z-index: 2;
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.cards {
  position: relative;
  width: 500vw;
  height: 100vh;
  padding-left: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
}

.card {
  width: 10%;
  height: 50%;
  padding: 8px;
  background-color: #000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-img {
  flex: 1;
  overflow: hidden;
}

.card-copy {
  height: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  text-transform: uppercase;
  font-family: "Akkurat Mono";
  font-size: 12px;
  color: #f40c3f;
}
