/* Navbar Styles */
.navbar-fixed {
    z-index: 5000;
    background-color: #333;
}

.navbar-fixed nav {
    padding-bottom: 96px;
}

.navbar-fixed nav {
    background-color: #333;
    font-size: 1.4em;
}

.navbar-fixed nav a {
    padding: 15px 20px;
    display: inline-block;
    color: #fff;
    font-size: 1.6em;
}

.nav-icon {
    height: 32px;
    width: auto;
    vertical-align: right;
    margin-top: 10px;
}

.logo-menu {
    position: fixed;
    left: 0px;
}

.main-menu {
    position: fixed;
    left: 35vw;
}

.icon-menu {
    position: fixed;
    right: 0px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content grows to fill available space */
.main-content {
  flex: 1;
  padding: 20px;
}

/* Footer styling */
.footer {
  background-color: #333;
  color: white;
  padding: 0.5% 5%;
  font-size: 14px;
  width: 100%;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
}

.footer-right a {
  color: #ccc;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: white;
}

h1{
  color: #fff;
  font-family: Arial;
}

.custom-container {
  max-width: 1200;
}

.rec-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.game-card {
  position: relative;
  width: 320px;
  height: 240px;
  overflow: hidden;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.game-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 240px;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.game-card img.hover-img {
  opacity: 0;
  z-index: 1;
}

.game-card:hover img.hover-img {
  opacity: 1;
}

.game-card:hover img.default-img {
  opacity: 0;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  z-index: 2;
}

.overlay h2 {
  margin: 0;
  font-size: 1.5rem;
}

.game-card:hover {
  transform: translateY(-5px);
}

.btn {
  background-color: #2196f3;
  color: white;
}

.btn:hover {
  background-color: #2196f3;
}

input[type="checkbox"].filled-in:checked + span:not(.lever)::after {
  background-color: #2196f3;
  border-color: #2196f3;
}

.centered-box-4 {
    min-height: 10vw;
    width: 50vw;
    margin: 30px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
}

.centered-box-4 nav,
.centered-box-4 .nav-wrapper {
    padding-left: 1%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #333;
    display: flex;
}

#comments.centered-box-4 {
  text-align: left;
}

.avatar-rounded {
  width: 2.5vw;
  height: 2.5vw;
  object-fit: cover;
  border-radius: 15px;
  border: 4px solid #c4c4c4;
  border-radius: 10px;
}


@media (min-width: 3840px) {
  .nav-logo {
    height: 2.0rem;
  }

  .nav-icon {
    height: 48px;
  }

  .navbar-fixed nav a {
    font-size: 3.4rem;
    padding: 45px 30px;
  }
  .navbar-fixed nav {
    padding-bottom: 160px;
  }
  .footer {
  width: 100%;
  font-size: 32px;
  }
  h1{
    margin-top: 128px;
    font-size: 96px;
  }
  .homepage-section .container {
  max-width: 2200px;
  }
  .game-card img {
  width: 640px;
  height: 480px;
  }
  .game-card {
  width: 640px;
  height: 480px;
 }
 .overlay h2 {
  margin: 0;
  font-size: 3.5rem;
 }
}

@media (min-width: 1920px) and (max-width: 2559px) {
  .nav-logo {
    height: 1em;
  }

  .nav-icon {
    height: 32px;
  }

  .navbar-fixed nav a {
    font-size: 2rem;
    padding: 15px 20px;
  }
  h1{
    font-size: 48px;
  }
  .homepage-section .container {
  max-width: 1000px;
  }
}

@media (min-width: 1280px) and (max-width: 1919px) {
  .nav-logo {
    height: 1.5em !important;
  }
  .nav-icon {
    height: 24px;
  }
  .navbar-fixed nav {
    padding-bottom: 0;
  }
  .navbar-fixed nav a {
    padding: 0px 16px;
    font-size: 1.75rem;
  }
  h1{
    font-size: 40px;
  }
  .homepage-section .container {
  max-width: 760px;
  }
  .game-card img {
  width: 200px;
  height: 150px;
  }
  .game-card {
  width: 200px;
  height: 150px;
  }
 .overlay h2 {
  margin: 0;
  font-size: 1rem;
  }
  .overlay {
  padding: 15px;
  }
}

@media (min-width: 0px) and (max-width: 1279px) {
   .logo-menu {
    position: fixed;
    left: 110px;
  }
  .nav-icon {
    height: 16px;
  }
  .navbar-fixed nav {
    padding-bottom: 60px;
  }
  .navbar-fixed nav a {
    font-size: 1rem;
    padding: 0.1px 10px;
  }
  h1{
    font-size: 25px;
  }
  .homepage-section .container {
  max-width: 760px;
  }
  .game-card img {
  width: 120px;
  height: 90px;
  }
  .game-card {
  width: 120px;
  height: 90px;
 }
 .overlay h2 {
  margin: 0;
  font-size: 0.75rem;
 }
 .overlay {
  padding: 10px;
 }
  body {
    background-size: 25% !important;
  }
}
