header {
    box-sizing: border-box;
    position: fixed;
    text-align: center;
    background-color: var(--beige-color);
    height: 60px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 0;
    z-index: 999;
}

.blocLogo {
    position: relative;
    width: 170px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blocMenuMobile {
    position: relative;
    width: 170px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    height: calc(100% - 10px);
}

#burger {
    cursor: pointer;
    width: 45px;
    height: 45px;
}

#close {
    cursor: pointer;
    width: 35px;
    height: 35px;
}

li a {
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
    letter-spacing: 0.3px;
}

li a:after {
    content: "";
    width: 100%;
    height: 2px;

    position: absolute;
    left: 0;
    bottom: 0;

    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: transform .2s cubic-bezier(.84, .41, 0, 1.2), opacity .2s ease-out;
}

li a:hover:after, li a:focus:after {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

li a:focus {
    outline: none;
}

li a:after {
    background-color: var(--white-color);
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
    width: calc(100% - 170px);
}

header ul li {
    display: inline-block;
    margin-left: 5%;
    margin-right: 5%;
}

header ul li a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white-color);
    text-decoration: none;
    text-transform: uppercase;
}

section {
    margin-top: 100px;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

section .imageProfil {
    width: 30%;
    max-height: 500px;
    position: relative;
}

section .imageProfil img {
    width: 100%;
    height: 100%;
}

section .infoProfil {
    width: 60%;
}

section .infoProfil h1 {
    color: var(--blue-color);
    padding: 5px;
    font-size: 3.4rem;
    text-align: center;
    margin-top: 70px;
}

section .infoProfil h1 span {
    font-size: 1.8rem;
    color: var(--red-color);
}

section .infoProfil h2 {
    text-align: center;
    margin-top: 30px;
}

section .infoProfil h2 {
    color: var(--white-color);
}

section .infoProfil h2 {
    position: relative;
    width: 12em;
    margin: 30px auto;
    border-right: 2px solid rgba(255,255,255,.75);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);
}

section .infoProfil h2 {
    animation: typewriter 4s steps(44) 1s 1 normal both,
    blinkTextCursor 500ms steps(44) infinite normal;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 12em;
    }
}
@keyframes blinkTextCursor {
    from {
        border-right-color: rgba(255,255,255,.75);
    }
    to {
        border-right-color: transparent;
    }
}

section .infoProfil h3 {
    text-align: center;
    color: var(--white-color);
}

@keyframes gradientAnimation {
    0% {
        background-position: 100% 0%;
    }
    100% {
        background-position: -100% 0%;
    }
}

section .infoProfil center {
    margin-top: 50px;
}

section .infoProfil center p {
    width: 90%;
    color: var(--white-color);
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
}

@media (width <= 900px) {
    header ul {
        display: none;
    }

    #menuMobile {
        width: 0;
        height: 100vh;
        position: fixed;
        background-color: var(--background-menu-mobile);
        top: 0;
        z-index: 2;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
    }

    #menuMobile.open {
        width: 100vw;
        transition: 0.5s;
    }

    #menuMobile a {
        margin: 6vh;
        text-transform: uppercase;
        font-size: 20px;
    }

    section {
        flex-direction: column-reverse;
    }

    section .imageProfil {
        width: 40%;
        margin: 20px auto;
    }

    section .infoProfil {
        width: 100%;
    }

    section .infoProfil h1 {
        color: var(--blue-color);
        padding: 5px;
        font-size: 3.4rem;
        text-align: center;
        margin-top: 20px;
    }
}

@media (width > 900px) {
    .blocMenuMobile {
        display: none;
    }
}

@media (width <= 500px) {
    .blocLogo {
        width: 100px;
    }

    .blocMenuMobile {
        width: 100px;
    }

    section .infoProfil h1 {
        color: var(--blue-color);
        padding: 5px;
        font-size: 2rem;
        text-align: center;
        margin-top: 0;
    }

    section .infoProfil h1 span {
        font-size: 1.4rem;
        color: var(--red-color);
    }
}