@media screen and (max-width: 767px) {
    #header {
        display: flex;
        flex-direction: column;
        align-items: start;
        padding: 30px;
        background-color: rgba(7, 14, 32, 1);
        position: relative;
    }

    #header > div {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    #hamburger-menu {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: end;
        font-size: 30px;
    }

    .hamburger-icon {
        width: 40px;
        height: 70%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: end;
    }

    .hamburger-icon > span {
        width: 100%;
        height: 15%;
        background-color: #ededed;
        transition: .3s ease;
    }

    .hamburger-icon:hover span:nth-child(2) {
        width: 75%;
    }

    .hamburger-icon:hover span:nth-child(3) {
        width: 50%;
    }

    #header nav.animate {
        display: flex;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: 0.5s ease-in-out;
        width: 100%;
    }

    #header nav.animate.open {
        max-height: 500px;
        margin-top: 20px;
    }

    .open > a {
        margin: 5px 0;
    }

    #mode-jour {
        display: none;
    }

    .accueil-presentation {
        width: 100%;
    }

    h1, h3{
        text-align: center;
    }

    p{
        text-align: justify;
    }

    .container-btn {
        width: 100%;
        justify-content: space-between;
    }

    .btn{
        margin: 0;
        font-size: 16px;
    }

    .accueil-image {
        display: none;
    }

    #aboutme {
        flex-direction: column;
    }

    .discover-img, .discover-presentation{
        width: 100%;
    }

    .icon-container {
        width: 100%;
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .icon {
        margin: 0 5px;
    }

    .passion-container {
        justify-content: center;
    }

    .caca{
        margin: 0;
    }

    .titre-real{
        flex-direction: column;
    }

    .langage{
        margin: 5px;
    }

    .identite {
        flex-direction: column;
    }

    .nom, .prenom {
        width: 100%;
    }
    #footer {
        flex-direction: column;
    }

    .footer-left, .footer-middle, .footer-right{
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-right > div {
        flex-direction: row !important;
    }

    .footer-right > div > .icon {
        margin: 0 5px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    #header {
        position: relative;
    }

    #header > div {
        width: 35%;
    }

    #header > nav {
        width: 65%;
    }

    .accueil {
        margin-bottom: 50px;
    }

    .container-btn {
        width: 100%;
    }

    .btn {
        font-size: 16px;
    }
}