/* General body styling */
body {
  margin: 0;
  font-family: 'Courier New', monospace;
  background: #000000;
  color: #00ffea;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 70px; /* space for navbar */
  max-width: 900px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  background-color: #000000dd; /* black with some transparency */
  z-index: 20;
  padding: 10px 20px;
  box-shadow: 0 2px 10px rgba(255,255,255,0.2);
  display: flex;
  justify-content: flex-end;
  user-select: none;
  width: auto;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.dropbtn {
  background-color: transparent;
  color: white;
  padding: 10px 25px;
  font-size: 18px;
  border: 2px solid white;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px white;
  transition: background-color 0.3s, color 0.3s;
}

.dropbtn:hover {
  background-color: white;
  color: black;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #111;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(255,255,255,0.3);
  border-radius: 8px;
  overflow: hidden;
  top: 45px;
  right: 0;
  z-index: 30;
}

/* Dropdown links */
.dropdown-content a {
  color: white;
  padding: 12px 18px;
  text-decoration: none;
  display: block;
  font-size: 16px;
  border-bottom: 1px solid #333;
  transition: background-color 0.3s;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: white;
  color: black;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Star layers */
.stars, .stars2 {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  pointer-events: none;
  z-index: -2;
  background: transparent;
}

/* Large stars */
.stars {
  background:
    radial-gradient(2px 2px at 10px 10px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 50px 80px, #eee, transparent),
    radial-gradient(1.7px 1.7px at 100px 120px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 150px 50px, #ddd, transparent),
    radial-gradient(2.5px 2.5px at 200px 200px, #fff, transparent);
  background-repeat: repeat;
  background-size: 250px 250px;
  animation: driftStars1 400s linear infinite;
  filter: drop-shadow(0 0 2px #ffffff);
}

/* Smaller stars */
.stars2 {
  background:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(0.8px 0.8px at 70px 150px, #ddd, transparent),
    radial-gradient(1.1px 1.1px at 120px 90px, #eee, transparent),
    radial-gradient(0.9px 0.9px at 180px 180px, #fff, transparent),
    radial-gradient(1.3px 1.3px at 220px 40px, #ccc, transparent);
  background-repeat: repeat;
  background-size: 180px 180px;
  animation: driftStars2 600s linear infinite;
  filter: drop-shadow(0 0 1.5px #ffffff);
}

@keyframes driftStars1 {
  from { background-position: 0 0; }
  to { background-position: -1000px -500px; }
}

@keyframes driftStars2 {
  from { background-position: 0 0; }
  to { background-position: 700px 350px; }
}

/* Logo container fixed top-left */
.logo-container {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 25;
}

/* Logo styling */
.logo {
  filter: drop-shadow(0 0 12px #ffffff);
  width: 200px;
  height: 200px;
  display: block;
}

/* Content container centers map vertically and horizontally */
.content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 70px); /* full viewport height minus navbar */
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  padding-top: 0;
}

/* Map container */
.map-container {
  width: 80vw;
  max-width: 700px;
  height: 80vh;
  border: 2px solid white;
  border-radius: 10px;
  box-shadow: 0 0 20px white;
  overflow: hidden;
}

/* Map iframe fills container */
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Shooting star style */
.shooting-star {
  position: fixed;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, white, transparent);
  opacity: 0;
  filter: drop-shadow(0 0 6px white);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation-timing-function: ease-in-out;
}

/* Buttons (optional) */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  border: 2px solid #ffffff;
  border-radius: 10px;
  font-size: 18px;
  transition: 0.3s;
  box-shadow: 0 0 10px #ffffff;
}

.btn:hover {
  background: #ffffff;
  color: black;
  box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
}
