* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: black;
    overflow: hidden;
}

a {
    text-decoration: none;
    list-style: none;
    color: white;
}

@font-face {
    font-family: "helveticaNowMicro";
    src: url("../font/HelveticaNowMicro-ExtraLight.woff2") format("woff2"),
        url("../font/HelveticaNowMicro-ExtraLight.woff") format("woff"),
        url("../font/HelveticaNowMicro-ExtraLight.eot") format("eot"),
        url("../font/HelveticaNowMicro-ExtraLight.ttf") format("ttf");
}

.logo {
    cursor: pointer;
}

.logo img {
    position: absolute;
    z-index: 10;
    height: 7%;
    width: auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 30px;
    opacity: 0.7;
}

.UppergradientBackground {
    position: absolute;
    width: 100%;
    height: 200px;
    z-index: 1;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}

.BottomgradientBackground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
}

#scrolDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#SocialMedia {
    position: fixed;
    top: 55px;
    left: 30px;
    z-index: 100;
}

#SocialMedia a {
    opacity: 0.7;
    transition-property: all;
    transition-duration: 0.25s;
}

#SocialMedia a:hover {
    opacity: 1;
}

#SocialMedia img {
    margin-right: 8px;
    width: 25px;
}

#SocialMedia_NAV {
    position: relative;
    padding-top: 30px;
    display: none;

}

#SocialMedia_NAV img {
    margin-right: 8px;
    width: 25px;
    opacity: 0.6;

}

/*-------------------------------------------*/
/* Arrow ------------------------------------*/
.backArrowContainer {
    position: absolute;
    width: 50px;
    height: 50px;
    cursor: pointer;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

/*fleche*/
.backArrow {
    display: block;
    /*  margin: 30px auto;*/
    margin-top: 35%;
    width: 15px;
    height: 15px;
    border-top: 3px solid #000;
    border-left: 3px solid #000;
    border-color: white;
    right: 25px;
    position: absolute;
}

.backArrow {
    transform: rotate(-45deg);
}

/*trait*/
.backArrow::after {
    content: "";
    display: block;
    width: 3px;
    height: 45px;
    background-color: white;
    transform: rotate(-45deg) translate(15px, 4px);
}

/*-------------------------------------------*/
/*-------------------------------------------*/
/* Vidéos -----------------------------------*/
/*-------------------------------------------*/
/* Recherche et developpement --------------*/

.videoContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    object-fit: cover;
    opacity: 0;
    z-index: -1;
}

.videoContent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Assemblage ----------------------------------*/
.AssemblageVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.AssemblageVideoContainer.AssemblageVideoContainerAnim {
    opacity: 1;
}

/* Vernissage ----------------------------------*/
.VernisageVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.VernisageVideoContainer.VernisageVideoContainerAnim {
    opacity: 1;
}

/* Diamantage ----------------------------------*/
.DiamantageVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.DiamantageVideoContainer.DiamantageVideoContainerAnim {
    opacity: 1;
}

/* serigraphie ----------------------------------*/
.SerigraphieVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.SerigraphieVideoContainer.SerigraphieVideoContainerAnim {
    opacity: 1;
}

/* Galvanoplastie ----------------------------------*/
.GalvanoplastieVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.GalvanoplastieVideoContainer.GalvanoplastieVideoContainerAnim {
    opacity: 1;
}

/* Metiers d'arts ----------------------------------*/
.Metier-artVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.Metier-artVideoContainer.Metier-artVideoContainerAnim {
    opacity: 1;
}

/* Usinage ----------------------------------*/
.UsinageVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.UsinageVideoContainer.UsinageVideoContainerAnim {
    opacity: 1;
}

/* Recherche et developpement ----------------------------------*/
.RDVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.RDVideoContainer.RDVideoContainerAnim {
    opacity: 1;
}

/* Recherche et developpement ----------------------------------*/
.RDVideoContainer {
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.RDVideoContainer.RDVideoContainerAnim {
    opacity: 1;
}

.title {
    position: absolute;
    text-align: right;
    color: white;
    font-size: 2em;
    z-index: 2;
    width: 100%;
    bottom: 3%;
    right: 30px;
    line-height: 1.2em;
    font-family: helveticaNowMicro;
    font-weight: 400;
}



/* ============= Nav ============= */
/* ============= Nav ============= */

/* ============= Nav ============= */
/* ============= Nav ============= */

#nav-icon4 {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 55px;
    right: 30px;
    text-align: center;
    margin-right: auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: url('cursor_big.png'), auto;
    z-index: 600;
    cursor: pointer;
    opacity: 0.7;
}

#nav-icon4:hover {
    opacity: 1;
}

#nav-icon4 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 0px;
    opacity: 1;
    left: -3px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon4 span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
    top: 10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
    top: 20px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -1px;
    left: 0px;
    background: white;
}

#nav-icon4.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
    background: white;
}

#nav-icon4.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 20px;
    left: 0px;
    background: white;
}

/* ==================  Navigation =================== */

#mySidenav {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 500;
    display: none;
}

.nav_col_gauche {
    position: absolute;
    width: 0%;
    height: 100%;
    background-color: #DFD8CB;
    top: 0;
    left: 0;
    transition-property: all;
    transition-duration: 0.5s;
}

.nav_col_gauche.colGAnim {
    width: 50%;
}

.nav_col_gauche img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 100px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transition-property: all;
    transition-duration: 0.5s;
    transition-delay: 0.25s;
}

.nav_col_gauche img.colGImgAnim {
    opacity: 1;
}

.nav_col_droite {
    position: absolute;
    width: 0%;
    height: 100%;
    top: 0;
    right: 0;
    background-color: black;
    transition-property: all;
    transition-duration: 0.5s;
}

.nav_col_droite.colDAnim {
    width: 50%;
}

.nav_col_droite_section1 {
    height: 25%;
    background-color: black;
    position: absolute;
    width: 100%;
}

.nav_col_droite_section2 {
    position: absolute;
    width: 100%;
    height: 75%;
    top: 25%;
}

.nav_col_droite_section2 ul {
    list-style: none;
    text-decoration: none;
    width: 300px;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    color: white;
    text-align: center;
    font-family: "helveticaNowMicro";
    line-height: 1.6em;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
}

.nav_col_droite_section2 ul li {
    opacity: 0.6;
}

.nav_col_droite_section2 ul li:last-child:hover {
    opacity: 1;
}

.nav_col_droite_section1 input[type=text] {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 10px;
    font-size: 0.8em;
    background-color: black;
    color: white;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid grey;
    width: 200px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
    outline: none;
}

/* ==================  trait Video =================== */

.leftContainer {
    position: absolute;
    z-index: 3;
    cursor: pointer;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    opacity: 1;
    transition-property: all;
    transition-duration: 0.2s;
}

.leftContainer:hover > img {
    opacity: 0.5;
}

.rightContainer {
    position: absolute;
    z-index: 3;
    cursor: pointer;
    top: 50%;
    right: 2%;
    width: 35px;
    height: 35px;
    opacity: 1;
    transform: translateY(-50%);
    transition-property: all;
    transition-duration: 0.2s;
}

.rightContainer:hover > img {
    opacity: 0.5;
}

.rightContainer img,
.leftContainer img {
    width: 35px;
    height: 35px;
    margin-left: 0;
    margin-right: 0;
    transition-property: all;
    transition-duration: 0.2s;
}

.rightContainer.rightContainerAnim,
.leftContainer.leftContainerAnim {
    opacity: 0;
}

.image {
    position: absolute;
    width: 70px;
    height: 70px;
}

.texte {
    position: absolute;
    width: 200px;
    margin: 60px 0 0 50px;

}

/* ==================  Responsive Video =================== */

@media screen and (max-width: 1025px) {

    .nav_col_gauche.colGAnim {
        width: 100%;
    }

    .nav_col_gauche {
        height: 50%;
        bottom: 0;
        left: 0;
        top: auto;
    }

    .nav_col_droite.colDAnim {
        width: 100%;
    }

    .nav_col_droite {
        position: absolute;
        width: 0%;
        height: 50%;
        top: 0;
        right: 0;
    }

    .nav_col_droite_section1 {
        display: none;
    }

    .nav_col_droite_section2 {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
    }

    .title {
        font-size: 1em;
    }

    #SocialMedia_NAV {
        display: block;
    }

    #SocialMedia {
        display: none;
    }

    .logo img {
        position: absolute;
        height: 7%;
        width: auto;
        text-align: center;
        margin-left: 30px;
        left: 0;
        right: 0;
    }

    .image {
        position: absolute;
        width: 40px;
        height: 70px;
        margin-left: 7%;
        margin-top: 4%;
    }

    .texte {
        position: absolute;
        width: 160px;
        margin: 60px 0 0 50px;

    }

    .leftContainer:hover > img {
        opacity: 1;
    }

    .rightContainer:hover > img {
        opacity: 1;
    }

    .nav_col_droite_section2 ul {
        line-height: 1.3em;
        font-size: 0.8em;
    }

    #nav-icon4 {
        top: 40px;
    }

    .nav_col_gauche {
        height: 35%;
    }

    .nav_col_droite {
        height: 65%;
    }

}

/* ============= Loader ============= */
/* ============= Loader ============= */

#loader {
    opacity: 1;
    transition-property: all;
    transition-duration: 0.5s;
}

#loader.loaderAnim {
    opacity: 0;
}

.loading {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: black;
}

.logoLoader {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 100px;
}



.image {
    animation: LogoRotate 5s infinite;

}

@keyframes LogoRotate {
    0% {
        -webkit-transform: rotate(0deg);

    }

    11.5% {
        -webkit-transform: rotate(60deg);

    }

    16.5% {
        -webkit-transform: rotate(60deg);

    }

    28% {
        -webkit-transform: rotate(120deg);

    }

    33% {
        -webkit-transform: rotate(120deg);

    }

    44.5% {
        -webkit-transform: rotate(180deg);

    }

    49.5% {
        -webkit-transform: rotate(180deg);

    }

    61% {
        -webkit-transform: rotate(240deg);

    }

    66% {
        -webkit-transform: rotate(240deg);

    }

    77.5% {
        -webkit-transform: rotate(300deg);

    }

    83.5% {
        -webkit-transform: rotate(300deg);

    }

    95% {
        -webkit-transform: rotate(360deg);

    }

    100% {
        -webkit-transform: rotate(360deg);

    }

}

canvas {
    mix-blend-mode: screen;
    z-index: 1;
}

#credits {
    color: white;
    font-family: "helveticaNowMicro";
    position: absolute;
    font-size: 0.6em;
    bottom: 20px;
    right: 30px;
    text-align: right;
    opacity: 0;
    line-height: 1.5em;
    transition-property: all;
    transition-duration: 0.5s;
}

#credits.creditsAnim {
    opacity: 1;
}

#credits span {
    opacity: 0.5;
}

#credits a {
    opacity: 1;
}
