:root {
  --color-black: #121213;
  --color-white: #fff;
  --color-green: #538d4e;
  --color-yellow: #b59f3b;
  --color-gray-dark: #242425;
  --color-gray-light: #818384;
}

html {
  height: 100%;
  box-sizing: border-box;
}

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

body {
  color: var(--color-white);

  font-family: "Exo", sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  /* background: var(--color-white); */
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
}

h1 {
  color: var(--color-black);
  width: 100%;
  margin: 1% 2% 1% 2%;
  padding: 0;
  text-align: left;
  font-family: inherit;
  word-spacing: -4px;
}

main {
  font-family: "DM Serif Text";
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  height: 75%;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  background: none;
  width: 100%;
  padding: 0 20px;
  border: none;
  font-family: inherit;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 8px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  text-align: right;
}

.dropdown-content a {
  color: black;
  padding: 6px 12px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.main-link:link {
  text-decoration: none;
  color: black;
  padding: 1vw 1vh;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: 2px solid;
  border-radius: 10px;
}

.main-link:visited {
  text-decoration: none;
}

.bg {
  animation: slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, rgb(98, 236, 30) 50%, rgb(0, 183, 255) 50%);
  bottom: 0;
  left: -0.5vh;
  opacity: .5;
  position: fixed;
  right: -50%;
  top: 0;
  z-index: -1;
}

.bg2 {
  animation-direction: alternate-reverse;
  animation-duration: 4s;
}

.bg3 {
  animation-duration: 5s;
}

@keyframes slide {
  0% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(25%);
  }
}