@import url('https://fonts.googleapis.com/css?family=Poppins');

:root {
    --primary-color: #6b8cbc;
    --secondary-color: #4a6fa5;
    --text-color: #f5f5f5;
    --bg-color: #080f10;
    --card-bg: #121212;
    --shadow: rgba(0, 0, 0, 0.3);
    --bg-dark: #f5f5f5;
    --toogle-dark: #121212;
    --bg-header: #121212;
    --bg-header: linear-gradient(to bottom, #080f10 0%, #121212 100%);
    --border-bottom: #1e2630;
    
}

.dark-mode {
    --primary-color: #4a6fa5;
    --secondary-color: #6b8cbc;
    --text-color: #333;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --bg-dark: #121212;
    --toogle-dark: #f5f5f5;
    --bg-header: linear-gradient(to bottom, #f8fafc 0%, #e2e8f0 100%);
    --border-bottom: #eee;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: var(--transition);
}

html {
  font-family: 'Poppins', sans-serif;
  font-family: 'Poppins', sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent
  
}

html{
  height: 100%;
}


@-ms-viewport {
  width: device-width
}

body {
    background: var(--bg-color);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-color);
    letter-spacing: .5px;
}
[tabindex="-1"]:focus {
  outline: 0!important
}

::placeholder {
    color: var(--text-color) !important;
    font-size: 13px;
    opacity: .5 !important; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: var(--text-color) !important;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #fff;
}
.h1, h1 {
  font-size: 48px;
    line-height: 52px;
}
.h2, h2 {
  font-size: 38px;
    line-height: 42px;
}
.h3, h3 {
  font-size: 30px;
    line-height: 34px;
}
.h4, h4 {
  font-size: 24px;
    line-height: 28px;
}
.h5, h5 {
  font-size: 18px;
    line-height: 22px;
}
.h6, h6 {
  font-size: 14px;
    line-height: 18px;
}

/* loader */

#pageloader-overlay {
  opacity: 0;
  top: 0px;
  left: 0px;
  position: fixed;
  background-color: #0e67a7!important;
  height: 100%;
  width: 100%;
  z-index: 9998;
  -webkit-transition: opacity 0.2s linear;
  -moz-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear; 
}

#pageloader-overlay.visible {
  opacity: 1; 
}

#pageloader-overlay.hidden {
  opacity: 0;
  height: 0px;
  width: 0px;
  z-index: -10000; 
}

#pageloader-overlay .loader-wrapper-outer {
  background-color: #0e67a7!important;
  z-index: 9999;
  margin: auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: table;
  text-align: center;
  vertical-align: middle; 
}

#pageloader-overlay .loader-wrapper-inner {
  display: table-cell;
  vertical-align: middle; 
}

#pageloader-overlay .loader {
  margin: auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 8px solid rgba(255, 255, 255, 0.5);
  border-right: 8px solid rgba(255, 255, 255, 0.5);
  border-bottom: 8px solid rgba(255, 255, 255, 0.5);
  border-left: 8px solid #AAA;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: pageloader 1.1s infinite linear;
  animation: pageloader 1.1s infinite linear; 
}

#pageloader-overlay .loader, #pageloader-overlay .loader:after {

  border-radius: 50%;
  width: 50px;
  height: 50px; 
}

@-webkit-keyframes pageloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); 
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); 
  } 
}

@keyframes pageloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); 
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); 
  } 
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  margin-top: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .1)
}
p {
  margin-bottom: .65rem
}
:focus {
  outline: 0!important
}
a {
    color: var(--text-color);
}
a {
  outline: none!important
}

a:hover{
  color: #eee;
  text-decoration: none;
}

a.text-muted:focus, a.text-muted:hover {
  color: #748690;
}
hr {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.small, small {
    font-size: 75%;
    font-weight: 400;
}
.small-font{
  font-size:14px;
}
.extra-small-font{
  font-size:12px;
}

.btn-gradient {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 25px;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Header */

header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-bottom);
}

header .checkbox {
  opacity: 0;
  position: absolute;
}

header .checkbox-label {
  background-color: var(--bg-dark);
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .fa-moon {color: #f1c40f;}

header .fa-sun {color: #f39c12;}

header .checkbox-label .ball {
  background-color: var(--toogle-dark);
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

header .checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}

/* Sidebar Nav */

/* Sidebar */

.sticky-left {
  position: fixed;
  top: 180px;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999999;
  top: 0;
  left: 0;
  background: var(--bg-header)!important;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 70px;
  border-right: 2px solid var(--border-bottom);
}

.sidenav ul.flex-column li.nav-item a.nav-link {
  color: var(--text-color) !important;
  font-size: 16px;
  font-weight: 500;
  -webkit-transition: line-height 0.3s ease-in-out;
  transition: line-height 0.3s ease-in-out;
}

.sidenav ul.flex-column li.nav-item a.nav-link:hover {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: <?php echo $buttonHover; ?> !important;
  border-radius: 8px;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 36px;
  margin-left: 50px;
  color: #var(--text-color);
}

/* Body */

input.form-control {
  background: none;
  border: 1px solid var(--border-bottom);
  border-radius: 25px;
  height: 50px;
}

input.form-control:focus {
  background: none;
  border: 1px solid #25d366;
  border-radius: 25px;
  height: 50px;
}

div.gameList {
  display: grid;
  grid-gap: 1rem;
  grid-auto-flow: dense;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

div.gameListColoumn {
  width: 100%;
  height: auto;
  margin-bottom: 5px;
}

div.gameListColoumn .card {
  background: none;
  border: 2px solid var(--border-bottom);
  border-radius: 10px;
  transition: transform 0.5s;
}

div.gameListColoumn .card:hover {
  background: none;
  border: 2px solid #25d366;
  border-radius: 10px;
}

div.gameListColoumn img {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border-bottom);
  border-radius: 50%;
}


/* Footer */

footer {
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 2px solid var(--border-bottom);
}

@media screen and (max-width: 480px){
  div.gameList {
    display: grid;
    grid-gap: .3rem;
    grid-auto-flow: dense;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  div.gameListColoumn {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
  }

}