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


@import url('https://fonts.googleapis.com/css2?family=Ibarra+Real+Nova:wght@600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Ibarra+Real+Nova:wght@600&family=STIX+Two+Text:wght@700&display=swap');


html{
    scroll-behavior: smooth;
}

body{
    position: relative;
    font-family: 'ibarra real nova', monospace;
    background-color: black;
    
}

a{
    text-decoration: none;
    color: #E6DDD0;
    font-family: 'ibarra real nova', monospace;

}

a::visited{
    text-decoration: none;
    color: #ffffff;
    font-family: 'ibarra real nova', monospace;
}

/* NAVBAR */


nav li{
    list-style: none;
    font-size: 16px;
}

nav{
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    font-family: 'ibarra real nova', monospace;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-top: 20px;
    background-color: black;
}

nav a{
    color: #ffffff;
    text-decoration: none;

}

nav span{
    display: flex;
    width: 85vw;
    justify-content: space-between;
}

nav .logo{
    display: none;
}

nav h1{
    font-family: 'ibarra real nova', monospace;
    font-weight: 300;
    font-size: 16px;
    align-self: flex-end;
    margin-right: 7.5vw;
    margin-top: 5px;
    margin-bottom: 15px;
    color: #ffffff;
}

@media screen and (min-width:1020px) {
    nav{
        flex-direction: row;
        justify-content: space-between;
        font-size: 16px;
        padding: 20px 50px;
        box-sizing: border-box;
        background-color: black;
        position: fixed;
        margin-top: 0px;
        color: #ffffff;
    }

    nav .logo{
        display: flex;
        height: 50px;
    }


    nav span{
        width: 30%;
    }

    nav h1{
        font-family: 'ibarra real nova', monospace;
        margin-right: 0;
        margin-top: 0;
        width: 30%;
        text-align: end;
        color: #ffffff;
    }
}


main{
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    align-content: center;
    position: relative;
    overflow: hidden;
}

main .image{
    width: 100vw;
    height: 60vh;
    background-size: cover;
}

main .image-contact{
    width: 100vw;
    height: 60vh;
    background-size: cover;
    background-position-x: -15px ;
}

.container .titre{

    width: 100%;
    position: absolute;
    bottom: 0;
}

.container .text {
    margin-left: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin-top : 10%
}

.container p{
    color: #E6DDD0;
    font-family: 'ibarra real nova', monospace;
    margin-top: 10px;
}


@media screen and (min-width:1020px) {
    main .image{
        height: 60vh;
        background-position: 0px;
    }

    .container .titre{
        width: 40%;
        right: 0;
        bottom: 0;
    }

    .container .text{

      
        margin-left: 50%;
        margin-top : 10%
    }

    
}













/* BIOGRAPHIE */


main{
    height: auto;
}

main .container .titre{
    position: relative;
}

.container .text-bio{
    color: #E6DDD0;
    font-size: 16px;
    font-family: 'Karla';
    width: 85vw;
    overflow-y: hidden;
    height: auto;
    margin-right: 0;
    margin-top: 30px;
    position: relative;
}

.container .text-bio p{
    font-family: 'Karla';
    overflow-y: scroll;
    height: auto;
}

main .image{
    height: 50vh;
    height: 30vh;
    background-size: 270%;
    background-position-y: -70px;
    background-position-x: -540px;
}

.container .titre{
    background-color: black;
    width: 70%;
}

main .container{
    display: flex;
    align-items: center;
    flex-direction: column;
}


@media screen and (min-width:1020px) {
    .container .text-bio{
        width: 30%;
        margin-left: 40px;
        min-width: 600px;
    }

    main{
        height: 100vh;
    }

    main .container .titre{
        position: absolute;
        bottom: 0;
        right: 0;
        width: 40%;
    }

    main .container{
        display: flex;
        align-items: flex-start;
    }

    .container .titre{
        background-color: transparent;
    }


main .image{
    height: 50vh;
    height: 55vh;
    background-size: 100%;
    background-position-y: -210px;
    background-position-x: 0;
}
    
}