@charset "iso-8859-15";

/* Reset CSS */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: "OpenSans", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    overflow: hidden;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

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


:root {
    --color-main: rgb(13, 70, 130);
    --color-second: rgb(0, 156, 206);
}

@font-face {
    font-family: 'Nunito';
    font-style: NORMAL;
    font-weight: 500;
    src: url(/webfonts/Nunito-VariableFont_wght.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Nunito_italic';
    font-style: NORMAL;
    font-weight: 500;
    src: url(/webfonts/Nunito-Italic-VariableFont_wght.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    font-style: NORMAL;
    font-weight: 500;
    src: url(/webfonts/OpenSans-VariableFont_wdth,wght.ttf) format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans_italic';
    font-style: NORMAL;
    font-weight: 500;
    src: url(/webfonts/OpenSans-Italic-VariableFont_wdth,wght.ttf) format('truetype');
    font-display: swap;
}

.grow {
    display: inline-block;
    transition: all .2s ease-in-out;
}
.grow:hover {
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------------- */
html {
    overflow-x: hidden;
}

body > footer {
    display: flex;
    justify-content: center;
    padding: 15px 25px;
}
body > footer > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Nunito", Helvetica, Arial, sans-serif;
}

h1 {
    font-size: 4rem;
    line-height: 4.5rem;
}

h2 {
    font-size: 3rem;
    line-height: 3.5rem;
}

h3 {
    font-size: 2rem;
    line-height: 2.5rem;
}

body > div > header {
    display: flex;
    justify-content: center;
}
body > div > header h1, .title {
    margin-top: 3rem;
    font-weight: bold;
    padding-bottom: 1rem;
    border-bottom: 5px solid var(--color-main);
}

body > header, body > footer > div, body > div > header, #content > *:not(.fullsize), .fullsize > * {
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    max-width: 1320px;
}

body > header, body > div > header, #content > *:not(.fullsize) {
    padding: 0 25px;
    margin-left: auto;
    margin-right: auto;
}

body > div > header {
    margin-top: 1rem;
}

.fullsize {
    width: 100%;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}

nav {
    font-weight: bold;
}

body > div > #content {
    margin-top: 3rem;
}


body > header {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;
}


body > header nav {
    display: flex;
    gap: 15px;
}

body > header nav a, body > footer nav a {
    padding: 15px;
    border-radius: 20px;
    color: var(--color-main);
}
body > footer a, body > footer nav a {
    color: #fff;
}

body > header nav a:hover, body > footer nav a:hover {
    background-color: var(--color-second);
    color: #fff;
}

body > header nav a.active {
    background-color: var(--color-main);
    color: #fff;
}
body > footer nav a.active {
    background-color: var(--color-second);
    color: #fff;
}

body > footer {
    background-color: var(--color-main);
}
body > footer image {
    margin: 10px;
}
#socialNetworks i {
    font-size: 40px;
    height: 40px;
    width: 40px;
    text-align: center;
}

/* Bouton login */
#login {
    font-size: 1rem;
    line-height: 1rem;
    padding: 13px 0;
    background-color: var(--color-main);
    color: #fff;
    border-radius: 20px;
    margin: auto;
    border: 2px solid var(--color-main);
}

#login, #login * {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

#login span {
    color: white;
    font-size: 0;
    padding: 10px 25px;
}

#login:hover {
    background: none;
    border: 2px solid var(--color-main);
}

#login:hover i {
    color: var(--color-main);
}

#login i {
    transition: all 0.5s;
    color: #fff;
    font-size: 25px;
    width: 25px;
    height: 25px;
    text-align: center;
    padding: 5px;
    position: absolute;
    margin-left: -43.5px;
    margin-top: -5px;
}

@media only screen and (min-width:1025px) {
    #login:hover {
        padding: 13px 45px 13px 10px;
    }

    #login:hover span {
        font-size: 1rem;
        color: var(--color-main);
        padding: 10px;
    }

    #login:hover .fa-user {
        margin-left: 0px;
    }
}
/* fin bouton login */


/* Debut burger menu */
#burgerMenu {
    display: none;
    padding: 9px;
    background-color: var(--color-main);
    border: 2px solid var(--color-main);
    border-radius: 20px;
    color: #fff;
}

#burgerMenu > i{
    font-size: 35px;
    height: 35px;
    width: 35px;
    text-align: center;
}

#burgerMenu, #burgerMenu * {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

#burgerMenu:hover {
    background: none;
    cursor: pointer;
}

#burgerMenu:hover i {
    color: var(--color-main);
}

/* Fin burger menu */
@media only screen and (max-width:1024px) {
    body > header.burgerMenuOpen {
        border-radius: 0 0 0 20px;
    }

    body > header > nav {
        position: absolute;
        background-color: white;
        right: 0;
        top: 114px;
        display: flex;
        flex-direction: column;
        padding: 15px;
        border-radius: 0 0 0 20px;
        box-shadow: rgba(0, 0, 0, 0.24) 0 8px 8px;
        -webkit-animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }
}

/* Debut tooltip */
/* https://codepen.io/reiinii1/pen/aPGXEa */
[data-tooltip] {
    --arrow-size: 5px;
    position: relative;
    z-index: 10;
}

/* Positioning and visibility settings of the tooltip */
[data-tooltip]:before,
[data-tooltip]:after {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    left: 50%;
    bottom: calc(100% + var(--arrow-size));
    pointer-events: none;
    transition: 0.2s;
    will-change: transform;
}

/* The actual tooltip with a dynamic width */
[data-tooltip]:before {
    content: attr(data-tooltip);
    padding: 10px 18px;
    min-width: 50px;
    max-width: 300px;
    width: max-content;
    width: -moz-max-content;
    border-radius: 6px;
    font-size: 14px;
    background-color: rgba(59, 72, 80, 0.9);
    background-image: linear-gradient(30deg,
    rgba(59, 72, 80, 0.44),
    rgba(59, 68, 75, 0.44),
    rgba(60, 82, 88, 0.44));
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-align: center;
    white-space: pre-wrap;
    transform: translate(-50%,  calc(0px - var(--arrow-size))) scale(0.5);
}

/* Tooltip arrow
[data-tooltip] {
    text-decoration: underline dotted;
} */

[data-tooltip]:after {
    content: '';
    border-style: solid;
    border-width: var(--arrow-size) var(--arrow-size) 0px var(--arrow-size); /* CSS triangle */
    border-color: rgba(55, 64, 70, 0.9) transparent transparent transparent;
    transition-duration: 0s; /* If the mouse leaves the element,
                              the transition effects for the
                              tooltip arrow are "turned off" */
    transform-origin: top;   /* Orientation setting for the
                              slide-down effect */
    transform: translateX(-50%) scaleY(0);
}

/* Tooltip becomes visible at hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    opacity: 1;
}
/* Scales from 0.5 to 1 -> grow effect */
[data-tooltip]:hover:before {
    transition-delay: 0.3s;
    transform: translate(-50%, calc(0px - var(--arrow-size))) scale(1);
}
/*
  Arrow slide down effect only on mouseenter (NOT on mouseleave)
*/
[data-tooltip]:hover:after {
    transition-delay: 0.5s; /* Starting after the grow effect */
    transition-duration: 0.2s;
    transform: translateX(-50%) scaleY(1);
}
/*
  That's it for the basic tooltip.

  If you want some adjustability
  here are some orientation settings you can use:
*/

/* LEFT */
/* Tooltip + arrow */
[data-tooltip-location="left"]:before,
[data-tooltip-location="left"]:after {
    left: auto;
    right: calc(100% + var(--arrow-size));
    bottom: 50%;
}

/* Tooltip */
[data-tooltip-location="left"]:before {
    transform: translate(calc(0px - var(--arrow-size)), 50%) scale(0.5);
}
[data-tooltip-location="left"]:hover:before {
    transform: translate(calc(0px - var(--arrow-size)), 50%) scale(1);
}

/* Arrow */
[data-tooltip-location="left"]:after {
    border-width: var(--arrow-size) 0px var(--arrow-size) var(--arrow-size);
    border-color: transparent transparent transparent rgba(55, 64, 70, 0.9);
    transform-origin: left;
    transform: translateY(50%) scaleX(0);
}
[data-tooltip-location="left"]:hover:after {
    transform: translateY(50%) scaleX(1);
}

/* RIGHT */
[data-tooltip-location="right"]:before,
[data-tooltip-location="right"]:after {
    left: calc(100% + var(--arrow-size));
    bottom: 50%;
}

[data-tooltip-location="right"]:before {
    transform: translate(var(--arrow-size), 50%) scale(0.5);
}
[data-tooltip-location="right"]:hover:before {
    transform: translate(var(--arrow-size), 50%) scale(1);
}
[data-tooltip-location="right"]:after {
    border-width: var(--arrow-size) var(--arrow-size) var(--arrow-size) 0px;
    border-color: transparent rgba(55, 64, 70, 0.9) transparent transparent;
    transform-origin: right;
    transform: translateY(50%) scaleX(0);
}
[data-tooltip-location="right"]:hover:after {
    transform: translateY(50%) scaleX(1);
}

/* BOTTOM */
[data-tooltip-location="bottom"]:before,
[data-tooltip-location="bottom"]:after {
    top: calc(100% + var(--arrow-size));
    bottom: auto;
}

[data-tooltip-location="bottom"]:before {
    transform: translate(-50%, var(--arrow-size)) scale(0.5);
}
[data-tooltip-location="bottom"]:hover:before {
    transform: translate(-50%, var(--arrow-size)) scale(1);
}

[data-tooltip-location="bottom"]:after {
    border-width: 0px var(--arrow-size) var(--arrow-size) var(--arrow-size);
    border-color: transparent transparent rgba(55, 64, 70, 0.9) transparent;
    transform-origin: bottom;
}
/* fin tooltip */


/* Breakpoint */
@media only screen and (max-width:1024px) {
    #burgerMenu {
        display: flex;
    }
    body > header nav {
        display: none;
    }

    body > header > img {
        height: 85px;
    }

    body > footer > div {
        flex-direction: column;
    }
    body > footer nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 3rem;
    }
    h2 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    h3 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

@media only screen and (max-width:650px) {
    #content > :not(.fullsize) {
        margin-left: 20px;
        margin-right: 20px;
        padding: 0;
    }

    h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    h3 {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

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

}

/* Fin Breakpoint */

