* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.nav {
  max-width: 100px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
  background-color: black;
}

.rules {
  padding: 5px;
  text-decoration: none;
}

.rules:hover {
  background-color: powderblue;
}

body {
  position: relative;
  min-height: 100vh;
  padding-bottom: 55px;
  background-image: linear-gradient(red, blue);
  background-attachment: fixed;
  overflow-x: hidden;
}

.modal,
.modal-two {
  display: flex;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100vh;
  justify-content: center;
  align-items: center;
  z-index: 1;
  background: rgb(2, 0, 36);
  background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(88, 88, 89, 1) 85%, rgba(140, 154, 157, 1) 100%);
  opacity: 0.9;
  visibility: hidden;
}


.modal-content {
  position: relative;
  display: flex;
  padding: 25px;
  min-width: 50%;
  border-radius: 8px;
  background-color: #fff;
  text-align: center;
  justify-content: center;
  font-size: 36px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.modal-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-modal {
  position: relative;
  font-size: 12px;
  margin-top: 30px;
  font-weight: bold;
  cursor: pointer;
}

.rules {
  color: blue;
  cursor: pointer;
}

body::-webkit-scrollbar {
  width: 1em;
}

body::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

h1 {
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100vw;
  min-width: 300px;
  text-align: center;
  color: blue;
  background-color: black;
  padding: 25px;
  overflow: hidden;
}

footer {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  color: blue;
  height: auto;
  width: 100%;
  min-width: 300px;
  padding: 5px;
  background-color: black;
  overflow: hidden;
}

.footer-content {
  text-align: center;
  line-height: 26px;
  overflow: hidden;
}

.footer-bottom {
  text-align: center;
  overflow: hidden;
}

#box1 {
  /* background-image: linear-gradient(red, blue);*/
  text-align: center;
  font-size: 18;
  background-repeat: no-repeat;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}

#submit1 {
  display: flex;
  position: relative;
  border-radius: 5px;
  border: none;
  font-weight: 900;
  color: blue;
  padding: 5px;
  background-color: black;
}

#submit1:hover {
  background-color: powderblue;
  cursor: pointer;
}

.player,
.computer {
  position: static;
  border-radius: 5%;
  width: 100px;
  margin-top: 10px;
}

.player-one,
.player-two {
  display: inline-block;
  width: 200px;
  font-size: larger;
  font-weight: 400px;
  color: blue;
}

.player-one {
  grid-area: p1;
  position: relative;
  right: 20%;
  font-size: 150%;
  border-radius: 5px;
  background-color: black;
  padding: 1.5%;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

.player-two {
  grid-area: p2;
  position: relative;
  left: 20%;
  border-radius: 5px;
  font-size: 150%;
  background-color: black;
  padding: 1.5%;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

.label-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.1rem;
}

#winner-show {
  position: relative;
  width: 70%;
  height: 116px;
  left: 15%;
  margin-bottom: 100px;
  font-size: 45px;
  font-weight: 400;
  text-align: center;
  padding: 2%;
  background-color: black;
  border-radius: 5px;
  color: blue;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
}

.container1 {
  display: flex;
}

.labelshow {
  display: flex;
  width: 50%;
  border-radius: 4%;
  padding: 3px;
  justify-content: center;
  align-items: center;
}

.player-show-css {
  position: relative;
  margin-top: 1%;
  width: 30%;
  height: 70%;
  border-radius: 1rem;
  padding-left: 1%;
  padding-right: 1%;
  cursor: pointer;
}


.computer-show-css {
  position: relative;
  margin-top: 1%;
  width: 30%;
  height: 70%;
  border-radius: 1rem;
  padding-left: 1%;
  padding-right: 1%;
}

.ani {
  transition: 0.1s;
  ;
  transform: scale(1.08, 1.08)
}

@media all and (max-width: 775px) {

  .player-one,
  .player-two {
    right: 0%;
    left: 0%;
  }

  .label-container {
    flex-direction: column;
    gap: 10px;
  }

  /* .label-container>div,
  #submit1 {
    margin: 6px;
  }*/

  #winner-show {
    font-size: 24px;
  }
}