:root {
  --color-primary: #112A57;
  --color-secondary: #2F93D5;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;

  min-height: 100dvh;
  min-width: 100dvw;
  margin: 0;

  display: flex;
}

.main-wrapper {
  display: grid;
  grid-template-areas:
    "header"
    "main"
    "footer";
  grid-template-rows: auto minmax(0, 1fr) auto;

  height: 100dvh;
  min-height: 0;
  width: 100dvw;
}

/* Header */
header {
  grid-area: header;

  display: grid;
}

header .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
  padding-inline: 18px;
}

header .logo {
  width: 250px;
}

@media (max-width: 600px) {
  header .logo {
    width: 150px;
  }

  header .row {
    gap: 8px;
    padding-block: 8px;
    padding-inline: 10px;
  }
}

/* Main */
main {
  grid-area: main;

  display: flex;
  flex-direction: column;
  overflow: auto;

  min-height: 0;
  gap: 12px;

  align-items: center;
}

main .banner {
  width: 100%;
}

main .content-section {
  display: grid;
  gap: 12px;
  padding-block: 12px;
  padding-inline: 24px;

  justify-self: center;
  max-width: 800px;
  height: fit-content;

  justify-items: center;
  align-items: center;
}

/* Footer */
footer {
  grid-area: footer;
  text-align: center;
  padding: 12px;
}

/* General */
:root {
  --link-font-size: 20px;
}

.link,
.button {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;

  font-size: var(--link-font-size);
  text-decoration: none;
}

.link {
  color: var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
}

.button {
  color: white;
  background: var(--color-primary);
  border-radius: 4px;
  padding: 4px 8px;
}

.link-pair {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-pair .link-pair__header {
  font-size: var(--link-font-size);
  font-weight: bold;
}

.material-symbols-outlined {
  font-size: var(--link-font-size);
}

h1,
h2,
h3,
p {
  margin: 0;
}

p {
  text-align: center;
}

@media (max-width: 600px) {
  :root {
    --link-font-size: 16px;
  }

  .link,
  .button {
    gap: 2px;
  }

  .link {
    border-bottom-width: 0.5px;
  }
}

/* Utilities */
.cluster {
  display: flex;
  align-items: end;
  gap: 16px;
}

@media (max-width: 600px) {
  .cluster {
    gap: 8px;
  }
}
