@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Instrument Sans", Arial, sans-serif;
  background: #174fae;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
}

.splash {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background-color: #174fae;
  background-image: url("assets/background-desktop.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.shade {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 78.6667%;
  background: linear-gradient(to bottom, rgba(115, 115, 115, 0.42), rgba(217, 217, 217, 0));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.logo {
  position: absolute;
  z-index: 1;
  top: 19%;
  left: 50%;
  width: min(17.3611vw, 27.7778svh);
  height: auto;
  transform: translateX(-50%);
}

.message {
  position: absolute;
  z-index: 1;
  top: 60.5556%;
  left: 50%;
  width: max-content;
  max-width: 94vw;
  transform: translateX(-50%);
  text-align: center;
}

.message h1,
.message p {
  margin: 0;
  line-height: 1.22;
}

.message h1 {
  color: #fff;
  font-size: min(2.2222vw, 3.5556svh);
  font-weight: 400;
}

.message p {
  margin-top: 8px;
  color: #00d67b;
  font-size: min(2.2222vw, 3.5556svh);
  font-weight: 500;
}

.mobile-break {
  display: none;
}

@media (min-width: 600px) and (max-width: 1023px) {
  .splash {
    background-image: url("assets/background-portrait.jpg");
    background-position: center;
  }

  .shade {
    height: 69.1406%;
  }

  .logo {
    top: 22.7539%;
    width: min(24.7396vw, 18.5547svh);
  }

  .message {
    top: 50%;
    left: 52.3438%;
  }

  .message h1,
  .message p {
    font-size: min(3.6458vw, 2.7344svh);
  }

  .message p {
    margin-top: 7px;
  }
}

@media (max-width: 599px) {
  .splash {
    background-image: url("assets/background-portrait.jpg");
    background-position: center;
  }

  .shade {
    height: 81.0345%;
  }

  .logo {
    top: 16.9951%;
    width: min(40vw, 18.4729svh);
  }

  .message {
    top: 46.3054%;
    left: 51.3333%;
  }

  .message h1,
  .message p {
    font-size: min(5.3333vw, 2.4631svh);
  }

  .message p {
    margin-top: 14px;
  }

  .mobile-break {
    display: inline;
  }
}

@media (prefers-reduced-data: reduce) {
  .splash {
    background-color: #174fae;
  }
}
