
:root {
  --color-primary: #141F2C;
  --color-secondary: #007DE3;
  --expoOut: cubic-bezier(.16, 1, .3, 1);
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
  height: 100dvh;
  animation: to-the-dark var(--DURATION_4) linear var(--DELAY_4) forwards;
  position: fixed;
  inset: 0;
  
  @media screen and (min-width: 1024px) {
    min-height: 450px;
  }
}

@supports (backdrop-filter: invert(100%)) {
  body {
    cursor: none;
  }

  .cursor {
    height: 32px;
    width: 32px;
    pointer-events: none;
    position: absolute;
    z-index: 1;
    clip-path: path("M24,23.5L0,0l9.8,28.4L24,23.5z");
    backdrop-filter: invert(100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-origin: top left;
    display: none;
  }
}

body, .inpacte__step2-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inpacte__step1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.inpacte__loader {
  transform: scale(0);
  opacity: 0;
  width: 20dvmin;
  height: 20dvmin;
  transition: transform 2s;
  animation: 
  fade-in var(--DURATION_1) cubic-bezier(.16, 1, .3, 1) var(--DELAY_1) forwards, 
  spin var(--DURATION_2) cubic-bezier(.87, 0, .13, 1) var(--DELAY_2) alternate var(--REPETITIONS_2),
  flip-and-scale var(--DURATION_3) cubic-bezier(0.22, 1, 0.36, 1) var(--DELAY_3) forwards;
}

.inpacte__loader path {
  fill: var(--color-primary);
}

.inpacte__step2 {
  background-color: #fff;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 1.65vw;
  opacity: 0;
  animation: appear var(--DURATION_5) linear var(--DELAY_5) forwards;
}

.inpacte__step2-inner {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 1.15vw;
}

.inpacte__container {
  max-width: 117dvmin;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15dvmin;
  padding: 1rem;
}

@media screen and (min-width: 1024px) {
  .inpacte__container {
    flex-direction: row;
  }
}

.inpacte__logo {
  max-width: 100%;
  width: 40dvmin;
  height: auto;
  flex-shrink: 0;
  padding: 1px;
}

@media screen and (min-width: 1024px) {
  .inpacte__logo {
    width: 14.44dvmax;
  }
}

.inpacte__text {
  --text-size: 3.15dvmin;

  font-size: var(--text-size);
  text-align: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  display: inline-flex;
  letter-spacing: 0.2px;
  display: flex;
  flex-direction: column;
  gap: calc(var(--text-size) * 0.3);

  span:last-child {
    font-size: calc(var(--text-size) * 0.85);
  }
}
  
@media screen and (min-width: 1024px) {
  .inpacte__text {
    --text-size: 2.75dvmax;

    text-align: left;
  }
}

.expo-out {
  opacity: 0;
  
  &.animate {
    opacity: 1;
    transition: transform 2s var(--expoOut), opacity 0.9s var(--expoOut) 0.03s;
    transform: translate(0, 0);
  }
}

.to-left {
  transform: translateX(-20%);
}

.to-right {
  transform: translateX(20%);
}

.to-bottom {
  transform: translateY(20%);
}

@keyframes fade-in {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes flip-and-scale {
  0% {
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
  100% {
    transform: matrix(20, 0, 0, 20, 0, 0);
  }
}

@keyframes to-the-dark {
  0% {
    background-color: #fff;
  }
  100% {
    background-color: var(--color-primary);
  }
}

@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}