* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  background-color: black;
  text-align: center;
  font-family: sans-serif;
  color: white;
}

.preheader {
  user-select: text;
  font-size: 13px;
  width: 100%;
  padding: 15px 0 10px 0

}

.header{
  width: 100%;
  position: sticky;
  z-index: 9999;
  top: 0;
  padding-top: 5px;
  margin-top: -1px;
  background-color:black;
  background: linear-gradient(black,#121a29);
  cursor: pointer;
}

.nav {
  display: inline-block;
  width: 20%;
  max-width: 300px;
  border-radius: 1em;
}

.nav svg {
  padding: 8px 0 8px 0;
  margin: 0 auto;
  width: 50px; 
  height: 50px;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.nav:hover svg, .nav:focus svg{
  padding: 3px 0 3px 0;
}

.searchcontainer{
  position: absolute; 
  height: 50px;
  width: 20%;
  max-width: 300px;
  padding-left: 0.6%;
}

#search{
 display: inline-block;
 width: 90%;
 height: 90%;
 padding: 10px;
 margin-top: 2px;
 color: rgba(255, 255, 255, 0.00);
 font-size: 18px;
 border: none;
 outline:none;
 cursor: pointer;
 background-color: rgba(255, 255, 255, 0.00);
}

#search:focus{
  background-color: #1a253a;
  border-radius: 1em;
  outline: none;
  color: white;
  background-image: url('11searchsmall.svg');
  background-size: 30px 30px;
  background-position: left;
  background-repeat: no-repeat;
  text-indent: 27px;
}

#coinwrapper {
  margin: 0 auto;
  max-width: 1500px;
  min-height: 95vh;
  padding-top: 0.5%;
  padding-bottom: 0.5%;
  background-color: #121a29;
}

.coinbox {
  width: 15%;
  padding: 0.72%;
  margin: 0.72%;
  border-radius: 0.7em;
  background-position: right;
  background-repeat: no-repeat;
  background-size: 99% 99%;
  box-shadow: inset 0 0 0 1000px rgba(26, 37, 58, 0.961);
  display: inline-block;
}

.imagelink {
  display: inline-block;
  width: 87px;
  height: 87px;
  margin: 7px auto 12px auto;
  background-repeat: no-repeat;
  background-size: 87px 87px;
  vertical-align: bottom;
}

 a {
  display: block;
}

.imagelink svg {
  width: 87px;
  height: 87px
}

.watchlisthome {
  float: right;
  height: 50px;
  width: 35px;
  background: no-repeat;
  background-position: center top;
  background-size: 25px 25px;
  cursor: pointer;
  
}

.compear {
  float: left;
  height: 50px;
  width: 35px;
  background: no-repeat;
  background-position: center top;
  background-size: 25px 25px;
  cursor: pointer;
}


.namediv {
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
  user-select: text;
  text-align: left;
}


.rightdata{
  float: right;
  padding-right: 10px;
  white-space:nowrap;
}


.databox {
  user-select: none;
  cursor: pointer;
  margin: 0 auto;
  background-color: #121a29;
  border-radius: 0.5em;
  margin-top: 5px;
  padding: 4px 0 4px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.databox:first-child{
  user-select: text;
  margin-top: 0px;
}

#returntop {
  display: none;
  position: fixed;
  background-color: black;
  opacity: 0.7;
  padding: 5px 0 0 0;
  width: 60px;
  height: 60px;
  margin-right: -30px;
  bottom: 3%;
  right: 50%;
  z-index: 99;
  cursor: pointer;
  border-radius: 1em;
}

#returntop:hover, #returntop:active{
  opacity: 1;
}


.footerwrapper {
  width: 100%;
  background: linear-gradient(#121a29, black);
}

.footer {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}


.footerwrapper a{
  width: 12.4%;
  display: inline-block;
  padding: 25px 0 25px 0;
  color: white;
  text-decoration: none;
  border-radius: 1em;
}

.footerwrapper a:hover{
  color: #f37e33;
  text-decoration: underline;
  cursor: pointer;
}


.postfooter {
  padding: 20px 0 20px 0;
  height: 50px;
  width: 100%;
  background-color: black;
}


/* watchlist page settings */



.watchlistmain{
  margin: 0 auto;
  background-color: #121a29;
  max-width: 1500px;
  padding-top: 0.6%;
  padding-bottom: 2px;
}

.morewatchlist {
  width: 97.4%;
  margin-left: 1.3%;
  background-color: #1a253a;
  max-width: 1500px;
  border-radius: 1em;
  margin: 0 auto;
  margin-top: 0.7%;
  padding-top: 0.01%;
  padding-bottom: 1px;
}

/* page settings */

.pagewrapper {
  width: 100%;
  background-color: #1a253a;
  max-width: 1500px;
  margin: 0 auto;
  
}

.stats {
  width: 40%;
  height: 600px;
  position: relative;
  background-color: #f37e33;
  display: inline-block;
}

.chart {
  width: 60%;
  height: 400px;
  background-color: #0f4710;
  display: inline-block;
}

.pagelogo {
  width: 20%;
  height: 300px;
  background-color: #280fca;
  display: inline-block;
}


.coinwrapper {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  background-color:  #121a29;
  background-image: radial-gradient(#1a253a 10%, #1a253a 10%, #121a29 40%);
  padding-left: 1.2%;
  padding-right: 1.2%;
  padding-top: 0.5%;
  grid-template-columns: repeat(8 , 1fr);
  gap: 15px;
  grid-auto-rows: minmax(100px, 0);
}

.coinwrapper div {
  border-radius: 1em;
  color: white;
}


.mainstatsbox {
  background-color:  #1a253a;
  padding: 0.5em;
  grid-column: 1 / 4;
  grid-row: 1 / 8;
  overflow-y: auto;
  border-bottom: 15px solid #1a253a;
}
.mainchartsbox {
  background-color:  #1a253a;
  padding: 1em;
  grid-column: 4 / 9;
  grid-row: 1 / 5;
}
.desktoplogo {
  padding-left:  3em;
  padding-right: 3em;
  padding-top: 3em;
  padding-bottom: 3em;
  grid-column: 4 / 6;
  grid-row: 5 / 8;
}

.desktoplogo svg {
  overflow: visible;
  height: 100%;
  width: 100%;
}
.mainnewsbox {
  background-color:  #1a253a;
  padding: 0.5em;
  grid-column: 6 / 9;
  grid-row: 5 / 12;
  font-size: 16px;
  text-align: left;
  overflow-y: auto;
}

.mainnewsbox .mainstatsbox {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}
.mainnewsbox::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
}

.mainstatsbox::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
}

.mainnewsbox h1, .mainstatsbox h1, .mainheatmapbox h1 {
  margin:0 auto;
  text-align: center;
  padding-bottom: 3px;
  border-bottom: 1px solid white;
  color: #f37e33;
  font-size: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mainstatsbox h1, .mainnewsbox h1{
  margin-bottom: 7px;
}

.mainnewsbox strong {
  color: #f37e33;
}

.mainnewsbox h2, .mainnewsbox h3 {
  margin:0 auto;
  font-size: 20px;
}

.mainnewsbox li {
  padding-bottom: 10px;
}

.mainnewsbox ul {
  margin-bottom: -10px;
}


.mainheatmapbox {
  background-color:  #1a253a;
  padding: 1em;
  grid-column: 1 / 6;
  grid-row: 8 / 12;
}

.statswrapper {
  display: inline-block;
  background-color: #121a29;
  width: 100%;
  margin-top: 5px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.statsleft {
  float: left;
  padding: 10px;
  width: 42%;
  margin-right: 1%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.statsmiddle {
  float: left;
  display: flex;
  width: 14%;
  text-align: center;
  margin-right: 1%;
  
}

.statsmiddle svg {
  margin: 0 auto;
  height: 38px;
}

.statsright {
  float: left;
  padding: 10px;
  width: 42%;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.statswrapper a, .statswrapper a:active, .statswrapper a:visited { 
  color: white; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.statswrapper a:hover {
  color: #f37e33;
}


.supplyleft {
  width: 50%;
  padding: 10px;
  float: left;
  text-align: left;
}

.supplyright {
  width: 50%;
  padding: 10px;
  float: left;
  text-align: right;
}

/* heatmap settings */



.heatcontainer {
    padding-top: 45%;
    position: relative;
    border-radius: 1em;
    margin: auto;
}

.heatin1, .heatin2, .heatin3, .heatin4, .heatin5, .heatin6 {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 0.5%;
  width: 16.5%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.heatin2 {
  left: 17%;
}

.heatin3 {
  left: 33.5%;
}

.heatin4 {
  left: 50%;
}

.heatin5 {
  left: 66.5%;
}

.heatin6 {
  left: 83%;
}

.tooltiptext {
  visibility: hidden;
  width: 72%;
  background-color: #1a253a;
  color: #fff;
  text-align: center;
  border-radius: 0.6em;
  padding-top:36%;
  padding-bottom:36%;
  /* Position the tooltip */
  z-index: 10;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.red:hover .tooltiptext, .blue:hover .tooltiptext  {
  visibility: visible;
}

.blue svg, .red svg{
  width: 60%;
  height: 60%;
  margin: 20%;
  overflow: visible;
}

.heatmapfeature {
  box-shadow: inset 0px 0px 5px 5px #0ff;
}



.blue, .red { 
    display: inline;
    position: relative;
    width: 50%;
    line-height: 0;
    float: left;
}

.blue:hover, .red:hover {
  box-shadow: inset 0px 0px 5px 5px #0ff;
}


.blue:nth-child(even){
    float: right;
  }

.blue:nth-child(2):nth-last-child(even) {
  margin-top: 25%;
}

.red:nth-child(odd){
    float: right;
  }

.red:nth-child(2):nth-last-child(even) {
  margin-top: 25%;
}


/*coinpage settings for mobile*/

.coinhero {
  width: 100%;
  height: 90vh;
  position: relative;
  background-color: #121a29;
}

.herostats {
  position: absolute;
  text-align: center;
  padding: 8px 10px;
  top: 10%;
  left: 5%;
  background-color: black;
  border-radius: 1em;
  width: 25%;
}
.herochart {
  position: absolute;
  text-align: center;
  padding: 8px 10px;
  top: 10%;
  right: 5%;
  background-color: black;
  border-radius: 1em;
  width: 25%;
}
.herologo {
  display: block;
  margin: auto;
  top: 50%;
  left: 50%;
  position: absolute;
  width: 50%;
  transform: translate(-50%, -50%);
}

.herologo svg {
  width: 100%;
  height: 100%;
}


.herohotcool {
  position: absolute;
  text-align: center;
  padding: 8px 10px;
  bottom: 10%;
  left: 5%;
  background-color: black;
  border-radius: 1em;
  width: 25%;
}
.heronews {
  position: absolute;
  text-align: center;
  padding: 8px 10px;
  bottom: 10%;
  right: 5%;
  background-color: black;
  border-radius: 1em;;
  width: 25%;
}

a.anchor, .searchanchor {
  display: block;
  position: relative;
  top: -50px;
  visibility: hidden;
}


.herologo {
 animation: svg-shadow 2s ease-in-out infinite alternate;
 -webkit-animation: svg-shadow 2s ease-in-out infinite alternate;
}

@keyframes svg-shadow {
  from {
   -webkit-filter: drop-shadow( 0 0 1px white) drop-shadow( 0 0 4px white) drop-shadow( 0 0 1px white);
  }

  to {
    
    -webkit-filter: drop-shadow( 0 0 3px white) drop-shadow( 0 0 5px white) drop-shadow( 0 0 3px white);
  }
}



/* deadcoins page settings */

.deadcoinmain {
 margin: 0 auto;
 max-width: 1500px;
 background-color:  #121a29;
}

.deadbox {
  background-color: #1a253a;
  vertical-align: bottom;
  width: 20%;
  border-radius: 1.2em;
  margin: 1.7%;
  display: inline-block;
}

.deadsvg {
  display: block;
}

.deadotherinfo{
  margin: 0 auto;
  background-color: #121a29;
  max-width: 1500px;
  padding-top: 0.6%;
}

.deadheader{
  background-color: #1a253a;
  width: 97.4%;
  margin-left: 1.3%;
  padding-top: 1px;
  border-radius: 1em;
  padding-bottom: 1px;
  margin-bottom: 1.4%;
}


.deadcontent {
  background-color: #1a253a;
  width: 97.4%;
  margin-left: 1.3%;
  border-radius: 1em;
  margin-bottom: 1.3%;
  padding: 1px;
  font-weight: 550;

}

.deadcontent p{
padding: 15px;
line-height: 1.25;
}


.moredeadcoins {
  width: 97.4%;
  margin-left: 1.3%;
  background-color: #1a253a;
  max-width: 1500px;
  border-radius: 1em;
  margin: 0 auto;
  padding-top: 1px;
  padding-bottom: 1px;
}


/* lightmode colour settings */

.lightmode body, .lightmode body .morewatchlist{
  background-color: white;
  color: black;
}

.lightmode body > .header{
  background: linear-gradient(white,#c9d1e2);
}

.lightmode body #coinwrapper, .lightmode body .watchlistmain, .lightmode body #search:focus {
  background-color: #c9d1e2;
  color: black;
}

.lightmode body .databox {
  background-color: #dbe1ec;
  color: black;
}

.lightmode body .coinbox{
  box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.93);
}

.lightmode body #returntop{
  background-color: white;
}

.lightmode body .footerwrapper{
  background: linear-gradient(#c9d1e2, white);
}

.lightmode body .footerwrapper a{
  color: black;
}

.lightmode body .postfooter {
  background-color: white;
}


/* deadcoins page colour settings */

.lightmode body > .deadcoinmain, .lightmode body > .deadotherinfo{
   background-color: #c9d1e2;
}

.lightmode body .deadbox, .lightmode body .deadcontent, .lightmode body .deadheader, .lightmode body .moredeadcoins  {
  background-color: white;
}

/* coin page colour settings */
.lightmode body .pagewrapper, .lightmode body .coinwrapper {
  background-color: #c9d1e2;
  background-image: radial-gradient(white 0%, transparent 30%, #c9d1e2 40%);
}

.lightmode body .coinhero {
  background-color: #c9d1e2;
  background-image: radial-gradient(white 10%, transparent 70%, #c9d1e2 40%);
}

.lightmode body .coinwrapperbox, .lightmode body .herobox {
  background-color: white;
  color: black;
}

.lightmode body .mainstatsbox {
  border-bottom: white;
}

.lightmode body .mainstatsbox div {
  color: black;
  background-color: #dbe1ec;
}

.lightmode body .mainstatsbox a {
  color: black;
}

.lightmode body .mainstatsbox a:hover {
  color: #f37e33;
}

.lightmode body .mainstatsbox h1, .lightmode body .mainnewsbox h1, .lightmode body .mainheatmapbox h1 {
  border-bottom: 1px solid black;
}


@media (max-width: 1350px) {
  .coinbox {
    width: 18%;
  }

  .heatcontainer {
    margin-top: 20px;
    padding-top: 45%;
  }

  .blue , .red {
    margin-top: 10px;
  }

  .footerwrapper a{
    width: 24.9%;
  }
}


@media (max-width: 1100px) {
  .coinbox {
    width: 23%;
  }

  .heatcontainer {
    margin-top: 40px;
    padding-top: 50%;
  }

  .blue, .red{
    margin-top: 15px;
  }

  .searchcontainer {
    padding-left: 2%;
  }
  #search:focus{
    width: 130%;
  }

  .deadbox {
    width: 42%;
    margin: 2.8%;
  }
}

@media (max-width: 1000px) {
  .lightmode body .coinwrapper {
    background: #c9d1e2;
  }

  .desktoplogo {
    display: none;
  }
  .coinwrapper {
    width: 100%;
    display: inline-block;
    background: #121a29;
  }
   .mainheatmapbox {
    margin-top: 8px;
    padding: 10px;
  }
  .mainnewsbox, .mainstatsbox {
   display: inline-block;
   margin-top: 8px;
  }

  .mainchartsbox {
    margin-top: 4px;
  }

  .heatcontainer {
    margin-top: 0;
    padding-top: 43%;
  }

  .blue, .red {
    margin-top: 0;
  }
}

@media (max-width: 800px) {
  .coinbox {
    width: 31%;
  }

  #search:focus{
    width: 210%;
  }
}

@media (max-width: 600px) {
  .coinbox {
    width: 48%;
  }
  .footerwrapper a{
    font-size: 12px;
  }

  .blue, .red {
    width: 100%;
    margin-top: 0;
    float: left;
  }
    
  .red:nth-child(2):nth-last-child(even) {
  margin-top: 0;
  }
  
  .blue:nth-child(2):nth-last-child(even) {
  margin-top: 0;
}
  
  .heatcontainer {
  padding-top: 170%;
  }

}

@media (orientation: landscape) {
  .coinhero{
   height: 72vh;
  }
  .herologo{
   width: 25%;
  }
  .herochart, .herostats{
   width: 12%;
   top : 5%;

  }
  .heronews, .herohotcool{
   width: 12%;
   bottom: 5%;
  }
}

@media (max-width: 1340px) {
 .desktoplogo {
 padding-left:  2em;
 padding-right: 2em;
 }
}

@media (max-width: 1100px) {
 .desktoplogo {
 padding-left:  1.5em;
 padding-right: 1.5em;
 }
}

@media (min-width: 1000px) {
 .coinhero {
   display: none;
 }
 a.anchor {
  display: none;
 }
}