body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #1c1c1c;
  }

::-webkit-scrollbar {
    width: 10px;
    background-color: black;
  
}

::-webkit-scrollbar-thumb {
    background-color: #F44336;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgb(0, 0, 0);
}

.scroll-images::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #1c1c1c;
}

.scroll-images::-webkit-scrollbar-thumb {
  background-color: #F44336;
}
  
  header {
    display: flex;
    width: auto;
    justify-content: space-between;
    align-items: center;
    background-color: #F44336;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.50) 0 8px 15px;
  }

  h2 {
    color: white;
  }

  h4 {
    text-align: center;
    color: white;
    font-size: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
   }

   ::selection {
    background-color: #FA6862;
    color: #fff; }

   #subtitle {
    text-align: center;
    color: white;
    font-size: 0.75rem;
    margin-bottom: 0;
   }
   .subtitle {
    text-align: center;
    color: white;
    font-size: 0.75rem;
    margin-top: 0;
    margin-bottom: 0;
   }

  p {
    color: white;
  }

  .alert {
    background-color: #ED7D31;
    box-shadow: rgba(0, 0, 0, 0.50) 0 8px 15px;
    padding-top: 0.2vh;
    padding-bottom: 0.2vh;
  }

  header + .alert {
    margin-top: 0;
  }
  
  .logo {
    height: 10vh; /* set the height of the image */
    width: auto; /* set the width to adjust proportionally */
  }

    .question {
       font-weight: bold;
    }

    .link {
        color: white;
        text-decoration: underline;
    }
    .link:hover {
      color: #FA6862; }
  
  #myChart {
    display: block;
    position: relative;
    max-height: 90vh;

  }
  #rarityChart {
    display: block;
    position: relative;
    max-height: 40vh;
    max-width: 30%;

  }

.button-28 {
  appearance: none;
  background-color: #333;
  border: 2px solid #1A1A1A;
  border-radius: 5px;
  box-sizing: border-box;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-family: Roobert,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 16px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  will-change: transform;
  margin-top: 5px;
  margin-left: 5px;
  position: absolute;
}

.button-28:disabled {
  pointer-events: none;
}

.button-28:hover {
  color: #fff;
  background-color: #4e4d4d;
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button-28:active {
  box-shadow: none;
  transform: translateY(0);
}
  
  footer {
    background-color: #1c1c1c;
    color: white;
    padding: 30px;
  }
  
  .case {
    display: flex;
    background-color: #333;
  }
  
  .faq {
    background-color: #333;
    color: white;
    padding: 20px;
    position: relative;
    z-index: 0;
    width: 55%;
    float: left;
  }
    
  .faq::after {
    content: '';
    position: absolute;
    top: 5%;
    right: 0;
    height: 90%;
    width: 1px;
    background-color: white;
  }

  .quoteBox {
    margin: 0;
}

.quoteBox p {
    padding: 15px;
    background: #4e4d4d;
    border-radius: 5px;
}

.imgFaq {
    text-align: center;
    position: relative;
    float: right;
    width: 45%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

  }
  
  .imgFaq img {
    max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  height: 300px;
  max-height: 100%;
  object-fit: contain;
  align-self: center;
  }

.myChartCard {
  height: 105vh;
}

.chartCardContainer {
  display: flex;
  flex-direction: column;
  gap: 3vh;
  padding-bottom: 4rem;
  padding-top: 4rem
}

.headerLink:hover {
background-color: #f35c51;
;
}

.dropdown {
z-index: 10;
}

.footerHeader {
  color: white;
  display: block;
  font-size: 1.17em;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

.legend-tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px;
  border-radius: 5px;
  font-size: 12px;
  display: none;
  pointer-events: none;
}

.skinledgerContainer {
  text-align: center;
}

.skinledgerHorizontal {
  display: inline-block;
  max-width: 60vw;
}

.tradeuplabHorizontal {
  display: inline-block;
  max-width: 70vw;
}

.skinledgerLink {
  display: inline-block;
}

.cswhaleContainer {
  width: 60%;
  margin: 0 auto; /* Centers the banner */
}

.cswhaleContainer iframe {
  width: 100%;
  aspect-ratio: 2.7 / 1;
  border: none;
}

@media (max-width: 768px) { 
  .skinledgerHorizontal {
      max-width: 75vw;
  }
  .tradeuplabHorizontal {
    max-width: 90vw;
  }
  .cswhaleContainer {
    width: 75%;
  }
}

@media only screen and (max-width: 700px) {
  #myChart {
    max-height: 550px;
  }
  .imgFaq {
    display: none;
  }
  .faq {
    width: auto;
  }
}

@media only screen and (min-width: 630px) {
  .btnOutside {
    display: none;
  }
}

@media only screen and (max-width: 630px) {
  .button-28 {
    font-size: 10px;
    padding: 8px 12px;
    min-height: 30px;
    /* max-width: 35%; */
    position:unset;
  }
  .btnOutside {
    display:block;
    margin-bottom: -3rem;
  }
  .btnInside {
    display:none;
  }
}

@media only screen and (max-width: 550px) {
  .logo {
    width: 60%;
    height: auto;
  }
  header {
    font-size: 10px;
    padding: 10px;
  }
  .skinledgerHorizontal {
    max-width: 95vw;
  }
  .tradeuplabHorizontal {
    max-width: 98vw;
  }
    .cswhaleContainer {
    width: 95%;
  }
}

@media only screen and (max-width: 400px) {
  header {
    font-size: 10px;
    padding: 5px;
  }
}

@media only screen and (max-height: 430px) and (max-width: 700px) {
  .myChartCard {
    height: 170vh
  }
}

@media only screen and (max-height: 430px) and (min-width: 700px) {
  .myChartCard {
    height: 120vh
  }
}

@media only screen and (min-height: 800px) and (min-width: 1000px) {
  #myChart {
    max-height: 700px;
  }
  .myChartCard {
    max-height: 100vh;
  }
}
@media only screen and (min-height: 850px) and (min-width: 1000px) {
  #myChart {
    max-height: 700px;
  }
  .myChartCard {
    max-height: 85vh;
  }
}

@media only screen and (min-height: 950px) and (min-width: 1000px) {
  #myChart {
    max-height: 700px;
  }
  .myChartCard {
    max-height: 70vh;
  }
}

@media only screen and (min-width: 1500px) {
  .legend-tooltip {
    font-size: 1.25rem;
  }
}

@media only screen and (min-width: 2500px) {
  #myChart {
    max-width: 2500px;
    min-width: 2500px;
    margin:auto;
  }
  #subtitle {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 2.5rem;
  }
  .legend-tooltip {
    font-size: 1.75rem;
  }
  .chartCardContainer {
    gap: 9vh;
  }
}
@media only screen and (min-width: 3000px) {
  #subtitle {
    font-size: 1.50rem;
  }
  h4 {
    font-size: 3rem;
  }
}