:root {
  --background-color: #f1eeed;
  --background-color-search: #e0dddc;
  --text-color: #474747;
  --font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
    Arial, sans-serif;
  --font-family-em:
    "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  --primary-color: #539798;
  --secondary-color: #6cc5c7;
  --tertiary-color: #6bb3b4;
  --accent-color: #daa628;
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: content-box;
  font-family: var(--font-family);
}

html,
body {
  height: 100%;
  color: var(--text-color);
  text-shadow: 1px 1px 1px #00000022;
}

html {
  background-color: var(--background-color);
}

body {
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-color);
}

a {
  color: var(--primary-color);
}

a:hover,
a:focus {
  color: var(--secondary-color);
}

a:active {
  color: var(--tertiary-color);
}

p {
  display: flex;
  flex-direction: column;
}

strong {
  font-size: 1.25rem;
  font-weight: bolder;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

em {
  font-family: var(--font-family-em);
  font-style: normal;
}

ul {
  list-style: none;
}

hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: solid 1px var(--accent-color);
  border-radius: 5pt;
}

form {
  display: flex;
  flex-direction: row;
  width: 100%;
}

input {
  font-family: var(--font-family-em);
  font-style: normal;
  background: var(--background-color-search);
  border: solid var(--primary-color) 1pt;
  outline: none;
}
input:hover {
  background-color: var(--background-color);
}
input:focus,
input:focus-visible {
  background-color: var(--background-color);
}

input[type="search"] {
  padding: 0.25rem;
  flex-grow: 1;
  border-radius: 5pt 0pt 0pt 5pt;
}

input[type="submit"] {
  padding: 0.25rem;
  border-radius: 0pt 5pt 5pt 0pt;
  background-color: var(--primary-color);
  color: var(--background-color);
  cursor: pointer;
}
input[type="submit"]:hover {
  background-color: var(--secondary-color);
  border: solid var(--secondary-color) 1pt;
}
input[type="submit"]:focus,
input[type="submit"]:focus-visible {
  background-color: var(--tertiary-color);
  border: solid var(--tertiary-color) 1pt;
}

header {
  padding: 1em;
  text-align: center;
  background-color: var(--background-color);
  border-bottom: solid 3px var(--accent-color);
  border-radius: 50%;
}

main {
  padding: 1rem;
  background-color: var(--background-color);
  flex-grow: 1;
}

main ul li {
  margin-bottom: 1rem;
}

footer {
  padding-top: 1rem;
  padding-bottom: 2rem;
  text-align: center;
  border-top: solid 3px var(--accent-color);
  border-radius: 50%;
}

.search_result {
  margin: 1rem;
  padding: 1rem;
  background: var(--background-color-search);
  border-radius: 5pt;
}

.highlight {
  background: yellow;
}
