:root {
  --color-background: #130013;
  --color-secondary-dark: #3d023f;
}

@font-face {
  font-family: "Akkurat";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("/fonts/akkurat.woff2");
}
html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 7vw;
}

body {
  color: white;
  font-family: "Akkurat", serif;
}

img {
  display: block;
}

#app {
  height: 100vh;
  overflow: hidden;
  color: white;
  animation: gradient-spin 6000ms linear infinite;
  /* background: linear-gradient(
    0deg,
    var(--color-background) 60%,
    var(--color-secondary-dark) 100%
  ); */
}

a {
  color: inherit;
}

ul,
ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  text-indent: 0;
}

.container {
  margin-inline: auto;
  max-width: 100%;
  padding: 1rem;
}

.link-list li:not(:first-child) {
  margin-top: 1rem;
}

.graphics {
  position: absolute;
  left: 75%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.jollyball {
  width: 50vw;
  height: 400px;
  position: relative;
  margin-inline: auto;
}

.jollyball .player-1 {
  position: absolute;
  bottom: 0;
  left: 0;
  animation: jump ease-in 2000ms infinite;
  animation-delay: 1000ms;
}
.jollyball .player-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  animation: jump ease-in 2000ms infinite;
}

.jollyball .ball {
  position: absolute;
  top: 0;
  border-radius: 100%;
  width: 75px;
  height: 100%;
  animation: ball-x ease-in-out 2000ms infinite;
}

.jollyball .ball:before {
  content: "We are Savvy people";
  font-size: 14px;
  display: flex;
  text-align: center;
  align-items: center;
  color: white;
  position: absolute;
  border-radius: 100%;
  width: 75px;
  height: 75px;
  border: 2px solid white;
  background: #420cb1;
  animation: ball-y ease-in-out 1000ms infinite;
}
@keyframes ball-x {
  0%,
  100% {
    left: 25%;
  }

  50% {
    left: 60%;
  }
}

@keyframes ball-y {
  0%,
  100% {
    top: 40%;
  }

  50% {
    top: 10%;
  }
}

@keyframes jump {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-50px);
  }
}

@keyframes gradient-spin {
  0% {
    background: linear-gradient(
      0deg,
      var(--color-background) 60%,
      var(--color-secondary-dark) 100%
    );
  }
  100% {
    background: linear-gradient(
      360deg,
      var(--color-background) 60%,
      var(--color-secondary-dark) 100%
    );
  }
}

@media screen and (min-width: 420px) and (max-width: 639px) {
  html {
    font-size: 6vw;
  }
}
@media screen and (min-width: 640px) and (max-width: 767px) {
  html {
    font-size: 4vw;
  }
  .container {
    max-width: 640px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  html {
    font-size: 3vw;
  }
  .container {
    max-width: 768px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  html {
    font-size: 2vw;
  }
  .container {
    max-width: 1024px;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1535px) {
  html {
    font-size: 2vw;
  }
  .container {
    max-width: 1280px;
  }
}

@media screen and (min-width: 1536px) {
  html {
    font-size: 1.9vw;
  }
  .container {
    max-width: 1536px;
  }
}
