@charset "utf-8";

html, body {
    background-color: #fdfcfa;
    color: #333;
    font-family: system-ui, sans-serif;
    font-size: 100%;
    font-stretch: condensed;
    font-weight: 300;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding: 0;
    text-wrap: pretty;
/* desactive zoom si horiz */
    text-size-adjust: none;
        -webkit-text-size-adjust: none;
        -ms-text-size-adjust: none;
        -moz-text-size-adjust: none;
}


/* COVER ____________________________ */

.divfondbleu, .divfondvert {
    height: 100vh;
    overflow: hidden;
    width: 100%;
}
.divfondbleu {
    position: fixed;
    z-index: 10;
}
.divfondvert {
    animation: fonb 2s linear forwards;
    animation-delay: 4s;
    opacity: 0;
    position: fixed;
    z-index: 12;
    }
    @keyframes fonb {
      0% {opacity: 0;}
    100% {opacity: 1;}
}
.imgcover {
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    position: relative;
    width: 100%;
    margin: 0;
}



/* LOGO ___________________________ */

.divlogo {
    height: 100vh;
    position: relative;
    text-align: center;
    top: 0;
    z-index: 100;
}
.logo {
    width: 32%;
    height: auto;
    max-width: 480px;
    margin-top: 30px;
}


/* TOP _______________________ */

.divtop {
    height: auto; 
    left: 0;
    margin: 20px 0 0 5px;
    position: fixed;
    text-align: center;
    top: 0;
    width: auto;
    z-index: 150;
}
.img-icones {
    height: auto;
    width: 40px;
}



/* FLECHE EN BAS ______________ */

.enbas {
    position: absolute;
    text-align: center;
    bottom: 40px;
    width: 100vw;
    z-index: 111;
}









/* ====NON CRITIC ================================== */

@font-face {
    font-family: 'Andreas';
    src: url('../font/Andreas-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
h1, h2, h3 {
    font-family: 'Andreas', 'Bodoni MT', 'Bodoni 72', 'Bodoni 72 Oldstyle', Didot, 'Noto Serif Display', 'URW Palladio L', P052, Sylfaen, serif;
    color: #7c5d3e;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
}
h1 {
    text-align: center;
}
h2 {
    padding-bottom: 36px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 16px;
    text-align: center;
}
a {
    color: #54399a;
    cursor: pointer;
    font-weight: 300;
    text-decoration: none;
    }
    a:hover {
    cursor: pointer;
}
button {
    background-color: transparent;
    cursor: pointer;
    border: none;
    }
    button:hover {
    filter: brightness(1.1);
    }
q {
    font-style: italic;
    font-weight: 400;
}


/* MODIF LARGEUR ____________________ */

p, form, h1, h2, h3, figcaption, .divwebcam, .trait, .divmap {
    margin: 0 30px 20px 50px;
}


/* TOUT _________________________ */

.divtout {
    background-color: #fffefd;
    position: relative;
    z-index: 100;
}
.fondbeige {
    background-color: #f0eae1;
    padding: 20px 0 10px 0;
}
.fondgris {
    background-color: #eee;
    padding: 20px 0 10px 0;
}

.dividemin {
    height: 32px;
}
.dividemid {
    height: 120px;
}
.dividebig {
    height: 40vh;
}



/* MENU ______________________ */

.flexcontainer {
    align-items: flex-start;
    align-content: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px;
    overflow: auto;
}
.flexcontainer div {
    background-color: #fcfbfa;
    border: 2px solid #9999cf;
    border-radius: 10px;
    height: auto;
    margin: 5px;
    padding: 10px 5px 0 5px;
    width: auto;
}



/* VILLAS ___________________________ */

.divvillas {
    margin: 0;
}
.imgvillas {
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    pointer-events: none;
    position: relative;
    width: 100%;
    margin: 0;
}



/* TXT ______________________________ */

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


/* IMG------------------------- */

.img1col {
    float: left;
    height: auto;
    margin: 0 5% 10px 0;
    width: 90px;
}
.img2col {
    float: right;
    height: auto;
    margin: 0 0 20px 5%;
    width: 37%;
}
.img3col {
    float: left;
    height: auto;
    margin: 0 5% 20px 0;
    width: 58%;
}
.img5col {
    height: auto;
    margin: 0 0 20px 0;
    width: 100%;
}
.imgbloem {
    height: auto;
    margin: auto;
    width: 120px;
    display: block;
}


/* DIVERS _________________________ */

.iconaudio {
    transform: rotate(90deg);
    opacity: 0.5;
}
.trait {
    background-color: #aaa;
    height: 1px;
}
.visibleyesno {
    display: none;
}
.stopflotte {
    clear: both;
}
.aumilieu {
    text-align: center;
}
.invisible {
    display: none;
}
.agauche {
    float: left;
    margin: 8px 5% 10px 0;
}
.rouge {
    color: #e3006c;
}
.blanc {
    color: #fff;
}
.gris {
    color: #555;
}
.mauve {
    color: #65B;
}
.transp {
    opacity: 0;
}



/* COMPTEUR ______________________ */

#monBouton {
    align-items: center;
    display: flex;
    height: 80px;
    justify-content: center;
    margin-top: 10px;
    width: 80px;
}
.keurkiba {
    animation: keur 1.4s ease infinite;
    font-size: 3rem;
    text-align: center;
    }
    @keyframes keur {
    50% {transform: scale(1.2);}
    100% {transform: scale(1.0);}
}



/* 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;
    height: 100%;
    opacity: 0;
    position: relative;
    width: 100%;
    cursor: pointer;
}
.losange {
    color: #DDD;
    font-size: 3rem;
    pointer-events: none;
    position: absolute;
    text-align: center;
    top: 47%;
    width: 100%;
    z-index: 222;
}
label {
margin: 0;
padding: 0;
}



/* WEBCAM ____________________________ */

.divwebcam {
    aspect-ratio: 5/2;
    background-image: url(../webp-autres/webcam-printemps-min.webp);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-color: lightgray;
    overflow: hidden;
    position: relative;
    pointer-events: none;
    animation: pano 16s linear infinite;
    }
    @keyframes pano {
      0% {background-position: 0 0;}
     50% {background-position: 100% 0;}
    100% {background-position: 0 0;}
    }
    canvas {
    position: absolute;
    top: 0;
    mix-blend-mode: screen;
}



/* MAP ______________________________ */

.carte {
    aspect-ratio: 1/1;
    background:url(../webp-autres/earth.webp);
    background-size: cover;
    border-radius: 50%;
    box-shadow: inset 30px 30px 40px #fffefd, inset -30px -30px 40px #432, 20px 20px 20px #E1DBD2;
    float: right;
    margin: 8px 0 20px 5%;
    overflow: hidden;
    transform: rotate(10deg);
    width: 37%;
    animation: movi 5s linear 0s infinite;
    }
    @keyframes movi {
      0% { background-position: 0 0;}
    100% { background-position: -200% 0;}
}



/* PHONE PADS VERTIC ____________________ */

@media screen and (orientation: portrait) and (max-width: 956px) {
.logo {
    width: 70%;
}
.img2col, .img3col, .carte {
    width: 100%;
}
.divvillas {
    height: 50vh;
}
}



/* XL ____________________________________ */

@media screen and (min-width: 960px) {
html, body {
    font-stretch: semi-expanded;
}
p, form, h1, h2, h3, figcaption, .divwebcam, .trait, .divmap {
    margin: 0 16% 20px 16%;
}
.divwebcam {
    background-image: url(../webp-autres/webcam-printemps-big.webp);
}
h1, h2, h3 {
    font-size: 2.6rem;
}
.txt-grand {
    font-size: 2rem;
}
.txt-normal {
    font-size: 1.4rem;
    line-height: 1.8;
}
.img1col {
    width: 160px;
}
.visibleyesno {
    display: block;
}
}




