:root {
    --color-primary: #436865;
    --color-secondary: #cc7d47;
    --color-dark: #1A3030;
    --color-brown: #8B5632;
    --color-white: #F3F2F2;
}

@import url(https://fonts.googleapis.com/css?family=Roboto:400,500);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);

@font-face {
    font-family: Avenir;
    src: url("fonts/Avenir.ttf");
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    font-family: "Avenir", Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--color-dark);
}

#preloader {
    background: var(--color-white);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}

/* 
Barre de navigation
 */

nav div.menu {
    position: fixed;
    top: 0;
    z-index: 2000;
    width: 100%;
    background-color: #E9D5C8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 50px 50px;
    transition: all ease-in-out 0.3s;
    height: 50px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

@media (min-width : 785px) {
    nav div.menu:hover {
        border-radius: 0;
        height: 100px;
    }

    nav div.menu:hover a#logoTopLeft img {
        width: 45px;
    }

    nav div.menu:hover a#logoTopLeft p {
        font-size: 34px;
    }

    img.icon:hover {
        transform: scale(1.05);
    }

    div.ups p:hover {
        transform: translateY(-3px);
    }
}

nav a#logoTopLeft {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 100px;
    text-decoration: none;
}

nav div.menu a#logoTopLeft p {
    font-family: "Hurricane", Geneva, Verdana, sans-serif;
    font-size: 24px;
    transition: all ease-in-out 0.3s;
    margin: 0;
    color: var(--color-primary);
}

nav div.menu a#logoTopLeft p:last-child {
    color: var(--color-secondary);
}

nav div.menu a#logoTopLeft img {
    width: 35px;
    transition: all ease-in-out 0.3s;
}

nav a#logoTopLeft p:not(:last-child) {
    padding-left: 10px;
}

nav ul {
    display: flex;
    justify-content: end;
    align-items: center;
    margin: 0;
    padding: 20px 0;
}

nav ul li a.pageActuelle {
    font-weight: bold;
    color: var(--color-dark);
}

nav ul li {
    list-style: none;
    padding: 0 20px;
}

nav ul li:last-child {
    padding-right: 100px;
}

nav ul li a {
    position: relative;
    color: var(--color-primary);
    text-decoration: none;
    transition: color .3s ease-in-out;

    &::before {
        content: '';
        position: absolute;
        top: 100%;
        width: 100%;
        height: 3px;
        background-color: var(--color-secondary);
        transform: scaleX(0);
        transition: transform .3s ease-in-out;
    }

    &:hover {
        color: var(--color-secondary);
    }

    &:hover::before {
        transform: scaleX(1);
    }
}

.menu i {
    display: none;
}

button.reservButton {
    --c: var(--color-secondary);

    box-shadow: 0 0 0 .1em inset var(--c);
    --_g: linear-gradient(var(--c) 0 0) no-repeat;
    background:
        var(--_g) calc(var(--_p, 0%) - 100%) 0%,
        var(--_g) calc(200% - var(--_p, 0%)) 0%,
        var(--_g) calc(var(--_p, 0%) - 100%) 100%,
        var(--_g) calc(200% - var(--_p, 0%)) 100%;
    background-size: 50.5% calc(var(--_p, 0%)/2 + .5%);
    border-radius: 10px;

    outline-offset: .1em;
    transition: background-size .4s, background-position 0s .4s;
    font-family: "Avenir", Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: large;
    color: var(--color-secondary);
    cursor: pointer;
    padding: 5px 13px;
    border: none;
}

button.reservButton:hover {
    --_p: 100%;
    color: var(--color-white);
    transition: background-position .4s, background-size 0s;
}

button.reservButton:active {
    box-shadow: 0 0 9e9q inset #0009;
    background-color: var(--c);
    color: #fff;
}

/* 
Pages
 */

img.icon {
    height: 48px;
    width: 48px;
    transition: all ease-in-out 0.3s;
}

h3 {
    color: var(--color-primary);
}

section.sect {
    padding: 25px 0;
}

div.page {
    margin: 0 auto;
    padding-top: 20px;
    width: 80%;
    max-width: 100%;
}

.side {
    display: flex;
    justify-content: space-between;
}

.midSide {
    justify-content: center;
    flex-wrap: wrap;
}

.midSide a {
    padding: 0 20px;
}

div.ups {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#certifs .ups {
    border-radius: 50px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

div.ups img.imgMinia {
    width: 250px;
    height: 120px;
    border-radius: 20px;
    margin: 10px 0;
    object-fit: cover;
    transition: all ease-in-out 1s;
}

div.ups p,
div.ups h4 {
    padding: 0;
    text-align: center;
    transition: all ease-in-out 2.5s;
}

.colorPrim {
    color: var(--color-primary) !important;
}

.colorSec {
    color: var(--color-secondary) !important;
}

img.colorSec {
    stroke: var(--color-secondary) !important;
}

.colorBrown {
    color: var(--color-brown) !important;
}

.colorDark {
    color: var(--color-dark) !important;
}

.colorWhite {
    color: var(--color-white) !important;
}

/* 
Accueil
 */

div#bandeauHead {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: var(--color-white);
    width: 100%;
    min-height: 200px;
    border-radius: 0 0 50px 50px;
    background-position: center;
    background-size: cover;
    padding: 100px 0 50px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("img/images/table2.jpg");
}


div#bandeauHead div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

div#bandeauHead div p {
    padding: 0 10px;
}

i.fa-circle {
    color: var(--color-secondary);
    font-size: 5px;
}

section.logoTitre {
    text-align: center;
    display: flex;
    align-items: center;
    transition: transform .3s;
}

h1 {
    font-family: "Hurricane", Geneva, Verdana, sans-serif;
    font-size: 50px;
    font-weight: 100;
    margin: 0;
}

div#bandeauHead h2 {
    font-weight: 100;
}

#quisuisje {
    justify-content: center;
    align-items: center;
}

#quisuisje img {
    width: 250px;
    max-width: 80%;
    object-fit: cover;
    object-position: top;
    border-radius: 50px 0 0 50px;
}

#quisuisje p {
    text-align: left;
    padding-left: 20px;
    width: 50%;
    max-width: 80%;
}

#certifs div.ups {
    width: 350px;
    max-width: 90%;
    justify-content: start;
    margin: 0 20px;
}

#certifs .profession {
    padding: 10px 0;
}

#certifs img.imgtitle {
    width: 350px;
    max-width: 90%;
    height: 100px;
    object-fit: cover;
    border-radius: 50px 50px 0 0;
}

#certifs img.logocertif {
    padding-top: 10px;
    height: 80px;
}

/* 
Particules
 */

canvas {
    position: fixed;
    top: 0;
    vertical-align: top;
    margin: 0;
    padding: 0;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: -1000;
}

/* ---- stats.js ---- */
.count-particles {
    background: var(--color-white);
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.js-count-particles {
    font-size: 1.1em;
}

#stats,
.count-particles {
    user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}

/* 
Partie Mobile
 */

@media (max-width : 785px) {

    nav div.menu {
        right: 0;
        top: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50px 0 0 50px;
        box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.2);
    }

    nav div.menu i#openBurger {
        display: block;
        padding: 20px;
        cursor: pointer;
        position: absolute;
        left: -2px;
        top: -2px;
    }

    nav.openBox div.menu i#openBurger {
        left: 10px;
        top: 10px;
    }

    nav.openBox div.menu {
        width: 70%;
        height: 400px;
    }

    nav div.menu div {
        display: flex;
        flex-direction: column;
    }

    nav div#containMenu{
        width: 100%;
        height: 100%;
    }

    nav div.menu ul {
        flex-direction: column;
        transform: scale(0);
        width: 100%;
        height: auto;
        margin: auto;
        padding: 10px;
        transition: all ease-in-out 0.5s;
    }

    nav.openBox div.menu ul {
        transform: scale(1);
        transition: all ease-out 0.5s;
    }

    nav a#logoTopLeft {
        display: none;
    }

    .openBox .menu ul i#closeBurger {
        display: block;
        text-align: left;
        padding-left: 30px;
        cursor: pointer;
    }

    .openBox .menu ul a {
        display: block;
        font-size: 23px;
        width: 100%;
        margin-top: 30px;
        text-align: center;
    }

    button.reservButton {
        font-size: 20px;
    }

    nav ul li:last-child {
        padding: 30px 0;
    }

    nav label.bars {
        display: block;
    }

    #check:checked~label.bars {
        display: none;
    }

    #check:checked~ul label.cancel {
        display: block;
    }

    #check:checked~ul {
        left: 0;
    }

    div#bandeauHead {
        padding-top: 0;
    }

    div#bandeauHead div {
        display: flex;
        flex-direction: column;
    }

    div#bandeauHead div h2,
    div#bandeauHead div p {
        margin: 0;
    }

    div.ups img .imgMinia {
        display: none;
    }

    #certifs div.side {
        flex-direction: column;
    }

    #certifs div.ups {
        padding-top: 20px;
    }

    #certifs img.imgtitle {
        width: 350px;
        height: 100px;
        object-fit: cover;
        border-radius: 50px 50px 0 0;
    }
}


@media (max-width : 1024px) {

    #quisuisje {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #quisuisje img {
        object-fit: cover;
        border-radius: 50px 50px 0 0;
    }

    #quisuisje p {
        text-align: center;
        padding-left: 0;
        padding-top: 20px;
        width: 400px;
    }
}

/* SCROLLBAR */

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

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--color-brown);
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-brown);
    border-radius: 10px;
    transition: all ease-in-out 0.5s;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Bandeau défilent */

.marquee-rtl {
    width: 100%;
    margin: 1em auto 2em;
    overflow: hidden;
}

.marquee-rtl> :first-child {
    padding-right: 2em;
    padding-left: 100%;
    white-space: nowrap;
    animation: defilement-rtl 15s infinite linear;
    display: inline-block;
}

.marquee-rtl div span {
    background-color: #cc7c473f;
    padding: 4px 10px;
    border-radius: 10px;
}

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

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


/* Carousel */

div.carousel {
    display: flex;
    justify-content: center;
}

section.cardSwipper {
    position: relative;
    width: 1075px;
    max-width: 100%;
    display: flex;
    align-items: center;
    margin: auto 0;
}

.swiper {
    width: 950px;
}

.card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.card::before {
    content: "";
    position: absolute;
    height: 40%;
    width: 100%;
    background: white;
    border-radius: 20px 20px 0 0;
}

.card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    position: relative;
    z-index: 100;
}

section .card .image {
    height: 120px;
    width: 236px;
}

section .card .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.card .name-profession {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.name {
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 22px;
}

.profession {
    font-weight: 900;
    font-size: 16px;
    color: var(--color-primary);
    margin: 0;
}

.card p.card-desc {
    padding-top: 10px;
}

.card div.tables,
.card div.tables table {
    padding-top: 10px;
    width: 100%;
    text-align: left;
}

.card div.tables table th {
    border-bottom: 1px solid rgba(0, 0, 0, 0.089);
    border-right: 1px solid rgba(0, 0, 0, 0.089);
    padding: 0;
    margin: 0;
}

.card div.tables table th:last-child {
    text-align: right;
    border-right: 0px solid rgba(0, 0, 0, 0);
}

.card div.tables table.forfait {
    width: 75%;
    color: var(--color-secondary);
    margin: 0 auto;
}

.card div.tables table.forfait th {
    border-bottom: 0px;
    border-right: 0px;
}

.card div.tables table.forfait th:last-child {
    text-align: center;
    border-right: 0px solid rgba(0, 0, 0, 0);
}

.card .button {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.card .button button {
    background: var(--color-primary);
    font-family: "Avenir", Geneva, Verdana, sans-serif;
    outline: none;
    border: none;
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button button:hover {
    background: var(--color-dark);
}

.swiper-pagination {
    position: absolute;
    bottom: -20px !important;
}

.swiper-pagination-bullet {
    height: 7px;
    width: 26px;
    border-radius: 25px;
    background: var(--color-secondary);
}

.swiper-button-next,
.swiper-button-prev {
    opacity: 0.7;
    color: var(--color-brown);
    transition: all 0.3s ease;
    transform: scale(0.5);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
    color: var(--color-secondary);
}

p#warn {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    padding: 20px 0;
}

/* Footer */

.separator {
    width: 30%;
    height: 0;
    border-bottom: var(--color-primary) 1px solid;
    margin: 0 auto;
}

footer .mainFooter {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 20px 5%;
}

footer img.icon {
    height: 24px;
    padding: 0;
    width: 24px;
    transition: all ease-in-out 0.3s;
}

footer .midSide a {
    padding: 0 5px;
}

footer .side {
    justify-content: unset;
    padding-bottom: 15px;
}

footer .mentions {
    padding-left: 20px;
    margin: auto 0;
}

footer .mentions p {
    padding: 4px 0;
}

footer .logolegaux img {
    padding: 4px 0;
    height: 100px;
}

a#callToAction {
    width: 350px;
    max-width: 100%;
}

a#callToAction img {
    width: 100%;
}

div.side#universChoices{
    justify-content: space-evenly;
    padding: 20px 0 50px 0;
    flex-wrap: wrap;
}

div.side#universChoices div{
    padding: 5px;
}

a.universChoice {
    display: flex;
    cursor: pointer;
    text-decoration: none;
    flex-direction: column;
    justify-content: end;
    width: 320px;
    height: 180px;
    text-align: center;
    background-size: cover;
    padding: 20px;
    border-radius: 20px;
    text-transform: uppercase;
    color: var(--color-white);
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.116),
    inset rgba(0, 0, 0, 0.281) 0px -100px 60px 0px;
    font-size: 28px;
}

a.universChoice p {
    line-height: 35px;
}

a.universChoice p:last-child {
    font-family: "Hurricane", Geneva, Verdana, sans-serif;
    font-size: 52px;
    text-transform: none;
}

a.universChoice#universReflexo {
    background-image: url(img/images/certifications2.webp);
}

a.universChoice#universMass {
    background-image: url(img/images/certifications1.webp);
}