:root {
  --content-width: 100%;
}

*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

dl, ol, ul {
    margin-top: 0;
    margin-bottom: 0;
}

li {
  list-style: none;
}

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

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

strong, b {
  font-weight: 900;
}

img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
}

video {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
}

.page > * {
  max-width: var(--content-width);
  margin: 0 auto;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  min-height: calc(100vh - 10rem);
  padding: 86px 53px 0 53px;
}

@media (max-width: 768px) {
  main {
      padding: 86px 16px 32px 16px;
  }
}

.text {
  line-height: 1.5em;
}

.text p,
.text figure,
.text ul,
.text ol {
  margin-bottom: 1.5em;
}

.text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.text > *:first-child {
  margin-top: 0;
}

.text a {
  position: relative;
  white-space: nowrap;
  font-weight: 500;
  z-index: 1;
  display: inline-block;
  border-bottom: 2px solid #000;
}

.text figure {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.text img {
  width: 100%;
}

.social a {
  margin: 0 .75rem;
  padding: .5rem 1rem;
  border: 2px solid #000;
  width: 7.5rem;
}
.social a:hover {
  background: #000;
  color: #fff;
}