/* global.css */

/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #0d0d0d; /* Dark background color */
  --secondary-color: #2d5425; /* Green for highlights */
  --highlight-color: #87fc6f;
  --dark-color: #0d0d0d;
  --light-color: #f0f0f0;

  /* Fonts */
  --font-main: "Roboto Mono", monospace;
  --font-heading: "Graduate", sans-serif;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Typography */
html,
body {
  height: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--light-color);
  background-color: var(--dark-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  /* Ensures that main content expands between header and footer */
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--light-color);
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Button Styles */
.btn {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 15px 30px;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: inline-block;
}

.btn:hover,
.btn:focus {
  background-color: var(--highlight-color);
  color: var(--dark-color);
}

/* Card Styles */
.card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 5px;
  color: var(--light-color);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}
