/* ------------------------------------------------------------------------ */
/*                                                                          */
/*    This file is part of GenePool Swimbots.                               */
/*    Copyright (c) 2021 by Jeffrey Ventrella - All Rights Reserved.        */
/*                                                                          */
/*    See the README file or go to swimbots.com for full license details.   */
/*    You may use, distribute, and modify this code only under the terms    */
/*    of the "Commons Clause" license (commonsclause.com).                  */
/*                                                                          */
/*    This software is intended for education, game design, and research.   */
/*                                                                          */
/* ------------------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@100;300;500&display=swap');
 
body 
{
    background-color: #283343;
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    color: #FFF;
    /*background-color: #dddddb;*/
}

a { text-decoration: none; color: #88DAD5;}

::placeholder { color: #aaa; opacity: 1; }
:-ms-input-placeholder { color: #aaa; } 
::-ms-input-placeholder { color: #aaa; }

#Canvas
{
    position: absolute;
    top: 150px;
    left: 30px;
}


/* ------ */
/* NFT UI */
/* ------ */

#logoHolder {
  position: absolute; left: 20px; top: 15px; z-index: 99999;
}

#logoHolder img { width: 229px; height: 89px; }

.slidecontainer {
  width: 100%; /* Width of the outside container */
}

/* The slider itself */
.slider {
  -webkit-appearance: none;
  width: 145px;
  height: 10px;
  border-radius: 5px;   
  background: #69707a;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

/* Mouse-over effects */
.slider:hover {
  opacity: 1; /* Fully shown on mouse-over */
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */ 
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%; 
  background: #aed3db;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #aed3db;
  cursor: pointer;
}

#circlemask {
 position: absolute;
 width: 738px; height: 738px;
 position: absolute;
 z-index: 1000;
 top: 150px;
 left: 20px;
}

#leaderboard {
    display: none;
    position: absolute;
    width: 400px; 
    height: 610px; 
    background-color: #344155; 
    border: 1px solid #505e74; 
    padding: 10px;
    z-index: 2000;
    border-radius: 12px;
}

#leaderboard h2 {
    font-weight: 100;
    letter-spacing: .02em;
    color: white;
    font-size: 24px;
    text-align: center;
    margin: 0;
    padding: 0;
}

p#columnHead { border-bottom: 1px solid rgba(255,255,255,.2); padding: 0; margin: 0; }
p#columnHead a { display: inline-block; font-size: 12px; text-decoration: none; font-size: 12px; color: #fff;}
p#columnHead .columnHead1 { width: 110px; padding-left: 20px;}

p#columnHead span { font-size: 10px; }
p#columnHead span.sortSelected { color: rgba(255,255,255,1); }
p#columnHead span.sortUnselected { color: rgba(255,255,255,.2); }
p#columnHead span.questionPop { display: inline-block; width: 20px; float: right; }

#leaderboard #navigation {
    font-size: 12px;
    text-align: center;
    color: #aed3db;
}

#leaderboard #navigation a {
    color: #aed3db;
    text-decoration: none;
}

#leaderboard #navigation a:hover {
    color: white;
}

#leaderScores {
    overflow: auto; 
    background-color: #41526b; 
    border: 1px solid rgba(255,255,255,.1);
    height: 460px;
}

#leaderScores p { 
    color: #d7dce4;
    margin: 10px 10px 10px 5px;
    padding: 0 0 0 8px;
    font-size: 14px;
}

#leaderScores p a { 
    color: #d7dce4;
    text-decoration: none;
    display: inline-block;
    font-weight: normal;
}

#leaderScores span.swimbotLabel { 
    text-decoration: none;
    display: inline-block;
    width: 110px;
}

#leaderScores p.hero {
    background-color: rgba(0,0,0,.3);
    padding-top: 5px;
    padding-bottom: 5px;
}

#leaderScores .glow, #leaderKey .glow {
  color:#52db97;
  font-weight: bold;
}

#leaderScores p a:hover { 
    color: white;
    text-decoration: none;
}

#leaderScores p i { 
    color: #9fa9b5;
    font-size: 16px;
    padding-right: 5px;
}

#leaderScores p i:hover { 
    color: #fff;
}

#leaderboardSubhead span { font-size: 10px; }
#leaderboardSubhead strong { font-size: 11px; }

#leaderKey { margin-top: 10px; }
#leaderKey p { padding: 3px 0 0 15px; margin: 0; font-size: 14px; color: rgba(255,255,255,.8); font-weight: 100; }
.simulationButton {
  color: #FFF; 
  background-color: #465367; 
  padding: 8px 12px; 
  border: 1px; 
  border-radius: 8px; 
  font-size: 11px; 
}

.simulationButton:hover {
  background-color: #8d3835 !important;
}

/* histogram */
#leaderScores p span.histogram { 
    display: inline-block;
    /* background-color: #defcd0; */
    background-image: url('../images/helixbar.png');
    background-image: url('../images/helixbar.png');
    background-size: cover;
    height: 20px;
}
/* Percentage */
#leaderScores p em { font-weight: 300; font-size: 11px; }


/* NFT viewer */

#nftViewerHolder { display: none; position: absolute; top: 50px; left: 770px; z-index: 99999; width: 420px; height: 420px; }

#nftViewerClose { background-color: #000; padding: 4px 6px; font-size: 14px; color: #FFF; text-decoration: none; font-weight: 100; border: 1px solid #999; font-family: monospace; }
#nftViewerClose:hover { background-color: #ABCFD7; color: #000; }

#simulationBackground {
  opacity:    0.8; 
  background: rgb(29,35,48);
  width:      100%;
  height:     100%; 
  z-index:    10000;
  top:        0; 
  left:       0; 
  position:   fixed; 
}

#simulationPicker { 
  position: absolute; 
  z-index: 99999; 
  left: 25px; 
  top: 130px; 
  width: 70%;
  background-color: #3b4351;
  border: 1px solid #666; 
  padding: 20px;
  font-weight: 300; 
}

#simulationPicker p { line-height: 20px; }

#simulationPicker h2 { font-size: 25px; margin-top: 0px; font-weight: 100; border-bottom: 1px solid rgba(255,255,255,.2); }

#simulationPicker h3 { 
  display: inline-block;
  margin: 0 20px;
  padding: 15px;
  font-weight: 100; 
  font-size: 25px;
  text-transform: uppercase;
  text-align: center;
  background-color: rgba(255,255,255,.1);
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
  line-height: 1em;

}

#simulationPicker h4 {
  margin-top: 0px; font-weight: 100; border-bottom: 1px solid #666; font-size: 20px;
}

#simulationPickerBox {
  background-color: rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 5px 20px 5px 20px;
  margin-top: 0;
  margin-bottom: 25px;
}

#simulationPicker .simulationButton { font-size: 16px; border: 1px solid rgba(255,255,255,.8); letter-spacing: .04em; }

#simulationPicker .illustration { float: right; margin-left: 20px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.2); }

#simulationAlert {
 background-color: #018CBF; 
 border: 1px solid #FFF;
 padding: 10px 15px;
 border-radius: 20px;
 margin: 5px 20px 20px 20px;
 display: none; 
}


/* Info Menu */
#infoNav { 
  /* text-align: center; */
  margin-left: 0; 
  padding-left: 0; 
  margin: 20px 0 10px 0; 
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
}

#infoNav li { 
  list-style: none; 
  display: inline-block; 
  text-align: center; 
  font-size: 13px; 
  font-weight: 500; 
  padding: 5px 10px;
  margin: 0 5px; 
  background-color: rgba(255,255,255,.1);
  color: #88dbd5;
}

#infoNav li:hover {  background-color: #88dbd5; color: #FFF; }

p.backLink {
  text-align: left; 
  line-height: 28px; 
  font-size: 16px; 
  margin-top: 20px; 
  border-top: 1px solid rgba(255,255,255,.2);  
  padding-top: 20px;
}

#counterFrame {
  display: inline-block; width: 9em;
}

#counterBackground {
  display: inline-block; background-color: #4c5e77; width: 9em;
}

#timeCounter {
  font-family: monospace;
  border-style: inset;
  border-width: 1px;
  border-color: #2a3342;
  margin: 0;
  padding: 8px;
  color: white;
  font-size: 22px;
  text-align: center;
}

#counterLabel {
  margin: 5px 0 0 0; padding: 0; color: #69707a; font-size: 12px; text-align: center;
}

#simulationPickerButton { 
  color: #FFF; background-color: #465367; padding: 8px 12px; border: 1px; border-radius: 8px; font-size: 12px;
}

#emailFormHolder p {
  font-size: 12px; padding: 20px 0 5px 0; margin: 0; color: rgba(255,255,255,.8);
}

#emailFormHolder input.inputEmail {
  border: 1px solid rgba(255,255,255,.5); padding: 4px 8px; font-size: 12px; font-weight: bold; background-color: rgba(0,0,0,.5); color: #FFF;
}

#emailFormHolder input.inputSubmit {
  padding: 4px 8px; border: none; background-color: #455266; color: #FFF;
}

#emailFormHolder .emailFormMessage {
  display: none; background-color: #88dbd5; padding: 4px 8px; font-size: 13px; color: #000; font-weight: 500;
}

/*** MOBILE ***/
@media only screen and (max-width: 650px) {
  
  #logoHolder img { width: 193px; height: 75px; }
  #simulationPicker { width: 310px;}
  #simulationPicker p { line-height: 18px; font-size: 90%;}
  #simulationPicker h3 { font-size: 18px; font-weight: 300; padding-top: 10px; }
  #simulationPicker .illustration { display: block; float: none; margin: 10px auto; }
  #infoNav li { display: block; margin-top: 5px; }
  #leaderboard { width: 320px; }
  #counterFrame, #counterBackground { display: inline-block; width: 5em; }
  #timeCounter { padding: 4px; font-size: 14px; }
  #counterLabel { font-size: 10px; margin-top: 2px; }
  #simulationPickerButton { font-size: 10px; margin: 0;}
  
}
