@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300..800&display=swap');

* {
  box-sizing: border-box;
}

:root {
  --fluid-16-36: clamp(1rem, 0.5652rem + 2.1739vw, 2.25rem);
  --fluid-18-42: clamp(1.125rem, 0.6033rem + 2.6087vw, 2.625rem);
  --fluid-24-48: clamp(1.5rem, 0.9783rem + 2.6087vw, 3rem);
  --fluid-28-62: clamp(1.75rem, 1.0109rem + 3.6957vw, 3.875rem);
  --fluid-32-100: clamp(2rem, 0.5217rem + 7.3913vw, 6.25rem);
  --fluid-36-200: clamp(2.25rem, -1.3152rem + 17.8261vw, 12.5rem);

  --clr-blue: rgb(6, 10, 61);
}

.blue {
  color: var(--clr-blue);
}

img {
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: rgb(6, 10, 61);
  font-family: "Open Sans", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 16px;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

html {
  scroll-behavior: smooth;
}

body> :is(header, main, footer),
section,
article {
  container-type: inline-size
}

.page {
  position: relative;
  color: white;
}

header {
  position: relative;
}

.text {
  position: absolute;
  inset: 20% 0 auto;
  z-index: 1;
}

main {
  position: relative;
  /*background: rgb(6,10,61);
  background: linear-gradient(180deg, rgb(6, 10, 61) 49.9%, rgb(244, 101, 23) 50%);*/
  isolation: isolate;
  margin-block-start: calc(-100vw / 7);
}

.bg {
  position: relative;
}

.bg img {
  max-width: 100%;
  mix-blend-mode: overlay;
}

.boxes {
  background: url(bg_boxes.jpg) center bottom no-repeat;
  background-size: 100% auto;
  padding-block-end: calc(100vw / 6);
}

.box {
  padding: 1rem 0;
}

.result {
  background: rgb(244, 101, 23) url(bg_result.jpg) center top no-repeat;
  background-size: 100% auto;
  padding-block-start: calc(100vw / 10);
}

strong {
  font-weight: 600;
}

h1,
h2,
h3,
h4,
p {
  text-transform: uppercase;
  margin: 0 auto;
  text-wrap: balance;
  text-align: center;
}

p,
ul,
li,
figcaption {
  font-size: var(--fluid-16-36);
  text-wrap: pretty;
  max-width: 40ch;
  margin: auto;
  text-align: center
}

ul {
  width: fit-content;
}

li {
  text-align: left;
}


h1 {
  font-size: var(--fluid-28-62);
  font-weight: 300;
  margin: 0;
  line-height: 1;
  animation-duration: 10s, 5s;
  animation-name: fade, glow;
  animation-direction: alternate;
  animation-iteration-count: infinite;
}

h1 strong {
  font-size: var(--fluid-36-200);
}

h1>span {
  display: block;
  font-size: var(--fluid-32-100)
}

@keyframes fade {
  50% {
    color: rgba(255, 255, 255, 1);
  }

  100% {
    color: rgba(255, 255, 255, .5);
  }

}

@keyframes glow {
  50% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 1);
  }

  100% {
    text-shadow: 0 0 200px rgba(255, 255, 255, 0);
  }

}

h2 {
  font-size: var(--fluid-32-100);
  font-weight: 400;
  width: 18ch;
  line-height: 1;
  margin: 1rem auto 3rem;
}

h3 {
  font-weight: 600;
  font-size: var(--fluid-24-48);
  position: relative;
  display: block;
  line-height: 1;
}

h4 {
  font-weight: 300;
  font-size: var(--fluid-16-36);
  position: relative;
  display: block;
  line-height: 1;
}

h4+h4 {
  transform: scale(1, -1);
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 100%);
  background-clip: text;
  translate: 0 -.25em 0;
}


h4 + h3 {
  margin: calc(50vw / 10) auto;
}

.box h3 {
  line-height: 10rem;
}

.box h3::before {
  content: "?";
  display: block;
  font-size: 10rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  inset: 0;
  z-index: 0;
}

.box p {
  width: 20ch;
  margin-inline: auto;
  font-size: var(--fluid-24-48);
  line-height: 1.25;
  margin-top: 1rem;
}

.video1 {
  object-fit: contain;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0px;
  left: 0;
  z-index: -1;
  opacity: 0.8;
}

.bg::before {
  background: url(stars-over.jpg) center no-repeat;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  mix-blend-mode: darken;
  background-size: contain;
  inset: auto;
  opacity: 0.25;
}

.bg::after {
  background: rgb(6, 10, 61);
  background: linear-gradient(180deg, rgba(6, 10, 61, 0) 0%, rgba(6, 10, 61, 1) 100%);
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 6/2;
  position: absolute;
  bottom: 0;
  ;
}

footer {
  background: rgb(244, 101, 23);
  position: relative;
  padding: 3rem 0 5rem;
}

footer p {
  line-height: 1;
  max-width: 20ch;
}


footer .big {
  display: block;
  font-weight: 900;
  font-size: var(--fluid-28-62);
  position: relative;
}

footer .big span {
  position: relative;
  display: inline-block;
  background: rgb(244, 101, 23);
  padding-inline: .5rem;
  z-index: 1;
}

footer .big::after {
  position: absolute;
  content: "";
  background: black;
  display: inline-block;
  inset: 50% 5%;
  height: 1px;
  width: 90%;
}

a {
  background: var(--clr-blue);
  border-radius: 2rem;
  margin-top: 2rem;
  padding: 0 2rem;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  line-height: 4rem;
  transition: all 1s ease-in-out;

  &:hover {
    padding: 0 2.5rem;
    color: var(--clr-blue);
    background: white;
  }
}

/*.page-inner {min-height: 100vh;
  display: grid;
  place-items: center;}*/

.icon {
  position: relative;
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.icon div {
  --size: 100px;
  --offset: 50px;
  width: var(--size);
  aspect-ratio: 1;
  position: absolute;
  left: calc(var(--size) / 2);
  top: calc(var(--size) / 2);
  transform: translate(calc(cos(var(--degrees)) * var(--offset)), calc(sin(var(--degrees)) * var(--offset)));
}

.icon div img {
  rotate: var(--degrees);
  animation-name: rotate-line;
  animation-duration: 4s;
  animation-timing-function: linear;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  filter: drop-shadow(10px 10px 10px purple);
}

.icon div:nth-of-type(1) {
  --degrees: calc(0 * (360deg / 16));
}

.icon div:nth-of-type(2) {
  --degrees: calc(1 * (360deg / 16));
}

.icon div:nth-of-type(3) {
  --degrees: calc(2 * (360deg / 16));
}

.icon div:nth-of-type(4) {
  --degrees: calc(3 * (360deg / 16));
}

.icon div:nth-of-type(5) {
  --degrees: calc(4 * (360deg / 16));
}

.icon div:nth-of-type(6) {
  --degrees: calc(5 * (360deg / 16));
}

.icon div:nth-of-type(7) {
  --degrees: calc(6 * (360deg / 16));
}

.icon div:nth-of-type(8) {
  --degrees: calc(7 * (360deg / 16));
}

.icon div:nth-of-type(9) {
  --degrees: calc(8 * (360deg / 16));
}

.icon div:nth-of-type(10) {
  --degrees: calc(9 * (360deg / 16));
}

.icon div:nth-of-type(11) {
  --degrees: calc(10 * (360deg / 16));
}

.icon div:nth-of-type(12) {
  --degrees: calc(11 * (360deg / 16));
}

.icon div:nth-of-type(13) {
  --degrees: calc(12 * (360deg / 16));
}

.icon div:nth-of-type(14) {
  --degrees: calc(13 * (360deg / 16));
}

.icon div:nth-of-type(15) {
  --degrees: calc(14 * (360deg / 16));
}

.icon div:nth-of-type(16) {
  --degrees: calc(15 * (360deg / 16));
}

@keyframes rotate-line {
  0% {
    transform: rotate(0deg) scale(50%);
    opacity: 1;
  }

  50% {
    transform: rotate(180deg) scale(100%);
    opacity: 1;
  }

  100% {
    transform: rotate(360deg) scale(50%);
    opacity: 1;
  }
}

.title {}

.subtitle {}

.highlight {}