html {
    height: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    scroll-behavior: smooth;
    background: rgb(20, 20, 110);
    background: linear-gradient(rgb(55, 55, 128) 45% , rgb(83, 55, 128) 100%); 
    padding-top:0px;
}

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

.menu {
    /* set the text to 90 degrees */
    writing-mode: vertical-rl;
    position: fixed;
    z-index: 99;
    margin-left: 1em;
    opacity: 1;
    transition: all 0.5s ease;
    font-size: 1.5em;
    font-family: 'Elastic Stretch', sans-serif;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 1px #000;
    line-height: 1.5em;
}

.menu a {
    /* just see border without filled color */
    color: #ffffff;
    cursor: pointer;
    margin: 1.5em;
    text-shadow: 0 0 1px #000;
}

.menu a:hover {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

.menu a:active {
    -webkit-text-stroke: 1px white;
    color: transparent;
}




#content-title{
    text-align: center;
    margin: 0 auto;
    margin-top: 5em;
}

#content-title h2{
    font-size: 3em;
    font-weight: 1000;
    text-transform: uppercase;
    text-shadow: 0 0 3px #000;
    text-decoration: none;
    color: rgb(253, 245, 228);
}


#content-title p{
    font-size: 1.5em;
    font-weight: 300;
    text-transform: uppercase;
    color: rgb(253, 245, 228);
}

#content-projet {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: 5em;

}




#content-projet a {
    position: relative;
    min-width: 20em;
    max-width: 40vw;
    height: 15em;
    margin: 1em;
    overflow: hidden;
    border-radius: 1em;
    transition: all 0.3s ease-in-out;
    border: 3px solid rgb(179, 179, 179);
    background-color: rgba(124, 124, 124, 0.466);
}



#content-projet a:hover {
    transform: scale(1.1);
    border: 3px solid rgb(179, 179, 179);
    background-color: rgba(124, 124, 124, 0.466);
}



#content-projet img {
    height: 90%;
    width: 100%;
    filter: blur(5px);
    transition: all 0.3s ease-in-out;
}

#content-projet img:hover {
    filter: blur(1px);
}

.box-projet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box-projet h1 {
    position: none;
    color: rgb(253, 245, 228);
    font-size: 1.8em;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 0 3px #000;
    text-decoration: none;
    text-transform: uppercase;
}






/* query for mobile */
@media screen and (max-width: 600px) {
    .menu {
        writing-mode: horizontal-tb;
        margin-left: 0;
        font-size: 1em;
        background-color: rgb(71, 71, 71);
        padding: 1em;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .menu a {
        margin: 0.5em;
        text-shadow: 0 0 1px #000;
        font-size: 1.7em;
        font-weight: 800;
        margin-right: 1em;
    }

    #content-projet a {
        min-width: 100%;
        max-width: 100%;
        height: 15em;

    }
    #content-title {
        margin-top: 10em;
    }
    #content-title h2 {
        font-size: 2em;
    }
    #content-title p {
        font-size: 1em;
    }
    .box-projet h1 {
        font-size: 1.5em;
    }
}