*,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif, Apple Color Emoji, "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  height: 100vh;
  width: 100vw;
  margin: 16px;
  padding: 8px;
  display: grid;
  gap: 5vw;
  grid-template-rows: min-content 1fr min-content;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #ffffff;
  background-color: #1a1a1a; /* Black background for an anarchist aesthetic */
  line-height: 1.6;
}

a {
  /* color: currentColor; */
  color: #c20000; /* Bright red links */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  height: 10vh;
  padding: 1rem;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  border-top: 3px solid #c20000;
  
}

footer p {
  font-size: 0.8rem;
}

header {
  background-color: #000000;
  color: #ffffff;
  padding: 0.8rem;
  text-align: center;
  border-bottom: 3px solid #c20000;
}

header h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
}

header nav {
  margin-top: 0.5rem;
}

header nav a {
  margin: 1rem;
  font-weight: bold;
}

.template-homepage main {
  text-align: center;
  width: 100vw
}

.skip-link {
    position: absolute;
    top: -30px;
  }
  
.skip-link:focus-visible {
  top: 5px;
}

.page-form label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}
  
.page-form :is(textarea, input, select) {
  width: 100%;
  max-width: 500px;
  min-height: 40px;
  margin-top: 5px;
  margin-bottom: 10px;
}

.page-form .helptext {
  font-style: italic;
}

.image-text-container {
  display: flex; /* Enables Flexbox */
  align-items: center; /* Vertically centers the text */
  gap: 10px; /* Optional: Adds spacing between the image and text */
}

.image-text-container img {
  width: 100px;
  height: auto; /* Maintain aspect ratio */
} 

.flex-center {
  display: flex;
  height: 15vh;
  width: 100vw;
  justify-content: center; /* Horizontally centers the container */
  align-items: center; /* Optional: Vertically centers the container */

}
