body { padding: 0; margin: 0; background-color: #555; margin-bottom: 250px; color: white; background-color: #141414; font-family: 'Capgras', sans-serif;
    font-size: 1rem;}
    #header {
      padding: 20px 0 10px 20px;
      position: absolute;
    }
  
    #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;
    }
#main-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    padding-top: 40px;
}
#unity-container {
    position: relative;
    box-shadow: 0 0 150px #3f3f3f;
    border-radius: 10px;
    border: #676767;
    border-width: 1px;
    border-style: solid;
  }
  #unity-fullscreen-button {
    margin: 10px;
    float: right;
    width: 30px;
    height: 30px;
    background: url(fullscreen-button.png) no-repeat center;
    cursor: pointer;
    background-size: contain;
    position: absolute;
    bottom: 10px;
    right: 10px;
  }
#unity-container.unity-desktop { 
    display: flex;
    flex-direction: column;
    align-items: center; 
    width: 70%;
}
#unity-container.unity-mobile { 
  position: relative; width: 90%; height: 70%; display: flex; }
#unity-canvas { background: #231F20; border-radius: 10px; }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { 
  display: none;
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#playButtonContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(playButton.png) no-repeat center;
    cursor: pointer;
    background-size: contain;
    width: 30px;
    height: 30px;
}
#unity-progress-bar-empty { 
  width: 141px;
  height: 18px;
  border-radius: 10px;
  border: #676767;
  border-width: 1px;
  border-style: solid;
}
#unity-progress-bar-full {
  width: 0%;
    border-radius: 10px;
    height: 100%;
    background-color: white;
}
.unity-mobile #unity-footer { display: none }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-warning { background: white; padding: 10px; display: none }

a {
  color: #ff165d;
}

#tokenDetails {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    width: 68%;
    padding-top: 30px;
    font-family: 'Capgras', sans-serif;
    font-size: 1rem;
    z-index: 9999;
  }

  #logout {
    white-space: nowrap;
    flex-basis: 33%;
    justify-content: flex-end;
  }

  #sendTokensDiv {
    display: none;
  }
  
  .input-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  #toField, #amountField, #toFieldICP, #amountFieldICP, #buyTimeAmountField, #swapAmountField {
    padding: 5px;
    border: 1px solid #555;
    background-color: black;
    font-family: 'Capgras', sans-serif;
    font-size: 0.875rem;
    border-radius: 3px;
    color: #777;
    font-weight: 600;
  }

  #toField, #toFieldICP {
    flex-grow: 6;
  }

  #sendButton, #sendButtonICP {
    flex-grow: 2;
  }

  #buyTimeButton {
    margin-top: 10px;
  }

  button:disabled {
    background-color: #5d5d5d !important;
    color: gray !important;
    cursor: not-allowed !important;
  }
  
  #sendButton, #sendButtonICP, #buyTimeButton, #swapButton {
    border: 1px solid #676767;
    border-radius: 3px;
    background-color: #323232;
    color: white;
    cursor: pointer;
    font-family: 'Capgras', sans-serif;
    font-size: 1rem;
    padding: 4px;
    max-height: fit-content;
  }
  
  #sendButton:hover, #sendButtonICP:hover, #buyTimeButton:hover {
      background-color: #656565;
    }
    
    #sendTokens, #sendICP, #statsAndPrincipal {
      flex-direction: row;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
  }

  #sendTokens div, #sendICP div {
    width: 120px;
    text-align: right;
    white-space: nowrap;
    align-items: center;
    display: flex;
  }

  #sendTokens div img, #sendICP div img {
    padding-right: 8px;
  }

  #principalElements, #accountElements {
    display: none;
    align-items: center;
  }

  #principalId, #accountId {
    text-align: start;
  }

  #copyButton, #copyButtonAccount {
    position: relative;
    padding-left: 10px;
    cursor: pointer;
  }

  .copyIcon {
    height: 20px;
  }
  
  #loginButton {
    border: 1px solid #676767;
    border-radius: 5px;
    background-color: #323232;
    color: white;
    cursor: pointer;
    width: 105px;
    height: 38px;
    margin: 20px 0;
    font-family: 'Capgras', sans-serif;
    font-size: 1rem;
  }

  #loginButton:hover {
    background-color: #656565;
  }

  #viewHeader {
    width: 68%;
    align-items: flex-end;
    justify-content: center;
    display: flex;
  }

  #logo {
    font-family: 'Secondary', sans-serif;
    font-size: calc(2.5vw + 2.5vh);
    padding-bottom: 1rem;
    text-shadow: 3px 4px 0 black;
    letter-spacing: 0.15rem;
    z-index: 999;
  }

  #logo a {
    text-decoration: none;
    color: rgb(238 239 188);
  }

  #betaMark {
    position: absolute;
    top: -1%;
    left: -1%;
    z-index: 2;
    height: calc(3vh + 4vw);
  }

  #coinStats {
    align-items: center;
    display: none;
    z-index: 999;
    flex-basis: 33%;
    justify-content: flex-start;
  }

  #coinStats .icpIcon {
    padding-left: 10px;
  }

  #loginToEarn {
    align-items: center;
    display: flex;
    z-index: 999;
    flex-basis: 33%;
    justify-content: flex-start;
  }

  #extraTools {
    display: flex;
    justify-content: space-between;
    gap: 5%;
    padding-top: 20px;
  }

  #extraTools .icpIcon, .sdogeIcon, #loginToEarn .cggIcon {
    padding: 0 5px;
  }

  #buyTime {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    width: 40%;
    border-radius: 10px;
    border: #676767;
    padding: 15px;
    border-width: 1px;
    border-style: solid;
  }
  #instructions {
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    width: 60%;
    line-height: 1.5rem;
    align-items: flex-end;
  }
  #instructions p {
    margin: 0;
  }
  #userRate {
    color: #ff165d;
  }
  #buyTimeHeader, #swapSdogeHeader {
    display: flex;
    justify-content: space-between;
  }

  #buyTime div, #swapSdoge div {
    display: flex;
    align-items: center;
  }
  #buyTime div img {
    width: 26px;
    height: 26px;
    padding: 0 5px;
  }

  .cggIcon, .icpIcon {
    width: 26px;
    height: 26px;
    padding-right: 3px;
    object-fit: contain;
    aspect-ratio: 1;
  }

  .moneyBag {
    width: 18px;
    height: 18px;
  }

  .sdogeIcon {
    width: 28px;
    height: 28px;
  }

  #bagTimerDiv {
    /* flex-basis: 33%; */
    justify-content: center;
    border-radius: 10px;
    border: #676767;
    padding: 5px 15px;
    border-width: 1px;
    border-style: solid;
  }

  #bagTimerDiv .moneyBag {
    padding: 0 8px;
  }

  #bagTimer {
    padding-left: 8px;
  }

  .capgrasRed {
    color: #ff165d;
  }

  @media (max-width: 750px) {
    #unity-fullscreen-button {
      margin: 5px;
      width: 20px;
      height: 20px;
    }
    #tokenDetails {
      width: 90%;
    }
    #sendTokens, #sendICP, #statsAndPrincipal {
      flex-direction: column;
      align-items: unset;
    }
    #extraTools {
      flex-direction: column;
      gap: 20px;
      width: 100%;
    }
    #principalId, #accountId {
      text-align: start;
    }
    #copyButton, #copyButtonAccount {
      padding-right: 10px;
      padding-left: 0;
    }
    #principalElements, #accountElements {
      word-break: break-word;
      flex-direction: row-reverse;
    }
    #buyTime, #instructions {
      width: unset;
    }
  }

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

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

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