body {
    background-color: rgb(20, 20, 20);
    font-family: 'Orbitron', sans-serif;
}

p {
  display: inline-block;
}

.noSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#main-window {
    height: 90vh;
    background-color: transparent;
}

a {
  color: inherit;
  text-decoration: inherit;
}

a:hover {
  color: inherit;
  text-decoration: inherit;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 95%;
}

/* //////////////////////// NAVBAR ///////////////////////////// */

#navbar {
    position: sticky;
    z-index: 6;
    min-height: 10vh;
    width: 100%;
    background-color: rgba(22,22,22, 0) !important;
}

#navbar_div {
    width: auto;
    padding: 0;
}

#logo {
    font-size: 1.6vw !important;
    font-family: 'Orbitron', sans-serif;
    color: rgb(245, 245, 245);
}

#feedback {
    opacity: 0;
    color: rgb(255, 255, 255) !important;
    margin-bottom: 0;
    font-size: 3vh;
    width: 30vh;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 0.5vh;
    font-family: 'Orbitron', sans-serif;
    -webkit-transition: opacity 0.1s ease-in-out;
   -moz-transition: opacity 0.1s ease-in-out;
   -ms-transition: opacity 0.1s ease-in-out;
   -o-transition: opacity 0.1s ease-in-out;
   transition: opacity 0.1s ease-in-out;
}

#menu {
  background-color: rgb(20, 20, 20);
  color: rgb(240, 240, 240);
  border-color: rgba(219, 219, 219, 0.89) ;
}

#menu-button {
  background-color: rgb(20, 20, 20);
  color: rgb(240, 240, 240);
  border-color: rgba(219, 219, 219, 0.89) ;
}

.dropdown-item {
  color: rgb(240, 240, 240) ;
  background-color: rgb(20, 20, 20) ; 
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  color: rgb(20, 20, 20) !important;
  background-color: rgb(240, 240, 240) !important; 
  cursor: pointer;
} 

/* //////////////////////// OTHER ELEMENTS ///////////////////////////// */

.loadingSpinner {
  border: 16px solid #ffffff; /* Light grey */
  border-top: 16px solid rgba(22,22,22, 0); /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px ;
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50% ;
  margin-top: -60px;
  margin-left: -60px;
  animation: spin 2s linear infinite;
  background-color: transparent;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#restartIcon {
  width: 20vh;
  height: 20vh;
  position: absolute;
  color: #ffffff;
  z-index: 100;
  top: 50%;
  left: 50% ;
  margin-top: -20vh;
  margin-left: -10vh;
  display: none;
  cursor: pointer;
}

#restartIcon:hover {
  animation: spin 2s linear infinite;
  background-color: transparent;
}


/* //////////////////////// CARD PACK ///////////////////////////// */

/* add these when you click on card */
#greenSelect {
  box-shadow: 0 0 4pt 3pt #77dd77 !important;
  transition: all 0.1s !important;
}

#orangeSelect {
  box-shadow: 0 0 4pt 3pt #ffa77b !important;
  transition: all 0.1s !important;
}

.tooltip {
  background-color: transparent;
}
.tooltip.show {
  opacity: 1;
  background-color: transparent;
}
.tooltip img {
  min-width: 32vh !important;
  height: auto;
}

.pack-card-image-div {
    margin: 0.5vw;
    justify-content: center;
    max-height: 60vh ;
    max-width: 23vh ;
    cursor: pointer;
}

.pack-card-image-div img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 95%;
}

/* //////////////////////// CARD POOL ///////////////////////////// */

.pool-card-image {
  outline: 10px !important;
  outline-color: transparent;
}

#pool-toggler {
  position: absolute !important;
  left: 30vw;
  background-color: rgb(20, 20, 20);
  color: rgb(240, 240, 240);
  border-color: rgba(219, 219, 219, 0.89) ;
}
#pool-toggler:focus {
  outline: none;
  box-shadow: none;
}

#pool-window {
    margin-top: 10vh;
    min-height: 90vh;
    z-index: 5;
    justify-content: center;
    background-color: rgb(20, 20, 20) !important;
}

.collapsing {
opacity: 0;
transition:opacity 0.2s linear; 
-webkit-transition:opacity 0.2s linear; 
-moz-transition:opacity 0.2s linear; 
-o-transition:opacity 0.2s linear;
}

.collapse.in{
opacity:0;
transition:opacity 0.2s linear; 
-webkit-transition:opacity 0.2s linear; 
-moz-transition:opacity 0.2s linear; 
-o-transition:opacity 0.2s linear;
}

.collapse{
opacity: 1;
transition:opacity 0.2s linear; 
-webkit-transition:opacity 0.2s linear; 
-moz-transition:opacity 0.2s linear; 
-o-transition:opacity 0.2s linear;
}

.pool-card-image {
    width: auto;
    min-width: 100%;
    margin: 0%;
    cursor: pointer;
}

.pool-row {
    max-height: 3.2vh;
    padding: 0;
    background-color: transparent;
}

.pool-col {
  padding: 0 1.5vh 0 1.5vh;
}

#main-pool-row {
    margin-top: 5vh;
}

.zoom {
  transition: transform .2s; /* Animation */
}

#sideboard {
  top: -3vh;
  display: block;
  margin-top: -15vh ;
  padding-top: 13vh;
  background-color: rgb(36, 36, 36);
}

#sideboard .pool-row {
  max-height: 3.5vh !important;
}

.lift {
  top: 0;
  transition: all 0.2s ease 0s;/* Animation */
  position: relative;
}

.lift:hover {
  top: -0.8vh;
}

.zoom:hover {
  transform: scale(1.07); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

/*////////////////////////////////////  FOOTER  /////////////////////////////// */

.fixed-bottom {
  padding: 0.5vh 1vw 0.5vh 1vw;
  background-color: rgb(230, 230, 230);
  color: rgb(0, 0, 0);
  width: 50vw;
  border-radius: 10px 10px 0px 0px;
  border-width: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  left: 25%;
  right: 25%;
}

.footer-item {
  min-width: 5.8vw;
  max-width: 5.8vw;
}

.footer-image{
  width: 2.5vw;
  height: 2.5vw;
  height: auto;
}

p {
  font-size: 1vw;
  vertical-align: middle;
  margin-block-end: 0 !important;
}

.fade-out {
animation: fadeOut ease 0.5s;
-webkit-animation: fadeOut ease 0.5s;
-moz-animation: fadeOut ease 0.5s;
-o-animation: fadeOut ease 0.5s;
-ms-animation: fadeOut ease 0.5s;
}

#suggestPick {
   max-width: 3vw !important;
   min-width: 3vw !important;
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  33% { transform: rotate(-7deg); }
  66% { transform: rotate(7deg); }
  100% { transform: rotate(0deg); }
}

#question-mark {
  margin-left: auto;
  margin-right: auto;
   width: 80%;
   height: 80%;
   
}

#question-mark:hover {
  cursor: pointer;
  animation: shake 1s;
  animation-iteration-count: infinite;
}


/* SLIDER */

#myRangeDiv {
  min-width: 9vw;
  max-width: 9vw;
  margin-right: 1vw;
}

/* The slider bar */
.slider {
  -webkit-appearance: none;
  width: 60%;
  height: 5px;
  border-radius: 5px;  
  background: #b6b6b6;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%; 
  background: #0a0a0a;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #1b1b1b;
  cursor: pointer;
}

.slider-containter {
  width: 5vh;
}

/* SLIDER */

@keyframes fadeOut {
100% {opacity:0;}
0% {opacity:1;}
}

@-moz-keyframes fadeOut {
100% {opacity:0;}
0% {opacity:1;}
}

@-webkit-keyframes fadeOut {
100% {opacity:0;}
0% {opacity:1;}
}

@-o-keyframes fadeOut {
100% {opacity:0;}
0% {opacity:1;}
}

@-ms-keyframes fadeOut {
100% {opacity:0;}
0% {opacity:1;}
}

.fade-in {
animation: fadeIn ease 0.5s;
-webkit-animation: fadeIn ease 0.5s;
-moz-animation: fadeIn ease 0.5s;
-o-animation: fadeIn ease 0.5s;
-ms-animation: fadeIn ease 0.5s;
}
@keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-moz-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-o-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-ms-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

/* ///////////////////////// MOBILE ////////////////////////////// */

@media only screen and (max-device-width: 800px) {
  img {
    display: block;
    max-height: 200px;
    max-width: 143px;
    margin: 0;
  }

  #main {
    margin-bottom: 190vh;
  }

  #logo {
    font-size: 3.5vw !important;
    font-family: 'Orbitron', sans-serif;
    display: inline-block;
    position:relative;
  }

  .zoom:hover {
  transform: scale(1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  }

  #pool-toggler {
    display: none;
  }

  #menu {
    min-height: 2vh;
    min-width: 2vh;
  }

  #score {
    display: none;
    color: rgb(240, 240, 240) !important;
    background-color: rgb(240, 240, 240);
  }
  #navbar {
    justify-content: right;
  }
  #loadingText {
    display: none;
  }
  .fixed-bottom {
    width: 100vw;
    left: 0 !important;
    border-radius: 0;
    padding: 2% 5% 2% 5%;
    position: fixed;
  }
  .footer-item {
    min-width: 6vw;
    max-width: 6vw;
  }

  .footer-image{
    width: 8vw;
    height: 8vw;
    height: auto;
  }

  #feedback {
    display: none ;
  }

  p {
    font-size: 3vw;
    vertical-align: middle;
    margin-block-end: 0 !important;
  }

  #suggestPick {
    margin-right: 2vw;
  }

  #question-mark {
    width: 10vw;
    height: 10vw;
  }

  #myRangeDiv {
    display: none;
  }
}