/*ANCHOR GOOGLE-FONTS*/
/*Installation police via CDN*/
@import url('https://fonts.googleapis.com/css2?family=Barrio&family=Fredericka+the+Great&family=Hind+Vadodara:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap');



:root {
    --bleu1: linear-gradient(to bottom, #004788, #003878);
    --bleu1-shadow-color-top: 0, 56, 120;
    --bleu1-shadow-color-bot: 0, 71, 136;
    --primary: #f8ba3486;
    --light: #f5f5f7;
    --dark: #5a5a5a;
    --white: #b8b4b4;
    --header-height: 55px;
    --lighter: #3a3a3a;
    /*vh viewport height, 6% de la hauteur du viewport, changement dynamique de la hauteur du footer et du header*/
}

* {
    box-sizing: border-box;
    /* inclu le padding et la bordure dans la taille des boîtes */
    /* border: 1px dotted var(--white); */
    /* background-color: rgba(0, 0, 0, 0.1); */
}

img,
video {
    width: 100%;
}

html {
    margin: auto;
    overflow-y: scroll;
    min-height: 100vh;
    background: url(../images/htmlback.jpg) no-repeat center center fixed;

}

body {
    background: url(../images/bgwaves.svg);
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 1440px;
    background-color: var(--light);
    margin: 0 auto;
    font-family: 'Nanum Gothic', sans-serif;
    font-size: clamp(0.8rem, 0.9vw, 1rem);
    /*clamp:min,best,max*/
    color: var(--lighter);
   

}

.bdeffecttop {
    background: url(../images/svg.png);
    background-repeat: no-repeat;
}

.bdeffectright {
    background: rgb(124, 124, 124);
    background: linear-gradient(90deg, rgba(124, 124, 124, 0) 40%, rgba(124, 124, 124, 0.1) 60%, rgba(124, 124, 124, 0.2) 85%, rgba(124, 124, 124, 0.3) 100%);

}

.bdeffectleft {
    background: rgb(124, 124, 124);
    background: linear-gradient(-90deg, rgba(124, 124, 124, 0) 40%, rgba(124, 124, 124, 0.1) 60%, rgba(124, 124, 124, 0.2) 85%, rgba(124, 124, 124, 0.3) 100%);
}

.bdeffect--1080 {
    background-size: 100% 8%;
}

.bdeffect--320 {
    background-size: 100% 4%;
}

.fullsc {
    max-height: clamp(13rem, 50%, 100vw);
    width: 100%;
    margin-left: -11px;
    margin-top: -4px;
}

.smallsc {
    min-height: 250px;
}

.title-height {
    padding-top: 15%;
    padding-bottom: 21%;
    letter-spacing: 3px;
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.flex-spe {
    flex: 1 1 685px;
}

.row100 {
    width: 100%;
}

.bounce {
    animation: bounce;
}

.bouncing-letters span {
    animation-timing-function: linear;
    animation-duration: 1200ms;
    animation-iteration-count: 1;
    display: inline-block;
}

@keyframes bounce {
    1% {
        text-transform: capitalize;
        font-family: 'Barrio';
    }

    10% {
        transform: rotateY(360deg);
    }

    20%,
    50%,
    80% {
        transform: scale(1, 1);
    }

    50% {
        transform: translateY(-5vh);
    }

    40% {
        transform: scale(1.75, 0.65);
    }

    45% {
        transform: scale(1.75, 0.65);
    }

    70% {
        transform: scale(1.25, 0.75);
    }

    90% {
        transform: scale(1.15, 0.85);
    }

    to {
        transform: scale(1, 1);
    }
}


.main-header,
.main-footer {
    min-height: var(--header-height);
    background: var(--bleu1);
    color: var(--white);


}

aside {
    flex: 1 1 150px;
    max-width: min-content;
    background-color: #f5f5f700;
    margin-left: 20px;

}

.main-footer {
    z-index: 2;
    position: sticky;
    box-shadow: 0px -3px 13px -9px rgb(var(--bleu1-shadow-color-bot));
    border-color: #ebebeb;
    border-bottom-width: 10px;
    border-bottom-style: solid;

}

main {
    min-height: calc(100vh - 2 * var(--header-height));
    /*le main a un minimum de 100vh-2*la hauteur (header+footer) et peut s'agrandir */
    flex: 2 1 638px;
    z-index: 1;
}

.bgc {
    background-color: transparent;
}

.backdrop {
    backdrop-filter: blur(10px);
}

.pres1 {
    border-left: 7px solid #3d3d3d71;
    margin-left: 1vw;
    padding-left: 1%;
    background-color: transparent;

}

.pres2 {
    border-left: 7px solid #3d3d3d71;
    margin-left: 1vw;
    padding: 2%;
}

.pres3 {
    border-left: 7px solid #3d3d3d71;

    margin-left: 1vw;
    padding-left: 2%;
    margin-left: 1vw;
    padding-left: 1%;

}

.border-right {
    border-right: 0.1rem solid #3d3d3d71;

}

.border-left {
    border-left: 0.1rem solid #3d3d3d71;

}

.mwimg {
    max-width: clamp(13rem, 50%, 100vw);
}

.mwlogo {
    max-width: clamp(4rem, 5vw, 4rem);
    padding: 5px;
    background-color: #ebebeb;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: var(--light);
    width: 100%;
    transition: 500ms ease;
    opacity: 0;
    padding: 3%;
    text-align: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: zoom-in;
    font-size: 16px;
}

section:nth-child(n+11)>div:nth-child(2):hover .overlay {
    opacity: 1;
}

hr {

    width: 35%;
    margin-right: auto;
    margin-left: auto;
    border: 0.2rem solid #969596;
    opacity: 1;
    border-radius: 5px;
}

.spacehr {
    margin-top: 5%;
    margin-bottom: 7%;
}

/*h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fredericka the Great', cursive;
}*/

h2 {
    font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* h2 {
    font-family: 'Barrio', cursive;
    font-size: clamp(1rem, 1vw, 1.2rem) !important;
    font-weight: 900;
} */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 1rem 0;
}

blockquote {
    display: block;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding: 0.5rem;
    background-color: var(--light);
}

blockquote i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/*ANCHOR */
.inline-block {
    display: inline-block;
}

.relative {
    position: relative;
}

/*ANCHOR FLEX-CONTAINER*/

.d-flex {
    display: flex;
}

.hidden {
    display: none;
}

.f-wrap {
    flex-wrap: wrap;
}

.f-wraprr {
    flex-wrap: wrap-reverse;
}

.f-nowrap {
    flex-flow: row wrap;
}

.g-1 {
    gap: 1rem;
}

.jc-sb {
    justify-content: space-between;
}

.jc-c {
    justify-content: center;
}

.ai-c {
    align-items: center;
}

.ac-c {
    align-content: center;
}

.reverse {
    flex-direction: row-reverse;
}

.f-dir-row {
    flex-direction: row;
}

/*ANCHOR FLEX-ITEMS*/
/*ANCHOR SIZING*/

.f-s {
    flex: 1 1 120px;
}

.f-m {
    flex: 1 1 290px;
}

.f-l {
    flex: 1 1 400px;
}

/*ANCHOR SPACING*/

.p-1 {
    padding: 1rem;
}

.pad-2 {
    padding: 2%;
}

.pad-3 {
    padding: 4%;
}

.my-4 {
    margin-top: 4rem;
    margin-bottom: 4rem !important;
}

.mx {
    margin-left: 1.5rem;
}

.mauto {
    margin: auto;
}

.m1 {
    margin: 0.2rem;
}
.mlauto {
    margin-left: auto;
}
/*ANCHOR TYPO*/

.txt-ac {
    text-align: center;
}

.txt-ar {
    text-align: right;
}

/*ANCHOR COMPONENTS*/

.main-header {

    position: fixed;
    top: 0px;
    max-width: 1440px;
    width: 100%;
    z-index: 2;
    box-shadow: 0px 3px 13px -9px rgb(var(--bleu1-shadow-color-top));
    border-color: #ebebeb;
    border-top-width: 10px;
    border-top-style: solid;
}

.menu__link {
    display: inline-block;
    /*change de line à block, zone clickable plus grande*/
    text-decoration: none;
    color: var(--white);
    transition: color 500ms;
}

.menu__link:hover {
    color: var(--primary);

}

.sm__link {
    text-decoration: none;
    color: var(--dark);
    padding: 1rem;
    transition: color 500ms;
}

.sm__link:hover {
    color: #003878;
}

.card {
    margin-top: 16px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.41);
    position: sticky !important;
    top: calc(var(--header-height) + 20px);
    background-color: #7c7c7c71;
    z-index: 1;
}

.card__img {
    /* height: 100%; */
    object-fit: cover;
    filter: saturate(50%);
    margin: auto;
}

.blue-square {
    background-color: rgba(var(--bleu1-shadow-color-top), 0.369);
    position: absolute;
    top: 12px;
    right: 7px;
    left: 8px;
    bottom: 14px;
    mix-blend-mode: multiply;
    opacity: 0.8;
    box-shadow: 0 4px 8px 0 rgb(13, 79, 149), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#sideleft>section:nth-child(2) {
    position: fixed;
}

.container {
    overflow: hidden;
    /* height:3400px; */
    top: 0px;
}

.sliding-background {
    position: absolute;
    top: -575px;
    left: -24px;
    background: url("../images/bg.jpg")repeat;
    background-size: contain;
    background-repeat: repeat;
    height: 8080px;
    width: 291px;
    z-index: 0;
    opacity: 1;
    animation: slide 60s linear infinite;
}

@keyframes slide {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, -1500px, 0);
    }
}

.main-container {
    margin-top: var(--header-height);

}

.shadow {
    box-shadow: 0 4px 8px 0 rgb(100, 100, 100), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    object-fit: contain;
}

.zimg {
    transition: transform 100ms;
}

.zimg:hover {
    -ms-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

.zimgsm {
    transition: transform 100ms;
    /* padding-right:35px; */
}

.zimgsm:hover {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);

}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: -35px !important;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%
}

.modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);
    background-color: var(--bs-modal-footer-bg);
    border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius)
}

.btnmodal {
    /* display: inline-block; */
    /* padding: 0.5rem 0.5rem; */
    background-color: transparent;
    border: 3px solid #3d3d3d71;
    border-radius: 4px;
    color: #3d3d3d71;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: border 500ms, background 500ms, transform 500ms;
    font-size: clamp(0.5rem, 0.5vw, 2rem);
}


.btnmodal:hover {
    background-color: #3d3d3d71;
    border: 3px solid transparent;
    border-radius: 4px;
    color: var(--light);
    -ms-transform: scale(1.06);
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
}

.btnmodalctrl {
    background-color: transparent;
    border: 0.1px solid transparent;
    color: #3d3d3d71;
    text-decoration: none;
    transition: transform 500ms;
    margin: auto;
}

.btnmodalctrl:hover {
    color: var(--light);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.reveal {
    opacity: 0;
    overflow: hidden;
}

.reveal-visible {
    opacity: 1;
    transition: opacity 3s;
}

.reveal1 {
    /* opacity: 0; */
}

.reveal2 {}

.revealright {
    animation: fade-in-right 1500ms;
    animation-iteration-count: 1;

}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(-850px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.revealleft {
    animation: fade-in-left 1500ms;
    animation-iteration-count: 1;
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(850px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*ANCHOR Parents grille*/
.form-contact {
    width: 100%;
    display: grid;
    grid-template-areas: "nom nom prenom prenom"
        "email email tel tel"
        "subject subject subject subject"
        "message message message message"
        ". button button .";
    gap: 1rem;
}

/*ANCHOR Enfants grille*/
.form-contact__item--prenom {
    grid-area: prenom;
}

.form-contact__item--nom {
    grid-area: nom;
}

.form-contact__item--email {
    grid-area: email;
}

.form-contact__item--tel {
    grid-area: tel;
}

.form-contact__item--subject {
    grid-area: subject;
}

.form-contact__item--message {
    grid-area: message;
}

.form-contact__item--button {
    grid-area: button;
}

.form-contact__item>* {
    /*> selectionne les enfants directs*/
    width: 100%;
}