/* Reset default margins */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* Background animation: salmon → soft pink → soft green */
body {
  background: linear-gradient(270deg, #fa8072, #ffb6c1, #90ee90); /* salmon, pink, light green */
  background-size: 600% 600%;
  animation: gradientShift 20s ease infinite;
  position: relative;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  33% { background-position: 50% 50%; }
  66% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Stars */
.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.2; }
  100% { opacity: 0.8; }
}

/* Centered dark gray box, now 40% of screen width */
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw; /* 40% of viewport width */
  width: 1000px;
  padding: 50px;
  background: rgba(30, 30, 30, 0.8); /* dark gray with slight transparency */
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  text-align: center;
  color: white;
}

/* Center the nav and layout buttons side by side */
nav {
  display: flex;
  justify-content: center; /* center horizontally */
  gap: 20px; /* space between buttons */
  padding-top: 1px;
}

/* Buttons */
nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  background: rgba(70, 70, 70, 0.8);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

nav button img {
  width: 24px;
  height: 24px;
}

/* Hover effect */
nav button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  background: rgba(90, 90, 90, 0.9);
}

/* Remove margin from anchor tags, handled by nav gap */
nav a {
  text-decoration: none;
}
