* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

img, svg {
    max-width: 100%
}

.display-flex {
    display: flex;    
}

/**************************************
                HEADER
**************************************/




header {
    position: fixed;
    background-color: white;
    z-index: 1;
    top: 0;
    width: 100%;
    min-height: 80px;
    margin-bottom: 20px;
    border-bottom: solid 1px rgba(0,0,0,0.1);
    
}

header nav {   
    flex: 0 1 auto;
    width: 67%;
    align-items: center;
    padding-right: 60px;
   
}

header nav ul {    
   flex-wrap: wrap;
   
  
}

header nav ul li {    
    list-style: none;
    padding: 0 10px; 
    /*background-color: red!important;*/
}

header nav a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: rgba(0,0,0,0.6);
    text-transform: uppercase;  
    height: 30px;
    
    

}

/******************************************************
*                                                     *
*                                                     *
*   Animation sur les liens de la nav au survole      *
*                                                     *
*                                                     *
******************************************************/

header nav li a::after { 
    content:"";
    display:block;
    
    position:absolute;
    height:3px;
    width:0%;
    left:50%;
    top:20px;
    z-index:2;
    animation-fill-mode: forwards;
    animation-play-state: running;
    animation-iteration-count: infinite;
    animation-duration: 4s;
    animation-timing-function: linear;
}

header nav li a::after { 
    content:"";
    display:block;
    background:red;
    position:absolute;
    height:3px;
    width:0%;
    
    top:20px;
    z-index:2;
    animation-fill-mode: forwards;
    animation-play-state: running;
    animation-iteration-count: initial;
    animation-duration: 0.5s;
    animation-timing-function: linear;
}

@keyframes monanimation {
    0% {
        width:0%;
        left:50%;
        background:#adc;
    }
    100% {
        width:100%;
        background:#47538c;
        left: 0;
    }
}


header .desk-nav li a:hover::after { 
    animation-name: monanimation;
}

/******************************************************
*                                                     *
*                                                     *
*                                                     *
*                                                     *
*                                                     *
******************************************************/

.logo {
    display: flex;
    justify-content: flex-end;   
    flex: 0 1 auto;
    width: 33%;  
    
}

.logo img {
    padding: 0 5px;
}

.linkedin svg{	
    width: 30px;
    position: absolute;
    top: 22px;
    right: 20px;
}

/***/


#banner {
    position: relative;
    z-index: 0;
    margin-top: 90px;     
    height: 90vh;
    background-color: red;    
    background-image: linear-gradient(180deg, rgba(94,109,178,0.78) 0%, #00030c 100%), url("../images/banner.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    object-fit: cover;       
    justify-content: center;
    align-items: center;

}

.banner-text {
    padding: 0 5px;
}

#banner h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 10px;
}

#banner h1 {   
    text-align: center;
    color:#ffffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -2px;  
    font-size: 58px;
}

.banner-h1 {  
    display: block;
    text-align: center;    
    margin: 0 auto;  
    overflow: hidden;    
}


section {
    margin: 20px 0px;
    
}

#websites, #languages, #animations, #tools, #contact {
    min-height: 100vh;
}

/******************************************************
*                                                     *
*                                                     *
*      Animation du titre de droite à gauche          *
*                                                     *
*                                                     *
******************************************************/


@keyframes glissement {
    from {
        margin-left: 100%;        
        width: 100%;
    }
    to {
        margin-left: 0%;   
        width: 100%;
    }
}

.banner-h1 h1 {
    text-align: center;   
    animation-duration: 5s;
    animation-name: glissement;    
}

/******************************************************
*                                                     *
*                                                     *
*                                                     *
*                                                     *
*                                                     *
******************************************************/


footer {
    padding: 10px 0px;
    color: white;
    background-color: rgb(73, 105, 247);
}


#banner svg {
    position: absolute;
    bottom: -1px;

}

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

    #banner {     
        height: 60vh;
    }

    #banner h1 {     
        font-size: 42px;
        letter-spacing: 5px;
    }

    #banner h2 {     
        font-size: 12px;
    }

}