:root {
  --extrabold: 800;
  --bold: 600;
}

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

html,
body {
  background: var(--background-1);
  font-family: var(--font-family);
  scroll-behavior: smooth;
}

picture,
img {
  max-width: 100%;
}

picture {
  width: 100%;
  display: block;
}

.navlink {
  font-weight: var(--bold);
  text-decoration: none;
  color: var(--color-2);
  font-size: var(--paragraph);
  font-family: var(--fam2);
}

.navlink:hover {
  color: var(--color-1);
}

.link {
  color: var(--color-1);
  font-size: var(--paragraph);
  font-family: var(--fam2);
}

.link:hover {
  color: var(--color-2);
}

.subtitle {
  color: var(--color-2);
  font-size: var(--alt);
  font-family: var(--fam2);
  display: flex;
  align-items: center;
}

.mb10 {
  margin-bottom: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.heading {
  font-size: var(--heading);
  font-family: var(--fam1);
  font-style: var(--font-style);
  font-weight: var(--extrabold);
  color: var(--color-1);
  line-height: 1.45;
}

.subheading {
  font-weight: var(--normal);
  font-size: var(--subheading);
  font-family: var(--fam2);
  line-height: 1.45;
  color: var(--color-1);
  font-style: normal;
}

.subheading:empty {
  height: var(--subheading-lineheight);
}

.cta {
  background: var(--cta-background);
  color: var(--cta-color);
  font-size: var(--primary-size);
  font-weight: var(--bold);
  font-family: var(--fam1);
  padding: 20px 40px;
  display: inline-block;
  text-decoration: none;
  width: 100%;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-align: center;
  border-radius: 3px;
}

.cta + .cta {
  color: var(--cta-background);
  background: var(--cta-color);
  box-shadow: inset 0 0 0 1px var(--border-color);
}

h3,
.paragraph {
  font-size: var(--paragraph);
  line-height: 1.45;
  color: var(--color-1);
  font-family: var(--fam2);
  font-size: var(--paragraph);
  color: var(--color-1);
}

.small {
  font-size: var(--primary-size);
  color: var(--color-1);
  line-height: 1.45;
  font-family: var(--fam2);
  font-size: var(--alt);
  color: var(--color-2);
}

.bold {
  font-weight: var(--bold);
  font-size: var(--paragraph);
}

.extrabold {
  font-weight: var(--extrabold);
  font-family: var(--fam1);
  font-style: var(--font-style);
  font-size: var(--paragraph);
}

.color1 {
  color: var(--color-1);
}

svg {
  fill: var(--color-1);
  color: var(--color-1);
}

.color2 {
  color: var(--color-2);
}

/*social icons*/
.social-icons ul {
  list-style: none;
  display: flex;
}

.social-icons ul a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  background: var(--background-2);
}

.social-icons ul a svg {
  width: 16px;
  height: 16px;
  color: var(--color-2);
  fill: var(--color-2);
}

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

body {
  background: var(--background-1);
  font-family: var(--font-family);
}

.content-1280 {
  max-width: 1280px;
  width: 100%;
  margin: auto;
}

/*template 1*/
main {
  display: flex;
}

@media screen and (max-width: 880px) {
  main {
    display: block;
  }
}

.sections {
  width: 50%;
  padding: 0 90px;
}

@media screen and (max-width: 880px) {
  .sections {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
  }
}

section {
  padding: 60px 0;
  width: 100%;
}

section:not(:last-of-type) {
  border-bottom: 1px solid var(--border-color);
}

header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: var(--background-1);
  z-index: 10;
}

.header-menu {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

header a:not(:last-of-type) {
  margin-right: 20px;
}

header a:empty {
  display: none;
}

.intro-meta {
  width: 50%;
  height: calc(100vh - 116px);
  position: sticky;
  top: 58px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background: var(--background-2);
}

.intro-meta svg {
  width: 40px;
  height: 40px;
  position: absolute;
  left: calc(50% - 20px);
  top: calc(50% - 20px);
  fill: var(--color-2);
}

@media screen and (max-width: 880px) {
  .intro-meta {
    position: relative;
    width: 100%;
    padding: 0;
    top: 0;
    height: 400px;
  }
  .intro-meta-picture {
    background-position: top;
  }
}

.intro-meta-picture {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/*faq*/
.faq > div details:first-of-type {
  margin-top: 30px;
}

.faq details {
  background: var(--background-2);
  border-radius: 3px;
  margin-bottom: 10px;
  outline: none;
  border: none;
}

.faq details summary {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  outline: none;
  border: none;
}

.faq details .answer {
  margin-top: 10px;
  padding: 0 20px 20px 20px;
}

.faq-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  background: transparent;
}

.faq-toggle svg {
  fill: var(--svgfill);
  width: 32px;
  height: 32px;
}

/*footer*/
footer {
  padding: 20px 0 60px;
  border-top: 1px solid var(--border-color);
}

footer ul {
  list-style: none;
  display: flex;
  flex-flow: wrap;
}

footer ul li:not(:last-of-type) {
  margin-right: 20px;
}

/*intro content*/
.intro-content {
  min-height: calc(100vh - 174px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact .cta {
  font-family: var(--fam2);
}

::-webkit-input-placeholder {
  color: var(--color-2);
  font-family: var(--fam2);
}

:-ms-input-placeholder {
  color: var(--color-2);
  font-family: var(--fam2);
}

::placeholder {
  color: var(--color-2);
  font-family: var(--fam2);
}

.freeform {
  padding: 120px 0;
}

.ProseMirror {
  font-family: var(--fam1);
  font-style: var(--font-style);
}

img {
  max-width: 100%;
}

.ProseMirror a {
  color: inherit;
}

.ProseMirror h1 {
  font-size: var(--heading);
  font-family: var(--fam1);
  font-style: var(--font-style);
  font-weight: var(--extrabold);
  color: var(--color-1);
  line-height: 1.45;
}

.ProseMirror h2 {
  font-weight: var(--normal);
  font-size: var(--subheading);
  font-family: var(--fam2);
  line-height: 1.45;
  color: var(--color-1);
}

.ProseMirror h1 + h2 + p {
  margin-top: 30px;
}

.ProseMirror h1 + p {
  margin-top: 30px;
}

.ProseMirror p > br:last-of-type {
  display: none;
}

.ProseMirror p {
  font-size: var(--paragraph);
  line-height: 1.45;
  color: var(--color-1);
  font-family: var(--fam2);
  font-size: var(--paragraph);
  font-style: normal;
}

.ProseMirror ul,
.ProseMirror ol {
  font-family: var(--fam2);
  font-size: var(--paragraph);
  padding-left: 50px;
  color: var(--color-1);
  margin: 0;
}

.ProseMirror blockquote {
  border-left: 3px solid var(--color-1);
  padding-left: 20px;
}

.ProseMirror hr {
  border: none;
  margin: 60px 0;
}

.ProseMirror hr:after {
  content: ". . .";
  text-align: center;
  width: 100%;
  display: block;
  font-size: 18px;
  font-family: monospace;
  color: var(--color-1);
}

.ProseMirror code {
  background: var(--background-2);
  font-size: var(--paragraph);
}

.ProseMirror pre code {
  width: 100%;
  display: block;
  white-space: pre-wrap;
  padding: 12px;
}

.menu {
  display: none;
}

.menu a {
  color: var(--color-1);
  font-family: var(--fam1);
  font-size: var(--paragraph);
}

.overlay {
  position: fixed;
  visibility: hidden;
  width: 100%;
  height: 100%;
  background: white;
  left: 0;
  top: 0;
  z-index: 1000;
  opacity: 0;
}

.overlay a {
  font-size: var(--paragraph);
  display: block;
  padding: 12px 20px;
  text-align: center;
  color: black;
  font-family: var(--fam1);
  margin-right: 0 !important;
}

.overlay a.close {
  font-size: var(--paragraph);
  color: black;
  font-family: var(--fam1);
  font-weight: var(--bold);
  text-decoration: none;
  display: block;
  padding: 20px;
  text-align: center;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 780px) {
  .header-menu > a:nth-of-type(1):last-of-type {
    display: block;
  }

  .header-menu > a:nth-of-type(1):last-of-type ~ .menu {
    display: none;
  }

  .header-menu > a {
    display: none;
  }

  .menu {
    display: block;
  }
}

/* fonts */
.template-2.font-7 {
  --fam1: "Fanwood Text", serif;
  --fam2: "Assistant", sans-serif;
  --font-style: normal;
  --heading: 36px;
  --subheading: 20px;
  --paragraph: 20px;
  --alt: 14px;
}

/* colors */
.grayscale-1 {
  --cta-color: white;
  --background-1: rgba(255, 255, 255, 1);
  --color-1: rgba(0, 0, 0, 1);
  --color-2: rgba(0, 0, 0, 0.45);
  --background-2: #f8f8f8;
  --border-color: rgba(0, 0, 0, 0.1);
  --cta-background: var(--color-1);
  background: var(--background-1);
  color: var(--color-2);
}
