body {
  background-color: #1f1f1f;
  color: white;
  font-family: 'Secondary', sans-serif;
  font-size: 1rem;
  margin: 0;
  letter-spacing: 0.1rem;
  }

  #background {
    margin: 0;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: -10;
    background-image: url(../../card_spacedoge.jpg);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: calc(10vw + 40vh);
  }

  #header {
    padding: 20px 0 10px 20px;
  }

  #header img {
    height: calc(2vw + 3vh);
    width: calc(2vw + 3vh);
    opacity: 0.1;
     /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";

    /* IE 5-7 */
    filter: alpha(opacity=10);

    /* Netscape */
    -moz-opacity: 0.1;

    /* Safari 1.x */
    -khtml-opacity: 0.1;
  }

  .cggIcon, .uiCoin {
    height: 24px;
    padding: 0 10px;
  }
  
  .container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #2c2c2c;
    border: 1px solid #555;
    border-radius: 10px;
    overflow: hidden;
  }
  
  table, th, td {
    border: none;
  }
  
  th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #555;
  }
  
  th {
    background-color: #3a3a3a;
    font-weight: bold;
  }
  
  td {
    background-color: #484848;
  }
  
  .pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .pagination button {
    padding: 10px 20px;
    margin: 0 10px;
    border: 1px solid #676767;
    border-radius: 5px;
    background-color: #323232;
    color: white;
    font-family: 'Secondary', sans-serif;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .pagination button:hover {
    background-color: #656565;
  }
  
  #pageInfo {
    font-size: 1rem;
  }

  #detailsContainer {
    display: flex;
    margin: 0 auto;
    flex-direction: row;
    width: 80%;
    gap: 10px;
    justify-content: space-between;
  }

  #playDesktop {
    display: block;
  }
  
  #playMobile {
    display: none;
  }

  #details {
    width: 70%;
    font-size: 1.2rem;
    line-height: 2rem;
  }

  #devNotes {
    display: flex;
    justify-content: space-between;
  }

  .gameTitle {
    font-size: 3rem;
    line-height: 3rem;
  }

  .game-card {
    background-color: #232323;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    margin-top: 180px;
    text-align: center;
    align-content: center;
    padding: 15px;
    transition: transform 0.2s;
    height: 50px;
    width: 300px;
  }
  .game-card h3 {
    white-space: nowrap;
    font-size: 1.3rem;
    color: #626262;
  }
  .game-card:hover {
    transform: scale(1.05);
  }
  .game-card a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
  }

  #betaMark {
    position: absolute;
    height: 60px;
    padding-right: 280px;
    padding-top: 10px;
    z-index: 2;
  }

  #roadmap {
    flex-basis: 40%;
  }
  #currentRate {
    flex-basis: 60%;
  }

  .checkbox {
    font-size: 1.5rem;
  }

  .h2 {
    font-size: 1.5rem;
  }
  
  .game-card div {
    width: 100%;
    height: 100%;
    flex-grow: 4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 0 0 150px #3f3f3f;
    border: #676767;
    border-width: 1px;
    border-style: solid;
    margin-top: 10px;
  }
  
  .game-card p {
    margin: 0;
    font-family: 'Capgras', sans-serif;
    flex-grow: 1;
    font-size: 2.3rem;
    text-transform: uppercase;
    vertical-align: bottom;
    align-content: flex-end;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  .game-card div {
    background-image: url('../../card_spacedoge.jpg');
  }

  #logo {
    position: relative;
    left: -25px;
  }

  #logo img {
    width: 500px;
    max-width: 85vw;
  }
  
  #cardLogo {
    width: 100%;
    padding-right: 8px;
  }

  .capgrasRed {
    color: #ff165d;
  }

  .capgrasPurple {
    color: #9d7fff;
  }

  #playButton img {
    height: 23px;
    width: 23px;
  }

  #rewardsContainer {
    display: none;
  }

  #rewardTotals, #leaderboardTotals {
    display: flex;
    justify-content: space-around;
    color: #9d7fff;
    padding: 10px 60px;
    font-size: 1.2rem;
  }

  #totalCGGcount, #burnedAmount, #lbTotalCoins, #lbTotalCGG {
    color: white;
  }

  #calculatorContainer {
    background-color: #232323;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    margin: 30px auto;
    padding: 20px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    font-family: 'Secondary', sans-serif;
    color: white;
  }
  
  #calculatorContainer label {
    display: block;
    margin: 10px 0 20px 0;
    font-size: 1.25rem;
    color: #9d7fff;
  }
  
  #calculatorContainer input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #555;
    border-radius: 8px;
    background-color: #2c2c2c;
    color: white;
    font-family: 'Secondary', sans-serif;
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  #calculatorContainer input[type="text"]::placeholder {
    color: #aaa;
  }
  
  #calculatorContainer p.result {
    background-color: #1c1c1c;
    padding: 10px;
    border-radius: 8px;
    font-size: 1.25rem;
    color: #aaaaaa;
  }

  #calculatorContainer p {
    justify-content: center;
  }

  #coinsLine {
    color: white;
  }
  
  #dynamicRate {
    font-weight: bold;
    color: #ff165d;
  }

  #ratePctGain {
    color: #9d7fff;
    font-size: 0.75em;
    top: -2px;
  }

  input[type="text"]::-webkit-inner-spin-button, 
  input[type="text"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  @media (max-width: 750px) {
    #calculatorContainer {
      width: 90%;
      padding: 15px;
    }
  
    #calculatorContainer label {
      font-size: 1rem;
    }
  
    #calculatorContainer input[type="text"] {
      font-size: 0.9rem;
    }
  
    #calculatorContainer p {
      font-size: 1rem;
    }
  }

  @media (max-width: 750px) {
    #detailsContainer {
      flex-direction: column;
      align-items: center;
    }
    #details {
      width: 100%;
    }
    .game-card {
      margin: 50px 0;
    }
    #devNotes {
      flex-direction: column;
    }
    #playDesktop {
      display: none;
    }
    #playMobile {
      display: block;
      width: unset;
    }
    #betaMark {
      height: 50px;
    padding-right: 250px;
    padding-top: 20px;
    }
    td, tr, th {
      font-size: 12px;
      padding: 3px;
    }
    #rewardsContainer, #leaderboardContainer {
      width: 95%;
    }
    #rewardTotals, #leaderboardTotals {
      flex-direction: column-reverse;
      font-size: 1.2rem;
      padding: 0;
    }
  }

  @font-face {
    font-family: 'Capgras';
    src: url('../../din_condensed_bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Capgras';
    src: url('../../din_condensed_bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
  font-family: 'Secondary';
  src: url('./montserrat.bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}