@import url('https://fonts.googleapis.com/css?family=Saira+Extra+Condensed');

.titre-home{
    color: white;
    font-size: 450%;
    font-weight: bold;
    text-align: center;
    vertical-align: center;
    position: relative;
    top: 4em;
}

#navbar.visible {
    transform: translateY(0);
}

.nav{
    vertical-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

body::-webkit-scrollbar {
    width: 12px; /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
    background: rgb(9,8,8); /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
    background-color: white; /* color of the scroll thumb */
    border-radius: 20px; /* roundness of the scroll thumb */
    border: 3px solid rgb(9,8,8); /* creates padding around scroll thumb */
}


.soustitre-home{
    color: white;
    font-size: 130%;
    font-weight: lighter;
    text-align: center;
    vertical-align: center;
    position: relative;
    top: 14em;
}

.fond-card{

    background-color: rgb(21, 19, 19);
    width: 75%;
}

.projet:hover{
    -ms-transform: scale(1.025); /* IE 9 */
    -webkit-transform: scale(1.025); /* Safari 3-8 */
    transform: scale(1.025);
}

.projet{
    transition: transform .2s;
}

.arrow-pulse-down:after {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5vh;
    content: "🡣"; /* Here you can change the style of the arrow */
    position: absolute;
    width: 35px; height: 35px;

    left: 0; right: 0;
    font-size: 35px;
    animation: arrow-pulse-down 1.5s linear infinite;
}
@keyframes arrow-pulse-down {
    0% {
        bottom: 40px;
        opacity: 0;
    }
    25% {
        opacity: .25;
    }
    50% {
        opacity: .5;
    }
    75% {
        opacity: .75;
    }
    100% {
        bottom: 20px;
        opacity: 1;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 2vh;
    background-image: url('https://source.unsplash.com/1920x1080/?nature');
    background-size: cover;
    background-position: center center;
}

header {
    background-image: linear-gradient(to bottom,  rgba(0,0,0,0.75) -10%,rgba(0,0,0,0) 100%);
    text-align: center;
    padding: 0.5rem 0 5rem;
    font-size: 1.25rem;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    display: inline-flex;
}

.nav-link {
    position: relative;
    padding: 1rem 0 0.5rem;
    margin: 0 1.5rem;
    color: #b6b6b6;
    text-decoration: none;
    text-transform: uppercase;

    &::after {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%) scaleX(0);
        transform-origin: 50% 50%;
        width: 100%;
        height: 1px;
        background-color: rgba(255,255,255,0.8);
        transition: transform 250ms;
    }

    &:hover {

        &::after {
            transform: translateX(-50%) scaleX(1);
        }

    }

}