/*bg gif */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('background.gif') no-repeat center center / cover;
  z-index: -1;
}

/* Body general settings */
body {
  margin: 0;
  padding: 0;
  font-family: 'DotGothic16', monospace;
  color: white;
  background-color: black; /* fallback if GIF fails */
  min-height: 100vh;
  position: relative;
}

/* Header fixed at top center */
header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  padding: 20px 0;
  z-index: 10;
  text-align: center;
}

/* Header title */
.title {
  font-family: 'VT323', monospace;
  font-weight: bold;
  font-size: 7.7rem;
  margin: 100;
  color: white;
}

/* About Me link top right */
.about-link {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  font-family: 'DotGothic16', monospace;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid white;
  padding: 5px 10px;
  transition: 0.2s;
  z-index: 11;
}

.about-link:hover {
  background-color: white;
  color: black;
  cursor: pointer;
}

/* Wrapper to center menu vertically */
.menu-wrapper {
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  min-height: 100vh;       /* take full viewport height */
  padding-top: 80px;       /* spacing for header */
  box-sizing: border-box;
}

/* Menu container */
.menu {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Menu boxes */
.menu-item {
  flex: 1 1 0;
  min-width: 220px;
  height: 150px;
  padding: 30px 20px;
  border: 2px solid white;
  background-color: black; /* solid inside box */
  color: #c296ff;
  font-family: 'DotGothic16', monospace;
  font-size: 1.5rem;
  border-radius: 8px;
  transition: 0.2s;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}


.menu-item:hover {
  background-color: white;
  color: black;
  cursor: pointer;
}

/* Responsive for smaller screens */
@media (max-width: 700px) {
  header {
    font-size: 3rem;
    padding: 10px 0;
  }

  .menu-wrapper {
    padding-top: 60px;
  }

  .menu {
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
  }

  .menu-item {
    height: 100px;
    font-size: 1.2rem;
    min-width: auto;
  }
}
