* {
  box-sizing: border-box;
}

/* @keyframes pushin {
  from {
    margin-top: 31%;
  }

  to {
    margin-top: 30.5%;
  }
}

.animate {
  animation-name: pushin;
  animation-duration: 0.1s;
  animation-iteration-count: 1;
  animation-timing-function: ease;
/* }
for sliding in and out animations is the above 
/* */

@keyframes animate {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.logooText {
  color: rgb(0, 247, 255);
  font-weight: bold;

}

body {
  background-image: linear-gradient(crimson, blue 1000px);
  font-family: 'Poppins', sans-serif;
}

.p {
  position: absolute;
  z-index: 100;
  color: white;
  padding-top: 80px;
  font-size: small;
  padding-left: 10px;
}

.score {
  display: inline-block;
}

.logo {
  position: absolute;
  float: left;
  z-index: 10;
  opacity: 0.2;
  transition: all 6s;
}


h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 100;
  margin-bottom: 0%;
}

p {
  text-align: center;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: medium;
  font-stretch: expanded;
}

.divoverall {
  margin: 5%;
  justify-content: center;
  text-align: center;
  margin-top: 10% auto;
  height: auto;
  flex-wrap: wrap;
  z-index: 5;
  display: flex;
  height: 100%;

}

.player1 {
  width: 40%;
  height: 80%;
  background-color: rgba(219, 220, 220, 0.932);
  opacity: 0.6;
  justify-content: center;
  display: inline-block;
  border-radius: 3% 0% 0% 3%;
  margin-right: -0.4%;
  padding-top: 5%;
  transition: all 0.3s;
}

.player2 {
  width: 40%;
  height: 80%;
  background-color: rgba(219, 220, 220, 0.932);
  opacity: 0.6;
  justify-content: center;
  display: inline-block;
  border-radius: 0% 3% 3% 0%;
  margin-left: -0.4%;
  padding-top: 5%;
  transition: all 0.3s;
}

.opa {
  opacity: 1;
}

.currentscore1 {
  color: red;
  font-size: 300%;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 5%;
  display: block;
  text-align: center;
}

.currentscore2 {
  color: red;
  font-size: 300%;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 5%;
  display: block;
  text-align: center;
}

.totalscore1div {
  width: 35%;
  height: 25%;
  background-color: brown;
  opacity: 0.8;
  display: inline-block;
  border-radius: 4%;
  margin-top: 15%;
  justify-content: center;
  text-align: center;
}

.totalscore2div {
  width: 35%;
  height: 25%;
  background-color: brown;
  opacity: 0.8;
  display: inline-block;
  border-radius: 4%;
  margin-top: 15%;
  justify-content: center;
  text-align: center;
}

.totalscorevalue1 {
  display: block;
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: rgb(229, 255, 80);
  font-size: larger;
  font-size: x-large;
}

.totalscorevalue2 {
  display: block;
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: rgb(229, 255, 80);
  font-size: x-large;
}

.newgame {
  border-style: hidden;
  border-radius: 20px;
  width: 150px;
  height: 30px;
  background-color: rgb(255, 255, 255);
  opacity: 0.9;
  z-index: 20;
  shape-rendering: crispEdges;
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-small;
  transition: all 0.3s;
  cursor: pointer;
}

.newgame:hover {
  background-color: aquamarine;
}

.newgame:active {
  transform: translateY(2px);
}



.rolldicediv {
  border-style: hidden;
  border-radius: 20px;
  width: 150px;
  height: 30px;
  background-color: rgb(255, 255, 255);
  opacity: 0.9;
  z-index: 20;
  shape-rendering: crispEdges;
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-small;
  transition: all 0.3s;
  cursor: pointer;
  margin-top: 250px;
}

.rolldicediv:hover {
  background-color: rgb(238, 13, 13);
}

.rolldicediv:active {
  transform: translateY(2px);
}



.hold {
  border-style: hidden;
  border-radius: 20px;
  width: 150px;
  height: 30px;
  background-color: rgb(255, 255, 255);
  opacity: 0.9;
  z-index: 20;
  shape-rendering: crispEdges;
  font-family: Arial, Helvetica, sans-serif;
  font-size: x-small;
  transition: all 0.3s;
  cursor: pointer;
  margin-top: 20px;
}

.hold:active {
  transform: translateY(2px);
}

.hold:hover {
  background-color: aquamarine;
}

.dicevaluediv {
  position: absolute;
  border-style: hidden;
  width: 5%;
  height: 10.9%;
  opacity: 0.9;
  z-index: 20;
  margin-top: 13%;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 100%;
  color: rgb(206, 35, 35);
  letter-spacing: 20px;
  padding-top: 0.2%;
  margin-left: 0.5%;
  border-radius: 20%;
  display: none;
}

.dicevaluedivonedice {
  position: absolute;
  border-style: hidden;
  opacity: 0.9;
  z-index: 20;
  margin-top: 13%;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 100%;
  color: rgb(0, 0, 0);
  letter-spacing: 20px;
  padding-top: 0.2%;
  border-radius: 20%;
}

.dicevaluediv6 {
  position: absolute;
  border-style: hidden;
  opacity: 0.9;
  z-index: 20;
  margin-top: 13%;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 100%;
  color: rgb(35, 206, 86);
  letter-spacing: 20px;
  padding-top: 0.2%;
  border-radius: 20%;
}

.dicevaluediv5 {
  position: absolute;
  border-style: hidden;
  opacity: 0.9;
  z-index: 20;
  margin-top: 13%;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 100%;
  color: rgb(206, 35, 35);
  letter-spacing: 20px;
  padding-top: 0.2%;
  border-radius: 20%;
}

.dicevaluediv4 {
  position: absolute;
  border-style: hidden;
  opacity: 0.9;
  z-index: 20;
  margin-top: 13%;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 100%;
  color: rgb(206, 35, 35);
  letter-spacing: 20px;
  padding-top: 0.2%;
  border-radius: 20%;
}

.dicevaluediv3 {
  position: absolute;
  border-style: hidden;
  opacity: 0.9;
  z-index: 20;
  margin-top: 13%;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 100%;
  color: rgb(206, 35, 35);
  letter-spacing: 20px;
  padding-top: 0.2%;
  border-radius: 20%;
}

.dicevaluediv2 {
  position: absolute;
  border-style: hidden;
  opacity: 0.9;
  z-index: 20;
  margin-top: 13%;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 100%;
  color: rgb(206, 35, 35);
  letter-spacing: 20px;
  padding-top: 0.2%;
  border-radius: 20%;
}


.hide {
  display: none;
}


.howToPlayGame {
  width: 120px;
  height: 30px;
  background-color: rgb(24, 241, 24);
  border-radius: 30px;
  opacity: 0.8;
  border-style: none;
  position: relative;
  cursor: pointer;
  transition: all 0.5s;
  font-family: 'Poppins', sans-serif;
  margin-top: 70px;
}

.howToPlayGame1 {
  width: 150px;
  height: 50px;
  background-color: rgb(24, 241, 24);
  border-radius: 30px;
  opacity: 0.8;
  border-style: none;
  cursor: pointer;
  transition: all 0.5s;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  margin-left: 35%;
}

.howToPlayGame:hover,
.howToPlayGame1:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal_window {
  width: 600px;
  height: fit-content;
  position: absolute;
  top: 0%;
  left: 29%;
  z-index: 100;
  background-color: white;
  border-radius: 20px;
  animation: animate 0.7s ease-in-out;
  padding: 20px;
  text-align: left;
}

.backdrp_filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  z-index: 50;
  animation: animate 0.7s ease-in-out;
}


.normalP {
  font-size: small;
  color: black;
  font-family: 'Poppins', sans-serif;
}

.all-div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: absolute;
  top: 130px;
  gap: 5px;
  width: 100%;
  height: fit-content;
}