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

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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;
}

#root,
#__next {
  isolation: isolate;
}
html,
body {
  width: 100%;
  height: 100dvh;
}

html {
  font-size: 62.5%;
  font-family: Rubik, sans-serif;
  font-optical-sizing: auto;
}

body {
  background-color: #000;
  background-image: url(https://images.unsplash.com/photo-1628891439478-c613e85af7d6?q=80&w=1200&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#new-brand {
  font-size: 4vw;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
  rotate: -8.2deg;
  translate: -50% -50%;
  position: relative;
  text-shadow:
    2px 2px 0px rgba(255, 255, 255, 0.1),
    -1px -1px 1px rgba(255, 255, 255, 0.4);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
}

#new-brand sup {
  font-weight: 400;
  position: absolute;
  display: inline-block;
}

#regenerate {
  position: absolute;
  right: 20px;
  bottom: 20px;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  padding: 6px 12px;
  cursor: pointer;
}

@media (max-aspect-ratio: 1186/790) {
  #new-brand {
    font-size: 6vw;
    rotate: -8.2deg;
    top: calc(50% - 2vw);
    left: calc(50% + 4vw);
  }

  sup {
    font-size: 2vw;
    top: 10%;
  }
}
@media (min-aspect-ratio: 1186/790) {
  #new-brand {
    font-size: 8vh;
    rotate: -8.2deg;
    top: calc(50% - 3.5vh);
    left: calc(50% + 5vh);
  }
  #new-brand sup {
    font-size: 2.8vh;
    top: 10%;
  }
}
