* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
    text-decoration: none;
    color: black;
}


body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.card-list {
    display: block;
    margin: 1rem auto;
    padding: 0;
    font-size: 0;
    text-align: center;
    list-style: none;
}

.card {
    display: inline-block;
    width: 90%;
    max-width: 20rem;
    margin: 1rem;
    height: 410px;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 3rem -1rem rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.card:hover {
    transform: translateY(-0.5rem) scale(1.0125);
    box-shadow: 0 0.5em 3rem -1rem rgba(0, 0, 0, 0.5);
}

.card-description {
    display: block;
    padding: 1em 0.5em;
    color: #515151;
    text-decoration: none;
}

.card-description>h2 {
    margin: 0 0 0.5em;
}

.card-description>p {
    margin: 0;
}

.card-image>img {
    display: block;
    width: 100%;
    height: 213.33px;
    object-fit: fill;

}

.card-image>img {
    display: block;
    width: 100%;
}

.card-image.is-loaded {
    filter: none;
    transition: filter 1s;
}

section {
    display: flex;
    align-self: self-end;
    text-align: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    padding-bottom: 10px;
}

@media screen and (max-width: 800px) {
    body {
        padding-top: 200px;
    }

    section {
        display: none;
    }

}


/*     
███╗░░░███╗███████╗███╗░░██╗██╗░░░██╗
████╗░████║██╔════╝████╗░██║██║░░░██║
██╔████╔██║█████╗░░██╔██╗██║██║░░░██║
██║╚██╔╝██║██╔══╝░░██║╚████║██║░░░██║
██║░╚═╝░██║███████╗██║░╚███║╚██████╔╝
╚═╝░░░░░╚═╝╚══════╝╚═╝░░╚══╝░╚═════╝░ 
*/
.displaybleu{
    display: block;
}
.displayblanc{
    display: none;
}
.navbar {
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.16);
    top: 0;
    position: fixed;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.2em;
    background-color: white;
}

.navbar a img {
    height: 40px;
    position: absolute;
    top: 21px;
    left: 50px;
}

.navbar ul {
    list-style-type: none;
}

.navbar a {
    color: rgb(0, 0, 0);
    transition: all .3s;
    text-decoration: none;
}

.navbar .logo {
    font-size: 2em;
    font-weight: bold;
}

.navbar .nav-links ul {
    display: flex;
}

.navbar .nav-links ul li {
    margin: 0 25px;
}

.navbar .nav-links ul li .now {
    color: #0096c7;
    font-size: 1.2em;
    font-weight: bolder;
}

.navbar .menu-hamburger {
    position: absolute;
    width: 35px;
    right: 50px;
    top: 50px;
}

.navbar .menu-hamburger {
    display: none;
    position: absolute;
    top: 50px;
    right: 30px;
    width: 35px;
}

.nav-links .mobile-menu {
    margin-left: 0;
}

.navbar a:hover {
    color: rgb(126, 203, 255);
    transition: all .3s;
}


.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamRotate.active {
    transform: rotate(45deg);
}

.hamRotate180.active {
    transform: rotate(180deg);
}

.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: #000000;
    stroke-width: 5.5;
    stroke-linecap: round;
}

.ham5 .top {
    stroke-dasharray: 40 82;
}

.ham5 .bottom {
    stroke-dasharray: 40 82;
}

.ham5.active .top {
    stroke-dasharray: 14 82;
    stroke-dashoffset: -72px;
    overflow: hidden;
}

.ham5.active .bottom {
    stroke-dasharray: 14 82;
    stroke-dashoffset: -72px;
    overflow: hidden;
}

@media screen and (max-width: 800px) {
    .navbar li:first-child {
        width: 150px;
        height: 50px;
        z-index: 5;
    }

    .displaybleu{
        display: none;
    }
    .displayblanc{
        display: block;
    }

    .navbar {
        padding: 0;
    }

    .navbar a {
        color: rgb(255, 255, 255);
    }

    .navbar .logo {
        position: absolute;
        top: 40px;
        left: 30px;
    }

    .navbar .menu-hamburger {
        display: block;
        top: 30px;
        height: 50px;
        width: 50px;
    }
    
    .navbar ul li a img {
        height: 40px;
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .nav-links {
        position: absolute;
        top: 0;
        left: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.438);
        backdrop-filter: blur(7px);
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: -100%;
        transition: all .5s ease;
    }

    .nav-links.mobile-menu {
        margin-left: 0;
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navbar .nav-links ul li {
        margin: 25px 0;
        font-size: 1.3em;
    }

    
}