button {
  all: unset;
}

.btn {
  --bg: var(--color--primary);
  --color: var(--color--white);
  --d: 5rem;
  padding: 0 calc(var(--d) * 0.4);
  height: var(--d);
  line-height: var(--d);
  font-size: calc(var(--d) * 0.4);
  text-transform: uppercase;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  color: var(--color);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 1;
  text-align: center;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.btn-transparent {
  --bg: transparent;
  --color: var(--color--white);
}
.btn > * {
  position: none;
}

.btn-icon {
  --d: 5rem;
  width: var(--d);
  height: var(--d);
  border-radius: 100%;
  border: none;
  background-color: var(--color--white);
  color: var(--color--black);
  font-size: calc(var(--d) * 0.7);
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon > * {
  pointer-events: none;
}

.btn-white {
  --bg: var(--color--white);
  --color: var(--color--black);
}
.btn-white.done {
  background-color: var(--color--green);
}

.visual-log {
  position: fixed;
  background-color: var(--color--primary);
  color: var(--color--black);
  padding: 1rem;
  font-size: 1.2rem;
  z-index: 1000;
  width: 100vw;
}

.btn-back-fixed {
  position: absolute;
  top: var(--top-skip-btn);
  left: 8rem;
  z-index: 1000;
}
.btn-back-fixed img {
  display: block;
  height: 4rem;
  width: 4.8rem;
}

.btn-skip {
  position: absolute;
  top: var(--top-skip-btn);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}
.btn-skip > img {
  height: 4rem;
}

.btn-fix {
  position: absolute;
  top: var(--top-skip-btn);
  right: 8rem;
  z-index: 1000;
}

.btn-tutorial {
  height: 4rem;
  width: 4.9rem;
}

.btn-close-app {
  position: absolute;
  top: var(--top-skip-btn);
  left: 2rem;
  z-index: 1000;
  z-index: 1000;
}
.btn-close-app img {
  height: 4rem;
  width: 4.8rem;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audio-controls {
  position: absolute;
  top: var(--top-skip-btn);
  right: 2rem;
  z-index: 1000;
}
.audio-controls .audio-toggle img {
  width: 4.9rem;
  height: 4rem;
}

@font-face {
  font-family: "Speedee-Regular";
  src: url("../../fonts/speedee/Speedee-Bold.eot?#iefix") format("embedded-opentype"), url("../../fonts/speedee/Speedee-Bold.woff") format("woff"), url("../../fonts/speedee/Speedee-Bold.ttf") format("truetype"), url("../../fonts/speedee/Speedee-Bold.svg#Speedee-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Speedee-Regular";
  src: url("../fonts/speedee/Speedee-Regular.eot?#iefix") format("embedded-opentype"), url("../../fonts/speedee/Speedee-Regular.woff") format("woff"), url("../../fonts/speedee/Speedee-Regular.ttf") format("truetype"), url("../../fonts/speedee/Speedee-Regular.svg#Speedee-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "frankestein-font";
  src: url("../../fonts/customfont/frankestein-font.woff2") format("woff2"), url("../../fonts/customfont/frankestein-font.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: "Speedee-Regular";
}
body .custom-font {
  font-family: "frankestein-font";
  opacity: 0.8;
}
body .custom-font.title {
  font-size: clamp(1.4rem, 13vw, 6.4rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}
body .custom-font.title small {
  font-size: 0.7em;
}
h1, h2, h3, h4, h5, h6, p, span, a, button, input, textarea {
  margin: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow: hidden;
}

* {
  outline: none;
  box-sizing: border-box;
}

:root {
  --bg--color: white;
  --color--black: black;
  --color--white: white;
  --color--primary: #f5bc0f;
  --color--primary--dark: #d7a200;
  --color--secondary: #264f36;
  --color--secondary--dark: #183223;
  --color--red: #ef0403;
  --color--green: #18BF11;
  --color--gray--light: #faf9f7;
  --color--gray: #888888;
  --color--gray--dark: #4c4c4c;
  --top-skip-btn: 5rem;
}

body {
  background: var(--color--black);
  color: var(--color--white);
  font-size: 1.6rem;
  font-weight: regular;
  line-height: 1.1;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

::selection {
  background: var(--color--primary);
  color: var(--color--white);
}

::-moz-selection {
  background: var(--color--primary);
  color: var(--color--white);
}

img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

body.height-set .screen {
  width: initial;
  max-width: initial;
  height: 100vh;
}
body.height-set .custom-font.title {
  font-size: clamp(1.4rem, 4.6vh, 5.2rem);
}
body.height-set .btn {
  --d: clamp(1rem, 5vh, 5rem);
}
body.height-set #finalProduct .text {
  gap: clamp(2rem, 6vh, 4rem);
}
body.height-set #finalProduct .custom-font.title {
  font-size: clamp(1.4rem, 3.6vh, 5.2rem);
}
body.height-set #welcome .text {
  font-size: clamp(2rem, 2.4vh, 6rem);
}
.screen-wrapper,
.screen {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 390/840;
  width: 100dvw;
  max-width: 450px;
  overflow: hidden;
  background: var(--color--black);
}
.screen-wrapper > video,
.screen > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-wrapper {
  display: block;
}

.screen.visible {
  display: block;
}

.overlay-text {
  position: absolute;
  top: 40%;
  width: 100%;
  text-align: center;
  font-size: 2em;
  color: white;
}

#intro .btn-back-fixed {
  opacity: 0;
}
#intro.video-timeout .force-start {
  opacity: 1;
  pointer-events: initial;
}
#intro .force-start {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}
#intro .force-start::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 110;
  width: 6rem;
  height: 6rem;
  opacity: 0;
  background: url("https://fb-r2.c1-p8.com/images/hand.png") no-repeat center center;
  background-size: cover;
  animation: hand-animation 8.5s ease-in-out infinite 1.5s;
}

#welcome .text {
  position: absolute;
  top: 15%;
  font-size: clamp(2rem, 5vw, 10rem);
  left: 2rem;
  right: 2rem;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--color--black);
}

#home.show .logo-wrapper .clouds-logo {
  opacity: 0.3;
  transform: scale(1) translate(0%, -10%);
}
#home.show .logo-wrapper .logo {
  opacity: 1;
}
#home.show .text {
  opacity: 1;
}
#home .logo-wrapper {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  max-width: initial;
  z-index: 10;
  text-align: center;
}
#home .logo-wrapper .logo {
  position: relative;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 1.3s;
  z-index: 2;
}
#home .logo-wrapper .clouds-logo {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.1) translate(0%, -10%);
  opacity: 0;
  z-index: 1;
  transition: all 0.3s ease-in-out 1s;
}
#home .text {
  position: absolute;
  bottom: 12%;
  left: 2rem;
  right: 2rem;
  z-index: 10;
  text-align: center;
  text-shadow: 0 0 10px var(--color--black);
  opacity: 0;
  transition: opacity 0.5s ease-in-out 1.8s;
}
#home .text button {
  width: 100%;
  font-size: clamp(2rem, 6vw, 4rem);
}

#experiments .grip-wrapper {
  position: absolute;
  overflow-y: auto;
  height: 100%;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
#experiments .experiments-grid {
  background: var(--color--black) url("https://fb-r2.c1-p8.com/images/ripiano.jpg") repeat-y top center;
  background-size: 100% auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#experiments .experiments-grid .experiment-item {
  border: 1px solid transparent;
  padding-bottom: 107.7%;
  position: relative;
  order: 2;
}
#experiments .experiments-grid .experiment-item > * {
  pointer-events: none;
}
#experiments .experiments-grid .experiment-item > img {
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 72%;
  width: initial;
  filter: grayscale(1) brightness(0.2);
}
#experiments .experiments-grid .experiment-item:nth-child(even) > img {
  left: 55%;
}
#experiments .experiments-grid .experiment-item.active {
  order: 1;
}
#experiments .experiments-grid .experiment-item.active > img {
  filter: grayscale(0) brightness(1);
}

#productGrid {
  background: var(--color--black) url("https://fb-r2.c1-p8.com/images/libreria.jpg") no-repeat center center;
  background-size: cover;
  background-position: center center;
}
#productGrid.grid-show .grid {
  pointer-events: initial;
}
#productGrid.grid-show .storm-flash {
  opacity: 1;
}
#productGrid .storm-flash {
  opacity: 0;
  transition: opacity 0.45s ease-in-out;
}
#productGrid .steps {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.45s ease-in-out;
  pointer-events: none;
}
#productGrid .steps span {
  --d: 2rem;
  display: block;
  width: var(--d);
  height: var(--d);
  border: 3px solid var(--color--white);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color--black);
  background: rgba(0, 0, 0, 0.2);
}
#productGrid .steps span.active {
  background: var(--color--white);
}
#productGrid video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
#productGrid .grid {
  --bottom: 19%;
  position: absolute;
  top: 6%;
  bottom: var(--bottom);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
  perspective: 1000px;
}
#productGrid .grid.sub-grid {
  grid-template-columns: 35% 32% 33%;
  grid-template-rows: 1fr;
  top: calc(100% - var(--bottom));
  bottom: 0;
}
#productGrid .grid.sub-grid > div img {
  height: 65%;
  top: 65%;
}
#productGrid .grid.sub-grid > div:nth-child(1) img {
  left: 58%;
}
#productGrid .grid.sub-grid > div:nth-child(3) img {
  left: 44%;
}
#productGrid .grid.sub-grid .panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  background-size: 100% 100% !important;
  z-index: 10;
  transition: all 1s ease-in-out 0.5s;
  transform-origin: bottom center;
  transform: rotateX(0deg);
}
#productGrid .grid.sub-grid .panel.open {
  transform: rotateX(-180deg);
}
#productGrid .grid > div {
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  position: relative;
}
#productGrid .grid > div img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 80%;
  width: initial;
  filter: grayscale(1);
}
#productGrid .grid > div.active img {
  filter: grayscale(0);
}
#productGrid .grid:not(.sub-grid) > div:nth-child(2n+1) img {
  left: 55%;
}
#productGrid .grid:not(.sub-grid) > div:nth-child(1) img, #productGrid .grid:not(.sub-grid) > div:nth-child(2) img {
  top: 57%;
}
#productGrid .grid:not(.sub-grid) > div:nth-child(3) img, #productGrid .grid:not(.sub-grid) > div:nth-child(4) img {
  top: 55%;
}
#productGrid .grid:not(.sub-grid) > div:nth-child(5) img, #productGrid .grid:not(.sub-grid) > div:nth-child(6) img {
  top: 50%;
}
#productGrid .grid:not(.sub-grid) > div:nth-child(7) img, #productGrid .grid:not(.sub-grid) > div:nth-child(8) img {
  top: 54%;
}

#productSlider .product-wrapper {
  position: absolute;
  width: clamp(100px, 100vw, 450px);
  aspect-ratio: 390/844;
  top: 0;
  left: 0;
  background: var(--color--black) url(https://fb-r2.c1-p8.com/images/room-background.jpg) no-repeat center center;
  background-size: cover;
}
#productSlider .product-wrapper:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--color--black) url(https://fb-r2.c1-p8.com/images/tavolo-v1.png) no-repeat center center;
}
#productSlider .product-wrapper .swiper {
  height: 100%;
}
#productSlider .product-wrapper .swiper .swiper-slide {
  height: 100%;
  position: relative;
}
#productSlider .product-wrapper .swiper .swiper-slide img {
  filter: grayscale(1);
}
#productSlider .product-wrapper .swiper .swiper-slide.product-item.active img {
  filter: grayscale(0);
}
#productSlider .product-wrapper .swiper .swiper-slide.product-item.active button {
  display: none;
}
#productSlider .product-wrapper .swiper .swiper-slide.product-item.active span {
  display: block;
}
#productSlider .product-wrapper .swiper .swiper-slide .product-image {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  z-index: 2;
}
#productSlider .product-wrapper .swiper .swiper-slide .product-image.dark {
  filter: brightness(0);
}
#productSlider .product-wrapper .swiper .swiper-slide .product-image.dark ~ button {
  opacity: 0;
}
#productSlider .product-wrapper .swiper .swiper-slide .product-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  object-fit: cover;
  z-index: 1;
}
#productSlider .product-wrapper .swiper .swiper-slide span {
  display: none;
}
#productSlider .product-wrapper .swiper .swiper-slide span,
#productSlider .product-wrapper .swiper .swiper-slide button {
  position: absolute;
  bottom: 9rem;
  left: 2rem;
  right: 2rem;
  width: initial;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 0.35s;
}
#productSlider .product-wrapper .swiper .swiper-slide.swiper-slide-active span,
#productSlider .product-wrapper .swiper .swiper-slide.swiper-slide-active button {
  opacity: 1;
}
#productSlider .product-wrapper .swiper-button-next, #productSlider .product-wrapper .swiper-button-prev {
  color: var(--color--white);
  text-shadow: 0 0 6px var(--color--black);
  transition: opacity 0.5s ease-in-out;
}
#productSlider .product-wrapper .swiper-button-next:after, #productSlider .product-wrapper .swiper-button-prev:after {
  display: none;
}
#productSlider .product-wrapper .swiper-button-next svg, #productSlider .product-wrapper .swiper-button-prev svg {
  width: 2rem;
  height: 2rem;
}
#productSlider .product-wrapper .swiper-horizontal > .swiper-pagination-bullets {
  bottom: 5rem;
}
#productSlider .product-wrapper .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet {
  background: var(--color--white);
}

#prefusion {
  background: var(--color--black) url("https://fb-r2.c1-p8.com/images/video-bobina-thumb.jpg") no-repeat center center;
  background-size: cover;
}
#prefusion.start-fusion .leva {
  transform: rotate(55deg);
}
#prefusion.start-fusion .lights span {
  opacity: 1;
}
#prefusion.start-fusion .hand img {
  opacity: 0 !important;
}
#prefusion video {
  background: var(--color--black) url("https://fb-r2.c1-p8.com/videos/video-bobina-thumb.jpg") no-repeat center center;
  background-size: cover;
}
#prefusion .hand {
  pointer-events: none;
  position: absolute;
  bottom: 4%;
  left: 25%;
  width: 16%;
  z-index: 11;
  opacity: 0;
  animation: hand-animation 8.5s ease-in-out infinite 1.5s;
}
#prefusion .hand img {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
@keyframes hand-animation {
  0% {
    transform: skew(0deg, 0deg);
    opacity: 0;
  }
  20% {
    transform: skew(10deg, -15deg);
    opacity: 1;
  }
  25% {
    transform: skew(0deg, 0deg);
    opacity: 1;
  }
  30% {
    transform: skew(-10deg, 15deg);
    opacity: 1;
  }
  35% {
    transform: skew(0deg, 0deg);
    opacity: 1;
  }
  40% {
    transform: skew(-10deg, 15deg);
    opacity: 1;
  }
  90% {
    transform: translate(0%, 0%);
    opacity: 0;
  }
  100% {
    transform: skew(-10deg, 15deg);
    opacity: 0;
  }
}
#prefusion button {
  position: absolute;
  bottom: 0%;
  height: 30%;
  left: 0%;
  right: 0%;
  z-index: 12;
}
#prefusion .lab-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
#prefusion .leva {
  position: absolute;
  bottom: 13.5%;
  left: 5%;
  width: 45%;
  z-index: 10;
  transform: rotate(-35deg);
  transform-origin: 90% 40%;
  transition: transform 2.4s ease-in-out;
}
#prefusion .lights {
  position: absolute;
  bottom: 9.5%;
  left: 15%;
  width: 2.5%;
  height: 18.6%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  z-index: 9;
}
#prefusion .lights.lights-h {
  transform: rotate(90deg);
  transform-origin: center bottom;
  bottom: 34%;
  left: 10%;
  width: 3.5%;
  height: 35%;
}
#prefusion .lights span {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--color--white);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color--white), 0 0 20px var(--color--white), 0 0 30px var(--color--white), 0 0 40px var(--color--white), 0 0 50px var(--color--white);
  opacity: 0;
}
#prefusion .lights span:nth-child(1) {
  transition-delay: 0.2s;
}
#prefusion .lights span:nth-child(2) {
  transition-delay: 0.4s;
}
#prefusion .lights span:nth-child(3) {
  transition-delay: 0.6s;
}
#prefusion .lights span:nth-child(4) {
  transition-delay: 0.8s;
}
#prefusion .lights span:nth-child(5) {
  transition-delay: 1s;
}
#prefusion .lights span:nth-child(6) {
  transition-delay: 1.2s;
}
#prefusion .lights span:nth-child(7) {
  transition-delay: 1.4s;
}
#prefusion .lights span:nth-child(8) {
  transition-delay: 1.6s;
}
#prefusion .products {
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translate(-50%, 0);
  right: 0;
  width: 90%;
  height: 34%;
  z-index: 8;
}
#prefusion .products img {
  position: absolute;
}
#prefusion .products img:nth-child(1) {
  bottom: 24%;
  left: -5%;
  width: 66%;
  z-index: 1;
}
#prefusion .products img:nth-child(2) {
  bottom: 10%;
  right: -8%;
  width: 66%;
  z-index: 2;
}

#fusionResult.show .cta-wrapper {
  opacity: 1;
  pointer-events: initial;
}
#fusionResult .cta-wrapper {
  position: absolute;
  bottom: 0%;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 0.3s;
  pointer-events: none;
  background: url("https://fb-r2.c1-p8.com/images/mcd_lab_finale_tasto_on.png") no-repeat center center;
  background-size: 100% 100%;
}
#fusionResult .cta-wrapper > * {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 50%;
  height: 16.5%;
  line-height: 1;
  text-align: center;
}
#fusionResult .cta-wrapper > *:nth-child(1) {
  left: 5%;
  bottom: 0%;
  width: 43%;
}
#fusionResult .cta-wrapper > *:nth-child(2) {
  right: 7%;
  bottom: 0%;
  width: 43%;
  color: var(--color--black);
}
#fusionResult .cta-wrapper > *:nth-child(2):after {
  content: "";
  position: absolute;
  bottom: 27%;
  left: 8%;
  width: 85%;
  height: 46%;
  background: #FDFCD8;
  background-size: 100% 100%;
  box-shadow: 0 0 10px #FFBC0D, 0 0 20px #FFBC0D;
  border-radius: 1rem;
  z-index: -1;
  animation: pulse-shadow 1.5s infinite alternate;
}
@keyframes pulse-shadow {
  0% {
    box-shadow: 0 0 10px #FFBC0D, 0 0 20px #FFBC0D;
  }
  50% {
    box-shadow: 0 0 25px #FFC700, 0 0 40px #FFBC0D;
  }
  100% {
    box-shadow: 0 0 10px #FFBC0D, 0 0 20px #FFBC0D;
  }
}

#finalProduct.show .cta-wrapper {
  opacity: 1;
}
#finalProduct.show .product-image {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
#finalProduct.show .logo {
  opacity: 1;
}
#finalProduct.show .bollo {
  opacity: 1;
}
#finalProduct .bollo {
  position: absolute;
  top: 25%;
  left: 6%;
  width: 22%;
  max-width: initial;
  z-index: 3;
  opacity: 0;
  transition: 0.45s ease-in-out opacity 1.15s;
}
#finalProduct .bollo img {
  width: 100%;
  height: auto;
  max-width: initial;
  object-fit: contain;
}
#finalProduct .logo {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  max-width: initial;
  z-index: 3;
  opacity: 0;
  transition: 0.45s ease-in-out opacity 0.75s;
}
#finalProduct .cta-wrapper {
  position: absolute;
  bottom: 1rem;
  left: 10%;
  right: 10%;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 1s;
  gap: 0.5rem;
}
#finalProduct .cta-wrapper .title {
  display: none;
  margin-bottom: 0;
  text-align: center;
  line-height: 1;
  font-size: clamp(1.4rem, 13vw, 6.4rem);
}
#finalProduct .cta-wrapper > div {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
#finalProduct .product-image {
  position: absolute;
  top: 0%;
  left: 50%;
  width: 100%;
  max-width: initial;
  z-index: 2;
  opacity: 0;
  transform: translate(-50%, 0) scale(10);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-out;
}

.storm-flash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-size: cover;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.storm-flash:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.storm-flash:after {
  background: url("https://fb-r2.c1-p8.com/images/storm.png") no-repeat center center;
  background-size: cover;
  animation: flash ease-out 10s infinite;
  animation-delay: 0.6s;
  opacity: 0;
}

@-webkit-keyframes flash {
  from {
    opacity: 0;
  }
  3% {
    opacity: 0.6;
  }
  4% {
    opacity: 0.2;
  }
  5% {
    opacity: 0.9;
  }
  7% {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}
#tutorial {
  background: var(--color--black);
  background-size: 100% auto;
}
#tutorial .btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: 90%;
  transform: translate(-50%, 0);
}

#experimentDetails.show .text {
  opacity: 1;
  transform: translate(-50%, 0);
}
#experimentDetails.show .experiment-details img {
  opacity: 1;
  transform: scale(1);
}
#experimentDetails .text {
  position: absolute;
  bottom: 7%;
  left: 50%;
  z-index: 3;
  width: 100%;
  padding: 0 2rem;
  text-align: center;
  transform: translate(-50%, 2rem);
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transition-delay: 0.25s;
}
#experimentDetails .text .title {
  text-shadow: 0 0 10px rgb(34, 116, 21);
  color: rgb(61, 215, 37);
  line-height: 1;
}
#experimentDetails .text .cta-wrapper {
  margin-top: 2rem;
  display: none !important;
}
#experimentDetails .experiment-details img {
  width: 100%;
  opacity: 0;
  transform: scale(1.2);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

[data-color=green] .title {
  text-shadow: 0 0 10px rgb(34, 116, 21) !important;
  color: var(--color--green) !important;
}

[data-color=yellow] .title {
  text-shadow: 0 0 10px rgb(116, 104, 34) !important;
  color: rgb(238, 238, 40) !important;
}

[data-color=purple] .title {
  text-shadow: 0 0 10px rgb(116, 34, 104) !important;
  color: rgb(230, 98, 230) !important;
}

[data-color=red] .title {
  text-shadow: 0 0 10px rgb(116, 34, 34) !important;
  color: rgb(255, 9, 9) !important;
}

.tutorial-visible .tutorial-wrapper {
  opacity: 1;
  pointer-events: initial;
}
.tutorial-visible .text {
  opacity: 0 !important;
  transition-delay: 0s !important;
}

.tutorial-wrapper {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.75) url("https://fb-r2.c1-p8.com/images/tutorial-4.png") no-repeat center center;
  background-size: 100% auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.terms-wrapper {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.2rem;
  color: var(--color--white);
  z-index: 10000;
}
.terms-wrapper a {
  color: var(--color--white);
  text-decoration: underline;
}

.legal {
  font-size: 1.2rem;
  color: var(--color--white);
  text-align: center;
  line-height: 1;
}
/*# sourceMappingURL=main.css.map */
