@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f40000;

  @media (min-width: 70rem) {
    background: #005f32;
  }
}

.layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-top: 12rem;
}

@media (min-height: 50rem) {
  .layout {
    padding-top: 9rem;
  }
}

@media (min-width: 70rem) {
  .layout {
    flex-direction: row;
    padding-top: 0;
  }
}

.inner {
  display: none;

  @media (min-width: 70rem) {
    display: block;
  }
}

.left-panel {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50%;
}

@media (min-width: 70rem) {
  .left-panel {
    width: auto;
    height: auto;
  }
}

.top-logo {
  position: absolute;
  top: 2rem;
  width: 13rem;
}

.first-text {
  fill: white;
  width: 100%;
  max-height: 4rem;
}

@media (min-width: 90rem) {
  .first-text {
    max-height: 6rem;
  }
}

@media (min-width: 100rem) {
  .first-text {
    max-height: 8rem;
  }
}

.left-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  text-align: center;
  width: 100%;
}

@media (min-width: 70rem) {
  .left-content {
    padding-top: 0;
  }
}

.preview-wrap {
  position: relative;
  bottom: 1rem;
}

[data-active].preview-wrap {
  cursor: pointer;
  opacity: 1;
}

.preview-image {
  width: 90vw;
  height: 90vw;
  object-fit: cover;
  transform: scale(1);
  border-radius: 8px;

  opacity: 0.5;

  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 1.2s ease;

  @media (min-width: 70rem) {
    width: 60vh;
    height: 60vh;
    height: auto;
  }
}

[data-active].preview-wrap .preview-image {
  opacity: 1;
}

@media (min-width: 70rem) {
  [data-active].preview-wrap:hover .preview-image {
    transform: scale(1.1);
    box-shadow: none;
  }
}

[data-active].preview-wrap:active .preview-image {
  transform: scale(0.8);
}

.play {
  transition: transform 0.3s ease;
  transform: scale(1);
  width: 4rem;
  height: 4rem;

  @media (min-width: 70rem) {
    width: 5.5rem;
    height: 5.5rem;
  }
}

.preview-wrap:hover .play {
  transform: scale(1.5);
}

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.spinner {
  width: 5.5rem;
  height: 5.5rem;
  border: 8px solid rgb(212, 168, 78, 0.5);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 1;
}

.right-panel {
  width: 100%;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50%;
  display: flex;
  padding-top: 3rem;
}

@media (min-height: 50rem) {
  .right-panel {
    padding-top: 0;
  }
}

@media (min-width: 70rem) {
  .right-panel {
    margin-top: 0;
    width: auto;
    padding-top: 0;
    width: 30%;
    background: #f40000;
    height: auto;
  }
}

.small {
  display: none;
  max-width: 20vw;
}

@media (min-width: 70rem) {
  .small {
    display: block;
  }
}

.cta-button {
  display: flex;
  max-width: 90%;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 1.5rem 3rem;
  border-width: 0;
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
  line-height: 1;
  margin: 0 auto;

  transition:
    transform 0.3s ease,
    box-shadow 0.6s ease;

  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

@media (min-width: 70rem) {
  .cta-button:hover {
    box-shadow: none;
    transform: scale(1.15);
  }
}

.cta-button:active {
  transform: scale(0.9);
}

.last-text {
  display: none;
  width: 19.3125rem;
  height: 8.3125rem;
  fill: white;
}

@media (min-height: 45rem) {
  .last-text {
    display: block;
  }
}

.disclaimer {
  position: fixed;
  bottom: 1rem;
  left: 0;
  text-transform: uppercase;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-family: sans-serif;
  text-align: center;
  letter-spacing: 0.05rem;
  width: 100%;
}

@media (min-width: 70rem) {
  .disclaimer {
    width: 60%;
  }
}
