@font-face {
  font-family: 'OratorStd';
  src: local('OratorStd'), 
  local('OratorStd'), 
  url('fonts/OratorStd.woff2') format('woff2'), 
  url('fonts/OratorStd.woff') format('woff'), 
  url('fonts/OratorStd.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
} 

/*reset css*/

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, ins, kbd, q, s, samp,
small, strike,  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-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button{
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  text-align: inherit;
  outline: none;

  background: transparent;

  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;

  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;

  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;

  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;
}
button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*//////////////////////////////////////*/
/*custom css ici */

body{
  background: #000;
  margin: 0;
  padding: 0;
  font: 300 18px 'Open Sans','Trebuchet', sans-serif;
  color: #B5AEA2;
  font-size: 18px;

}

header{
  width: 50vw;
  min-width: 300px;
  height: 100vh;
  outline: solid 2px 756060;
  z-index: 10;
  overflow: hidden;
  background: rgba(216,208,194,0.8);
  position: fixed;
}

.mainSplash{
  background: url(../img/main-splash.jpg) no-repeat 50% 50%;
  background-size: cover;
  width: 100%;
  height: 104vh;
  margin-top: -4vh;
}

h1,h2,h3,h4 {
  margin-left: -2px;
  font: 500 2rem 'OratorStd';
  text-transform: lowercase;
}

h1{
  position: absolute; 
  z-index: 10;
  width: 30vw;
  min-width: 400px;
  max-width: 670px;
  position: absolute;
  bottom: 10vh;
  margin: 0 auto;
  left: 50%;
  transform: translate(-50%,0);
}

h1>img{
  width:100%;
}

h2{
  font-size: 1.3em;
  line-height: 1.4em;
  color: #e8e0d8;

}

h2.chapeau{
  text-align: right;
  line-height: 2em;
}

h2 em {
  text-transform: uppercase;
  font-style: normal;
  font-size: 1.4em;
}

section h2{
  font-size: 2em;
  margin-left: -0.5em;
}

h3{ 
  font-size: 1.5em;
  letter-spacing: -0.03em;
}

.sortie-salle-titre{
  position: absolute;
  z-index: 05;
  color: #434330;
  bottom: 20px;
  text-align: center;
  right: 30px;
  background: #d8d0c2;
  padding: 4px 6px;
}

main{
  box-sizing: border-box;
  position: relative;
  width: 48vw;
  left: 50vw;
  margin: 0;
  padding: 40px;
}

nav{
  margin: 50px 0 30px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav a{
  padding: 0 18px 20px 0;
  font-size: 1.1em;
}
nav a:last-child{
  padding: 0 0 20px 0;
  font-size: 1.1em;
}

a,button{  
  color: orange;
  cursor: pointer;
  text-decoration: none;
  font: 400 1em 'OratorStd', times, serif;
  text-transform: uppercase;
  transition: color 150ms linear;
}
a:hover, button:hover{ color: white; }

section{
  margin: 0 0 40px;
}

video {
  position: absolute;
  top:0;
  width: 100vw;
  height: 100vh;
  display: none;
}

.youtube{ width:100%; }

.youtube iframe{ 
  width:100%; 
  height: calc((50vw - 80px) / 1.8);
}

article{
  margin: 1em 0 2.5em;
}

blockquote{
  font-style: italic;
  margin: 1em 2em;
}

article img{
  width: 80%;
  display: block;
  margin: 2em auto;
}

p {
  line-height: 1.4em;
  padding: 0.4em 0 .7em;
}
time{
  margin: 4px 0 6px;
  display: block;
  font-style: italic;
  font-size: 0.75em;
}

.credits{
  margin: 1em 0 2em 0;
}
.credits a{
  font: 300 0.8em Courrier, monospace;
  text-transform: lowercase;
  color: currentColor;
}
.credits a:hover{
  color: white;
}

ul li{
  padding-left: 1.5em;
}

ul li::before{
  content: " ";
  position: absolute;
  display: inline-block;
  width: 0.7em;
  border-top: solid 1px currentColor;
  margin-left: -1.2em;
  margin-top: 0.7em;
}


.social a{ display: block; }

footer{ margin-top:30px; }

.bkgPic{
  /* est en overlay sur tout le main... */
  top:0;
  width: 100vw;
  height: 100vh;
  background: url(../img/bkgtest1.jpg) no-repeat 50% 50%;
  background-attachment: fixed;
  background-size: cover;
  opacity: 0.22;
  position: fixed;
  z-index: 0;
  pointer-events: none;
}
.modal{display: none;}

@media only screen and (max-width: 1330px) {
  body{
    font-size: 16px;
  }
  h2{
    font-size: 1em;
  }

}

@media only screen and (max-width: 930px) {
  body{
    font-size: 16px;
  }

  header{
    width: 100%;
    max-width: 100vw;
    height: 72vh;
    position: relative;
  }

  .mainSplash{
    background: url(../img/main-splash-smaller.png) no-repeat 50% 50%;
    background-size: cover;
    height: 89vh;
    margin-top: -4vh;
  }

  h1{
    width: 79vw;
    max-width: 550px;
    min-width: 0;
    bottom: 2vh;
  }
  
  nav{ 
    justify-content: space-around;
    margin-top: 3em;
  }

  nav a{
    padding: 0 18px 20px 0;
    font-size: 1.1em;

  }

  main{
    width: 100%;
    left: 0;
  }

  h2.chapeau{
    text-align: center;
    font-size: 1em;
  }
  h2.chapeau em{ 
    display: block;
    margin: 0;
    padding: 0
    white-space: nowrap; 
    font-size: 1.42em;
  }

  article{
    font-size: 1.15em;
  }

  .youtube iframe{ 
    width:100%; 
    height: calc((100vw - 80px) / 1.8);
  }

  .cinema li{
    padding-top: 1.2em;
  }

}

@media only screen and (max-width: 630px) {
  nav{ 
    margin: 3em 0 2em; 
    flex-direction: column; 
    align-items: center; 
    font-size: 1em;
  }
  nav a{
    padding: 0 0 20px 0;
  }
}