* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
main {
  min-height: 100vh;
  background: linear-gradient(to top right, #ff0a6c, #2d27ff);
  display: flex;
  align-items: center;
  justify-content: center;
}
h1 {
  color: black;
  font-family: cursive;
  font-weight: 700;
  font-size: 3rem;
  opacity: 0.8;
}
h2 {
  color: black;
  font-family: cursive;
  font-weight: 700;
  font-size: 2.5rem;
  opacity: 0.8;
}
.glass {
  background: white;
  min-height: 80vh;
  width: 60%;
  background: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.3)
  );
  border-radius: 2rem;
  z-index: 2;
  backdrop-filter: blur(2rem);
}
.circle1,
.circle2 {
  background: rgb(240, 155, 212);
  background: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3)
  );
  height: 10rem;
  width: 10rem;
  position: absolute;
  border-radius: 50%;
}
.circle1 {
  top: 2%;
  right: 15%;
}
.circle2 {
  bottom: 2%;
  left: 15%;
}
td {
  border: 0.5vh solid #333;
  height: 20vh;
  width: 20vh;
  text-align: center;
  vertical-align: middle;
  font-size: 2rem;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  position: absolute;
  left: 50%;
  margin-left: -155px;
  top: 50px;
  margin-top: 5vh;
}
table tr:first-child td {
  border-top: 0;
}
table tr:last-child td {
  border-bottom: 0;
}
table tr td:first-child {
  border-left: 0;
}
table tr td:last-child {
  border-right: 0;
}
.winner {
  display: none;
  margin-top: 50px;
  margin-left: -25px;
}
.endgame {
  display: none;
  position: absolute;
  text-align: center;
  border-radius: 5px;
  color: black;
  font-weight: 800;
  font-size: 2rem;
  height: 8vh;
  width: 80vh;
  margin-left: 35vh;
  margin-top: 2vh;
}
.replay {
  border-style: inherit;
  border-color: black;
  background: linear-gradient(to top right, #fa2f81, #4d46fc);
  border-width: 2px;
  border-radius: 15px;
  height: 5vh;
  width: 20vh;
  margin-top: 2vh;
  margin-left: 5vh;
  font-weight: 780;
}
.replay:hover {
  border-style: inherit;
  border-color: black;
  background: linear-gradient(to top right, #fa2f81, #4d46fc);
  border-width: 2px;
  border-radius: 15px;
  height: 5vh;
  width: 20vh;
  margin-top: 2vh;
  margin-left: 5vh;
  font-weight: 780;
  filter: brightness(0.8);
}
.clickToGoToHomePage {
  border-style: inherit;
  border-color: black;
  background: linear-gradient(to top right, #fa2f81, #4d46fc);
  border-width: 2px;
  border-radius: 15px;
  height: 5vh;
  width: 30vh;
  margin-top: 3vh;
  margin-left: 5vh;
  font-weight: 780;
}
.clickToGoToHomePage:hover {
  border-style: inherit;
  border-color: black;
  background: linear-gradient(to top right, #ff0a6c, #2d27ff);
  border-width: 2px;
  border-radius: 15px;
  height: 5vh;
  width: 30vh;
  margin-top: 3vh;
  margin-left: 5vh;
  font-weight: 780;
  filter: brightness(0.8);
}

@media screen and (max-width: 800px) {
  .left,
  .main,
  .right {
    width: 100%;
  }
  .replay,
  .clickToGoToHomePage,
  .replay:hover,
  .clickToGoToHomePage:hover {
    margin-left: 3vh;
  }
  .circle1,
  .circle2 {
    display: none;
  }
  td {
    height: 12vh;
    width: 100vh;
    font-size: 1.5rem;
  }
  table {
    top: 90px;
    left: 185px;
    width: 80%;
    margin-top: 8vh;
  }
  .glass {
    width: 300px;
  }
  .endgame {
    margin-left: 0px;
    margin-top: -45px;
    height: 0%;
    width: 100%;
  }
  .winner {
    margin-top: 335px;
    margin-left: 20%;
  }
  .gif {
    height: 40%;
    width: 60%;
    text-align: center;
  }
}
