@font-face {
  font-family: 'Bricolage Grotesque';
  src: local('Bricolage Grotesque Variable'), 
       local('BricolageGrotesque-VariableFont_opsz,wdth,wght'),
       url('./fonts/BricolageGrotesque-VariableFont_opsz,wdth,wght.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  color: #333;
  margin: 1.5em;
}

p {
  word-break: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

a {
  color: #2274A7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul li {
  list-style: none;
  list-style-type: square;
}

header .title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

header .desc {
  font-size: 14px;
  color: #666;
  margin: 0;
}

main {
  max-width: 800px;
  margin: -72px auto 20px;
}

nav {
  display: flex;
  justify-content: end;
  width: 100%;
}

nav a {
  margin-right: 30px;
}

nav a:last-child {
  margin-right: 0;
}

nav a.active {
  text-decoration: underline;
}

.path {
  font-size: 17px;
  color: #666;
  margin-top: 30px;
}

span.sub {
  color: #666;
}

.elsewhere a {
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
}

footer {
  font-size: 14px;
  color: #666;
}

main .title {
  font-size: 21px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

main .date {
  font-size: 17px;
  color: #666;
  margin-left: 7px;
}

@media screen and (max-width: 1200px) {
  header {
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  main {
    margin-top: 40px;
  }
  
  nav {
    justify-content: center;
  }
}

@media screen and (max-width: 680px) {
  main .title {
    flex-direction: column;
  }
}
