/* Side Navigation CSS File */
/* Copyright © 2005-2023 The Free Video Games Project */

/* Media Queries */
@media only screen and (max-width: 504px) {
  .more-games-button {
    display: none;
  }
  #right-column {
    display: block;
  }
  #menu-container {
    width: 210px !important;
  }
}

@media only screen and (min-width: 505px) {
  .more-games-button {
    display: block;
  }
  #right-column {
    display: none;
  }
}

@media (any-hover: none) and (orientation: landscape) {
  #header-message {
  display: none;
  }
}



/* Full Screen Game Button CSS */

#full-screen-game-div-button {
	position: fixed;
	top: 19px;
	right: 25px;
	z-index: 100;
}

#full-screen-button {
	cursor: pointer;
  display: block;
}

/* Game Navigation CSS */

#side-navigation {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;  
} 
 

#menuToggle {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 25px;
  left: 25px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menu-container {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: 210px;
  height: 100vh;
  margin-top: -150px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: -50px;
  padding-top: 190px;
  padding-bottom: 50px;
  padding-right: 50px;
  padding-left: 50px;
  background-color: #312936;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0); 
  list-style-type: none;
}

#scrollable-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  align-content: space-between;
  max-height: calc(100vh - 65px);
  overflow-y: scroll;
  overflow-x: hidden;
  
}

/* Hide scrollbar for Chrome, Safari and Opera */
#scrollable-container::-webkit-scrollbar {display: none;}

/* Hide scrollbar for IE, Edge and Firefox */
.#scrollable-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

#left-column {
  min-width: 200px;
  padding-right: 30px;
  padding-bottom: 10px;
}

#right-column {
  width:200px;
  padding-bottom: 10px;
}

#menu-bottom {
  width:200px;
  padding-bottom: 50px;
}
#menu-bottom p {
  margin-bottom: 5px;
}

#checkbox1 {
  display: flex;
  width: 70px;
  height: 55px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
  left:-10px;
  top:-15px;
}


#menuToggle span {
  display: flex;
  width: 50px;
  height: 4px;
  margin-bottom: 10px;
  position: relative;
  background: #ffffff;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 6px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
			  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
			  opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#checkbox1:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -1px);
}

#checkbox1:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#checkbox1:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#checkbox1:checked ~ #menu-container {
  transform: none;
}

#menu1 {

  list-style-type: none;
}

#menu1 a {
  text-decoration: none;
  color: #e6e6e6;
  opacity:1;
  font-family: 'Open Sans', sans serif;
  font-size: 1.5rem;
  font-weight: 400;
  transition: 200ms;
}

#menu1 a:hover {
  opacity:0.5;
}

#menu1 li {
  padding: 4px 0;
  transition-delay: 2s;
  list-style-type: none;
}

#menu2 {
  list-style-type: none;
}

#menu2 a {
  text-decoration: none;
  color: #e6e6e6;
  opacity:1;
  font-family: 'Open Sans', sans serif;
  font-size: 1.5rem;
  font-weight: 400;
  transition: 200ms;
}

#menu2 a:hover {
  opacity:0.5;
}

#menu2 li {
  padding: 4px 0;
  transition-delay: 2s;
  list-style-type: none;
}

.more-games-button {

    background-color: #312936;
    border: 1px lightgray solid;
    border-radius: 10px;
    color: lightgrey;
    font-size: 24px;
    text-transform: uppercase;
    font-family: 'Open Sans', sans serif;
    padding: 4px 10px;
    width: 180px;
    outline: 0;

}

.more-games-button:hover {
    cursor: pointer;
    border: 1px #3b3b3b solid;
    background-color: lightgray;
    color: #3b3b3b;
}

a.page-link {
  text-decoration: none;
  color: #e6e6e6;
  opacity:1;
  font-family: 'Open Sans', sans serif;
  font-size: 1.5rem !important;
  font-weight: 400;
  transition: 200ms;
  padding-bottom: 2px;
}

a.page-link:hover {
  opacity:0.5;
}


a.small-link {
  text-decoration: none;
  color: #e6e6e6;
  opacity:1;
  font-family: 'Open Sans', sans serif;
  font-size: 1rem !important;
  font-weight: 400;
  transition: 200ms;
  padding-bottom: 2px;
}

a.small-link:hover {
  opacity:0.5;
}

a.small-link:visited {
  color: #e6e6e6;
}


.menu-small-text {
  color: #e6e6e6;
  opacity:1;
  font-family: 'Open Sans', sans serif;
  font-size: 0.8rem;
  line-height: 1rem;
}

.asterisk {
  color: #e6e6e6;
  opacity:1;
  font-family: 'Open Sans', sans serif;
  font-size: 1.5rem;
  font-weight: 400;
  vertical-align: top;
  }
  
