html {
    scroll-behavior: smooth;
}
.mainIndex:before {
    content: '';
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/imgs/Traits\ fond.svg');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 5;
}
.heroMailsent:before {
    content: '';
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/imgs/Traits\ fond.svg');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1 !important;
}
body {
    height: auto !important;
}

p,
a,
li {
    font-family: 'ubuntu';
}

.fakeTitle {
    font-family: 'Cormorant Garamond';
    font-weight: 700;
}
.titleLoader {
    font-family: 'Cormorant Garamond';
    font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/*                                   BUTTON                                   */
/* -------------------------------------------------------------------------- */

.buttonContainer {
    transition: all 0.3s ease;
    background-color: #002541;
}
.buttonContainer::after {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    bottom: -5px;
    right: -5px;
    z-index: 5;
    transition: all 0.3s ease;
    background-color: #25c5aa;
}
.buttonContainer:hover {
    /* background-color: #25c5aa; */
    color: white;
    border-color: #25c5aa;
}
.buttonContainer p,
.buttonContainer input {
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}
.buttonContainer:hover p,
.buttonContainer:hover input {
    color: white;
}
.buttonContainer:hover::after {
    animation: buttonAnim 0.5s ease forwards;
}
.buttonContainer:not(:hover)::after {
    animation: buttonOut 0.5s ease forwards;
}
@keyframes buttonAnim {
    0% {
        width: 10px;
        height: 10px;
        bottom: -5px;
        right: -5px;
    }
    50% {
        width: 10px;
        height: 10px;
        bottom: 0;
        right: 0;
    }
    75% {
        width: 10px;
        height: 100%;
        bottom: 0;
        right: 0;
    }
    100% {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
    }
}

@keyframes buttonOut {
    0% {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
    }
    25% {
        width: 10px;
        height: 100%;
        bottom: 0;
        right: 0;
    }
    50% {
        width: 10px;
        height: 10px;
        bottom: 0;
        right: 0;
    }
    100% {
        width: 10px;
        height: 10px;
        bottom: -5px;
        right: -5px;
    }
}

/* -------------------------------------------------------------------------- */
/*                                  SCROLLBAR                                 */
/* -------------------------------------------------------------------------- */

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #03111d;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #25c5aa;
    border-radius: 100px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #56dac4;
}

/* -------------------------------------------------------------------------- */
/*                               TEXT SELECTION                               */
/* -------------------------------------------------------------------------- */

::-moz-selection {
    /* Code for Firefox */
    color: #fff;
    background: #25c5aa;
}

::selection {
    color: #fff;
    background: #25c5aa;
}

/* -------------------------------------------------------------------------- */
/*                            FLECHE INTER-SECTION                            */
/* -------------------------------------------------------------------------- */
.flecheInterSection {
    transition: all 0.3s ease;
    animation: flecheInterSection 1s infinite alternate;
}
@keyframes flecheInterSection {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(20px);
    }
}
