html, body, header, section, article {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body{
    background: #2c3e50;
}

header{
    position: absolute;
    z-index: 5;
}

header > img {
    display: block;
    height: 10%;
    width: auto;
    margin: 5% auto;
}

section#turn{
    display: none
}

@media (max-width: 721px) and (orientation: portrait) {
    section#slide {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        overflow: hidden;
    }

    section#slide > article{
        display: inline-block;
        height: auto;
        width: auto;
    }

    section#slide > article > *{
        display: block;
        margin: 0 auto;
    }

    section#slide > article > img{
        display: block;
        max-width: 95%;
    }

    section#slide > article > #texte{
        display: block;
        margin-top:1em;
        max-width: 85%;
        color: white;
        font-size: 101%;
        overflow: hidden
    }
}

@media (max-width: 721px) and (orientation: landscape) {

    body{
        overflow: hidden;
    }
    section#slide {
        display: none;
    }
    section#turn {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
    }
    section#turn > img {
        margin: 0 auto;
    }
}

@media (min-width: 722px) {
    header {
        height: auto;
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transition: all 1s;
                transition: all 1s;
    }

    header[video="true"] {
        background: rgba(0,0,0,.6);
        box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.6);
    }

    header > img{
        margin-left: 2em;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    section#slide {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        overflow: hidden;
        -webkit-transition: all .3s;
                transition: all .3s;
    }

    section#slide > article.image{
        display: block;
        height: auto;
        min-width: 100%;
        text-align: center;
        position: relative;
        -webkit-transition: all 1s;
                transition: all 1s;
        -webkit-transition-timing-function: ease-in-out;
                transition-timing-function: ease-in-out
    }

    section#slide > article.image > *{
        display: inline-block;
        width: 40%;
        max-width: 35em;
        vertical-align: middle;
        margin-left: 2em;
        margin-right: 2em;
    }

    section#slide > article.image > img{
        display: inline-block;
        max-width: 50em;
        vertical-align: middle;
        margin-left: 2em;
        margin-right: 2em;
    }
    
    section#slide > article.image > #texte{
        text-align: left;
        color: white;
        margin-left: 2em;
        margin-right: 2em;
        font-size: 110%;
        overflow: hidden;
        width: auto;
        padding: .2em 1em;
        background: rgba(255,255,255,.1);
        border-radius: .5em;
        border: 2px solid rgba(255,255,255,.4);
    }

    section#slide > video{
        display: inline-block;
        min-height: 100%;
        max-height: 100%;
        min-width: 100%;
        background: #000;
        margin-left: -000%;
        -webkit-transition: all 1s;
                transition: all 1s;
        -webkit-transition-timing-function: ease-in-out;
                transition-timing-function: ease-in-out
    }
}
