.center {
  margin-left: auto;
  margin-right: auto;
}

.button {
  display: block;
  width: 100%;
  text-align: center;
}

.info {
  height: 50%;
}

.inputs {
  height: auto;
  border: none;
}

.inputs td {
  border:  10px solid #24292E;
}

.gameInfo {
  background-color: transparent;
  display: flex;
  justify-content: center;
  flex: 1;
  align-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.double {
  background-color: #bd3932 !important;
  color: #fff !important;
}

.triple {
  background-color: #32BD50 !important;
  color: #fff !important;
}

/* Styles for mobile devices */
@media only screen and (max-width: 1000px) {
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    overflow-y: hidden;
    touch-action: manipulation;
    background-color: #24292E;
  }

.profile {
  border-radius: 50%;
  width: 10vw;
  height: 10vw;
  flex: 0 0 auto;
  object-fit: cover;
}

  table {
    width: 100%;
    margin: 0;
    background-color: #fff;
    border-collapse: collapse;
  }


  p.overall {
    font-weight: bold;
    font-size: 6vw;
    transform: scale(1.5);
    margin-left: auto;
    color: white;
  }

  p.scoreText {
    font-size: 2.5vh;
  }


  td {
    text-align: center;
  }


  .infoCell {
    font-size: 5vw;
    background-color: #efefef;
    height: 10vw;
    border-collapse: separate;
    border-right: 10px solid #24292E;
  }

  .scoreCell {
    width: 15vw;
    font-size: 5vw;
    background-color: #3C4045;
    color: white;
  }

  .bigCell {
    color: black;
    background-color: #FDFDFD;
    width: 25vw;
    border-left: 30px solid #24292E;
    border-right: none;
  }

  .name {
    color: white;
    font-size: 6vw;
    background-color: transparent;
    margin-left: 3vw;
  }

  .aux{
    color: white;
    text-align: center;
    font-size: 5vw;
    background-color: transparent;
    margin-left: 6vw;
    margin-top: 3.75rem;
  } 

  .button {
    display: block;
    width: 100%; /* Set width to 100% */
    height: 100%; /* Set height to auto */
    padding: 20px;
    text-align: center;
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 6vw;
  }

  .overallCell {
    margin-left: auto;
  }

  .button:hover,
  .button:active,
  .button:focus {
    background-color: darkgray;
  }

  #tableWrapper {
    margin: 5%;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 90%;
    margin-top: 8%;
    margin-bottom: 0;
  }

  .playerDiv {
    width: 85vw;
    padding: 4%;
  }

  #infoContainer {
    display:flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }

  #doubleButton, #tripleButton, #input_25 {
    background-color: #D3D4D5;
  }

  #doubleButton, #tripleButton {
    background-color: rgba(100, 106, 133, 0.1);
    color: rgba(161, 161, 161, 1);
  }


  #helpCell {
    background-color: transparent;
    font-size: 6vw;
    vertical-align: middle;
    flex: 1;
    color: yellow;
  }
.topRow {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: -5%;
}

  /* .numInput:active:hover{
  } */
}


@media (min-width: 1000px) {
  html, body {
      background-color: #24292E; /* 统一背景色 */
      color: #fff; /* 文字颜色 */
      font-family: 'Arial', sans-serif; /* 统一字体 */
      width: 100%; /* 视窗宽度 */
      height: 100%; /* 视窗高度 */
      margin: 0; /* 移除外边距 */
      overflow-x: hidden; /* 隐藏水平滚动条 */
  }

  .center {
      display: flex;
      flex-direction: column;
      align-items: center; /* 居中对齐子元素 */
      width: 90%; /* 中央区域宽度 */
      margin: 0 auto; /* 上下无间隔，左右自动调整 */
  }

  .avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
  }

  .player-info {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 18px;
  }

  .button {
      width: auto;
      padding: 15px 30px;
      margin: 5px;
      font-size: 1.2rem;
      background-color: #fff;
      color: #000;
      border-radius: 5px;
      cursor: pointer;
      border: 2px solid #444;
  }

  .inputs, .gameInfo {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      margin: 20px 0;
  }

  .infoCell, .scoreCell, .bigCell {
      font-size: 1rem;
      background-color: #3C4045;
      color: #fff;
      padding: 10px;
      margin: 5px;
      border: none;
  }
}

