/*
Theme Name: remulus
Theme URI: http://git.dgsiegel.net/wp-remulus.git/
Description: Wordpress theme for remulus-film.com
Author: daniel g. siegel <daniel@dgsiegel.net>
Author URI: http://www.dgsiegel.net
Tags: minimal, responsive

License: Creative Commons BY-NC-SA 3.0
License URI: http://creativecommons.org/licenses/by-nc-sa/3.0/
*/


/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

/* general */


* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #888;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  background: #fff;
}

/* elements */


h1,h2,h3,h4,h5,h6 {
  color: #666;
  margin: 0 0 0.5em 0;
  font-weight: 100;
  line-height: 1.1em;
}

h1 { font-size: 3.4285714285714284em; }
h2 { font-size: 2.1em; }
h3 { font-size: 1.7142857142857142em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.2857142857142858em; }
h6 { font-size: 1.1428571428571428em; }

h1, h2 {
  text-align: center;
  margin: 1.75em 0 1em;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark p {
  color: rgba(255,255,255,0.65);
}

p { margin-bottom: 1.5em; }

img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5em;
  display: block;
  margin: 0 auto;
}

a {
  color: #333;
  text-decoration: none;
  outline: none;
  -webkit-transition: all ease-in-out .25s;
     -moz-transition: all ease-in-out .25s;
      -ms-transition: all ease-in-out .25s;
       -o-transition: all ease-in-out .25s;
          transition: all ease-in-out .25s;
}

a:hover {
  text-decoration: underline dotted;
  color: #000;
}

.dark a {
  color: #fff;
}

blockquote {
  position: relative;
  padding: 1em;
  padding-right: 0;
  font-size: 1.3em;
}

blockquote:before {
  display: block;
  content: "\201C";
  font-size: 4em;
  position: absolute;
  left: -30px;
  top: -20px;
  color: #666;
}

blockquote cite {
  display: block;
  color: #aaa;
  font-size: 0.8em;
}

blockquote cite:before { content: "\2014 \2009"; }

hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px dotted #eeeeec;
}

small { display: block; }

form { text-align: center; }

input,
.button {
  min-height: 44px;
  padding: 6px 12px;
  margin: 3px;
  line-height: 1.5;
  color: #666;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  -webkit-transition: all ease-in-out 0.5s;
     -moz-transition: all ease-in-out 0.5s;
      -ms-transition: all ease-in-out 0.5s;
       -o-transition: all ease-in-out 0.5s;
          transition: all ease-in-out 0.5s;
}

input[type=email] {
  -webkit-box-shadow: inset 0 1px 1px #e6e6e6;
          box-shadow: inset 0 1px 1px #e6e6e6;
  width: 280px;
}

input[type=email]:focus {
  border-color: rgba(0,0,0,0.025);
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0,0,0,0.025);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0,0,0,0.025);
}

input[type=submit],
.button {
  text-align: center;
  display: inline-block;
}

input[type=submit]:hover,
.button:hover {
  background-color: rgba(0,0,0,0.025);
}


/* layout */


header,
footer {
  text-align: center;
  margin: 0 auto;
}

header {
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0.6)
    ), url('images/header.jpg');
  background-size: cover;
  background-position: center center;
  padding: 10em 0 5em 0;
  margin-bottom: 6em;
  color: #fff;
}

header * {
  text-shadow: 0 0 15px #000;
}

header h1 {
  margin-bottom: 0.2em;
}

header.dark h1,
header.dark p {
  color: #fff;
}

header.dark .site-title a {
  text-decoration: none;
}

header p {
  font-style: italic;
  margin: 0;
}

header ul {
  list-style-type: none;
  padding: 0;
  margin: 30px 0 5px 0;
}

header li {
  display: inline;
  padding: 0 10px;
  font-size: 125%;
}

header a.site-arrow-down {
  display: inline-block;
  margin-top: 1.5em;
  font-size: 40px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border: 1px solid #fff;
  border-radius: 100%;
  color: #fff;
  background: rgba(255,255,255,0.5);
}

header a.site-arrow-down:hover {
  background: rgba(255,255,255,0.75);
}

footer ul.social {
  padding: 0;
  margin-bottom: 3em;
}

footer .social li {
  display: inline-block;
  padding-left: 0.75em;
}

footer .social li:first-child {
  padding-left: 0;
}

footer .social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #e6e6e6;
  border-radius: 100%;
  color: #aaa;
}

footer .social a:hover {
  background: rgba(0,0,0,0.025);
}

footer .copyright {
  border-top: 1px solid #e6e6e6;
  padding: 8em 0 3em 0;
  background: url(images/remulus-film.png) no-repeat;
  background-position: 50% 1em;
  background-size: 200px;
  background-color: #f8f8f8;
}

/* article */


article {
  padding: 0 1em 3em 1em;
  max-width: 35em;
  margin: 0 auto;
}

article .article-header {
  text-align: center;
  margin-bottom: 2em;
}

article .article-header time {
  font-style: italic;
  font-size: 0.8em;
}

article .navigation .nav-previous {
  float: left;
}

article .navigation .nav-next {
  float: right;
}

/* page specific changes */


.home ul {
  list-style: none;
  padding-left: 0;
}

.work h2,
.work p {
  text-align: center;
}

.work h2 {
  margin: 0.5em 0;
}

.work section {
  padding: 6em 0;
  position: relative;
  margin: 6em 0;
  background: #000;
}

.work section .container {
  margin: 0 auto;
  width: 56em;
  display: grid;
  grid-template-columns: 35% auto;
  grid-column-gap: 2em;
}

.work section .container .description {
}

.work section .container .description p {
  text-align: left;
}

.work section .container .media {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: auto auto;
  align-content: start;
}

.work section .container .media.media-single {
  grid-template-columns: 1fr;
}

.work section .container:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}

/* responsive */

@media (max-width: 1200px){
  .work section .container { width: 45em; }
}

@media (max-width: 960px){
  .work section {
    padding: 4em 0;
  }

  .work section .container {
    width: 100%;
    padding: 0 1em;
    grid-template-columns: 1fr;
  }

  .work section .container .description h3 {
    text-align: center;
  }
}

@media (max-width: 768px){
  h1 { font-size: 2.2857142857142856em; }
  h2 { font-size: 1.7142857142857142em; }
  h3 { font-size: 1.5em; }
  h4 { font-size: 1.2857142857142858em; }
  h5 { font-size: 1.1428571428571428em; }
  h6 { font-size: 1em; }
}

@media (max-width: 420px) {
  h1 { font-size: 1.7142857142857142em; }
  h2 { font-size: 1.5em; }
  h3 { font-size: 1.2857142857142858em; }
  h4 { font-size: 1.1428571428571428em; }
  h5 { font-size: 1em; }
  h6 { font-size: 1em; }
  article { font-size: 0.9em; }
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
