:root {
  --mdr-purple: #c58dff;
  --mdr-green: rgb(152, 249, 193);
  --mdr-green-light: rgb(196, 250, 219);
  --background: white;
  --big-text: 42px;
  --medium-text: 30px;
  --body-text: 22px;
  --small-text: 11px;
  --post-hole: 1.75em;
}

/* ----- Reset -------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1
  box-sizing: border-box;
  letter-spacing: -0.01em;
  width: 100vw;
  overflow-x: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

ol, ul {
  list-style: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle
}

q, blockquote {
  quotes: none
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none
}

a img {
  border: none
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block
}

button {
  border: 0;
  color: inherit;
  background-color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

:focus {
  outline: none;
}
/* ----- End Reset ---------------------------------------------------------- */


/* --- Typography ----------------------------------------------------------- */
body {
  font-family: 'Wremena Regular', serif;
  font-size: var(--body-text);
  line-height: 1.2em;
}

/* @media only screen and (min-width: 321px) {
  body {
    font-size: var(--medium-text);
  }
} */

h1, h2, h3,
strong {
  font-family: 'Wremena Bold', serif;
}

h1, h2 {
  margin-bottom: 0;
}

h1 {
  font-size: var(--big-text);
}

h2 {
  font-size: var(--medium-text);
  font-size: var(--big-text);
}

h3 {
  /* font-size: var(--small-text); */
  margin-bottom: 1em;
}

em {
  font-style: italic;
}

p {
  margin-bottom: 1em;
}

a,
a:visited {
  color: black;
  text-decoration: underline;
}

a:hover, a:active {
  text-decoration: none;
}
/* --- End Typography ------------------------------------------------------- */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Wremena Regular';
  src: url('fonts/Wremena-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Wremena Bold';
  src: url('fonts/Wremena-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Helvetica Now Micro';
  src: url('fonts/Helvetica-Now-Micro.otf') format('woff');
}

.ff-b {
  font-family: 'Wremena Bold', serif;
}

.ff-r {
  font-family: 'Wremena Regular', serif;
}

.ff-ss {
  font-family: "Helvetica Now Micro", sans-serif;
}

.fs-bb {
  font-size: var(--big-text);
}

.fs-m {
  font-size: var(--medium-text);
  line-height: 1.0665;
}

.fs-b {
  font-size: var(--body-text);
}

.fs-s {
  font-size: var(--small-text);
}
/* --- End Fonts ------------------------------------------------------------ */

/* --- Background Colours --------------------------------------------------- */
.bc-1 {
  background-color: var(--mdr-green);
}

.bc-2 {
  background-color: var(--mdr-purple);
}

.bc-3 {
  background-color: var(--background);
}
/* --- End Background Colours ----------------------------------------------- */

.img-grey img {
  filter: grayscale(1);
  mix-blend-mode: multiply;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .img-grey img:hover {
    filter: grayscale(0);
    mix-blend-mode: normal;
  }
}

/* --- Header --------------------------------------------------------------- */
.header {
  z-index: 3;
  position: fixed;
  display: flex;
  top: 0;
  align-items: center;
  width: calc(100% - (2 * .33em));
  height: 2em;
}

.header h1,
.header h2 {
  text-align: center;
}

.header h1 a {
  text-decoration: none;
}

.logo img {
  width: 1.75em;
  margin-right: .25em;
  animation: spin 7500ms linear infinite;
}

.back-img {
  z-index: 2;
  position: fixed;
  top: 0;
  /* padding: 14vh 1em; */
  /* margin: calc(50vh - (50vw - 1em)) 1em; */
  /* margin: calc(79vh - (50vw - 1em)) calc(75vw - (50vw - 1em)); */
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .header {
    width: calc(100% - 1em);
    height: 3em;
  }
}


@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

/* --- End Header ----------------------------------------------------------- */

/* --- Player --------------------------------------------------------------- */
.audio.audio-player {
  border: 1px solid var(--mdr-purple);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
  width: 100%;
  margin: .75em .75em .75em 0;
  margin-left: 7px;
  border-radius: 4px;
}
.audio.audio-player .controls {
  height: 4.25em;
}
.audio.audio-player .controls .info {
	line-height: 1.25em;
	text-transform: uppercase;
  color: var(--mdr-purple);
  min-width: 13.6em;
}
.audio.audio-player .play-pause-btn {
  display: none;
  cursor: pointer;
}
.audio.audio-player .loading {
  display: flex;
}
.audio.audio-player .play-pause-btn,
.audio.audio-player .loading {
  width: 5em;
  text-align: center;
  color: var(--mdr-purple);
  border-right: 1px solid var(--mdr-purple);
  height: 4.25em;
  align-items: center;
  justify-content: center;
}
.audio.audio-player .play-pause-btn.playing {
  background-color: var(--mdr-purple);
  color: var(--mdr-green);
}
.audio.audio-player .spinner {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  background-image: url(/assets/images/loading.png);
  background-size: cover;
  background-repeat: no-repeat;
  animation: spin 0.4s linear infinite;
}
.audio.audio-player .slider {
  flex-grow: 1;
  cursor: pointer;
  position: relative;
}
.audio.audio-player .slider .progress {
  background-color: var(--mdr-purple);
  border-radius: inherit;
  position: absolute;
  pointer-events: none;
}
.audio.audio-player .slider .progress .pin {
  height: 0;
  width: 0;
  border-radius: 0;
  background-color: var(--mdr-purple);
  position: absolute;
  pointer-events: all;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.32);
}
.audio.audio-player .controls {
  color: #000000;
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
  margin-left: 1em;
  margin-right: 1em;
}
.audio.audio-player .controls .slider {
  margin-left: -14.65em;
  margin-right: -1em;
  height: 4.3em;
  /* mix-blend-mode: multiply; */
}
.audio.audio-player .controls .slider .progress {
  width: 0;
  height: 100%;
  mix-blend-mode: color;
}
.audio.audio-player .controls .slider .progress .pin {
  right: -8px;
  top: -6px;
}
.audio.audio-player .controls span {
  cursor: default;
}
.audio.audio-player .volume {
  position: relative;
}
.audio.audio-player .volume .volume-btn {
  cursor: pointer;
}
.audio.audio-player .volume .volume-btn.open path {
  fill: #44BFA3;
}
.audio.audio-player .volume .volume-controls {
  width: 30px;
  height: 135px;
  background-color: rgba(0, 0, 0, 0.62);
  border-radius: 7px;
  position: absolute;
  left: -3px;
  bottom: 52px;
  flex-direction: column;
  align-items: center;
  display: flex;
}
.audio.audio-player .volume .volume-controls.hidden {
  display: none;
}
.audio.audio-player .volume .volume-controls .slider {
  margin-top: 12px;
  margin-bottom: 12px;
  width: 6px;
  border-radius: 3px;
}
.audio.audio-player .volume .volume-controls .slider .progress {
  bottom: 0;
  height: 100%;
  width: 6px;
}
.audio.audio-player .volume .volume-controls .slider .progress .pin {
  left: -5px;
  top: -8px;
}
svg, img {
  display: block;
}

.play-pause-btn svg {
  width: 24px;
  height: 24px;
}
.play-pause-btn svg#pause {
    display: none;
}
.play-pause-btn.playing svg#pause {
    display: block;
}
.play-pause-btn.playing svg#play {
    display: none;
}
.download-btn svg {
  width: 32px;
  height: 32px;
}

@keyframes spin {
  from {
    transform: rotateZ(0);
  }
  to {
    transform: rotateZ(1turn);
  }
}
/* --- End Player ----------------------------------------------------------- */

/* --- Layout --------------------------------------------------------------- */
.container {
  position: absolute;
  top: 0px;
  left: 0px;
}

.background {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100vh;
}

.sliding {
  position: relative;
  z-index: 50;
  /* margin-top: 1.78em; */
  margin-top: 100vh;
  width: 100vw;
}

.main,
.post-page {
  padding: 3em .33em .33em .33em;
}

.footer {
  padding: 1.15em .33em .33em .33em;
}

.header {
  padding: .33em;
}

/* iPhone 5 */
@media only screen and (max-height: 568px) {
  .sliding {
    margin-top: 558px;
    margin-top: 100vh;
  }
}

/* iPhone 6/7/8 */
@media only screen and (max-height: 667px) {
  .sliding {
    margin-top: 657px;
    margin-top: 100vh;
  }
}

/* iPhone 6/7/8 Plus */
@media only screen and (max-height: 736px) {
  .sliding {
    margin-top: 726px;
    margin-top: 100vh;
  }
}

/* iPhone X/XS */
@media only screen and (max-height: 812px) {
  .sliding {
    margin-top: 802px;
    margin-top: 100vh;
  }
}

/* iPhone XR */
@media only screen and (max-height: 896px) {
  .sliding {
    margin-top: 886px;
    margin-top: 100vh;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .header {
    padding: 0 1em;
  }

  .main,
  .post-page {
    padding: 3em 1em 1em 1em;
  }
  .footer {
    padding: 1.45em 1em 1em 1em;
  }
  .main {
    max-width: 50em;
  }
}
/* --- End Layout ----------------------------------------------------------- */

/* --- Home Posts ----------------------------------------------------------- */
.posts figure img{
  /* border-radius: 10px; */
  width: 100%;
}

.posts h2 {
  margin-bottom: 0;
}

.post {
  background-color: var(--mdr-green);
  width: 100%;
  height: calc(100vw - (2 * .33em));
  margin-bottom: 2em;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.post::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: var(--post-hole);
  height: var(--post-hole);
  -ms-transform: translate(calc(var(--post-hole) * .5), -50%);
  transform: translate(calc(var(--post-hole) * .5), -50%);
  background-color: white;
  border-radius: 50%;
}

.post a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.post a, .post a:visited {
  text-decoration: none;
}

.post .post-title {
  width: 100%;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.post .post-meta {
  bottom: 0;
  position: absolute;
  width: 100%;
  margin-bottom: 1em;
}

.post .post-meta p {
  margin: 0;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .posts {
    display: flex;
    flex-flow: row wrap;
    /* justify-content: space-between; */
  }

  /* left align last row, still need to test with one item and three items */
  .posts::after {
    content: "";
    flex: 0 0 45%;
  }

  .post {
    display: inline-block;
    vertical-align: top;
    width: 47%;
    height: 45vw;
    margin-bottom: 1.16em;
    margin-right: 1.16em;
  }
}

/* Medium devices (landscape tablets, 769px and up) */
@media only screen and (min-width: 769px) {
  /* left align last row, still need to test with one item and three items */
  .posts::after {
    flex: 0 0 31%;
  }

  .post {
    width: 15.5em;
    height: 15.5em;
  }
}
/* --- End Home Posts ------------------------------------------------------- */

/* --- Post Page ------------------------------------------------------------ */
.post-page .post-title {
  font-size: var(--big-text);
  line-height: 1;
  margin: 2em 0 1em;
}
.post-page .post-title h1,
.post-page .post-title h2 {
  margin-top: -.075em;
}

.post-page .post-title,
.post-page .post-meta {
  text-align: center;
}

.post-page .post-meta {
  margin: 0 0 3em 0;
}

.post-page .category {
  border: 1px black solid;
  border-radius: 20px;
  padding: .15em .5em;
}

.post-img img {
  border-radius: 50%;
}
.post-page figcaption {
  line-height: 1.25;
  padding-top: .65em;
}

.kt h1,
.kt h2 {
  margin-bottom: 1em;
}

.kt img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
}

.kt figure {
  margin-bottom: 1em;
}

.kt figcaption {
  padding-top: .65em;
  font-size: var(--small-text);
  font-family: "Helvetica Now Micro", sans-serif;
  line-height: 1.25;
}

.kt .video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.kt .video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.gallery figure {
  width: 100%;
  margin: 0 0 1.75em 0;
}

.gallery figure img {
  width: 100%;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .kt {
    max-width: 38em;
    margin: 0 auto 2em;
  }

  .gallery figure {
    width: auto;
    height: 14em;
    //max-width: 15em;
    margin: 0 1em 1.75em 0;
  }

  .gallery figure img {
    height: 100%;
    width: auto;
  }

  .kt img:hover {
    filter: grayscale(0);
    mix-blend-mode: normal;
  }
}
/* --- End Post Page -------------------------------------------------------- */

/* --- Footer --------------------------------------------------------------- */
.footer a, .footer a:visited {
  color: black;
  padding: .25em;
  border: 1px black solid;
  text-decoration: none;
}

.footer a:hover, .footer a:active {
  border: 1px black solid;
  border-radius: 4px;
}

.footer p {
  line-height: 1.5em;
  display: inline-block;
  width: 100%;
  margin-right: 1em;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .footer p {
    width: 30%;
  }
  .footer .row {
    display: flex;
  }
  .footer .row p {
      display: block;
      width: 100%;
      max-width: 500px;
  }
}
@media only screen and (max-width: 568px) {
  .footer .row {
    display: flex;
    flex-direction: column;
  }
  .footer .row p {
      display: block;
      width: 100%
  }
}
/* --- End Footer ----------------------------------------------------------- */

.gallery .img-grey {
	cursor: pointer;
}
.large-image-preview {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgb(0, 0,0, 0.8);
	
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	cursor: pointer;
}
.large-image-preview img {
  max-height: 100%;
  object-fit: contain;
}

::-moz-selection {
    color: #FFFFFF;
    background: #b773ff;

}
::selection {
    color: #FFFFFF;
    background: #b773ff;
}


#mce-EMAIL {
    max-width: 500px;
}
