@font-face {
  font-family: 'Roboto Flex';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  font-optical-sizing: auto;
  src: url('/assets/font/roboto/Roboto-Flex-V.woff2') format('woff2-variations');
}


:root {
  font-size: 16px;
}

html,
body {
  padding: 0;
  margin: 0;
  color: white;
}

body {
  background-color: #12001e;
  box-sizing: border-box;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  height: 100dvh;
  overflow: hidden;
}

figure {
  height: 100%;
  position: relative;
  margin: 0;
  padding: 1rem;
  box-sizing: border-box;
}

figure svg {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*#region x */
.header,
.footer {
  font-family: 'Roboto Flex', sans-serif;

  font-optical-sizing: auto;
  font-stretch: 151%;

  font-variation-settings:
    "YTAS" 854,
    "XTRA" 603,
    "YTLC" 416,
    "YTUC" 760,
    "YOPQ" 112,
    "GRAD" -100;

  z-index: 2;
  padding: 1rem;

  border-radius: 0.75rem;
}

.header {
  font-size: 2.5rem;
}

.footer {
  display: flex;
}

.footer .btn {
  margin-left: auto;
}

.btn svg {
  aspect-ratio: 1 /1;
  width: 1em;
  display: inline-block;
  vertical-align: -.125em;
  fill: currentcolor;
}

.btn {
  --bs-border-radius: 0.375rem;
  --bs-border-width: 1px;
  --bs-border-style: solid;

  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: currentColor;
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: var(--bs-border-radius);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-outline-light {
  --bs-btn-color: #f8f9fa;
  --bs-btn-border-color: #f8f9fa;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #f8f9fa;
  --bs-btn-hover-border-color: #f8f9fa;
  --bs-btn-focus-shadow-rgb: 248, 249, 250;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #f8f9fa;
  --bs-btn-active-border-color: #f8f9fa;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #f8f9fa;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #f8f9fa;
  --bs-gradient: none;
}

.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}


#mandala image {
  opacity: 0;
}

g#l1,
g#l2,
g#l3,
g#l4,
g#l5 {
  animation: cir 3s cubic-bezier(0.000, 0.230, 0.340, 1.540);
  transform-origin: center;
  transform: rotate(0deg);
  opacity: 1;
}

g#l1 image,
g#l2 image,
g#l3 image,
g#l4 image,
g#l5 image {
  animation: trans 0.33s ease-out var(--d);
  animation-fill-mode: both;
}

g#l1 {
  --r: 360deg;
}

g#l2 {
  --r: -470deg;
}

g#l3 {
  --r: 540deg;
}

g#l4 {
  --r: 270deg;
}

g#l5 {
  --r: -180deg;
}


g#l5 image {
  --d: 2.6s
}

g#l4 image {
  --d: 2.8s
}

g#l3 image {
  --d: 3.0s
}

g#l2 image {
  --d: 3.2s
}

g#l1 image {
  --d: 3.4s
}

g#x41 image {
  animation: flash 3.4s linear;
  animation-fill-mode: both;
}



@keyframes cir {
  0% {
    transform: rotate(var(--r));
    opacity: 0;
  }

  58% {
    opacity: 1;
  }
}

@keyframes trans {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes flash {
  0% {
    opacity: 0;
  }

  5% {
    opacity: .7;
  }

  15% {
    opacity: 0;
  }

  21% {
    opacity: .4;
  }

  40% {
    opacity: .2;
  }

  46% {
    opacity: .5;
  }

  50% {
    opacity: .2;
  }

  55% {
    opacity: .7;
  }

  60% {
    opacity: .6;
  }

  65% {
    opacity: .8;
  }

  70% {
    opacity: .5;
  }

  80% {
    opacity: .9;
  }

  85% {
    opacity: .8;
  }

  90% {
    opacity: 1;
  }

  95% {
    opacity: .9;
  }

  100% {
    opacity: 1;
  }
}

/*#endregion */

@media (max-width: 1199px) and (min-aspect-ratio: 10/6) {
  body {
    /* background-color: red; */
  }

  figure {
    position: initial;

  }

  figure svg {
    object-fit: initial;
    height: initial;
  }

  .header,
  .footer {
    backdrop-filter: blur(1.5px) saturate(150%);
    backdrop-filter: blur(1.5px) saturate(150%);

    -webkit-backdrop-filter: blur(1.5px) saturate(150%);

    background-color: rgba(0, 0, 0, 0.45);
    padding: 1rem;
  }

  .header {
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.2);
  }

  .footer {
    box-shadow: 0px -5px 10px 2px rgba(0, 0, 0, 0.2);
  }
}