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

  #background {
    margin: 0;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: -10;
    background-image: url(./background.png);
    background-repeat: repeat;
    background-size: calc(20vw + 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;
  }

  th img {
    max-height: calc(1vh + 1vw);
  }
  
  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: #d2d2d2;
    font-family: 'Secondary', sans-serif;
    font-size: 1.35rem;
    cursor: pointer;
  }
  
  .pagination button:hover {
    background-color: #656565;
  }
  
  #pageInfo {
    font-size: 1.35rem;
  }

  #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.35rem;
    line-height: 2rem;
  }

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

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

  .game-card {
    background-color: #181f1e;
    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: #d2d2d2;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
  }

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

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

  .checkbox {
    font-size: 1.5rem;
  }

  .h2 {
    font-size: 1.75rem;
    margin-bottom: 0;
  }

  .h3 {
    margin-top: 10px;
    font-size: 1.25rem;
    white-space: nowrap;
  }
  
  .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;
    padding-left: 10px;
  }
  
  .game-card div {
    background-image: url('../../card_spacedoge.jpg');
  }

  #logo {
    position: relative;
    font-family: 'Logo', sans-serif;
    font-size: calc(2.5vw + 2.5vh);
    padding-bottom: 1.35rem;
    color: rgb(238 239 188);
    text-shadow: 3px 4px 0 black;
    z-index: 999;
  }

  #dirtyRatGuy {
    position: fixed;
    width: calc(23vw + 23vh);
    bottom: calc(-6vw + -6vh);
    right: 2%;
    z-index: -1;
  }
  
  #cardLogo {
    width: 100%;
    padding-right: 8px;
  }

  .primaryColor {
    color: #e03d27;
  }

  .secondaryColor {
    color: #5a7673;
  }

  #playIcon {
    font-family: 'TypeIcons', sans-serif;
  }

  #rewardsContainer {
    display: none;
  }

  #rewardTotals, #leaderboardTotals {
    display: flex;
    justify-content: space-around;
    color: #5a7673;
    padding: 10px 60px;
    font-size: 1.35rem;
  }

  #totalCGGcount, #burnedAmount, #lbTotalPoints, #lbTotalCGG {
    color: #d2d2d2;
  }

  #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: #d2d2d2;
  }
  
  #calculatorContainer label {
    display: block;
    margin: 10px 0 20px 0;
    font-size: 1.25rem;
    color: #5a7673;
  }
  
  #calculatorContainer input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #555;
    border-radius: 8px;
    background-color: #2c2c2c;
    color: #d2d2d2;
    font-family: 'Secondary', sans-serif;
    font-size: 1.35rem;
    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: #d2d2d2;
  }
  
  #dynamicRate {
    font-weight: bold;
    color: #ff165d;
  }

  #ratePctGain {
    color: #5a7673;
    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: 1.35rem;
    }
  
    #calculatorContainer input[type="text"] {
      font-size: 0.9rem;
    }
  
    #calculatorContainer p {
      font-size: 1.35rem;
    }

    #dirtyRatGuy {
      position: fixed;
      width: 100%;
      bottom: -18%;
      right: 0;
      z-index: -1;
    }

    #logo {
      font-size: calc(3vw + 4vh);
    }

    #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;
    }

    td, tr, th {
      font-size: 12px;
      padding: 3px;
    }
    #rewardsContainer, #leaderboardContainer {
      width: 95%;
    }
    #rewardTotals, #leaderboardTotals {
      flex-direction: column-reverse;
      font-size: 1.35rem;
      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('./Auribus.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Logo';
  src: url('./../../beltway-prophecy-irregular.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

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