@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 400;
  src: url(../fonts/CormorantGaramond-Regular.woff);
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/CormorantGaramond-Italic.woff);
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 600;
  src: url(../fonts/CormorantGaramond-SemiBold.woff);
}

body {
  margin: .5em;
  font-family: 'Cormorant Garamond', serif;
  opacity: 0;
  transition: opacity .8s;
  font-size: 24px;
  font-weight: 400;
}

body:not(.loaded) {
  cursor: wait !important;
}

body.loaded {
  opacity: 1;
  cursor: default;
}

.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.loading div {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: black;
  transition: opacity .5s;
}

.loading div:not(:last-child) {
  margin-right: 10px;
}

body.loaded .loading {
  opacity: 0;
}

::-moz-selection { background: yellow; }
::selection { background: yellow; }

ul {
  list-style: none;
  margin-bottom: 1em;
  max-width:900px;
  transition: color .8s;
  padding-left: .5em;
}

li {
  padding-right: 0;
  padding-bottom: .25em;
}

.main-title {
  margin-bottom: 1em;
}

p{
  margin-top: 0;
}

body.loaded .title {
  cursor: none;
}

.content {
  padding-top: 0px;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
  overflow: hidden;
  transition: opacity .2s .4s;
}

.content.hidden {
  opacity: 0;
  transition: opacity .2s;
}

.text{
  margin-top: .5em;
  margin-bottom: 2em;
  padding-right: .5em;
  font-size: .8em;
  position: relative;
}

.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
  font-size: 1em;

}

.text h1:first-child,
.text h2:first-child,
.text h3:first-child,
.text h4:first-child,
.text h5:first-child,
.text h6:first-child {
  text-indent: 0;
}

a {
  color: inherit;
  transition: color .4s;
}

.not-ie a {
  text-decoration: none;
}

.not-ie a:after{
  content: '';
  background-image: url(../images/arrow_ne.svg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
  padding-right: .4em;
  top: .2em;
  left: 0;
  position: relative;
  margin-left: .1em;
  transition: top .2s, left .2s;
}

.not-ie a:hover:after {
  top: .05em;
  left: .15em;
}

.not-ie a.internal:after {
  background-image: url(../images/arrow_nw.svg);
}

.not-ie a.internal:hover:after {
  left: -.15em;
}

a:visited{
  color: inherit;
}

a:hover {
  /*color: #aaa;*/
}

figure {
  margin-top: 1em;
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 1em;
}

figure:first-child {
  margin-left: 0;
  margin-right: 0;
}

img {
  max-width: 100%;
  max-height: 500px;
}

figcaption {
  font-size: 18px;
}


blockquote {
  text-indent: -.3em;
  margin: 1em .5em;
}

blockquote blockquote {
  text-transform: none;
  margin: -.5em 0 0 0;
}

#cursor {
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
  width: 13px;
}

.no-touch #cursor {
  visibility: visible;
}

sup {
  margin-left: .4em;
  font-size: .66em;
  -moz-font-feature-settings:"lnum" 1;
  -ms-font-feature-settings:"lnum" 1;
  -o-font-feature-settings:"lnum" 1;
  -webkit-font-feature-settings:"lnum" 1;
  font-feature-settings:"lnum" 1;
}

.close {
  position: fixed;
  top: .5em;
  left: .5em;
  width: 1em;
  height: 1em;
  background-image: url(../images/arrow_nw.svg);
  background-size: 13px 13px;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.close.visible {
  opacity: 1;
  pointer-events: visible;
}

@media screen and (min-width: 768px) {

  body {
    margin: 1.5em 0.5em;
    font-size: 32px;
  }

  ul {
    padding-left: 1em;
  }

  li {
    padding-bottom: .125em;
  }

  blockquote {
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  figure {
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
  }

  figure:first-child{
    margin-left: 0;
    margin-right: 0;
  }

  .introduction {
    font-weight: 600;
  }

  .text {
    font-size: 1em;
  }

  .text h1,
  .text h2,
  .text h3,
  .text h4,
  .text h5,
  .text h6 {

  }

  .text h1:first-child,
  .text h2:first-child,
  .text h3:first-child,
  .text h4:first-child,
  .text h5:first-child,
  .text h6:first-child {
    text-indent: 0;
  }

  a:after {
    padding-right: .4em;
    padding-bottom: .7em;
  }

  sup {
    font-size: .5em;
  }

  .close {
    top: 1em;
    left: 1em;
    background-image: url(../images/arrow_nw_large.svg);
    background-size: 20px 20px;
  }

}

@media screen and (min-width: 1025px) {

  body {

    font-size: 36px;

  }

}
