*, ::before, ::after {
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
}

html {
    scroll-snap-type: y mandatory;
}

body{
    font-family: 'Lato', sans-serif;
    max-width: 100%;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
}

.section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    scroll-snap-align: center;
}

.section-container .svg-container {
    float: right;
}

svg {
    filter: drop-shadow(0px 7px 29px rgba(100, 100, 111, 0.2));
}


.section-container .fidelicons {
    color:var(--maincolor);
}

.section-container h1{
    font-size: 50px;
    font-weight: 700;
}

.noanim {
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: underline;
    transition: font-size 0.5s ease, text-decoration 0.5s ease;
}

.anim {
    font-size: 67px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    transition: font-size 0.5s ease, text-decoration 0.5s ease;
}



.section-container button {
    color: white;
    border: none;
    padding: 5px;
    font-size: 15px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 70%;
    margin-right: 20px;
    margin-left: 20px;
}

.section-container button:hover {
    background-color: #65b9e6;
}

.section-container button:active {
    box-shadow: 0 0 2px darkslategray;
    transform: translateY(2px);
}

.section-container .active {
    border: 2px solid;
    border-color: white;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button-container {
    display: flex;
}

#bg{
    width: 100%;
    height: 100vh; 
    background-repeat:no-repeat;
    background-size: cover; 
    background-position: center;
    background-color: var(--maincolor);
    transition: 0.5s;
}


/***************************** Navbar *****************************/

/* Navigation */

#nav .title{
    color: black;
}

#nav nav {
    color: rgb(53, 53, 53);
    position: fixed;
    top: 0;

    width: 100%;
    height: 75px;

    background: #ececec;

    display: flex;
    justify-content: space-around;
    align-items: center;

    z-index: 10;
}

#nav nav img{
    width: 30px;
    height: auto;
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

#nav nav h2 {

    font-size: 26px;
    cursor: pointer;

}

#nav nav ul {
    list-style-type: none;
    padding: 0;
}

#nav nav ul li {

    display: inline-block;
    margin: 0 15px;
    font-size: 20px;
    padding-left: 85px;
}

#nav nav ul li a {
    color: #424242;
    text-decoration: none;
}

#nav nav ul li a::after {
    content: "";
    display: block; /* car de base les pseudos-éléments sont de type inline*/

    width: 0px;
    height: 2px;

    margin: 0 auto 0 auto;
    
    border-radius: 2px;
    
    background: var(--maincolor);
    transition: width 0.2s ease-out;
}

#nav nav ul li a:hover::after {
    width: 80%;
}
#nav nav ul li a:hover {
    color: var(--maincolor);
}

#nav nav .connection {

    /* position: relative;
    top: -2px; */
    
    width: 250px;
    height: auto;
    padding: 10px 0;

    border: none;
    border-radius: 4px;

    outline: none;
    background-color: var(--maincolor);

    font-size: 18px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    transition: 0.5s;
    color: white;
    /* text-decoration: none;
    box-shadow: none; */
}



/* Hamburger anim */

#nav nav .hamburger-menu{

    display: none;

    position: absolute;
    top: 10px;
    right: 20px;

    width: 64px;
    height: 42px;

    cursor: pointer;

}

#nav nav .hamburger-menu .slice {

    position: absolute;

    width: 100%;
    height: 4px;

    background: var(--maincolor);
    outline: rgb(236, 236, 236) 2px solid;
    border-radius: 4px;

    
    transition: all 0.5s ease-in-out;
    
}

#nav nav .hamburger-menu .slice:nth-child(1) {

    top: 0px;
    
}
#nav nav .hamburger-menu .slice:nth-child(2) {

    top: 18px;
    
}
#nav nav .hamburger-menu .slice:nth-child(3) {

    top: 36px;
    
}

#nav nav .hamburger-menu.active .slice:nth-child(1) {
    top: 18px;
    transform: rotate(135deg);

}
#nav nav .hamburger-menu.active .slice:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);

}
#nav nav .hamburger-menu.active .slice:nth-child(3) {
    top: 18px;
    transform: rotate(-135deg);

}


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

    /* Navigation */

    #nav nav {
        height: auto;

        flex-direction: column;
        justify-content: center;
    }

    #nav nav ul li {

        display: block;
        margin: 15px 0;
        text-align: center;
        padding-left: 0px;

    }

    #nav nav h2,
    #nav nav .navbar,
    #nav nav .connection {

        position: relative;
        top: 75px;

        display: none;
    }

    /* On affiche le menu hamburger */
    #nav nav .hamburger-menu {
        display: block;
    }
    

    /* Et si on clique dessus on décale tous les éléments de la nav sauf le bouton hamburger */

    #nav .active {
        padding-bottom: 100px;
    }

    #nav nav.active h2,
    #nav nav.active .navbar,
    #nav nav.active .connection {
    
        position: relative;
        top: 75px;
    
        display: block;
    }
}


/********************************* Contact form  *********************************/


#pres p{
    font-size: 30px;
}

#pres .contact{

    font-size: 20px;
    height: 100vh
}

#pres span{
    padding-bottom: 30px;
}

#pres .h1{
    font-weight: bold;
}


@media screen and (max-width: 600px) {
    #pres span{
        font-size: 15px;
    }
    
    #pres .h1{
        font-size: 30px;
    }
}

@media screen and (max-width: 400px) {
    
    #pres .h1{
        font-size: 25px;
    }
}



#pres .contact-form-wrapper {
    padding: 100px 0;
}


#pres .contact-form {
    padding: 30px 40px;
    background-color: #ffffff;
    border-radius: 12px;
    max-width: 700px;
}


#pres .contact-form textarea {
    resize: none;
}


#pres .contact-form .form-input,
#pres .form-text-area {
    background-color: #f0f4f5;
    height: 70px;
    padding-left: 16px;
}

#pres .contact-form .form-text-area {
    background-color: #f0f4f5;
    height: auto;
    padding-left: 16px;
}

#pres .contact-form .form-control::placeholder {
    color: #aeb4b9;
    font-weight: 500;
    opacity: 1;
}

#pres .contact-form .form-control:-ms-input-placeholder {
    color: #aeb4b9;
    font-weight: 500;
}

#pres .contact-form .form-control::-ms-input-placeholder {
    color: #aeb4b9;
    font-weight: 500;
}

#pres .contact-form .form-control:focus {
    border-color: var(--maincolor);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.07), 0 0 8px var(--maincolor);
}

#pres .contact-form .title {
    text-align: center;
    font-size: 35px;
    font-weight: 800;
    padding-bottom: 20px;
    color:var(--maincolor);
}

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

    #pres .contact-form .title{
        font-size: 30px;
    }

}

#pres .contact-form .description {
    color: #707375;
    font-size: 14px;
    text-align: center;
}

#pres .contact-form .submit-button-wrapper {
    text-align: center;
}

#pres .contact-form .submit-button-wrapper input {
    border: none;
    border-radius: 4px;
    background-color: var(--maincolor);
    color: white;
    text-transform: uppercase;
    padding: 10px 60px;
    font-weight: 700;

}

#pres .contact-form .submit-button-wrapper input:hover {
    background-color: var(--maincolor);
}

#filled:hover {
    background-color: white !important; 
    color: black !important;
}

#outlined:hover {
    background-color: var(--maincolor); 
    color: white;
}


/********************************** Google search **********************************/


.searchbar {
    font-size: 14px;
    font-family: arial, sans-serif;
    color: #202124;
    display: flex;
    z-index: 3;
    height: 44px;
    background: white;
    border: 1px solid #dfe1e5;
    box-shadow: none;
    border-radius: 24px;
    margin: 0 auto;
    width: 300px;
}

.searchbar:hover {
    box-shadow: 0 1px 6px rgb(32 33 36 / 28%);
    border-color: rgba(223,225,229,0);
}

.searchbar-wrapper {
    flex: 1;
    display: flex;
    padding: 5px 8px 0 14px;
}

.searchbar-left {
    font-size: 14px;
    font-family: arial, sans-serif;
    color: #202124;
    display: flex;
    align-items: center;
    padding-right: 13px;
    margin-top: -5px;
}

.search-icon-wrapper {
    margin: auto;
    width: 24px;
}

.search-icon {
    margin-top: 3px;
    color: #9aa0a6;
    height: 20px;
    line-height: 20px;
    width: 20px;
}

.searchbar-icon {
    display: inline-block;
    fill: currentColor;
    height: 24px;
    line-height: 24px;
    position: relative;
    width: 24px;
}

.searchbar-center {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
}

.searchbar-input-spacer {
    color: transparent;
    flex: 100%;
    white-space: pre;
    height: 34px;
    font-size: 16px;
}

.searchbar-input {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, .87);
    word-wrap: break-word;
    outline: none;
    display: flex;
    flex: 100%;
    margin-top: -37px;
    height: 34px;
    font-size: 16px;
    max-width: 100%;
    width: 100%;
}

.searchbar-right {
    display: flex;
    flex: 0 0 auto;
    margin-top: -5px;
    align-items: stretch;
    flex-direction: row;
}

.searchbar-clear-icon {
    margin-right: 12px;
}

.voice-search {
    flex: 1 0 auto;
    display: flex;
    cursor: pointer;
    align-items: center;
    border: 0;
    background: transparent;
    outline: none;
    padding: 0 8px;
    width: 2.8em;
}



.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 160px;
    height: 100px;
    margin-left: -80px;
    margin-top: -50px;
    border-radius: 5px;
    background: var(--maincolor);
    animation: dot1_ 3s cubic-bezier(0.55,0.3,0.24,0.99) infinite;
}

.loader:nth-child(2) {
    z-index: 11;
    width: 150px;
    height: 90px;
    margin-top: -45px;
    margin-left: -75px;
    border-radius: 3px;
    background: var(--maincolor);
    filter: brightness(50%);
    animation-name: dot2_;
}

.loader:nth-child(3) {
    z-index: 12;
    width: 40px;
    height: 20px;
    margin-top: 50px;
    margin-left: -20px;
    border-radius: 0 0 5px 5px;
    background: var(--maincolor);
    animation-name: dot3_;
    filter: brightness(1.75);
}

@keyframes dot1_ {
    3%,97% {
        width: 160px;
        height: 100px;
        margin-top: -50px;
        margin-left: -80px;
    }

    30%,36% {
        width: 80px;
        height: 120px;
        margin-top: -60px;
        margin-left: -40px;
    }

    63%,69% {
        width: 40px;
        height: 80px;
        margin-top: -40px;
        margin-left: -20px;
    }
}

@keyframes dot2_ {
    3%,97% {
        height: 90px;
        width: 150px;
        margin-left: -75px;
        margin-top: -45px;
    }

    30%,36% {
        width: 70px;
        height: 96px;
        margin-left: -35px;
        margin-top: -48px;
    }

    63%,69% {
        width: 32px;
        height: 60px;
        margin-left: -16px;
        margin-top: -30px;
    }
}

@keyframes dot3_ {
    3%,97% {
        height: 20px;
        width: 40px;
        margin-left: -20px;
        margin-top: 50px;
    }

    30%,36% {
        width: 8px;
        height: 8px;
        margin-left: -5px;
        margin-top: 49px;
        border-radius: 8px;
    }

    63%,69% {
        width: 16px;
        height: 4px;
        margin-left: -8px;
        margin-top: -37px;
        border-radius: 10px;
    }
}


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

    .respLoad{
        padding-top: 80px;
    }

}


.header {
    position:relative;
    text-align:center;
    /* background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%); */
    background-color: white;
    color:white;
    height: 100vh;
}

.logo {
    width:50px;
    fill:white;
    padding-right:15px;
    display:inline-block;
    vertical-align: middle;
}

.inner-header {
    width:100%;
    margin: 0;
    padding: 0;
}

.flex { /*Flexbox for containers*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.waves {
    position:relative;
    width: 100%;
    height:15vh;
    margin-bottom:-7px; /*Fix for safari gap*/
    min-height:100px;
    max-height:150px;
}

.content {
    position:relative;
    height:20vh;
    text-align:center;
    background-color: white;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% { 
        transform: translate3d(85px,0,0);
    }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
    .waves {
        height:40px;
        min-height:40px;
    }
    .content {
        height:30vh;
    }
    h1 {
        font-size:24px;
    }
}

.section-containerbg {
    height: 100vh;
    width: 100%;
    scroll-snap-align: center;
}

.waves-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 150px;
    margin-bottom: -7px; /*Fix for safari gap*/
}


svg {
    filter: drop-shadow(0px 7px 29px rgba(100, 100, 111, 0.2));
}


.section-containerbg .fidelicons {
    color:var(--maincolor);
}

.section-containerbg h1{
    font-size: 50px;
    font-weight: 700;
}

.section-containerbg button {
    color: white;
    border: none;
    padding: 5px;
    font-size: 15px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 70%;
    margin-right: 20px;
    margin-left: 20px;
}

.section-containerbg button:hover {
    background-color: #65b9e6;
}

.section-containerbg button:active {
    box-shadow: 0 0 2px darkslategray;
    transform: translateY(2px);
}

.section-containerbg .active {
    border: 2px solid;
    border-color: white;
}

.contentarticle{
    padding-top:20%;
}

.contentarticlec{
    padding-top: 15%;
}

.contentarticles{
    padding-top: 15%;
}


@media screen and (max-width: 850px) {
    .col-lg-6{
        text-align: center;
    }
    .col-mg-6{
        text-align: center;
    }
    .section-container .svg-container {
        text-align: center;
        float: none;
    }
    body {
        scroll-snap-type: none;

    }
    .section-container {
        scroll-snap-align: center;
    }

    html {
        scroll-snap-type: none;
    }

    .waves {
        width: 140%;
        height: 13vh;
    }

    .contentarticle{
        padding-top: 35vh;
    }

    .contentarticlec{
        padding-top: 30%;
    }

    .contentarticles{
        padding-top: 45%;
    }
}


@media screen and (max-width: 550px) {
    .section-containerbg h1{
        font-size: 30px;
        font-weight: 700;
        
    }
    
    .noanim {
        text-transform: uppercase;
        font-weight: 900;
        text-decoration: underline;
        transition: font-size 0.5s ease, text-decoration 0.5s ease;
    }
    
    .anim {
        font-size: 35px;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 900;
        transition: font-size 0.5s ease, text-decoration 0.5s ease;
    }

    svg {
        width: 100px;
        height: 100px;
    }

    .search-icon svg{
        width: 24px;
        height: auto;
    }
}
