@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@700&family=Red+Hat+Text&display=swap");

body {
  text-align: center;
}

h1 {
  font-size: 4.5vw;
  margin-bottom: 1vh;
}

h2 {
  font-size: 3vw;
  margin-bottom: 1.5vh;
}

button,
input["button"] {
  font-family: "Red Hat Text", sans-serif;
  margin: 1vh;
  border-width: 0.01vw;
  border-radius: 1vw;
  transition: width 0.5s, height 0.5s, background-color 0.5s,
    transform 0.5s ease;
}

article {
  max-width: 70%;
  margin: 2vw 15vw;
}

/*button:hover {
  width: 50vh;
  background-color: #ddd;
}

button:active {
  width: 60vh;
  background-color: #aaa;
  transition: width 0.25s, height 0.25s, background-color 0.25s,
    transform 0.25s ease;
}
*/

p {
  margin: 1vh;
}

.split {
  height: 100%;
  width: 50%;
  position: fixed;
  z-index: 1;
  top: 5vh;
  overflow-x: hidden;
}

/* Control the left side */
.left {
  left: 0;
  padding: 1vh 1vw;
}

.mid {
  text-align: center;
}

/* Control the right side */
.right {
  right: 0;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#chart {
  width: 50%;
}

.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0, 0, 0); /* Black fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 5%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  color: white;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  color: white;
  text-decoration: none;
}

#game {
  position: absolute;
  top: 0;
  left: 0;
}
