@import url('https://fonts.googleapis.com/css2?family=Michroma:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');


/* Root Variables */
:root {
  --border-color: #666;
  --font-colour: #ebe9e1;
}

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

/* Base Typography */
* {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  color:white;
}

/* Global Layout */
html {
  height: 100%;
}

a{
  text-decoration: none;
}
body {
  background: linear-gradient(149deg, rgba(40,40,40,1) 1%, rgba(0,0,0,1) 50%);
  color: var(--font-colour);
  width: calc(100% - 20px);
  margin: 0 auto;
  padding: 0;
  min-height: 100vh; /* Ensure body is at least the height of the viewport */
  background-repeat: no-repeat; /* Prevent gradient from repeating */
  background-attachment: fixed; /* Keep gradient in place while scrolling */
}

/* Special Typography */
.dbnx {
  font-family: "Lexend", sans-serif;  
  text-transform: uppercase;
  letter-spacing: .4em;
}

h1 > span, h1 {
  padding: 0;
}

h1 > span {
  font-size: 1em;
}

/* Headers */
h3 {
  border-bottom: 1px solid var(--border-color);
  display: inline-block;
  padding: 0;
  margin: 20px 0 0;
  font-weight: 300;
  font-size: 1.4em;
}

/* Footer */
footer {
  margin-top: 100px; 
  border-top: 1px solid var(--border-color);
}

/* Flex Section */
section.flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  column-gap: 50px;
  align-items: flex-start;
}

section.flex > article {
  text-align: justify;
  width: 50%;
}

/* Media Queries */
@media (max-width: 1024px) { /* Tablet */
  section.flex {
    flex-direction: column;
  }
  section.flex > article {
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) { /* Mobile */
  section.flex > article {
    margin-bottom: 20px;
  }
}
