/* Global CSS variables */
:root {
  --spacing-company: 3rem;
  --font-weight: 400;
  --border-radius: 0;
}

/* Typography */
h2,
h3,
hgroup> :last-child {
  font-weight: 200;
}

small {
  color: var(--muted-color);
}

/* Header */
.hero {
  background-color: #11191f;
  background-position: right;
  background-size: cover;
}

header {
  padding: var(--spacing-company) 0;
}

header hgroup> :last-child {
  color: var(--h3-color);
}

header hgroup {
  margin-bottom: var(--spacing-company);
}

/* Nav */
summary[role="link"].contrast:is([aria-current], :hover, :active, :focus) {
  background-color: transparent;
  color: var(--contrast-hover);
}

/* Main */
@media (min-width: 992px) {
  main .grid {
    grid-column-gap: var(--spacing-company);
    grid-template-columns: auto 25%;
  }
}

main {
  margin-top: 2rem;
}

form.grid {
  grid-row-gap: 0;
}

/* Aside nav */

aside img {
  margin-bottom: 0.25rem;
}

aside p {
  margin-bottom: var(--spacing-company);
  line-height: 1.25;
}

.mobileHide {
  display: block;
}

/* Smartphone Portrait and Landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  .mobileHide {
    display: none;
  }
}

.mobileShow {
  display: none;
}

/* Smartphone Portrait and Landscape */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  .mobileShow {
    display: inline;
  }
}

.row {
  display: grid;
  gap: var(--spacing);
  /* Adjust spacing between columns */
}

/* Auto-adjust columns evenly */
.row>* {
  width: 100%;
}

/* Create dynamic columns */
.row.auto {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.row.custom {
  grid-template-columns: 29% 42% 29%; /* Custom layout for specific pages */
}

@media (max-width: 768px) {
  .row.auto {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

@media (max-width: 768px) {
  .row.custom {
    grid-template-columns: 1fr;
  }
}

.row.een {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

@media (max-width: 768px) {
  .row.een {
    grid-template-columns: 1fr;
  }
}

nav {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #11191f;
  justify-content: space-between;
  align-items: center;
  /* Minimal padding for a slim navbar */
  z-index: 1000;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  /* Optional for better visibility */
}

nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  margin: 0;
}

nav a {
  text-decoration: none;
  color: white;
}

.menu-container {
  display: flex;
  gap: 1rem;
}