:root {
  --navigation-border: rgba(255, 255, 255, 0.95);
  --navigation-text: #ffffff;
  --page-background: #ffffff;
  --text-color: #000000;
  --display-font: "Futura Medium", Futura, "Century Gothic", "Trebuchet MS", Arial, sans-serif;
  --navigation-font: Calibri, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-background);
}

body {
  color: var(--text-color);
  font-family: var(--display-font);
}

.page {
  width: 100%;
  min-height: 100vh;
  background: var(--page-background);
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2171 / 724;
  background-color: #087ed0;
  background-image: url("assets/neuroethohp-banner.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.primary-navigation {
  position: absolute;
  top: 37.98%;
  left: 50%;
  transform: translateX(-50%);
  width: min(46.38%, 42rem);
  min-height: 24.47%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border: clamp(1px, 0.12vw, 2px) solid var(--navigation-border);
  border-radius: clamp(0.45rem, 1.05vw, 1rem);
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.55rem, 1.65vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  color: var(--navigation-text);
  font-family: var(--navigation-font);
  font-size: clamp(0.64rem, 1.15vw, 1.45rem);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 58, 111, 0.55);
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.primary-navigation a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.identity {
  padding: clamp(1.55rem, 5.4vw, 6.75rem) 1.5rem 2rem;
  text-align: center;
}

.identity h1,
.identity p {
  margin-right: auto;
  margin-left: auto;
}

.identity h1 {
  margin-top: 0;
  margin-bottom: clamp(1rem, 1.8vw, 2.25rem);
  font-size: clamp(0.95rem, 1.78vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.identity p {
  font-size: clamp(0.9rem, 1.72vw, 2.15rem);
  line-height: 1.08;
}

.institute {
  margin-top: 0;
  margin-bottom: 0.1em;
}

.organisation {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 700;
}

@media (max-width: 560px) {
  .hero {
    min-height: 12rem;
    aspect-ratio: auto;
  }

  .primary-navigation {
    top: 50%;
    width: min(86%, 27rem);
    min-height: auto;
    transform: translate(-50%, -50%);
    padding: 0.8rem 0.75rem;
  }

  .primary-navigation ul {
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
  }

  .primary-navigation a {
    font-size: 0.76rem;
  }

  .identity {
    padding-top: 2.5rem;
  }
}
