@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100..700&display=swap');
html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}
@keyframes fade-in-move-up {
    0% {opacity: 0%; top: 110%;}
    100% {opacity: 100%; top: 50%}
}
body{
  justify-content: center;
  align-items: center;
}
body.light {
  background-image: url('/backgrounds/mainbg.gif');
  background-size: cover;
  /*background-color: #36393e;*/
  color: black;
  overflow-x: hidden;
}
body.dark {
  background-color: #36393e;
  color: white;
  overflow-x: hidden;
}
#theme-toggle {
  /* styles for the toggle switch */
}
#theme-toggle button {
  /* styles for the toggle buttons */
}
#theme-toggle button.active {
  /* styles for the active toggle button */
}
.gamedesc {
  font-family: 'Nunito Sans';
  font-size: 8px;
  text-align: center;
}
.topinfo {
  font-family: 'Nunito Sans';
  font-size: 20px;
  text-align: center;
}
.gamescategory {
  background-color: #1f2124;
  border-radius:20px;
  margin: auto;
  width: 200px;
  height: 55px;
  box-shadow: 0px 5px 10px 0px #2e2e2e;
  font-family: 'Lilita One';
  font-size: 40px;
  text-align: center;
  color: white;
}
#iframe{
  width: 90%;
}
homename.light {
  color: rgb(16, 2, 18);
}
homename.dark {
  color: rgb(255, 255, 255);
}
.homename {
  font-family: 'Lilita One';
  text-shadow: 6px 6px #d93beb, 6px 6px 16px #d93beb;
  font-size: 200px;
  margin: auto;
  text-align: center;
  /*margin-right: 12px;*/
}
h1{
  font-family: 'Lilita One';
}
.homenamebox{
  background: #1e2124;
  opacity: 0.85;
  border-radius:20px;
  margin: auto;
  width: 325px;
  box-shadow: 0px 5px 10px 0px #2e2e2e;
  text-align: center;
}
.homedesc {
  font-family: 'Lilita One';
  color: white;
  text-align: center;
  font-size: 20px;
}
.homedescbox {
  background: #1e2124;
  opacity: 0.85;
  border-radius:20px;
  margin: auto;
  width: 400px;
  padding: 20px;
  box-shadow: 0px 5px 10px 0px #2e2e2e;
}
#iframe{
  width: 90%;
}
.checkbox {
  opacity: 0;
  position: absolute;
}
.checkbox-label {
  background-color: #111;
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fa-moon {color: white;}
.fa-sun {color: white;}
.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}
.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}

.gameinfo{
  color: white;
  text-align: center;
  padding: 3px;
  font-size: 10px;
  font-family: 'Nunito Sans';
}
.gameimage{
  width: 150px;
  height: 150px;
  display:inline-block; 
  padding:0px; 
  margin:0px;
  border-radius: 20px;
}
.gamecard{
  width: 170px;
  height: 270px;
  background-color: #2e2e2e;
  padding: 10px; 
  margin: 10px;
  border-radius: 20px;
  transition: transform .5s;
  justify-content: left;
  float: left;
  box-shadow: 0px 5px 10px 0px #2e2e2e,  0px 0px 1px 0px #2e2e2e;
  
}
.gamecard:hover{
  -ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1.1); /* Safari 3-8 */
  transform: scale(1.1);
  box-shadow: 0px 5px 10px 0px #2e2e2e, 0px 0px 3px 0px #2e2e2e;
}
.gamename{
  font-size: 20px;
  font-family: 'Nunito Sans';
}
.gamecontainer{
  display: flex;
  flex-direction: row;
  order: 0;
  flex-grow: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 10px;
}  
a:link{
  text-decoration: none;
}
#votes {
  display: flex;
  align-items: center;
}
#thumbs-up, #thumbs-down {
  cursor: pointer;
  margin-right: 10px;
}
#thumbs-up i, #thumbs-down i {
  font-size: 2em;
}
#fullscreen-button{
  bottom: -430px;
  right: -1300px;
}
.search-container {
  display: flex;
  flex-direction: row;
  order: 0;
  flex-grow: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
}
#myInput{
  left: 50%;
  right: 50%;
  width: 400px;
  height: 65px;
  justify-content: center;
  text-align: center;
  font-size: 30px;
  background-color: #1e2124;
  color: #fff;
  border-radius: 15px;
  border-style: hidden;
  box-shadow: 0px 5px 10px 0px #2e2e2e;
}
input:focus {
    outline-width: 0;
}
.text-center{
  text-align: center;
}
.btn {
  color: black;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  margin: 1rem;
  padding: 0.5rem;
  border: 2px solid #0f0f0f;
  border-radius: 0.5rem;
  position: relative;
  top: 0;
  text-align: left;
  box-shadow: 0px 5px 10px 0px #2e2e2e;
}

.btn:hover {
  background-color: #2e2e2e;
}
.btn:active {
  background-color: #2e2e2e;
  color: black;
}


.recent {
  text-align: center;
  background: #1e2124;
  opacity: 0.85;
  font-family: 'Lilita One';
  text-transform: uppercase;
  text-decoration: none;
  margin: 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: white;
  position: relative;
  top: 0;
  text-align: center;
  box-shadow: 0px 5px 10px 0px #2e2e2e;
}

.recent:hover {
  color: white;
  cursor: pointer;
  background-color: #2e2e2e;
}
.recent:active {
  background-color: #2e2e2e;
  transform: translateY(2px);

}


.flbtn {
  color: black;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px;
  padding-top: 7px;
  padding-bottom: 7px;
  border: 2px solid #0f0f0f;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0px 5px 10px 0px #2e2e2e;
}

.flbtn:hover {
  background-color: #2e2e2e;
}
.flbtn:active {
  background-color: #2e2e2e;
  color: black;
}

#flbutton {
  position: fixed;
  bottom: 20px;
  left: 6px;
}

#closeButton {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 69420;
  width: 40px;
  height: 40px;
}

#appFrame {
  border: none;
  position: absolute;
  top: 0;
  z-index: 6969;
}

#frameCloser {
  color: white;
  top: 15px;
  right: 15px;
  position: absolute;
  padding: 10px;
  background-clip: border-box;
  background-color: #36393e;
  padding-top: 18px;
  padding-bottom: 18px;
  border-radius: 10px;
}
