@font-face {
  font-family: "Pally";
  src: url("Pally-Variable.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* General Styles */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Pally", sans-serif;
  background-color: #000;
  /* Dark background for the page */
  color: #f1f1f1;
  overflow: hidden;
  /* Prevents scrollbars from the globe */
}

#globeViz {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.title {
  position: fixed;
  width: 100%;
  text-align: center;
  padding: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: rgba(0, 0, 0, 0.8);
}

.title h1 {
  padding: 0px;
  margin: 0px;
}

/* ---------------------------------- */
/* --- Menu Styles (Mobile First) --- */
/* ---------------------------------- */

.menu {
  /* Positioning: Fixed at the bottom with spacing */
  position: fixed;
  bottom: 20px;
  left: 50%;
  /* NEW: Hides menu by default by pushing it down */
  transform: translate(-50%, calc(100% + 40px));
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  width: calc(100% - 40px);
  max-width: 800px;
  z-index: 100;
  /* Ensures menu is on top of the globe */

  /* Layout: Horizontal arrangement of items */
  display: flex;
  justify-content: space-evenly;
  /* Evenly space the 'Recent' and 'All time' sections */
  text-align: center;

  /* Dark Theme Styling */
  background-color: rgba(25, 25, 25, 0.7);
  /* Slightly more opaque for better readability */
  backdrop-filter: blur(12px);
  /* Enhanced frosted glass effect */
  -webkit-backdrop-filter: blur(12px);
  /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  /* Spacing */
  padding: 1.5rem;
  box-sizing: border-box;
  /* Ensures padding is included in the width */
  border-radius: 16px;
}

/* NEW: Class to make the menu visible */
.menu.visible {
  transform: translate(-50%, 0);
}

.menu h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  padding: 0.25rem;
}

.menu p:hover {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;

  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* NEW: Styles for the toggle button */
#menu-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 101;
  /* Higher than the menu */
  background-color: rgba(25, 25, 25, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#menu-toggle-btn:hover {
  background-color: rgba(45, 45, 45, 0.9);
  transform: scale(1.1);
}


.pancake-img {
  height: 25vw;
  max-height: 40vh;
  width: auto;
  margin: auto;
}

a {
  color: white;
}

a:visited {
  color: white;

}

a:active {
  color: white;
}

#logo {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 15vh;
  height: auto;
  max-width: 100px;
  z-index: 99;
}