@charset "utf-8";

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

body {
    background-color: lavender;
    color: #222;
    font-family: system-ui, sans-serif;
    font-stretch: condensed;
    font-weight: 200;
    text-wrap: pretty;
}
* { 
    margin:0; 
    padding:0; 
    overflow-x: hidden;
}
@font-face {
    font-family: 'Andreas-Regular';
    src: url('../font/Andreas-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
h1, .txt-big {
    color: #001;
    font-family: 'Andreas-Regular', serif;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.2;
    text-align: center;
}
h2 {
    color: #001;
    font-family: 'Andreas-Regular', serif;
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 20px 20px 30px 20px;
    text-align: center;
}
h3 {
    margin: 0 50px 0 50px;
    font-weight: 500;
}
a {
    color: #0000CD;
    cursor: pointer;
    font-weight: 400;
    text-decoration: none;
    }
    a:hover {
    cursor: pointer;
}


/* COVER ____________________________ */

.divcover {
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 10;
}
.p-cover {
margin: 10px;
}
.imgcoverbleufix {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.imgcoverbleu {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
    transform: scale(1.25);
    animation: fonblu 3s ease forwards;
    animation-delay: 1s;
    }
    @keyframes fonblu {
      0% {transform: scale(1.25);}
    100% {transform: scale(1.0);}
}
.imgcoververt {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
opacity: 0;
animation: fonv 1s linear forwards;
animation-delay: 4s;
}
    @keyframes fonv {
      0% {opacity: 0;}
    100% {opacity: 1;}
}


/* LOGO ___________________________ */

.divlogo {
    text-align: center;
    height: 100vh;
    position: relative;
    top: 0;
    z-index: 100;
}
.logo {
    height: auto;
    margin-top: 5vh;
    width: 26vw;
}
.fondflou {
    background-color: #fff6;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    bottom: 0;
    height: auto;
    width: 100%;
    position: absolute;
    padding: 20px 0 20px 0;
}



/* MENU TOP ______________________ */

.divtop {
    height: auto; 
    left: 10px;
    position: fixed;
    top: 25px;
    width: auto;
    z-index: 150;
}
.img-icones {
    height: auto;
    width: 30px;
    margin-bottom: 10px;
}
.img-iconesmini {
    height: auto;
    width: 30px;
    margin-bottom: 10px;
}
.img-flags {
    height: auto;
    width: 30px;
    margin-bottom: 10px;
}


/* DIVERS _________________________ */

.visibleyesno {
    display: none;
}
.aumilieu {
    text-align: center;
}
.invisible {
    opacity: 0;
}







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

section, nav {
    position: relative;
    z-index: 100;
}
.grid-container3-2, .grid-container1-4, .grid-container5 {
    margin: 0 50px 60px 50px;
}
.grid-container3-2 {
    display: grid;
    grid-template-columns: 58% 37%; 
    gap: 5%;
}
.grid-container1-4 {
    display: grid;
    grid-template-columns: 16% 79%; 
    gap: 5%;
}
.grid-container5 {
    display: grid;
    grid-template-columns: 100%;
    gap: 0;
}
.fondclair {
    background-color: #fafafc;
}
.fondgris {
    background-color: #ededef;
}
.grandfondflou {
    background-color: #fff7;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding-top: 20px;
}
.dividebig {
    height: 200px;
}
.dividemid {
    height: 90px;
}
.divvillas {
    position: relative;
    height: auto;
    margin: 0 0 60px 0;
}

button {
    background-color: transparent;
    cursor: pointer;
    border: none;
    }
    button:hover {
    animation: bounce 0.2s 2;
    }
    @keyframes bounce {
     0%, 100% {transform: translateY(0);}
    50% {transform: translateY(-8px);}
}
figcaption {
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}


/* 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: #fff;
    border: 1px solid #555;
    border-radius: 10px;
    height: auto;
    margin: 5px;
    padding: 5px;
    width: auto;
}


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

.imgvillas, .img5col {
    height: auto;
    width: 100%;
}
.img1col, .img2col, .img3col {
    height: auto;
    width: 100%;
    margin-top: 8px;
}
.imgbloem {
    height: auto;
    margin: auto;
    width: 120px;
    display: block;
}
.zoom {
    opacity: 0;
    width: 280px;
    height: auto;
    position: absolute;
    cursor: pointer;
    z-index: 144;
    transform: translate(-30px, -30px);
}
.zoom:hover  {
    opacity: 1;
}

/* TXT ______________________________ */

.txt-normal {
    font-size: 1.2rem;
    text-wrap: pretty;
    line-height: 1.4;
}
.txt-petit {
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
}
.txt-hand {
    color: #000;
    font-family: Chalkboard, 'Marker Felt', 'Chalkboard SE', 'Comic Sans Ms', 'Comic Sans', system-ui;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: bold;
}







/* HORLOGE_________________ */

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


/* MOULIN _______________________________ */

.moulin {
    width: 7%;
    height: auto;
    position: absolute;
    left: 17%;
    bottom: 15%;
    z-index: 111;
    animation: mou 0.6s linear infinite;
}
@keyframes mou {
    100% { transform: rotate(-360deg); }
}


/* FEU CHEMINEE */

.fire {
    position: absolute;
    z-index: 122;
    left: 74%;
    top: 9%;
    width: 4%;
    height: 44%;
    border-radius: 50%;
    background-image: url(../webp-pictos/noise2.webp), url(../webp-pictos/noise2.webp), linear-gradient(#fff, #99f);
    background-size: 400px 400px;
    background-blend-mode: difference, difference, normal;
    mix-blend-mode: screen;
    filter: sepia(1) contrast(5) blur(4px) hue-rotate(180deg);
    animation: feu 7s linear infinite;
}
@keyframes feu {
    from { background-position: 0 0, 0 400px; }
    to   { background-position: 0 0, 400px 0; }
}


/* VENTILO */

.ventilo {
position: absolute;
z-index: 2;
left: 77.8%;
top: 31%;
width: 4%;
height: auto;
animation: rote 600ms linear infinite;
}
@keyframes rote {
100% {transform: rotate(360deg)}
}


/* ALARM */

.alarm {
position: absolute;
z-index: 2;
left: 85%;
top: 1%;
width: 7%;
height: auto;
opacity: 1;
animation: alm 1.8s linear infinite;
}
@keyframes alm {

40% {opacity: 1}
41% {opacity: 0.5}
60% {opacity: 0.5}
61% {opacity: 1}
}


/* sparkles _______________________ */

.sparks {
position: absolute;
left: 67%;
top: 55%;
width: 50px;
height: auto;
transform-origin: center;
z-index: 111;
animation: spk 0.6s linear infinite;
}
@keyframes spk {
    20% {transform: scale(2.5) rotate(72deg);}
    20.1% {transform: scale(1) rotate(72deg);}
        40% {transform: scale(2) rotate(144deg);}
        40.1% {transform: scale(1) rotate(144deg);}
            60% {transform: scale(1.8) rotate(210deg);}
            60.1% {transform: scale(1) rotate(216deg);}
                80% {transform: scale(2) rotate(288deg);}
                80.1% {transform: scale(1) rotate(288deg);}
                    99.9% {transform: scale(2.2) rotate(360deg);}
                    100% {transform: scale(1) rotate(360deg);}
}


/* WEBCAM _________________________ */

.snow-container {
    aspect-ratio: 5/2;
    background-image: url(../webp-autres/webcam-hiver.webp);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
    position: relative;
    pointer-events: none;
    margin: 0 50px 20px 50px;
    animation: pano 16s ease infinite;
    }
    @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;}
}
.snowflake {
    position: absolute;
    background-color: #ededef;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}
@keyframes fall {
    0% {opacity: 0; transform: translateY(0);}
    10% {opacity: 1;}
    100% {opacity: 0.5; transform: translateY(100vh);}
}
@keyframes diagonal-fall {
    0% {opacity: 0; transform: translate(0, 0);}
    10% {opacity: 1;}
    100% {opacity: 0.25; transform: translate(10vw, 100vh);}
}


/* MAP ______________________________ */

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









/* =================== */


/* PHONE PADS VERTIC ____________________ */

@media screen and (orientation: portrait) {
.logo {
    width: 40vw;
}
.imgvillas {
    position: relative;
    width: 140%;
    left: -20%;
}
h3 {
    margin: 0 10px 0 10px;
}
.flexcontainer, .grid-container3-2, .grid-container1-4, .grid-container5, .snow-container {
    margin: 0 10px 60px 10px;
}
.grid-container3-2 {
    grid-template-columns: 100%;
    gap: 0;
}
.grid-container1-4 {
    grid-template-columns: 30% 65%;
}
}


/* XL ____________________________________ */

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

body {
    font-stretch: semi-expanded;
}
h3 {
    margin: 0 15% 0 15%;
}
.flexcontainer, .grid-container3-2, .grid-container1-4, .grid-container5, .snow-container {
    margin: 0 15% 60px 15%;
}
.visibleyesno {
    display: block;
}
}


/* XXL */

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

html {
    font-size: 120%;
    }
.img-icones {
    width: 50px;
}
.txt-normal {
    line-height: 1.8;
}
}
