* {
    /*font-family: 'DynaPuff', cursive;*/
    margin: 0;
    padding: 0;

}

/*---------------------------------*/
@keyframes animate {
    0% {
        transform: translateY(2000px) rotate(0deg);
        opacity: 1;
        visibility: hidden;
    }

    100% {
        transform: translateY(-4000px) rotate(720deg);
        opacity: 0.5;
        visibility: visible;
    }

}

.background {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    background: #0dbcf1d8;
    overflow: hidden;
}

.background ul {
    position: relative;
    padding-right: 2rem;
    width: 100%;
    height: 100%;
    margin: 0;
}

.bulle1,
.bulle2,
.bulle3,
.bulle4,
.bulle5,
.bulle6,
.bulle7,
.bulle8,
.bulle9,
.bulle10 {
    position: absolute;
    display: block;
    visibility: hidden;
    list-style: none;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 20s linear infinite;
    border-radius: 100%;
    overflow: hidden;
}

.bulle1 {
    left: 0;
    width: 62px;
    height: 62px;
    bottom: -62px;
    animation-delay: 5s;
}

.bulle2 {
    left: 8%;
    width: 198px;
    height: 198px;
    bottom: -198px;
    animation-delay: 23s;
}

.bulle3 {
    left: 19%;
    width: 171px;
    height: 171px;
    bottom: -171px;
    animation-delay: 1s;
}

.bulle4 {
    left: 26%;
    width: 173px;
    height: 173px;
    bottom: -173px;
    animation-delay: 10s;
}

.bulle5 {
    left: 33%;
    width: 117px;
    height: 117px;
    bottom: -117px;
    animation-delay: 3s;
}

.bulle6 {
    left: 41%;
    width: 153px;
    height: 153px;
    bottom: -153px;
    animation-delay: 6s;
}

.bulle7 {
    left: 44%;
    width: 156px;
    height: 156px;
    bottom: -156px;
    animation-delay: 15s;
}

.bulle8 {
    left: 53%;
    width: 125px;
    height: 125px;
    bottom: -125px;
    animation-delay: 12s;
}

.bulle9 {
    left: 70%;
    width: 44px;
    height: 44px;
    bottom: -44px;
    animation-delay: 10s;
}

.bulle10 {
    left: 80%;
    width: 150px;
    height: 150px;
    bottom: -250px;
    animation-delay: 1s;
}

.bulle10 img {
    padding: 5% 10%;
    width: 100%;
}

@media screen and (max-width: 500px) {
    .bulle10 img {
        padding: 5% 10%;
        width: 100%;
    }

    .bulle10 {
        width: 50px;
        height: 50px;
    }

    .bulle8 {
        width: 12px;
        height: 12px;
    }

    .bulle7 {
        width: 56px;
        height: 56px;
    }

    .bulle6 {
        width: 18px;
        height: 18px;
    }

    .bulle5 {
        width: 20px;
        height: 20px;
    }

    .bulle4 {
        width: 6px;
        height: 6px;
    }

    .bulle3 {
        width: 16px;
        height: 16px;
    }

    .bulle2 {
        width: 36px;
        height: 36px;
    }
}

/*---------------------------------*/
header {
    width: 100%;
    height: 35%;
    color: white;
    background-color: black;
    padding-bottom: 5%;
}

.move {
    display: flex;
    justify-content: center;
    animation-duration: 5s;
    animation-name: move;
    font-size: 1.8rem;
}

.move2 {
    animation-duration: 5s;
    animation-name: move2;
    display: flex;
    justify-content: center;
    font-size: 250%;
}

.color {
    animation: color 10s infinite;
}

@keyframes move {
    0% {
        transform: translateY(0) rotateX(-180deg);
    }

    100% {
        transform: translateY(0) rotateX(0deg);
    }
}

/*---------------------------------*/
@keyframes move2 {
    0% {

        font-size: 150%;
        transform: translateY(0) rotateX(-180deg);
    }

    /*50% {*/

    /*    transform: translateY(0) rotateX(-90deg);*/
    /*}*/
    100% {

        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes color {

    from,
    to {
        color: hsl(324, 70%, 45%);
    }

    10% {
        color: hsl(360, 65%, 45%);
    }

    20% {
        color: hsl(36, 80%, 45%);
    }

    30% {
        color: hsl(72, 75%, 35%);
    }

    40% {
        color: hsl(108, 65%, 35%);
    }

    50% {
        color: hsl(144, 75%, 35%);
    }

    60% {
        color: hsl(180, 75%, 35%);
    }

    70% {
        color: hsl(216, 60%, 45%);
    }

    80% {
        color: hsl(252, 65%, 50%);
    }

    90% {
        color: hsl(288, 60%, 40%);
    }
}

.world {
    display: flex;
    justify-content: center;
    animation: world 3s cubic-bezier(0.600, -0.280, 0.735, 0.045) infinite alternate both;
    animation-delay: 3s;
    padding-bottom: 0;

}

@keyframes world {
    0% {
        font-size: 0;

    }

    50% {
        opacity: 1;
        font-size: 100%;
    }

    100% {
        letter-spacing: -0.5em;
        opacity: 0;

    }
}

/*---------------------------------*/
.defil {
    max-width: 100%;
    height: 15%;
    overflow: hidden;
}

.defil> :first-child {
    display: inline-block;
    /* modèle de boîte en ligne */
    padding-right: 2em;
    /* un peu d'espace pour la transition */
    padding-left: 100%;
    /* placement à droite du conteneur */
    white-space: nowrap;
    letter-spacing: -0.1rem;
    animation: defil 10s infinite linear;
}

@keyframes defil {
    0% {
        transform: translate3d(0, 0, 0);
        /* position initiale à droite */
    }

    100% {
        transform: translate3d(-100%, 0, 0);
        /* position finale à gauche */
    }
}

#wrapper {
    text-align: center;
    height: 45px;
}

#wrapper h1 {
    font-size: 1.5em;
    position: relative;
}

/* Animations des lettres */


.letter01 {
    animation: letters 3s ease 0000ms infinite forwards;
}

.letter02 {
    animation: letters 3s ease 0500ms infinite forwards;
}

.letter03 {
    animation: letters 3s ease 1000ms infinite forwards;
}

.letter04 {
    animation: letters 3s ease 1500ms infinite forwards;
}

.letter05 {
    animation: letters 3s ease 2000ms infinite forwards;
}

.letter06 {
    animation: letters 3s ease 2500ms infinite forwards;
}

.letter07 {
    animation: letters 3s ease 3000ms infinite forwards;
}

.letter08 {
    animation: letters 3s ease 3500ms infinite forwards;
}

.letter09 {
    animation: letters 3s ease 4500ms infinite forwards;
}

.letter10 {
    animation: letters 3s ease 5000ms infinite forwards;
}

.letter11 {
    animation: letters 3s ease 5500ms infinite forwards;
}

.letter12 {
    animation: letters 3s ease 6000ms infinite forwards;
}



.letter14 {
    animation: letters 3s ease 6500ms infinite forwards;
}

.letter15 {
    animation: letters 3s ease 7000ms infinite forwards;
}

.letter16 {
    animation: letters 3s ease 7500ms infinite forwards;
}



.letter18 {
    animation: letters 3s ease 8000ms infinite forwards;
}

.letter19 {
    animation: letters 3s ease 8500ms infinite forwards;
}

.letter20 {
    animation: letters 3s ease 9000ms infinite forwards;
}

.letter21 {
    animation: letters 3s ease 10000ms infinite forwards;
}

.letter22 {
    animation: letters 3s ease 10500ms infinite forwards;
}

.letter23 {
    animation: letters 3s ease 11000ms infinite forwards;
}

@keyframes letters {
    0% {
        font-size: 1.5em;
        color: #555555
    }

    50% {
        font-size: 0.75em;
        color: #e0e0e0
    }

    100% {
        font-size: 1.5em;
        color: #555555
    }
}

/*---------------------------------*/

.search {
    display: flex;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 .5em .5em #4f4a4a, inset 0 0 1em .5em #CCC;
}

@media screen and (max-width: 700px) {
    .search {
        font-size: 0.8rem;
    }
}

/*----------------------------------*/
main h2::before {
    content: "\F190";
    font-family: "bootstrap-icons", sans-serif;
    position: relative;
    top: 0.2rem;
}

main h2::after {
    content: "\F191";
    font-family: "bootstrap-icons", sans-serif;
    position: relative;
    top: 0.2rem;
}

/*---------------------------------*/


main {
    width: 100%;
    height: 100%;
    background-color: rgba(67, 66, 66, 0.39);
    font-size: calc(0.5rem + 1vw);
    color: black;
}

main h1 {
    display: flex;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 5%;

}

article {
    padding: 0 10%;
}

main a {
    padding-left: 10%;
    color: black;
}

.cv a {
    font-size: 1.5rem;
    font-weight: bold;
}

.cv a::before {
    content: "\F132";
    font-family: "bootstrap-icons", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
}

.container p::before {
    content: "\F132";
    font-family: "bootstrap-icons", sans-serif;
    margin-left: 20px;
}

.container {
    border: 2px dotted black;
}



/*-------------------*/
.backgroundCv {
    background-color: rgb(0, 73, 171);
    color: #e0e0e0;
    overflow: hidden;
    /*cursor: none;*/
    width: 100%;
    height: 100%;
}

.horiz {
    display: flex;
    border: 1rem solid black;
}

.horiz ul {
    display: flex;
    padding: 0 2%;
    width: 100%;
    justify-content: space-between;
}

.horiz li {
    list-style: none;
}

.horiz li a {
    text-decoration: none;

}

.spot {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.svg-wrapper {
    margin-top: 0;
    position: relative;
    width: 150px;
    height: 40px;
    display: inline-block;
    border-radius: 3px;
}

#shape {
    stroke-width: 6px;
    fill: transparent;
    stroke: #0417be;
    stroke-dasharray: 85 400;
    stroke-dashoffset: -220;
    transition: 1s all ease;
}

#text {
    padding-left: 50%;
    text-align: center;
}

.svg-wrapper:hover #shape {
    stroke-dasharray: 50 0;
    stroke-width: 3px;
    stroke-dashoffset: 0;
    stroke: #056df5;
}

.headerCv {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px solid black;
    padding-bottom: 5%;
    background-color: rgb(0, 73, 171);
}

.photo {

    display: flex;
    float: left;
    margin-top: 1%;
    margin-left: 5%;
    height: 100%;
}

.photo img {
    width: 12vw;
}

.titre {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 3%;

}

.titre h1,
h2 {
    font-size: calc(1.5rem + 1vw);
}

.verti {
    position: fixed;
    padding: 0 3% 2% 3%;
    background: radial-gradient(#0049ab, rgb(93, 93, 93));
}

.verti h2 {
    padding: 10% 0;
}

.contact li {
    list-style: none;
}

i {
    font-size: 2rem;
}

.contact i {
    font-size: 1.5rem;
}

.contact a {
    color: white;
}

.mainCv {
    position: relative;
    margin-left: 30%;
    padding-right: 5%;
    background-color: rgb(0, 73, 171);
    color: #e0e0e0;
    width: auto;
    height: auto;
}

.mainCv a {
    padding: 0;
    color: #e0e0e0;
}

main h2 {
    padding: 3% 0 3% 3%;
    margin-bottom: 0;
}

main h2::before {
    content: "\F190";
    font-family: "bootstrap-icons", sans-serif;
    position: relative;
    top: 0.4rem;
    font-weight: normal;
}

main h2::after {
    content: "\F191";
    font-family: "bootstrap-icons", sans-serif;
    position: relative;
    top: 0.4rem;
    font-weight: normal;
}



.color1 {
    animation: color1 10s infinite;
}

.color2 {
    animation: color2 10s infinite;
    animation-delay: 5s;
}

@keyframes color1 {
    0% {
        color: white;
    }

    50% {
        color: black;
    }

    100% {
        color: white;
    }
}

@keyframes color2 {
    0% {
        color: white;
    }

    50% {
        color: black;
    }

    100% {
        color: white;
    }
}

.comp {
    margin-left: 6vh;
}

.forma {
    padding-bottom: 0;
}

.autre {
    position: relative;
    margin-bottom: 10%;
}

.dispo {
    display: flex;
    flex-direction: column;
    float: right;
    margin-right: 40%;
    margin-top: -10%;

}

.permis,
.hobbies {
    margin-bottom: 2%;
}

/*-------------------*/


/*-------------------*/
.project-card {
    transition: transform 0.3s;
}

.project-card:hover {
    transform: scale(1.02);
}

.hover-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.3s;
    font-size: 0.9rem;
    height: 100%;
    overflow-y: auto;
}

.project-card:hover .hover-overlay {
    transform: translateY(0);
}

.container.mt-5 {
    padding: 1rem 1rem;
}

.mb-2,
.hover-overlay a {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

@media screen and (max-width: 700px) {

    .mb-2,
    .hover-overlay a {
        margin-top: 1.5rem;
    }
}


/*-------------------*/
footer {
    color: white;
    background-color: black;
    padding: 2%;
    width: 100%;
    height: 100%;
}

footer h2 {
    justify-self: center;
}

footer p {
    padding-left: 5%;
}

footer a {
    color: wheat;
    padding-left: 0;
}

.foot1 {
    width: 70%;
}

.foot2 {
    display: inline;
    float: right;
    margin-top: -10%;
    width: 25%;
}

@media screen and (max-width: 700px) {
    footer {
        font-size: 0.7rem;
    }

    .foot2 i {
        font-size: 1rem;
    }

}