@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

body {
  height: 100%;
  width: 100%;
  /* margin: 0 auto; */
  margin-left: auto;
  overflow: auto;
  font-size: 12px;
  font-weight: 400;
  font-family: 'Crimson Text', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #000;
  text-align: center;
}

main {
  flex: 1;
}

@media(max-device-width: 667px) {
  body {
    width: 100%;
    box-sizing: border-box;
    padding: 0 80px;
  }
}

a {
  text-decoration: none;
  color: #336699;
}

a:visited {
  color: #333;
}

a:hover {
  color: #C0C0C0;
}

p {
  line-height: 1.4;
  text-align: justify;
}

@media(max-device-width: 667px) {
  p {
    font-size: 3em;
  }
}


img {
  max-width: 100%;
}

/* --------------------------------------- HEADER --------------------------------------- */

section#header {
  margin: 100px auto;
  position: relative;
}

section#header h1 {
  font-size: 5em;
  font-weight: 400;
  text-align: center;
  font-family: 'Crimson Text', serif;
  letter-spacing: 0.15em;
  margin: 0 0 9px 0;
}

@media(max-device-width: 667px) {
  section#header h1 {
    font-size: 6em;
    margin: 0 0 30px 0;
  }
}

section#header h2 {
  font-family: 'Crimson Text', serif;
  font-size: 1em;
  text-align: center;
  font-style: italic;
}

@media(max-device-width: 667px) {
  section#header h2 {
    font-size: 1.5em;
  }
}

@media(max-device-width: 667px) {
  section.summary {
    padding: 0 0 0 0;
    border-left: 0px solid black;
  }
}

section h2 {
  font-size: 1.3em;
  font-family: 'Crimson Text', serif;
}

@media(max-device-width: 667px) {
  section h2 {
    font-size: 4em;
  }
}

section h2 a {
  color: #000;
}


/* --------------------------------------- FOOTER --------------------------------------- */

section#footer {
  margin: 15px auto;
  position: relative;
  text-align: center;
  font-family: 'Crimson Text', serif;
  bottom: 0;
}

section#footer p {
  font-size: 0.75em;
}

@media(max-device-width: 667px) {
  section#footer {
    font-size: 10.5px;
    padding-bottom: 60px;
    text-align: center;
  }
}
