@charset "utf-8";

html {
/* desactive zoom si horiz */
    font-size: 100%;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -moz-text-size-adjust: none;
}

body {
    background-color: lavender;
    color: #333;
    font-family: system-ui, sans-serif;
    font-weight: 300;
    font-stretch: condensed;
    text-wrap: pretty;
}

* {
    margin: 0;
    overflow-x: hidden;
    padding: 0;
}

a {
    color: #0000CD;
    cursor: pointer;
    font-weight: 400;
    text-decoration: none;
    }
    a:hover {
    cursor: pointer;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    }

    button:hover {
    animation: bounce 0.2s 2;
    }

    @keyframes bounce {
    0%, 100% {transform: translateY(0);}
    50% {transform: translateY(-8px);}
}

h1 {
    padding-bottom: 10px;
}

h2 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 12px;
    padding-bottom: 10px;
}

h3 {
    font-weight: 500;
    margin: 0 10px 24px 50px;
}

figcaption {
    font-size: 1rem;
    font-style: italic;
    line-height: 2;
    text-align: center;
}

@font-face {
    font-family: 'Viaoda Libre';
        src: url('../font/ViaodaLibre-Regular.woff2') format('woff2');
    font-style: normal;
    font-display: swap;
    font-weight: normal;
}

nav {
    position: relative;
    z-index: 100;
}

section {
    background-color: #fafaff;
    position: relative;
    z-index: 100;
}



/* COVER ____________________________ */

.divcover {
    height: 100vh;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 10;
}

.imgcoverbleu {
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 100%;
}

.imgcoververt {
    animation: fonv 1s linear forwards;
    animation-delay: 3s;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    position: absolute;
    width: 100%;
    }

    @keyframes fonv {
      0% {opacity: 0;}
    100% {opacity: 1;}
}


/* LOGO ___________________________ */

.divlogo {
    position: relative;     
    top: 0;
    left: 0;
    height: 100vh;
    text-align: center;
    right: 0;
    z-index: 100;
}

.divh1 {
    bottom: 0;
    height: auto;
    left: 0;
    right: 0;
    position: absolute;
    padding: 30px 0 40px 0;
}

.fondflou {
    background-color: #ebebfd77;
    backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
}

.logo {
    height: auto;
    width: 40%;
    max-width: 500px;
}

.version {
    display: none;
    position: absolute;
    right: 100px;
    top: 10px;
    z-index: 100;
}



/* TXT ______________________________ */

.txt-big {
    color: #432;
    font-family: 'Viaoda Libre', 'Bodoni 72', serif;
    font-style: normal;
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.2;
}

.txt-normal {
    font-size: 1.2rem;
    line-height: 1.4;
    text-wrap: pretty;
}

.txt-petit {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.2;
}

.txt-hand {
    color: #864;
    display: block;
    font-family: Chalkboard, 'Marker Felt', 'Chalkboard SE', 'Comic Sans Ms', 'Comic Sans', 'Bradley Hand', system-ui;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: bold;
    line-height: 1.2;
    margin: 20px 0 40px 0;
    transform: skewY(-3deg);
}



/* MENU TOP ______________________ */

.divtop {
    height: auto;
    left: 10px;
    position: fixed;
    top: 25px;
    width: auto;
    z-index: 150;
}

.divflags {
    height: auto;
    position: absolute;
    right: 10px;
    top: 25px;
    width: auto;
    z-index: 151;
}

.img-iconesmini {
    height: auto;
    margin-bottom: 10px;
    width: 32px;
}



/* VILLAS ________________________________ */

.divvillas {
    height: auto;
    margin: 0 0 90px 0;
    position: relative;
}

.imgvillas {
    height: auto;
    pointer-events: none;
    width: 100%;
}



/* BLOCS__________________________________ */

.flexcontainer, .divarticle, .divcompare, .snow-container {
    margin: 0 50px 60px 50px;
}

.dividemin {
    height: 60px;
}

.dividemid {
    height: 90px;
}

.dividebig {
    height: 200px;
}

.fondmoyen {
    background-color: #ebebfd;
}



/* DIVERS _________________________ */

.aumilieu {
    text-align: center;
}

.darkmodeactif {
    visibility: hidden;
}

.divrouge {
    background-color: red;
    border-radius: 50%;
    height: 50px;
    margin: auto;
    margin-bottom: 20px;
    outline: red 2px solid;
    outline-offset: 4px;
    width: 50px;
}

.lecteur {
    opacity: 0;
}

.stopflotte {
    clear: both;
}

.visibleyesno {
    display: none;
}



/* GRAND MENU PRINCIPAL ______________________ */

.flexcontainer {
    align-items: flex-start;
    align-content: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    overflow: auto;
}

.flexcontainer div {
    background-color: lavender;
    border: 1px solid #555;
    border-radius: 10px;
    height: auto;
    margin: 5px;
    padding: 5px;
    width: auto;
}

.img-icones {
    height: auto;
    margin-bottom: 10px;
    width: 32px;
}



/* IMG________________________________ */

.img1col {
    float: left;
    height: auto;
    margin: 6px 4% 10px 0;
    pointer-events: none;
    width: 16%;
}

.img2col {
    float: right;
    height: auto;
    margin: 6px 0 10px 5%;
    pointer-events: none;
    width: 37%;
}

.img3col {
    float: left;
    height: auto;
    margin: 6px 5% 10px 0;
    pointer-events: none;
    width: 58%;
}

.img5col {
    height: auto;
    margin: 6px 0 10px 0;
    pointer-events: none;
    width: 100%;
}

.imgbloem {
    height: auto;
    margin: auto;
    width: 120px;
}



/* COMPARE _____________________________ */

.divcompare {
    aspect-ratio: 2/1;
    height: auto;
    overflow: hidden;
    position: relative;
        --value: 50%;
}

.compare__left, .compare__right {
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 100%;
}

.compare__left {
    clip-path: polygon(0% 0%, var(--value) 0%, var(--value) 100%, 0% 100%);
}

.compare__right {
    clip-path: polygon(100% 0%, var(--value) 0%, var(--value) 100%, 100% 100%);
}

.compare__range {
    appearance: none;
    background-color: transparent;
    color: #000;
    cursor: ew-resize;
    height: 100%;
    opacity: 0;
    position: relative;
    width: 100%;
}

.main {
    height: auto;
    left: 48%;
    mix-blend-mode: darken;
    pointer-events: none;
    position: absolute;
    top: 48%;
    width: 4%;
    z-index: 222;
}



/* HORLOGE________________________________ */

#clock {
    color: #ffd;
    font-family: monospace;
    font-size: 1.4vw;
    left: 3.8%;
    position: absolute;
    text-shadow: 3px 3px 20px #0F0, -3px -3px 20px #0F0, -3px 3px 20px #0F0, 3px -3px 20px #0F0;
    text-align: center;
    top: 21.3%;
    width: 8%;
    z-index: 111;
}



/* MOULIN _______________________________ */

.moulin {
    animation: mou 0.6s linear infinite;
    bottom: 15%;
    height: auto;
    left: 17%;
    position: absolute;
    width: 7%;
    z-index: 111;
    }

    @keyframes mou {
    100% {transform: rotate(-360deg);}
}



/* HALO NUC CHEMINEE______________________ */

.fire {
    animation: feu 6s linear infinite;
    background-image: url(../webp-pictos/noise3.webp), url(../webp-pictos/noise4.webp);
    background-size: 400px 400px;
    background-blend-mode: overlay, difference;
    border-radius: 50%;
    filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    height: 52%;
    left: 73%;
    opacity: 0.7;
    position: absolute;
    top: 0;
    width: 5%;
    z-index: 122;
    }

    @keyframes feu {
    100% {background-position: -400px -400px, 400px -400px;}
}



/* VENTILO___________________________ */

.ventilo {
    animation: rote 600ms linear infinite;
    height: auto;
    left: 77.5%;
    position: absolute;
    top: 31%;
    width: 3.6%;
    z-index: 2;
    }

    @keyframes rote {
    100% {transform: rotate(360deg);}
}



/* sparkles _______________________ */

.sparks {
    animation: spk .2s linear infinite;
    height: auto;
    left: 67%;
    position: absolute;
    top: 54.5%;
    transform-origin: center;
    width: 50px;
    z-index: 111;
    }

    @keyframes spk {
    100% {transform: scale(2) rotate(45deg);}
}



/* WEBCAM _________________________ */

.divwebcam {
    animation: pano 16s ease infinite;
    aspect-ratio: 5/2;
    background-image: url(../webp-autres/webcam-fond.webp);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: auto 100%;
    position: relative;
    }

    @keyframes pano {
      0% {background-position: 0 0;}
     10% {background-position: 0 0;}
     40% {background-position: 100% 0;}
     60% {background-position: 100% 0;}
     90% {background-position: 0 0;}
    100% {background-position: 0 0;}
}

canvas {
    mix-blend-mode: screen;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}



/* MAP ______________________________ */

.globe {
    animation: movi 10s linear 0s infinite;
    animation-play-state: running;
    aspect-ratio: 1/1;
    background: url(../webp-autres/earth.webp);
    background-position: 0 0;
    background-size: 600px 300px;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 40px;
    width: 300px;
    }

    .globe:hover {
    animation-play-state: paused;
    }

    @keyframes movi {
    100% {background-position: 600px 0;}
}



/* PHONE PADS VERTIC ____________________ */

@media screen and (orientation: portrait) {

.flexcontainer, .divarticle, .divcompare, .divwebcam {
    margin: 0 20px 60px 20px;
}

h3 {
    margin: 0 10px 24px 20px;
}

.imgvillas {
    left: -30%;
    position: relative;
    width: 160%;
}

.img1col {
    width: 26%;
}

.img2col, .img3col {
    float: none;
    margin: 5px 0 10px 0;
    width: 100%;
}

.logo {
    margin-top: 10vh;
    width: 70%;
}

}



/* XL ____________________________________ */

@media screen and (min-width: 1024px) {

body {
    font-stretch: normal;
    font-weight: 200;
}

h3 {
    margin: 0 15% 24px 15%;
}

.divflags {
    position: fixed;
}

.flexcontainer, .divarticle, .divwebcam, .divcompare {
    margin: 0 15% 60px 15%;
}

.flexcontainer div {
    margin: 10px;
    padding: 10px;
}

.img-icones {
    width: 50px;
}

.version {
    display: block;
}

.visibleyesno {
    display: block;
}

.txt-big {
    font-size: 1.8rem;
    line-height: 1.4;
}

.txt-normal {
    font-size: 1.4rem;
    line-height: 1.6;
}

.txt-hand {
    font-size: 2.2rem;
    line-height: 1.6;
}

}



/* XXL____________________________ */

@media screen and (min-width: 1400px) {

.img-iconesmini {
    margin-bottom: 15px;
    width: 32px;
}

.txt-big {
    font-size: 2.2rem;
    line-height: 1.6;
}

}



/* DARK MODE ------------------------- */

@media (prefers-color-scheme: dark) {

body {
    color: #111;
    font-weight: 300;
}

section {
    background-color: #c9c9f4;
}

.darkmodeactif {
    font-weight: bold;
    padding: 0 10px 0 10px;
    visibility: visible;
}

.fondmoyen {
    background-color: #b5b5f0;
}

.fondflou {
    background-color: #8b8be877;
}

}


