@font-face {
    font-family: 'Alte Bold';
    src: url('font/AlteHaasGroteskBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Alte Regular';
    src: url('font/AlteHaasGroteskRegular.ttf') format('truetype');
}

body{
    margin: 0;
    background-color: black;
}

header{
    background-color: black;
    height: 13vh;
    overflow: hidden;
}

/* Sidenav menu */
.sidenav {
    height: 100vh;
    width: 550px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -550px;
    background-color: black;
    padding-top: 150px;
    transition: left 0.7s ease;
}
  
.sidenav ul {
    list-style-type: none;
    font-family: 'Alte Bold';
    background-color: black;
}

/* Sidenav menu links */
.sidenav a {
    padding: 8% 20% 10% 2%;
    text-decoration: none;
    font-size: 3vh;
    color: rgb(89, 89, 89);
    -webkit-transition: color 2s;
    transition: color 2s;
    display: block;
    transition: 1.5s;
}
  
.sidenav a:hover {
    color: white;
}
  
/* Active class */
.sidenav.active {
    left: 0;
}
  
/* Close btn */
.sidenav .close {
    position: absolute;
    top: 0;
    left: 2vw;
    font-size: 7vh
}

/* Bandeau supérieur */
.clickmenu{
    background-color: black;
    height:12vh;
    width:33vw;
    text-align: left;
    margin-right:80vw;
    position: absolute;
    top:0;
}

.clickmenu img{
    height:22%;
    margin-top: 4vh;
    margin-bottom: 4vh;
    margin-right: 4vh;
    margin-left: 2vh;
}
  
.logo{
    background-color: black;
    height:12vh;
    width:33vw;
    text-align: center;
    margin-left:33vw;
    position: absolute;
    top:0;
    z-index: 1;
}

.logo img{
    height:100%;
}

.name{
    background-color: black;
    height:12vh;
    width:33vw;
    text-align: right;
    margin-left:65vw;
    position: absolute;
    top:0;
}

.name img{
    height:40%;
    margin-top: 3vh;
    margin-bottom: 5vh;
    margin-right: 2vh;
    margin-left: 4vh;
}

.name h5{
    text-align: right;
    background-color: black;
    margin-top: 2.5vh;
    font-size: 2.5vh;
    font-family: 'Alte Bold';
}

/* Texte animation*/

a{
    text-decoration: none;
    color: beige;
}

.title{
    position: relative;
    margin-top: -2vw;
    animation: title 10s infinite;
    display: block;
    width: 52vw;
    height: 7vw;
    background-color: black;
    color: #f5f5dc;
    font-family: 'Alte Bold';
    font-size: 3vw;
    margin-left: 5vw;
}

@keyframes title {
    0% {
        left: 5vw;

    }
    50% {
       left: 40vw;
    }
    100% {
        left: 5vw;
    }
    
}


.attribut{
    position: relative;
    margin-top: -3vw;
    animation: attribut 10s infinite;
    display: block;
    width: 70vw;
    height: 3vw;
    background-color: black;
    text-align: right;
    color: #f5f5dc;
    font-family: 'Alte Regular';
    font-size: 2.75vw;
    margin-left: 15vw;
    padding-bottom: 2vh;
    margin-bottom: 2vw;
}

@keyframes attribut {
    0% {
        right: 5vw;

    }
    50% {
       right: 30vw;
    }
    100% {
        right: 5vw;
    }
    
}

.explicatif{
    display: block;
    height: 28vw;
    background-color: beige;
    font-family: 'Alte Regular';
    font-size: 2.5vw;
    text-align: left;
    padding-left: 1vw;
    padding-top: 1vw;
}

/* Scroll bouton*/

.lien{
    height: 9vw;
    background-color: beige;
    justify-content: center;
}

.zoneboutonun{
    height: 7vw;
    background-color: black;
    justify-content: center;
}

.bouton{
    height: 7vw;
    background-color: black;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 5%;
}

.lien:hover{
    background-color: black;
    -webkit-transition: color 2.5s;
    transition: color 2.5s;
}

.zonebouton:hover {
    background-color: beige;
    -webkit-transition: color 2.5s;
    transition: color 2.5s;
}

.lien h5{
    background-color: beige;
    margin-top: 0;
    padding-top: 2vw;
    margin-bottom: 0;
    font-family: 'Alte Bold';
    color: black;
    font-size: 4vw;
    height: 7vw;
    text-align: center;
    text-decoration-line: none;
    -webkit-transition: color 2.5s;
    transition: 1s ease-out;
}

.zonebouton h4{
    background-color: black;
    margin-top: 0;
    padding-top: 2vw;
    margin-bottom: 0;
    font-family: 'Alte Bold';
    color: beige;
    font-size: 4vw;
    height: 7vw;
    text-align: center;
    text-decoration-line: none;
    -webkit-transition: color 2.5s;
    transition: 1s ease-out;
}

h5:hover{
    text-align: center;
    color: beige;
    background-color: black;
    -webkit-transition: color 2s;
    transition:  1s ease-in;
}

h4:hover {
    text-align: center;
    color: black;
    background-color: beige;
    -webkit-transition: color 2s;
    transition:  1s ease-in;
}

/* Déroulé de page*/

.contentpageun{
    display: flex;
    background-color: black;
    height: 33vw;
    overflow: hidden;
}

.zoneimage img{
    height: 100%;
    display: flex;
    background-color: black;
    width: 50vw;
}

.nomprojet{
    width: 45vw;
    height: 6vw;
    background-color: black;
    color: #f5f5dc;
    font-family: 'Alte Bold';
    font-size: 4vw;
    display: flex;
    
    margin-left: 2vw;
    margin-right: 1vw;
}

.descriptif{
    background-color: black;
    font-family: 'Alte Regular';
    font-size: 2vw;
    color: #f5f5dc;
    height: 33vw;
    display: flex;
    margin-left: 2vw;
    margin-top: 1vw;
    width: 45vw;
}

p{
    margin-top: -1vw;
}

/* Bandeau inférieur*/

footer{
    display: flex;
    height: 10vw;
    background-color: black;
    color: white;
    font-size: 2.5vw;
}

.instagram{
    width: 25vw;
    background-color: black;
    text-align: center;
    color: #f5f5dc;
    text-decoration: none;
    font-family: 'Alte Regular';
    margin-top: 3vw;
}

.losthues{
    width: 25vw;
    background-color: black;
    text-align: center;
    color: beige;
    text-decoration: none;
    font-family: 'Alte Regular';
}

.losthues img{
    width: 32%;
    margin-top: 2.5vw;
    text-align: center;
}

.contact{
    width: 25vw;
    background-color: black;
    color: beige;
    text-align: center;
    font-family: 'Alte Regular';
    text-decoration: none;
    margin-top: 3vw;
}

.portfolio{
    width: 25vw;
    background-color: beige;
    color: black;
    text-align: center;
    font-family: 'Alte Regular';
    padding-top: 3vw;
} 

@media (max-width:900px){
 
    .title{
        position: relative;
        margin-top: -2vw;
        animation: title 10s infinite;
        display: block;
        width: 70vw;
        height: 7vw;
        background-color: black;
        color: #f5f5dc;
        font-family: 'Alte Bold';
        font-size: 3vw;
        margin-left: 5vw;
    }
    
    @keyframes title {
        0% {
            left: 5vw;
    
        }
        50% {
           left: 40vw;
        }
        100% {
            left: 5vw;
        }
        
    }
    
    
    .attribut{
        position: relative;
        margin-top: -3vw;
        animation: attribut 10s infinite;
        display: block;
        width: 80vw;
        height: 3vw;
        background-color: black;
        text-align: right;
        color: #f5f5dc;
        font-family: 'Alte Regular';
        font-size: 2.75vw;
        padding-bottom: 2vh;
        margin-bottom: 2vw;
    }
    
    @keyframes attribut {
        0% {
            right: 5vw;
    
        }
        50% {
           right: 30vw;
        }
        100% {
            right: 5vw;
        }
        
    }

    .explicatif{
        display: block;
        height: 60vw;
        background-color: beige;
        font-family: 'Alte Regular';
        font-size: 4vw;
        text-align: left;
        padding-left: 1vw;
        padding-top: 1vw;
    }
    .contentpageun{
        display: block;
        background-color: black;
        height: auto;
        overflow: hidden;
    }
    .zoneimage img{
        width: 100%;
        height: auto;
        display: flex;
        background-color: black;

    }
    .zoneboutonun{
        height: 10vw;
        background-color: black;
        justify-content: center;
    }
    
    .bouton{
        height: 10vw;
        background-color: black;
        display: flex;
        margin-left: auto;
        margin-right: auto;
        width: 5%;
    }

    .bouton img{
        height: 100%;
    }

    .nomprojet{
        width: 100%;
        height: 9vw;
        background-color: black;
        color: #f5f5dc;
        font-family: 'Alte Bold';
        font-size: 8vw;
        display: flex;
        margin-bottom: 4vw;
        margin-top: 4vw;
        margin-left: 4vw;
    }

    .descriptif{
        height: auto;
        width: 90%;
        font-size: larger;
        margin-left: 4vw;
        justify-content: center;

    }

    .zonebouton h4{
        background-color: black;
        font-family: 'Alte Bold';
        color: beige;
        font-size: 6vw;
        height: 7vw;
        text-align: center;
        text-decoration-line: none;
        -webkit-transition: color 2.5s;
        transition: 1s ease-out;
        margin-bottom: 10vw;
    }
    

    footer{
        display: block;
        height: 10vh;
        background-color: black;
        color: white;
        font-size: 6vw;
        margin-top: 7vw;
    }

    .instagram{
        width: 100vw;
        height: 15vw;
        background-color: black;
        text-align: center;
        color: beige;
        text-decoration: none;
        font-family: 'Alte Regular';
    }
    
    .losthues{
        width: 100vw;
        background-color: black;
        text-align: center;
        color: beige;
        text-decoration: none;
        font-family: 'Alte Regular';
    }
    
    .losthues img{
        width: 20%;
        margin-top: 2vw;
        margin-bottom: 2vw;
        text-align: center;
    }
    
    .contact{
        width: 100vw;
        height: 15vw;
        background-color: black;
        color: beige;
        text-align: center;
        font-family: 'Alte Regular';
        text-decoration: none;
    }
    
    .portfolio{
        width: 100vw;
        height: 15vw;
        background-color: beige;
        color: black;
        text-align: center;
        font-family: 'Alte Regular';
    } 
    
    
    
}