.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.cta {
  background-color: oklch(var(--purple));
  color: oklch(var(--light));
  text-transform: uppercase;
  font-weight: 900;
  display: inline-flex;
  font-size: 25px;
  line-height: 100%;
  border-radius: 999px;
  padding: 24px 64px;
  transition: background-color 0.2s ease;
  cursor: pointer;
  border: none;
  max-width: 580px;
  flex-direction: column;
}

.cta span {
  font-size: 9px;
  text-align: center;
  font-weight: 300;
  margin-top: 5px;
  line-height: 100%;
}

.cta:has(span) {
  padding: 14px 64px;
}

.cta:hover {
  background-color: oklch(var(--purple) / 0.9);
}

.vimeo-video {
  position: relative;
  width: 410px;
  aspect-ratio: 9/16;
  user-select: none;
}

.vimeo-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vimeo-video .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.vimeo-video .overlay button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 20%;
  aspect-ratio: 1;
}

.vimeo-video .overlay button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vimeo-video .poster {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  inset: 0;
}

.vimeo-video.active .poster {
  opacity: 0;
  pointer-events: none;
}

.vimeo-video.active .overlay {
  opacity: 0;
}

.vimeo-video .loading-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vimeo-video:has(.loading-wrapper) .overlay button {
  display: none;
}

.vimeo-video .loading-wrapper .loading {
  width: 20%;
  height: 20%;
  object-fit: contain;
  animation: loading 3s linear infinite;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
