@import "https://fonts.googleapis.com/css?family=Product+Sans";
@import url("https://fonts.googleapis.com/css?family=Arvo");
@import url(//db.onlinewebfonts.com/c/67137b5f6928edc941186baaab5a664b?family=Lemon/Milk);
* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body {
  color: white;
  /* line-height: 1.5; */
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(to bottom, #6bd2ff, #001b43);
}

.Heading {
  position: absolute;
  top: -24px;
  /* left: 356px; */
  text-align: center;
  font-family: "Century Gothic";
  font-size: 200px;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
h2 {
  position: absolute;
  top: 15px;
  left: 700px;
  text-align: center;
  font-family: "Century Gothic";
  font-size: 4rem;
  font-weight: bolder;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.MiniHeading {
  color: black;
  font-family: "Cookie";
  font-size: 50px;
  position: absolute;
  top: 250px;
  text-align: center;
  /* left: -565px; */
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.Display {
  /* color: black; */
  /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
  font-family: "Arvo";
  /* font-family: "Lemon/Milk"; */
  font-weight: bolder;
  font-size: 125px;
  position: absolute;
  top: 350px;
  text-align: center;
  /* left: -565px; */
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.Tolly {
  letter-spacing: 20px;
  color: black;
  font-family: "Product Sans";
  font-size: 50px;
  position: absolute;
  top: 550px;
  font-weight: bolder;
  text-align: center;
  /* left: -565px; */
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.Input {
  /* display: block; */
  color: black;
  font-family: "Century Gothic";
  font-size: 30px;
  position: absolute;
  cursor: text;
  top: 675px;
  border-radius: 1.5rem;
  padding: 15px 100px 15px 100px;
  width: 100px;
  font-weight: bolder;
  text-align: center;
  /* left: -565px; */
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);

  box-shadow: inset 10px 10px 10px rgba(0, 0, 0, 0.3);
  outline: none;
}
.Btn {
  /* border: none; */
  color: black;
  font-family: "Century Gothic";
  font-size: 20px;
  position: absolute;
  cursor: pointer;
  top: 775px;
  border-radius: 10rem;
  padding: 15px;
  font-weight: bolder;
  text-align: center;
  /* left: -565px; */
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);

  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.Again {
  /* border: none; */
  color: black;
  font-family: "Century Gothic";
  font-size: 20px;
  position: absolute;
  cursor: pointer;
  top: 60px;
  left: 50px;
  border-radius: 10rem;
  padding: 15px 30px 15px 30px;
  font-weight: bolder;
  text-align: center;
  /* left: -565px; */
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);

  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.Btn:hover {
  animation-name: slide;
  animation-duration: 0.2s;
  animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  animation-fill-mode: forwards;
}
.Again:hover {
  animation-name: slide;
  animation-duration: 0.2s;
  animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  animation-fill-mode: forwards;
}
.Rules {
  /* border: none; */
  color: black;
  font-family: "Century Gothic";
  font-size: 20px;
  position: relative;
  cursor: pointer;
  top: 60px;
  outline: none;
  left: 800px;
  border-radius: 10rem;
  padding: 15px 30px 15px 30px;
  font-weight: bolder;
  text-align: center;
  /* left: -565px; */
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);

  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
.Rules:hover {
  animation-name: slide;
  animation-duration: 0.2s;
  animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  animation-fill-mode: forwards;
}
@keyframes slide {
  from {
    border: none;
    border-radius: 10rem;
    background-color: #fff;
  }
  to {
    border: rgba(0, 0, 0, 0.6);
    border-radius: 15rem;
    color: white;
    /* background-color: rgb(0, 72, 139); */
    background-color: #0984e3;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.3);
  }
}
.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 3rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 5;
}
.hidden {
  display: none;
}

.modal {
  color: rgb(0, 0, 0);
  font-size: 2rem;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;

  background-color: white;
  padding: 6rem;
  border-radius: 5px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 10;
}
.RuleInfo {
  /* color: #00317a; */
  color: #130f40;
  position: relative;
  top: 30px;
  font-size: 30px;
  font-weight: bold;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}
