:root {
  --primary-color: #8681ff;
  --secondary-color: #e0c8fd;
  --tertiary-color: #f6e8fa;
  --quarternary-color: #4748f9;
}

:root.dark {
  --primary-color: #8681ff;
  --secondary-color: #ffffff;
  --tertiary-color: #121212;
  --quarternary-color: #121212;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
}

.links {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1em;
  display: flex;
}
img {
  height: 30px;
  width: 30px;
  cursor: pointer;
  margin: 0 5px;
  transition-duration: 0.2s;
}

img:hover {
  transform: scale(1.1);
}

p {
  font-size: 2em;
  cursor: pointer;
  position: relative;
  font-weight: bolder;
  font-family: -system-ui;
  color: var(--secondary-color);
}

p::before {
  content: "👋 ";
}

.mode-toggle {
  position: absolute;
  padding: 100px;
  border-radius: 100%;
  z-index: -1;
  transition: 0.8s;
  opacity: 0;
  background-color: #191919;
}

.mode-toggle.active {
  opacity: 1;
  transform: scale(10);
}

span.slideshow {
  width: 20rem;
  display: flex;
  bottom: 20px;
  height: 100px;
  overflow: hidden;
  text-align: center;
  position: absolute;
  visibility: hidden;
  transform: scale(0.5);
  flex-direction: column;
  color: var(--secondary-color);
}

span.slideshow.active {
  visibility: visible;
}

span.tile {
  font-size: 3em;
  line-height: 1em;
  text-wrap: nowrap;
  position: relative;
  font-family: system-ui;
  margin: 0.5em 0 0.5em 0;
  animation: push-up 4s infinite;
}

@keyframes push-up {
  0%,
  100% {
    bottom: 0em;
  }

  50% {
    bottom: 4em;
  }
}
