/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Oswald', sans-serif;
  background: linear-gradient(180deg, #2f6d9b, #afcffe);
  color: #333;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Centering Containers */
.container {
  max-width: 900px;
  margin: 0 auto;
}

/* Header */
header {
  padding: 20px 0;
}

.logo-container {
  text-align: center;
}

.logo {
  font-size: 36px;
  color: #fff;
  text-decoration: none;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.desktop-nav a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.desktop-nav a:hover {
  text-decoration: underline;
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
  display: none;
  position: relative;
}

.hamburger-icon {
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  left: 15px;
}

.hamburger-links {
  display: none;
  flex-direction: column;
  background-color: #003366;
  padding: 10px;
  position: absolute;
  top: 50px;
  left: 0;
  width: 200px;
}

.hamburger-links.active {
  display: flex;
}

.hamburger-links a {
  color: #fff;
  padding: 10px;
  text-decoration: none;
}

.hamburger-links a:hover {
  background-color: #2f6d9b;
}

/* Hide desktop navigation on mobile */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hamburger-menu {
    display: block;
  }
}

/* Game Area Box */
.game-area {
  background-color: #fff;
  border-radius: 20px;
  padding: 20px 40px 40px; /* Reduced top padding */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 100%;
  margin: 20px auto;
}

/* Bob and Speech Bubble container */
.game-header {
  margin-bottom: 20px; /* Add space between Bob and the game grid */
}

.bob-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px; /* Add some space at the top */
}

.bob-image {
  width: 100px;
  height: 100px;
}

.speech-bubble {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  margin-left: 20px;
  max-width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 2px solid #000; /* Add black outline */
}

.speech-bubble:after, .speech-bubble:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  margin-top: -10px;
}

.speech-bubble:after {
  border-right-color: #ffffff;
  border-left: 0;
  margin-left: -8px; /* Adjust for border width */
}

.speech-bubble:before {
  border-right-color: #000; /* Black outline for the arrow */
  border-left: 0;
  margin-left: -10px;
}

.speech-bubble p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

/* Games Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.game-item {
  background-color: #e0f7fa;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.game-item:hover {
  transform: translateY(-5px);
}

.game-thumbnail {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.game-item p {
  margin-top: 10px;
  font-size: 18px;
  color: #333;
}

/* About Section with a Professional Gradient */
.about {
  background: linear-gradient(135deg, #d4fc79, #96e6a1); /* Softer, professional gradient */
  color: #333;
  padding: 40px;
  border-radius: 10px;
  max-width: 900px;
  width: 100%;
  margin: 20px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about h2 {
  margin-bottom: 20px;
  color: #333;
}

.about p {
  font-size: 18px;
  line-height: 1.6;
}

/* Footer */
footer {
  background: black;
  color: white;
  padding: 40px 0;
  width: 100%;
}

.footer-content-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 24px;
  color: white;
  text-decoration: none;
}

.footer-column h4 {
  margin-bottom: 10px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* Copyright Text */
.copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  color: #fff;
}
