* {
  box-sizing: border-box;
}

body {
  background-image: linear-gradient(to bottom, rgb(56, 67, 73), rgb(47, 80, 99));
}

html, body {
  height: 100%;
  margin: 0;
}

.search-bar {
  width: 30%;
  text-align: center;
  margin: auto;
  border: none;
  font-size: 20px;
  margin-bottom: 2vh;
  padding: 1vh;
  transition-property: padding 0.5s, margin 0.5s;
  background-color: rgb(29, 30, 34);
  color: rgb(255, 255, 255);
  transition: background-color 0.5s;
}

.search-bar:focus {
  background-color: rgb(47, 50, 61);
}

.pages {
  margin-bottom: 1vh;
}

.switch-page {
  margin: 2vh;
  cursor: pointer;
}

.game-container {
  width: 80vw;
  margin-left: 10vw;
  margin-right: 10vw;
  padding: 0;
}

.game-row {
  display: block;
  margin: 0;
  height: 16vw;
}

.game {
  display: inline-block;
  width: 14vw;
  padding: 5px;
  margin: 1vw;
  background-color: black;
  border-radius: 10px;
  height: 14vw;
  overflow: hidden;
  transition: margin 0.5s, width 0.5s, height 0.5s;
}

.game:hover {
  margin: 0;
  width: 16vw;
  height: 16vw;
}

.game-image {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}

.game-image-container {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 65%;
  cursor: pointer;
}

.game-title { 
  font-size: 1.25vw;
  padding: 0.25vw;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  cursor: pointer;
  color: white;
}

.main-div {
  text-align: center;
  height: calc(100vh - 80px);
  margin: 0;
  overflow-y: scroll;
}

.title {
  font-family: "Freeman", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 75px;
  padding: 20px;
  margin: 0;
  padding-bottom: 0;
}

@keyframes show-proxy-div {
  from {
    bottom: -100vh;
    top: 100vh;
  }
  to {
    bottom: 0;
    top: 0;
  }
}

@keyframes hide-proxy-div {
  from {
    bottom: 0;
    top: 0;
    display: block;
  }
  to {
    bottom: -100vh;
    top: 100vh;
    display: block;
  }
}

.hide-proxy-div {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: white;
  animation-name: hide-proxy-div;
  animation-duration: 0.5s;
  z-index: 10;
}

.show-proxy-div {
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: white;
  animation-name: show-proxy-div;
  animation-duration: 0.5s;
  z-index: 10;
}

#uv-frame {
  height: 100vh;
  width: 100vw;
  border: none;
}