/* Custom font */
@font-face {
  font-family: 'Planet Comic';
  src: url('Fonts/Planet Comic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Planet Comic', sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  background: url('/Images/Jupiter2.png') no-repeat center/cover;
  font-size: clamp(14px, 4vw, 16px);
  overflow-x: hidden; /* Prevents horizontal scrolling */
  width: 100%;

}
#board2 {
    /* background-color: green; */
    background-image: url("./doodlejumpbg.png");
}

.layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 4vw, 2rem);
}

.games {
    display: flex;
    flex-direction: row;
    gap: clamp(1rem, 4vw, 2rem);
    justify-content: center;
    align-items: center;
}

#board1 {
    /* background-color: skyblue; */
    background-image: url("./CrumbBackground.png");
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(31, 148, 171, 0.05);
  background: linear-gradient(90deg,rgba(31, 148, 171, 0.05) 10%, rgba(0, 0, 0, 0.44) 33%, rgba(0, 0, 0, 0.44) 66%, rgba(31, 148, 171, 0.05) 90%);
  border-radius: 20px;
  padding: clamp(0.5rem, 2vw, 1rem);
  width: min(100%, 1200px);
  gap: clamp(0.25rem, 2vw, 1rem);
  margin: 1rem auto;
  flex-wrap: wrap;
}

/* Sections */
.navSection {
  /*background: url('Images/GeminiNightSky.png') no-repeat center/cover; */ 
  min-height: 10vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 100%; width: 100%;
}

/* Logo */
.logo {
  font-size: clamp(20px, 5vw, 24px);
  font-weight: bold;
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}

.logo img {
  height: clamp(40px, 10vw, 50px);
  width: auto;
  max-width: 100%;
}

/* Menu */
.menu {
  display: flex;
  list-style: none;
  gap: clamp(0.5rem, 4vw, 1.5rem);
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(14px, 3vw, 16px);
  text-transform: lowercase;
  padding: 12px;
  position: relative;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00ff00;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu li a:hover::after {
  width: 100%;
}
