@charset "UTF-8";

/*
Font: Pantasia by Wei Huang
Design: Nilas Andersen
*/


@font-face {
    font-family: 'pantasiaregular';
    src: url('../fonts/pantasia-regular-webfont.woff2') format('woff2'),
         url('../fonts/pantasia-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pantasiaitalic';
    src: url('../fonts/pantasia-italic-webfont.woff2') format('woff2'),
         url('../fonts/pantasia-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

/* Reset & Normalization */

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

/* General */

html {
  font-size: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  font-family: 'pantasiaregular', times, serif;
  color: #000;
  background: #fff;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 20px;
  line-height: 24px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, pre {
  /* Reset font-sizes and normalize margins */
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

/* Layout */

#main {
  position: absolute;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  margin: 12px;
}

#prev {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 50vw;
  cursor: w-resize;
}

#next {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 50vw;
  cursor: e-resize;
}

.container {
  height: 75vh;
  top: 0;
}

 .container img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}

p {
  position: fixed;
  bottom: 10px;
  width: 95vw;
}

@media all and ( max-height: 500px ) {

  html {
    font-size: 16px;
    line-height: 18px;
  }

}
