.horizontal-links {
  display: flex;
  justify-content: center;
  gap: 2em;
  list-style-type: none;
  padding: 0;
}
.horizontal-links a {
  color: white;
  text-decoration: none;
}

body {
  background-color:#04AA6D;
	 background-size: cover;
}
	form {background-color: rgb(255 255 255 / 50%);} 
  .container {
            max-width: 800px;
            margin: 0 auto;
            background: linear-gradient(135deg, #8B0000 0%, #2F4F2F 100%); /* #FFFDD0;*/
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            overflow: hidden;
        }
		.footer {
    background: #228B22;
    color: white;
    text-align: center;
    padding: 20px;
    font-style: italic;
    border-radius: 15px; /* Add this line for rounded corners */
    margin: 20px auto;   /* Optional: centers the footer if it's inside a container or has a max-width */
    max-width: 600px;    /* Optional: matches your container width for consistency */
}


	/* Add a black background color to the top navigation */
.topnav {
  background-color: #ef0303;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}
		.logo-image{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: -6px;
}
/* Custom styles for Bootstrap 5 multi-level dropdown */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.1rem;
  margin-left: 0.1rem;
  display: none;
  position: absolute;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus-within > .dropdown-menu {
  display: block;
}
.mobile-list-wrapper {
  max-width: 600px; /* optional desktop limit */
  margin: auto; /* center horizontally */
}

@media (max-width: 600px) {
  .mobile-list-wrapper {
    max-width: 90%; /* shrink width on mobile */
  }

  .horizontal-links {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: center; /* keep centered */
    gap: 0.5em;
  }

  .horizontal-links a,
  .horizontal-links .dropbtn {
    white-space: normal; /* wrap text */
    width: 100%; /* fill mobile container */
    text-align: center;
  }
}
.games-section {
  text-align: center;
  margin-top: 2em;
}

.dropdown {
  display: inline-block;
  position: relative;
}

.dropbtn {
  background: #B22222;
  color: #fff;
  padding: 0.6em 2em;
  border: none;
  border-radius: 12px;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.dropbtn:hover, .dropbtn:focus {
  background: #d12d2d;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 250px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.17);
  border-radius: 18px;
  z-index: 10;
  margin-top: 0.5em;
  padding: 1em 0;
  text-align: left;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

.game-btn {
  display: block;
  width: 85%;
  margin: 0.7em auto;
  padding: 0.8em 1.2em;
  border-radius: 9px;
  font-size: 1.08em;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: background 0.15s, color 0.15s, transform 0.12s;
  text-align: center;
  color: #fff;
  border: none;
  outline: none;
}
.game-btn.tic-tac { background: #32A852; }
.game-btn.santa-free { background: #CC0033; }
.game-btn.present { background: #F2A117; }
.game-btn.puzzle { background: #20A1CF; }
.game-btn.word-game { background: #8173C4; }

.game-btn:hover,
.game-btn:focus {
  filter: brightness(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transform: translateY(-2px) scale(1.03);
  color: #FFF7EB;
}

@media(max-width:600px) {
  .dropdown-content { min-width: 95vw; left: 2.5vw; transform: none; }
  .game-btn { width: 98%; font-size: 1em; }
}

