@font-face {
    font-family: "test";
    src: url("ressources/FONT/HelveticaNeue-Medium.otf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

*{
    padding: 0;
    margin: 0;
    font-family: "test", serif;
}

body{
    background-color: #18181e;
}


nav{
    background-color: #0E0E10;
}

svg
{
    width: 150px;
    height: 150px;
    float: left;
}


.ul1 {
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    float: left;
    padding-left: 50px;
    padding-top: 40px;
}

.li1{
    display: inline-block;
    margin-right: 15px;
    margin-top: 20px;
}

.a1{
    display: block;
    color: #DCDBD7;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 3px;
}

.li1:hover{
    border-bottom: #DCDBD7 solid 2px;
//transform: translateY(-10px);
}

/*.content:hover{
    background-color: rgba(0,0,0,0.8);
}

.content::before{
    content: "Lorem";
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    opacity: 0;
    transition: 0.3s;
    color: white;
    z-index: 1;
    padding-left: 10px;
}



.content:hover::before{
    opacity: 1;
}*/

.sousNav{
    top: 15%;
    position: absolute;
    height: 100px;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: -1;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

.ul2 {
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding-top: 40px;
}

.li2{
    display: inline-block;
    margin-right: 30px;
    margin-top: 20px;
}

.a2 {
    display: block;
    color: #DCDBD7;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;

}

.a3 {
    display: block;
    color: #DCDBD7;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;

}

.li2:nth-child(1){
    border-bottom: #459fe9 solid 4px;
}

.li2:nth-child(2):hover{

    transition: all ease-in-out 0.5s;
    border-bottom: #8857d7 solid 4px;
    text-shadow: 0 -16px 0 #8857d7, 0px -22px 15px #5b2ca6;
}

.li2:nth-child(2){

    transition: all ease-in-out 0.5s;
    border-bottom: #8857d7 solid 0px;
    text-shadow: 0 0px 0 #8857d7;
}

.li2:nth-child(1):hover{

    transition: all ease-in-out 0.4s;
    border-bottom: #459fe9 solid 4px;
    text-shadow: 0 -16px 0 #459fe9, 0px -16px 15px #4864c4;
}

.li2:nth-child(1){

    transition: all ease-in-out 0.4s;
    border-bottom: #459fe9 solid 4px;
    text-shadow: 0 0px 0 #459fe9;
}

.a3:hover{
    -webkit-animation:rainbow 1s infinite;
    -ms-animation:rainbow 1s infinite;
    -o-animation:rainbow 1s infinite;
    animation:rainbow 1s infinite;
    animation-delay: 1s

}

@-webkit-keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}
@-ms-keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}
@-o-keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}
}
@keyframes rainbow {
0% {color: #ff0000;}
10% {color: #ff8000;}
20% {color: #ffff00;}
30% {color: #80ff00;}
40% {color: #00ff00;}
50% {color: #00ff80;}
60% {color: #00ffff;}
70% {color: #0080ff;}
80% {color: #0000ff;}
90% {color: #8000ff;}
100% {color: #ff0080;}

}

.li2:nth-child(3):hover{

    transition: all ease-in-out 0.5s;
    border-bottom: #009688 solid 4px;
    text-shadow: 0 -16px 0 #009688, 0px -16px 15px #0d6960;
}

.li2:nth-child(3){

    transition: all ease-in-out 0.5s;
    border-bottom: #009688 solid 0px;
    text-shadow: 0 0px 0 #009688;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index:1000;
}

.wrapper2 .button{
    height: 60px;
    width: 60px;
    float: right;
    padding-top: 40px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.wrapper2 .button .icon{
    display: inline-block;
    height: 60px;
    width: 60px;
    text-align: center;
    box-sizing: border-box;
    line-height: 60px;
    transition: all 0.1s ease-in;
    color: white;
}
.wrapper2 .button:nth-child(1):hover .icon{
    color: #4267B2;
}
.wrapper2 .button:nth-child(2):hover .icon{
    color: #E1306C;
}
.wrapper2 .button:nth-child(3):hover .icon{
    color: #ff0000;
}

.wrapper2 .button .icon i{
    font-size: 25px;
    line-height: 60px;
    transition: all 0.3s ease-out;
}

.wrapper2 .button:nth-child(1){
    padding-right: 20px;
}

.wrapper{
    display: flex;
    flex-wrap: wrap;
    position: static;
    width: 95%;
    height: 95%;
    justify-content: center;
    z-index: -1;
    margin-top: 24px;
}

.content{
    height: 251px;
    width: 443px;
    margin: 0rem;
    overflow: hidden;
}

img{
    height: 88%;
    width: 100%;
    object-fit: cover;
    outline: none;
    border: none;
}

img:active
{
   transform: scale(1.2);
   transition: 1s;
}

img:not(:active)
{
   transition: 0.5s;
}

h1 {
    font-size: 2rem;
    color: #DCDBD7;
    height: 38px;
    margin-top: 0%;
    margin-left: 6.4%;
    //text-shadow: 4px 2px 0px #0076a7;
}

h2 {
    font-size: 1rem;
    color: #DCDBD7;
    height: 20px;
    margin-left:6.4%;
    font-weight:lighter;
    font-style:italic;
}

h3 {
    font-size: 1rem;
    color: #DCDBD7;
    height: 20px;
    margin-left:6.4%;
    font-weight:lighter;
}

h4 {
    font-size: 0.7rem;
    color: #DCDBD7;
    font-weight:lighter;
    text-align: center;
}


section {
    width: 100%;
    min-height: 169vh;
}
section2 {
    min-height: 14vh;
    width: 100%;
}

#section2 {
    overflow: overlay;
    margin-top: 32vh;
}

#section2 .container {
    width: 100%;
    height: 100%;
    position: static;
}

#section4 {
    overflow: overlay;
    position: relative;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#section4 .container{
    display: flex;
    float: left;
    text-align: center;
    width:100%;
    height:100%;
}


#section3 {
    overflow: overlay;
    margin-top: 5vh;
}

#section3 .container{
    width: 100%;
    height: 100%;
    position: static;
}

.videoContainer{
    top: 67vh;
    left: 12vh;
    position: static;
    justify-content: center;
    z-index: 500;
    overflow: hidden;
    display: flex;
    margin-bottom: 30px;
}


.videoContainer .video{
   height: 45rem;
    width: 80rem;
    margin: 0.4rem;
    overflow: hidden;
}

.videoContainer .video iframe{
    height: 100%;
    width: 100%;
    object-fit: cover;
    outline: none;
    border: none;
}

.videoContainer .video video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    outline: none;
    border: none;
}

.videoContainer .video .active{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 90%;
    width: 90%;
    z-index: 1;
}

/.col-size {
  width: 0%;
  padding: 3em 0 0 0 !important;
  background: #4793d0;
  position: absolute;
  top: 32.56%;
  animation: transition ease-out 0.4s forwards;
  opacity:1;
}

/.col-size2 {
  width: 0%;
  padding: 3em 0 0 0 !important;
  background: #83bc58;
  position: absolute;
  top: 208.56%;
  animation: transition ease-out 0.4s forwards;
  opacity:1;
}

@keyframes transition {
0%   { width: 0% ; }
100% { width: 5.8% ; }

}

@keyframes transitiontxt {
0%   { opacity:0; }
100% { opacity:1; }

}

#preloader{
    background: #0E0E10 url("ressources/FINAL-CUBE-ALPHA-GIF-50prc.gif") no-repeat center ;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 1000;
}

@media all and (max-width : 600px) {
    svg{
        width:120px;
        height:120px;
    }
    ul{
        padding-left: 0px;
        padding-top: 30px;
        position: absolute;
        left: 3%;
    }
    .ul1{
        padding-left: 0px;
        padding-top:32px;
        position: absolute;
        left: 141px;
    }
    #section2{
        top:35%;
    }
    .col-size{
        display:none;
    }
    h1 {
    font-size: 2rem;
    height: 34px;
    margin-top: 0%;
    margin-left: 2.5%;
    }
    h2 {
    font-size: 0.9rem;

    height: 9px;
    margin-left: 2.5%;
    }
    h3 {
    font-size: 0.6rem;
    height: 12px;
    margin-left: 2.5%;
    }
    .content{
    height: 224px;
    }
    #section3{
        top:12%
    }
    section {
    min-height: 655vh;
    }
    .wrapper2{
    }
    #section4{
    }
    .col-size2 {
        display:none
    }
    .col-size {
        display:none
    }
}