* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    background-color: #0b0c27;
  }

  #user-form {
    width: 50%;
    height: 600px;
    margin: auto;
    margin-top: 25px;
  }

  .header {
    width: 45%;
    height: 10%;
    margin: auto;
    margin-bottom: 70px;
    text-align: center;
    margin-top: 10px;
    padding-top: 5px;
    border: 4px solid #177cff;
    box-shadow: 0 0 20px #177cff;
    letter-spacing: 2px;
  }

  .header p {
    font-size: 37px;
    color: #00ffd8;
    text-shadow: 0 0 15px #00ffd8;
  }

  .header .fs {
    color: #ffff66;
    text-shadow: 0 0 15px #ffff66;
  }

  .header .ss {
    color: #ff66ff;
    text-shadow: 0 0 15px #ff66ff;
  }

  #form-fields {
    width: 90%;
    height: 75%;
    margin: auto;
    margin-top: 10px;
    text-align: center;
  }

  #form-fields .player {
    width: 99%;
    height: 20%;
    margin: auto;
    padding: 25px 0px 0px 0px;
    margin-bottom: 25px;
  }

  #form-fields .player input {
    width: 300px;
    height: 40px;
    font-size: 20px;
    background-color: white;
    border-radius: 10px;
  }

  label[for="player-1"] {
    font-size: 25px;
    color: yellow;
  }

  label[for="player-2"] {
    font-size: 25px;
    color: rgba(72, 255, 0, 0.8);
  }

  #start,
  #startwn {
    width: 29%;
    height: 20%;
    margin: auto;
    margin-top: 25px;
    border-radius: 10px;
    padding: 26px 0px 23px 0px;
    font-size: 20px;
    background: linear-gradient(to right, #e8cbc0, #636fa4);
    color: white;
    border-color: #e8cbc0;
    box-shadow: rgba(255, 0, 0, 0.2) 0px 22px 70px 4px;
    cursor: pointer;
    display: block;
    margin-bottom: 20px;
  }

  #start:hover,
  #startwn:hover {
    color: black;
  }

  /* #game{
            border: 1px solid red;
          } */
  #game {
    width: 90%;
    margin: 5px auto;
    text-align: center;
    display: none;
  }

  #score {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  #score>img {
    width: 100px;
    height: 100px;
  }

  .score1,
  .score2 {
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    width: 100px;
  }

  .score1 {
    border: 2px solid yellow;
    box-shadow: 0 0 20px yellow;
  }

  .score2 {
    border: 2px solid rgba(72, 255, 0, 0.8);
    box-shadow: 0 0 20px rgba(72, 255, 0, 0.8);
  }

  .score1 img,
  .score2 img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }

  #player1,
  #player2 {
    color: white;
    font-size: 16px;
    margin-top: 10px;
    display: block;
  }

  .box1,
  .box2 {
    width: 60px;
    height: 40px;
    margin: 10px auto;
    border-radius: 5px;
    color: white;
    padding-top: 10px;
  }

  .box1 {
    border: 2px solid yellow;
    box-shadow: 0 0 20px yellow;
  }

  .box2 {
    border: 2px solid rgba(72, 255, 0, 0.8);
    box-shadow: 0 0 20px rgba(72, 255, 0, 0.8);
  }

  #mainbox {
    width: fit-content;
    margin: 0 auto 40px auto;
    margin-bottom: 80px;
    /* display: none; */
  }

  .row1 {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    gap: 10px;
    justify-content: center;
  }

  .container {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    border: 3px solid #177cff;
    box-shadow: 0 0 20px #177cff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background-color: black;
    color: white;
    cursor: pointer;
  }

  .btn1 {
    margin: -274px;
    margin-left: -273px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    box-shadow: rgba(255, 0, 0, 0.2) 0px 22px 70px 4px;
  }

  .btn2 {
    margin: 10px;
    margin-left: -395px;
    padding: 10px 20px;
    position: fixed;
    font-size: 16px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    box-shadow: rgba(255, 0, 0, 0.2) 0px 22px 70px 4px;
  }

  .btn3 {
    margin: 10px;
    margin-left: 424px;
    position: fixed;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    box-shadow: rgba(255, 0, 0, 0.2) 0px 22px 70px 4px;
  }

  .btn1 {
    background-color: red;
    color: white;
  }

  .btn2 {
    background-color: yellow;
  }

  .btn3 {
    background-color: rgba(72, 255, 0, 0.8);
  }

  .btn1:hover {
    background-color: rgba(255, 0, 0, 0.8);
  }

  .btn2:hover {
    background-color: rgba(255, 251, 0, 0.8);
  }

  .btn3:hover {
    background-color: green;
    color: white;
  }

  .btn2 img,
  .btn3 img {
    height: 20px;
    vertical-align: middle;
    background: transparent;
  }

  .btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }

  #winner {
    border: 4px solid transparent;
    height: 155px;
    width: 280px;
    margin-left: 500px;
    position: absolute;
    margin-top: -335px;
    display: none;
    background-color: #0b0c27;
    color: white;
    text-align: center;
    padding-top: 20px;
    font-size: 24px;
    box-shadow: 0 0 20px #9733ee;
  }

  #close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
  }

  #winner:hover {
    border-color: #da22ff;
  }

  #player_turns {
    margin-top: -367px;
    height: 205px;
    width: 100%;
    display: flex;
  }

  #player_1 {
    height: 139px;
    width: 20%;
    margin-top: 35px;
    margin-left: 100px;
    text-align: center;
    color: yellow;
    font-size: 75px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
  }

  #player_2 {
    height: 139px;
    width: 20%;
    margin-top: 35px;
    margin-left: 510px;
    text-align: center;
    color: rgba(72, 255, 0, 0.8);
    font-size: 75px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
  }

  @media screen and (max-width: 768px) {
    #user-form {
      width: 98%;
    }

    .header p {
      font-size: 18px;
      padding-top: 10px;
    }

    #form-fields .player {
      padding: 31px 0px 0px 0px;
    }

    label[for="player-1"],
    label[for="player-2"] {
      font-size: 19px;
    }

    #form-fields .player input {
      width: 169px;
      height: 29px;
      font-size: 16px;
    }

    #start,
    #startwn {
      width: 55%;
    }

    #game {
      width: 100%;
      margin-top: 40px;
      display: none;
    }

    #score {
      flex-direction: row;
      justify-content: space-evenly;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    #score>img {
      width: 60px;
      height: 60px;
    }

    #mainbox {
      margin-top: 20px;
    }

    .container {
      width: 80px;
      height: 80px;
      font-size: 28px;
    }

    .btn2 {
      margin-left: -236px;
    }

    .btn3 {
      margin-left: 262px;
    }

    .btn-group {
      margin-top: 200px;
    }

    #player_1 {
      height: 53px;
      margin-top: 157px;
      margin-left: 27px;
      font-size: 21px;
    }

    #player_2 {
      height: 53px;
      margin-top: 157px;
      margin-left: 151px;
      font-size: 21px;
    }

    #winner {
      margin-left: 31px;
      margin-top: -440px;
    }
  }