* {
  box-sizing: border-box;
  margin: 0;
}

body {
    margin: 0;
    text-align: center;
    background-color: black;
}

.startscreen {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.imagewrapper {
  position: relative;
  width: min(100%, calc(100dvh * 542 / 406));
  aspect-ratio: 542 / 406;
}

.imagewrapper img {
  position: absolute;
  object-fit: contain;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

h1 {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;

  color: white;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(2rem, 6vmin, 7rem);
  text-align: center;
  white-space: nowrap;
  text-shadow:
    -2px -2px 0 #a200ff,
    2px -2px 0 #a200ff,
    -2px 2px 0 #a200ff,
    2px 2px 0 #a200ff;
}

.button1 {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.mybutton {
  display: inline-block;
  padding: 0.15em 0.5em;
  color: black;
  text-decoration: none;
  text-align: center;
  font-family: "Audiowide", sans-serif;
  font-size: clamp(1.25rem, 5vmin, 5rem);
  background: linear-gradient(to right, rgb(94, 255, 0), blue);
  border: 2px solid azure;
  border-radius: 8px;
  box-shadow: 0 0.4em 0.3em rgba(0, 0, 0, 0.6);
  transition: transform 150ms ease;
}

.mybutton:hover {
  color: rgb(255, 255, 255);
  transform: scale(1.2);  
  /* transform: translateY(-10px); */
}

.mybutton:focus-visible {
  outline: 8px solid rgb(0, 255, 0);
  border-radius: 8px;
}
