
@font-face {
    font-family: 'Fortescue Pro';
    src: url('../fonts/fortescuepro-regular-webfont.woff2') format('woff2'),
    url('../fonts/fortescuepro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

html,
body{

    background-color: #cccccc;
    font-family: 'Fortescue Pro';
    font-size: 14px;
    letter-spacing: 0.02em;

}

#bg-image {

    position: fixed;
    top: 80px;
    left: 0;
    width: 0vw; /* 69vw */
    bottom: 80px;
    overflow: hidden;
    z-index: 1;
}

#bg-image.active{
    width: 69vw;
}

#bg-image div{
    width: 69vw;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: url(../img/sorties-image.jpg) center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
}

a{
    position: fixed;
    color: #fff;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    right: 50px;
    text-decoration: none;
    opacity: 0;
    -webkit-transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    -moz-transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    -ms-transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    -o-transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    z-index: 10;
}
a:before,
a:after{

    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: -4px;
    left: 0;
    content: "";

}

a:after{
    height: 2px;
    bottom: -6px;
    width: 0;
    -webkit-transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    -moz-transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    -ms-transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    -o-transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
    transition: all 0.3s cubic-bezier(0.455,  0.030, 0.515, 0.955);
}

a.active{
    opacity: 1;
}

a:hover:after{
    width: 100%;
}

#instagram{
    top: 103px
}

#facebook{
    bottom: 103px;
}

#logo{
    width: 100%;
    overflow: hidden;
    height: calc(100vw * 0.25);
    position: fixed;
    top: 22%;
    left: 0;
    z-index: 5;
    text-indent: -9999px;
}

#logo:before{
    width: 100vw;
    height: calc(100vw * 0.25);
    position: absolute;
    left: 0;
    top: 0;
    background: url(../img/logo.png) 0 0 no-repeat;
    background-size: 100vw auto;
    content: "";
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: all 0.5s cubic-bezier(0.455,  0.030, 0.515, 0.955);;
    -moz-transition: all 0.5s cubic-bezier(0.455,  0.030, 0.515, 0.955);;
    -ms-transition: all 0.5s cubic-bezier(0.455,  0.030, 0.515, 0.955);;
    -o-transition: all 0.5s cubic-bezier(0.455,  0.030, 0.515, 0.955);;
    transition: all 0.5s cubic-bezier(0.455,  0.030, 0.515, 0.955);;
}

#logo.active:before{
    -webkit-transform: translateY(0%)!important;
    -moz-transform: translateY(0%)!important;
    -ms-transform: translateY(0%)!important;
    -o-transform: translateY(0%)!important;
    transform: translateY(0%)!important;
}


@media (max-width: 768px){
    #bg-image{
        top: 50px;
        bottom: 50px;
    }
    #bg-image.active {
        width: calc(100vw - 50px);
    }
    #bg-image div{
        width: calc(100vw - 50px);
    }
    a{
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }

    #logo{
        top: 40%
    }

    #instagram{
        left: 25px;
        bottom: 25px;
        top: auto;
        right: auto;
    }
    #facebook{
        right: 25px;
        bottom: 25px;
        top: auto;
    }
}