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

* {
  margin: 0;
  min-width: 0;

  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari, Chrome, Opera, Samsung */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Edge, IE */
  user-select: none; /* Modern browsers */
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  width: 100%;
  height: 100%;
  display: flex;
  isolation: isolate;
}

/* --------------------- */
/* --------------------- */

@font-face {
  font-family: Roboto Mono;
  src: url(../dusk/fonts/RobotoMono-Regular.ttf);
  font-weight: 400;
}

body {
  font-family: Roboto Mono, sans-serif;
  line-height: 1.3;
}

/* --------------------- */
/* --------------------- */

body {
  background: #1b0329;
}

.background {
  transition: opacity 1s ease;
}

.background img,
.background canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

#root {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 773px;
  height: 370px;
  max-height: 40vh;
}

.tagline {
  background-color: #1b0035cc;
  padding: 8px 16px;
  border-radius: 8px;

  font-size: 24px;
  color: white;

  @media (max-width: 635px) {
    font-size: 20px;
  }

  @media (max-width: 500px) {
    font-size: 14px;
  }

  @media (max-width: 400px) {
    font-size: 12px;
  }
}

.tagline .cursor {
  color: #da9aff;
}

.developers-btn {
  position: fixed;
  top: 24px;
  right: 24px;

  border: 1.25px solid;
  border-image-source: linear-gradient(88.45deg, #c887ff -2.7%, #ffa9a9 100%);
  border-image-slice: 1;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 4px;
  padding: 10px 16px;
  transition: border-image-source 0.2s ease-out;

  @media screen and (max-width: 570px) {
    padding: 8px 12px;
    top: initial;
    right: initial;
    bottom: 24px;
    margin: 0 auto;
  }
}

.developers-btn div {
  transition: opacity 0.2s ease-out;
}

.developers-btn div.normal {
  background: linear-gradient(88.45deg, #c887ff -2.7%, #ffa9a9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
}

.developers-btn div.hover {
  position: absolute;
  top: 10px;
  opacity: 0;
  color: #ffd4d5;
}

.developers-btn:hover {
  border-image-source: linear-gradient(88.45deg, #ffd4d5 -2.7%, #ffd4d5 100%);

  div.normal {
    opacity: 0;
  }

  div.hover {
    opacity: 1;
  }
}

.developers-btn:hover div.normal {
  opacity: 0;
}

.developers-btn:hover div.hover {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.link2 {
  font-size: 14px;
  line-height: 130%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
