
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400&display=swap');

:root {
  --bg-primary-color: #23123f;
  --bg-secondary-color: rgba(162, 163, 187, 0.3);
  --text-primary-color: #fff;
  --pixel-font: 'Pixelify Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100%;
  background-color: var(--bg-primary-color);
  padding-top: 0;
}

h1 {
  color: white;
  text-align: center;
  font-family: var(--pixel-font) !important;
}

/* Primary Navigation bar config */
nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  font-family: var(--pixel-font);
  background-color: var(--bg-secondary-color);
  color: var(--text-primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.25rem;
  z-index: 1000;
  text-align: center;
  border-bottom: 2px solid #000;
  box-sizing: border-box;
}

nav a,
.box a {
  color: var(--text-primary-color);
  text-decoration: none;
}

a.active {
  color: rgb(255, 111, 0) !important;
  text-decoration: underline !important;
}

span:hover {
  color: rgb(255, 111, 0);
}

nav a:hover,
.box a:hover {
  color: rgb(255, 111, 0) !important;
}
nav a:visited,
.box a:visited {
  color: var(--text-primary-color);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

/* Footer */
footer {
  position: sticky;
  margin-top: 3em;
  font-family: var(--pixel-font);
  width: 100%;
  background-color: var(--bg-secondary-color);
  color: var(--text-primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 2px solid #000;
  padding: 0.75rem 0;
}

/* Link boxes for homepage navigation */
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem 0;
  flex-wrap: wrap;
}

.boxes {
  flex: 1 1 320px;
  padding-top: 1.5rem;
}

.box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
}

.box {
  display: flex;
  flex-direction: column;
  width: 220px;
  min-height: 110px;
  background-color: var(--bg-secondary-color);
  color: var(--text-primary-color);
  text-decoration: none;
  padding: 1.2rem;
  border-radius: 12px;
  margin: 0;
  border: 2px solid #000;
  overflow: hidden;
}

.box h1 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.box-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.box-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-form-section {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 5rem;
}

.contact-form-container {
  width: min(100%, 560px);
  background-color: var(--bg-secondary-color);
  border: 2px solid #000;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.contact-form-container h2 {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--text-primary-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--text-primary-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem;
  border: 1px solid #000;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #23123f;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 8px;
  background-color: #851515;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #a11f1f;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 48px;
  height: 48px;
}

.logo {
  width: 45%;
  height: auto;
  margin-bottom: 1rem;
}
