/* Define CSS variables for consistency and maintainability */
:root {
  --primary-color: orange;
  --secondary-color: white;
  --background-color: #000;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --max-width: 1200px;
  --spacing-unit: 1rem;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: var(--background-color);
  font-family: var(--font-family);
  color: var(--secondary-color);
  line-height: 1.6;
  display: flex;
  justify-content: center;
}

/* Container layout */
.container {
  max-width: var(--max-width);
  width: 100%;
  padding: var(--spacing-unit) * 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Navigation styles */
.navbar {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: var(--spacing-unit);
  margin-bottom: var(--spacing-unit) * 2;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--spacing-unit);
}

.navbar li {
  margin: 0;
}

.navbar a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.1em;
  padding: 0.5em 1em;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a:focus {
  color: var(--secondary-color);
  outline: none;
}

/* Main content styles */
main {
  width: 100%;
}

.content {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-unit) * 1.25;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content h1 {
  font-size: clamp(2rem, 5vw, 3em);
  margin-bottom: var(--spacing-unit);
  color: var(--secondary-color);
}

.content p {
  font-size: 1.1em;
  margin-bottom: var(--spacing-unit);
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: var(--spacing-unit);
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-unit) / 2);
  }

  .navbar a {
    width: 100%;
    text-align: center;
  }

  .content {
    padding: var(--spacing-unit);
  }

  .content h1 {
    font-size: clamp(1.5rem, 5vw, 2.5em);
  }
}

@media (max-width: 480px) {
  .navbar a {
    padding: 0.4em 0.8em;
  }

  .content {
    padding: calc(var(--spacing-unit) * 0.75);
  }

  .content h1 {
    font-size: clamp(1.2rem, 5vw, 2em);
  }
}