/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/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, 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; }

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, menu, nav, section, summary {
  display: block; }

/* Variables =================================================== */
@-webkit-keyframes fade {
  0% {
    opacity: 0; }

  15% {
    opacity: 1; }

  25% {
    opacity: 1; }

  35% {
    opacity: 0; }

  100% {
    opacity: 0; } }

@-moz-keyframes fade {
  0% {
    opacity: 0; }

  15% {
    opacity: 1; }

  25% {
    opacity: 1; }

  35% {
    opacity: 0; }

  100% {
    opacity: 0; } }

@keyframes fade {
  0% {
    opacity: 0; }

  15% {
    opacity: 1; }

  25% {
    opacity: 1; }

  35% {
    opacity: 0; }

  100% {
    opacity: 0; } }

.background-gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; }
  .background-gallery li {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: 50% 50%;
    background-size: cover;
    opacity: 0; }
  .background-gallery li:nth-child(1) {
    background-image: url(../images/bg1.jpg);
    -webkit-animation: fade 20s linear infinite 0s;
    -moz-animation: fade 20s linear infinite 0s;
    animation: fade 20s linear infinite 0s; }
  .background-gallery li:nth-child(2) {
    background-image: url(../images/bg2.jpg);
    -webkit-animation: fade 20s linear infinite 5s;
    -moz-animation: fade 20s linear infinite 5s;
    animation: fade 20s linear infinite 5s; }
  .background-gallery li:nth-child(3) {
    background-image: url(../images/bg3.jpg);
    -webkit-animation: fade 20s linear infinite 10s;
    -moz-animation: fade 20s linear infinite 10s;
    animation: fade 20s linear infinite 10s; }
  .background-gallery li:nth-child(4) {
    background-image: url(../images/bg4.jpg);
    -webkit-animation: fade 20s linear infinite 15s;
    -moz-animation: fade 20s linear infinite 15s;
    animation: fade 20s linear infinite 15s; }
  .background-gallery:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/overlay.png);
    box-shadow: inset 0 0 400px -100px black; }

.no-cssanimations .background-gallery li:first-child {
  background-image: url(../images/bg1.jpg);
  opacity: 1; }

body {
  font-family: "Droid Sans", sans-serif;
  font-size: 1em;
  background: #000;
  color: #fff; }

a {
  text-decoration: none; }

hgroup {
  text-align: center;
  margin-top: 15.625em;
  font-weight: normal;
  position: relative;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.8); }

hgroup#galerie
{
    text-align: center;
    margin-top: 4em;
    font-weight: normal;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.8);
    width: 90%;
    margin-left: 5%;
}

div#contenu
{
    margin-top: 1em;
}

ul#filtre
{
    margin-bottom: 1em;
}

ul#filtre li
{
    display: inline;
    text-transform: capitalize;
    margin-right: 1em;
    border: 1px solid black;
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
}

ul#filtre li#ouv_all,ul#filtre li#ouv_mur
{
    display: inline-block;
    text-transform: capitalize;
    border: 1px solid black;
    padding: 2px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1em;
    float: left;
}

ul#filtre li.filtre-actif
{
    background: gray;
    color: white;
}

h1 {
  font-family: Satisfy, serif;
  font-size: 8em; }

h1.page_title,h1.page_title2 {
  font-family: Satisfy, serif;
  font-size: 4em; 
  margin-top: -1em;}

h1.page_title2 { 
  margin-top: 0em;
  font-size: 5em;
}

#titre_contact
{
    font-family: Satisfy, serif;
    font-size: 3em;
}

h2 {
  font-size: 2.25em; }

h2.sstitre {
  font-family: Satisfy, serif;
  font-size: 3em; }

h6 {
  font-family: Satisfy, serif;
  font-size: 1em;
  margin-top: 5px;
}

#name,#email,#msg
{
    margin-bottom: 5px;
}

#email
{
    width: 20em;
}

#btn_submit
{
    font-family: Satisfy, serif;
    background: black;
    color: white;
    font-size: 1.5em;
    margin-top: 5px
}

textarea
{
    resize: none;
    width: 40em;
    height: 7em;
}

nav, footer {
  position: fixed;
  width: 100%;
  height: 50px;
  background: black;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100; }

nav {
  top: 0;
  left: 0;
  text-align: center;
  display: inline; }

nav a {
  display: inline-block;
  margin-right: -4px;
  padding: 0 20px;
  line-height: 50px;
  color: #fff;
  -webkit-transition: .8s;
  -moz-transition: .8s;
  -o-transition: .8s;
  -ms-transition: .8s;
  transition: .8s; }

nav a:hover {
  background: #303030;
  background: rgba(255, 255, 255, 0.3); }

footer {
  bottom: 0;
  text-align: center;
  line-height: 50px;
  font-size: 0.875em; }
  footer a span {
    font-family: Satisfy, serif;
    color: darkgreen; }

div#footer_content
{
    position: relative;
}

div#footer_info
{
    position: absolute;
    left: 5%;
}
  
div#compteur
{
    position: absolute;
    right: 5%;
}

hgroup#propos
{
    width: 70%;
    margin-left: 15%;
    background: darkgray;
    opacity: 0.9;
    color: black;
    text-shadow: none;
    padding: 15px;
}

hgroup#propos h2
{
    font-family: Satisfy, serif;
    font-size: 3.5em;
}

hgroup#propos h3
{
    font-family: Satisfy, serif;
    font-size: 1.8em;
}
  
  /*  ! RESPONSIVE !  */
@media only screen and  (max-width: 877px) {
     ul#filtre li
    {
        display: inline-block;
        margin-bottom: 0.5em;
    }
    #email
    {
        width: 15em;
    }
    textarea
    {
        resize: none;
        width: 35em;
        height: 5em;
    }
    hgroup {
    font-size:.8em;
    margin-top: 10em; }
  }

@media only screen and  (max-width: 480px) {
  nav, footer {font-size: .7em;}		
  hgroup {
    font-size:.5em;
    margin-top: 10em; } }

@media only screen and  (max-width: 390px)
{
    nav, footer {font-size: .5em;}
}