@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

body {
  margin: auto 0px;
}
.root-div {
  position: absolute;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  background-image: linear-gradient(180deg, #86eac6 0%, #ffffff 75.29%);
  display: flex;
  flex-direction: column;
}
.header {
  margin-top: 35px;
}

.heading {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 800;
  font-size: 36px;
  line-height: 44px;
  /* identical to box height */

  display: flex;
  align-items: center;
  color: #000000;
}

.heading .svg-logo {
  stroke: red;
}

.sub-heading {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  line-height: 29px;
  display: flex;
  align-items: center;

  color: #000000;
}

.main-content {
  margin-top: 50px !important;
}

.cell-container {
  display: grid;
  grid-template-columns: repeat(3, 118px);
  justify-content: center;
  /* align-content: center; */
  grid-template-rows: repeat(3, 118px);
  /* box-shadow: -3px 5px 64px 0px #00587D 44%; */
  margin-bottom: 25px;

  filter: drop-shadow(-3px 5px 64px rgba(0, 88, 125, 0.44));
}

.grid_cell {
  align-self: center;
  display: flex;
  align-self: center;
  justify-content: center;
  align-items: center;
  margin: 10px;
  height: 100px;
  border: double 6px transparent;
  border-radius: 8px;
  background-image: linear-gradient(132.8deg, #f1f1f1 0%, #cecece 100%),
    linear-gradient(316.23deg, #eeeeee -3.51%, #b5b7b6 103%);
  background-origin: border-box;
  background-clip: content-box, border-box;
}

.scoreboard {
  display: flex;
  justify-content: center;
}

.scoreboard .scorecard {
  width: 211px;
  height: 179px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border: 3px solid #000000;
  box-sizing: border-box;
  border-radius: 7px;
}
.player-score {
  margin-top: 22px;
}
.score {
  color: black;
  margin-left: 5px;
}
.player-score .player-text {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;

  display: flex;
  align-items: center;
  text-align: center;

  color: #818181;
}

.ruleboard {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 358px !important;
}
.ruleboard ol {
  list-style: none;
  padding-left: 0;
}

.title {
  font-family: Montserrat;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: 0em;
  text-align: left;
  color: #1e5944;
}
.ruleboard .rules {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  color: #1e5944;
}
.footer {
  height: 10vh;
  background: #3cdda3;
  box-shadow: 0px -4px 64px rgba(0, 0, 0, 0.25);
  z-index: 1;
  padding: 20px 0px;
}

.doggy {
  width: 265px !important;
  height: 227px;
  position: absolute;
  bottom: 30px;
  right: 0px;
  z-index: 0;
}

#restart_btn {
  cursor: pointer;
  width: 24px;
  height: 24px;
  background: #ddfdff;
  border-radius: 50%;
  filter: drop-shadow(0px 2px 6px rgba(48, 48, 48, 0.3));
}

.vl {
  border-left: 1px solid #1e5944;
  height: 24px;
  margin: 0 12px;
}

#reset_btn {
  cursor: pointer;
  width: 64px;
  height: 24px;
  background: #ddfdff;
  border-radius: 4px;
  filter: drop-shadow(0px 2px 6px rgba(48, 48, 48, 0.3));
  font-family: Roboto;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0em;
  color: #818181;
  text-align: center;
}

.tic_sign{
  animation: fadeIn 1s;
  animation-fill-mode: backwards;
}
@keyframes fadeIn{
  from {opacity:  0;}
  to {opacity: 1;}

}

@media screen and (max-width: 531px) {
    .main-content { display: flex; flex-flow: column;justify-content: center;align-items: center; }
    .scoreboard { order: 2;  margin-top: 60px !important;}
    .cell-container { order: 3; margin-top: 60px !important;}
    .ruleboard { order:  1;  display: flex; justify-content: center; align-items: center; }
    .doggy {display: none;}
    .footer{ justify-content: center !important;align-items: center !important}
}