/* Reset styles */

html {
  box-sizing: border-box;
}

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

body {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

pre,
code {
  font-size: inherit;
  font-weight: 400;
}

img,
address,
pre,
.map {
  margin-bottom: 1em;
  margin-top: 1em;
}

ul,
ol {
  padding-left: 0;
}

pre,
body,
html,
fieldset,
input {
  margin: 0;
  padding: 0;
}

address,
cite {
  font-style: normal;
}

a img,
img,
iframe,
fieldset {
  border: 0;
}

legend {
  color: inherit;
  padding: 0;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 1px;
}

select {
  padding: 0;
}

table {
  border-collapse: collapse;
}

[type="submit"] {
  -webkit-appearance: none;
  cursor: pointer;
}

[type="search"] {
  -webkit-appearance: none;
  box-shadow: none;
}

[type="text"],
[type="email"],
[type="tel"],
[type="url"],
textarea {
  -webkit-appearance: none;
}

::-webkit-search-decoration,
::-webkit-search-cancel-button {
  display: none;
}

button {
  background-image: none;
}

textarea {
  overflow-y: auto;
  resize: vertical;
}

img,
svg {
  height: auto;
  max-width: 100%;
  max-width: 100%;
}

::-moz-focus-inner {
  border: 0;
}

/* Base styles */

::selection {
  background: white;
  color: black;
}

body {
  font-family: sans-serif;
  max-width: 35em;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.5;
  padding: 1em;
  font-size: 125%;
}

@media (min-width: 30em) {

  body {
    font-size: 150%;
  }
}

header {
  display: flex;
  flex-direction: row;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

nav.primary ul {
  display: flex;
  flex-direction: row;
  gap: .5em;
  flex-wrap: wrap;
  margin: 0;
}

nav.primary li {
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
