* {
  box-sizing: border-box;
}

html,
body {
  -webkit-overflow-scrolling: touch;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #fff;
  background-color: #000;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: #161627;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #000;
}

::selection {
  background: none;
}

a {
  color: inherit;
  transition: opacity 250ms ease-in-out;
  display: inline-block;
  padding: 4px;
  margin: -4px;
}

a:hover,
a:focus-visible {
  opacity: 0.8;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
}

img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
}

.main {
  height: 100vh;
  height: 100dvh;
  background: url('./assets/splash.webp') right / auto 100% no-repeat,
    linear-gradient(to bottom, #000 0%, #161627 50%, #2c2c4d 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-width: 360px;
  min-height: 360px;
}

.main > * {
  position: absolute;
}

.logo {
  left: 40px;
  top: 40px;
}

.social {
  top: 32px;
  right: 40px;
  font-size: 40px;
}

.copy {
  bottom: 24px;
}

.cta {
  bottom: 15%;
  width: fit-content;
}

.title {
  height: min(297px, 30%);

}

.title img {
    object-fit: contain;
    height: 100%;
    width: auto;
}

.man {
  position: absolute;
  height: min(1367px, 125%);
}

.man img {
  height: 100%;
  width: auto;
  max-width: none;
}

@media (min-width: 1920px) {
  .man {
    transform: translate(-50%, 7%);
  }

  .title {
    transform: translate(50%, -37%);
  }
}

@media (min-width: 1200px) and (max-width: 1919.98px) {
  .man {
    transform: translate(-25%, 7%);
  }

  .title {
    transform: translate(calc(43.5vw - 50%), -37%);
  }
}

@media (min-width: 1200px) {
  .copy {
    right: 24px;
  }
}

@media (max-width: 1199.98px) {
  .man {
    transform: translate(-7%, 7%);
  }

  .title {
    max-width: 90%;
    transform: translateX(0.5%, -37%);
  }

  .logo {
    max-width: 160px;
  }

  .copy {
    text-align: center;
  }
}

@media (hover: hover) {
  .title img, .man img {
    transition: transform 250ms ease-out;
  }
}

@media (hover: none) {
  .title img, .man img {
    transition: transform 500ms ease-out;
  }
}
