/* reset */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

button, input, select {
  margin: 0;
}

html {
  box-sizing: border-box;
}

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

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

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}

/* theme */
:root {
  --main-bg-color: #fff;
  --main-text-color: #555;
  --highlight-color: rgb(243, 146, 37);
  --highlight-color-dark: rgb(209, 112, 3);
}

body {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-family: sans-serif;
    font-size: 1em;
    line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--highlight-color);
    font-weight: 300;
}

h1 {
    font-size: 1.6em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.2em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.0em;
    margin: 1em 0;
}

a {
    color: var(--highlight-color);
    text-decoration: none;
}

a:hover {
    color: var(--highlight-color-dark);
    text-decoration: underline;
}

p {
    margin: 1em 0;
}

ul {
    padding-left: 20px;
}

header {
    align-items: center;
    display: flex;
    flex-direction: column;
    font-family: monospace;
    margin: 60px 0;
}

header #logo {
    margin-bottom: 30px;
    display: inline-block;
}

header #logo img {
    height: 100px;
}

header .contact {
    text-align: center;
}

main {
    margin: 0 auto;
    max-width: 720px;
}

footer {
    font-family: monospace;
    margin: 60px 0;
}

footer .copyright {
    color: #666;
    text-align: center;
}

/* navigation */
nav {
    margin: 20px 0;
}

nav > ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav > ul > li {
    padding: 0 20px;
}
