@font-face {
    font-family: 'antonioregular';
    src: url('antonio-regular-webfont.eot');
    src: url('antonio-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('antonio-regular-webfont.woff') format('woff'),
         url('antonio-regular-webfont.ttf') format('truetype'),
         url('antonio-regular-webfont.svg#antonioregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* END FONT-FACE */




body {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    background: #242424;
}
.container {
    margin: 0px auto;
    max-width: 1024px;
    width: 100%;
    height: 100%;
    font-family: 'antonioregular';
}
video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    opacity: 0.5;
}





/* HEADER */

header {
    padding: 0;
    margin: 0;
    height: 60px;
    width: 100%;
    position: fixed;
    top: -50px;
    left: 0;
    background: #242424;
    -webkit-transition: .5s;
    z-index: 99999;
    font-size: 12px;
    font-family: 'Droid Sans Mono';
}

    header:hover {
        height: 80px;
        width: 100%;
        top: 0px;        
        background: #242424;
        -webkit-transition: .5s;
    }

#logo{
    position: absolute;
    width: 60px;
    height: 60px;
    top: 70px;
    left:10px;
    -webkit-transition: .5s;
    cursor: pointer;
    opacity: 0.5;
}

    header:hover #logo {
            position: absolute;
            width: 60px;
            height: 60px;
            top: 10px;
            left: 10px;
            -webkit-transition: .5s;
        }


#burger{
    position: absolute;
    width: 60px;
    height: 60px;
    top: 70px;
    right: 10px;
    -webkit-transition: .5s;
    cursor: pointer;
    opacity: 0.5;
}

    header:hover #burger {
            position: absolute;
            width: 60px;
            height: 60px;
            top: 10px;
            right: 10px;
            -webkit-transition: .5s;
            opacity:0;
        }

header>ul {
    display: block;
    margin: 10px auto;
    text-align: center;
    color: white;
}
header>ul>li {
    display: inline;
}
header>ul>li>a {
    width: 100px;
    display: inline-block;
    text-decoration: none;
    color: white;
    margin: 10px;
    padding: 10px;
    font-size: 1.1em;
}
header>ul>li>a:hover {
    border-bottom: 2px solid;
}






/* MAIN */

main {
    display: block;
    max-width: 900px;
    width 100%;
    margin: 300px auto;
}


#intro {
    padding: 150px 0 0 0;
    position: relative;
    height: 100%;
}

#intro-down.down {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 40px 0 40px;
    border-color: #ffffff transparent transparent transparent;
    position: absolute;
    top: 450px;
    left: calc(50% - 40px);
}
#intro>a.down {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 40px 0 40px;
    border-color: #ffffff transparent transparent transparent;
    position: absolute;
    left: calc(50% - 40px);
    top: 260px;
}
h1 {
    text-transform: uppercase;
    color: #ffffff;
    font-size: 4em;
    text-align: center;
    border: 10px solid;
    max-width: 600px;
    width: 100%;
    height: 90px;
    margin: 0 auto 300px;
    background: #242424;
    padding: 20px;
}
#intro h2 {
    font-size: 3em;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    padding: 12px;
    border: 10px solid #ffffff;
    width: 230px;
    margin: 0 auto 90px;
    background: #242424;
}
#intro p {
    font-size: 1em;
    line-height: 160%;
    color: #ffffff;
    max-width: 900px;
    width: 100%;
    margin: 0 auto 70px; 
    font-family: 'Droid Sans Mono';
}
#commencez {
    margin: 300px 0 0 0;
    padding: 120px 0 0 0;
    position: relative;
}
#commencez>ul {
    max-width: 900px;
    width: 100%;
    margin: 130px auto;
    padding: 0;
}
#commencez>ul li {
    list-style: none;
    display: inline-block;
    width: 100px;
    height: 110px;
    margin-right: 32%;
    padding: 0;
}
#commencez>ul li:first-child {
    background: url(img/maison-li.svg) no-repeat;
    background-size: cover;
}
#commencez>ul li:nth-child(2) {
    background: url(img/sapin-li.svg) no-repeat;
    background-size: cover;
}
#commencez>ul li:last-child {
    margin-right: 0;
    background: url(img/photos-li.svg) no-repeat;
    background-size: cover;
}
#commencez>ul>li>p {
    position:relative;
    top: 120px;
    font-size: 1em;
    font-style: italic;
    text-align: left;
}
#commencez p {
    font-size: 1em;
    color: #ffffff;
    text-align: center;
    font-family: 'Droid Sans Mono';
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}
#commencez a {
    font-size: 2em;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px;
    border: 10px solid #ffffff;
    display: block;
    width: 240px;
    margin: 140px auto;
    text-align: center;
    z-index: 999;
    transition: all .2s;
}
#commencez a:hover {
    background: #ffffff;
    color: #242424;
    border: 10px solid #ffffff;
    transition: all .2s;
}
#bg_commencez {
    width: 100%;
    height: 100%;
    background: url('img/1.JPG');
    background-size: cover;
    z-index: 000;
}




/* FOOTER */



#mute {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0.5;
}

#mute.on {
    background: url(img/muteOn.svg);
    background-size: cover;
}

#mute.off {
    background: url(img/muteOff.svg);
    background-size: cover;
}








/*  MOBILE  */

@media screen and (max-width: 900px) {
    #popup {
        display: block;
    }
    main.popupblack {
        opacity: 0.2;
    }
    #commencez>ul li {
        display: block;
        margin: 50px auto;
        text-align: center;
    }
    #commencez>ul li:last-child {
        margin: 0 auto;
    }
    h1 {
        font-size: 2em;
        width: 200px;
    }
    header {
        height: 60px;
        width: 100%;
        position: fixed;
        top: 0px;
        left: 0;
        font-size: 10px;
    }
    header ul {
        width: 100%;
        padding: 0;
        margin: 20px 0 0 0;
    }
    header ul li a{
        display: inline;
        width: 40px;
    }
    
}





 /* POPUP */

#popup {
    max-width: 400px;
    width: 100%;
    background: #ffffff;
    font-family: 'Droid Sans Mono';
    padding: 10px;
    position: fixed;
    top: 10px;
    margin-left: -50%;
    left: 50%;
    z-index: 99999;
    display: none;
}
#popup #ok {
    display: inline-block;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
    border: 1px solid black;
}
#popup #ok:hover {
    background: #000;
    color: #ffffff;
    cursor: pointer;
}
.popupblack{
    opacity: 1;
}
#popup.popupclose{
    display: none;
}
