@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: #444;
    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, h2, h3 {
    color: #548;
    font-family: 'Andreas-Regular', serif;
    line-height: 1.2;
}
h1, h2 {
    font-size: 2rem;
    text-align: center;
    margin: 0 0 60px 0;
}
h2 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 10px;
}
h3 {
    font-size: 1.5rem;
    margin: 20px 50px 24px 50px;
}
a {
    color: #009;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    }
    a:hover {
    cursor: pointer;
}


/* COVER ____________________________ */

.divfondbleu {
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 10;
}
.imgcover {
    animation: fonblu 5s ease forwards;
    animation-delay: 1s;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    position: relative;
    transform: scale(1.25);
    width: 100%;
    }
    @keyframes fonblu {
      0% {transform: scale(1.25);}
    100% {transform: scale(1.0);}
}



/* LOGO ___________________________ */

.divlogo {
    height: 78vh;
    position: relative;
    top: 0;
    z-index: 100;
}
.logo {
    position: relative;
    top: 8vh;
    left: 65vw;
    width: 30vw;
    max-width: 360px;
    height: auto;
}

.fondflou {
    background-color: #fff4;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    min-height: 20vh;
    padding: 20px;
    position: relative;
    z-index: 100;
}


/* 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;
}
.flag {
    position: fixed;
    top: 25px;
    left: 80px;
    width: 45px;
    height: auto;
    z-index: 90;
    }
.version {
    font-size: 0.9rem;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 20px;
}









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

.grid-container3-2, .grid-container1-4, .grid-container5 {
    margin: 0 50px 40px 50px;
}
.grid-container3-2 {
    display: grid;
    grid-template-columns: 58% 37%; /* Two equal columns */
    gap: 5%;
}
.grid-container1-4 {
    display: grid;
    grid-template-columns: 22% 73%; /* Two equal columns */
    gap: 5%;
}
.grid-container5 {
    display: grid;
    grid-template-columns: 100%; /* Two equal columns */
    gap: 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 {
    color: #555;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}
section, nav {
    min-height: 100vh;
}


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


/* DIVS _________________________ */

.fondclair {
    background-color: #fafafc;
    position: relative;
    z-index: 100;
}
.fondgris {
    background-color: #ededef;
    position: relative;
    z-index: 100;
}
.dividebig {
    height: 200px;
}
.dividemid {
    height: 90px;
}
.dividemin {
    height: 40px;
}
.divvillas {
    position: relative;
    height: auto;
}


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

.imgvillas, .img1col, .img2col, .img3col, .img5col {
    height: auto;
    pointer-events: none;
    width: 100%;
}
.imgbloem {
    height: auto;
    margin: auto;
    width: 120px;
    display: block;
}
.img3org {
    width: 21%;
    height: auto;
    margin-right: 5%;
}


/* TXT ______________________________ */

.txt-grand {
    font-size: 1.4rem;
}
.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 {
    font-family: Chalkboard, 'Marker Felt', 'Chalkboard SE', 'Comic Sans Ms', 'Comic Sans', system-ui;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: bold;
}


/* DIVERS _________________________ */

.iconaudio {
    transform: rotate(90deg);
}
.visibleyesno {
    display: none;
}
.aumilieu {
    text-align: center;
}
.invisible {
    opacity: 0;
}
.bleu {
    color: #009;
}
.gris {
    color: #999;
}


/* 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); }
}


/* FLAMME _______________________________ */

.fire {
  filter: blur(2px);
  position: absolute;
  left: 87%;
  top: 0;
  width: 10%;
  height: 58%;
}
.particle {
  animation: rise 0.9s ease-in infinite;
  background-image: radial-gradient(#FFE 5%, #360 12%, #0400 65%);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0;
  position: absolute;
  bottom: 0;
  width: 20%;
  height: 13%;
}

.particle:nth-of-type(1) {
  animation-delay: 0s;
  left: 2px;
}
.particle:nth-of-type(2) {
  animation-delay: 0.329934951s;
  left: 3px;
}
.particle:nth-of-type(3) {
  animation-delay: 0.7701890353s;
  left: 1px;
}
.particle:nth-of-type(4) {
  animation-delay: 0.4523642142s;
  left: 5px;
}
.particle:nth-of-type(5) {
  animation-delay: 0.161665896s;
  left: 2px;
}
.particle:nth-of-type(6) {
  animation-delay: 0.2688804616s;
  left: 3px
}
.particle:nth-of-type(7) {
  animation-delay: 0.0776861157s;
  left: 4px;
}
.particle:nth-of-type(8) {
  animation-delay: 0.6635286383s;
  left: 6px;
}
.particle:nth-of-type(9) {
  animation-delay: 0.8914727215s;
  left: 1px;
}
.particle:nth-of-type(10) {
  animation-delay: 0.8389715713s;
  left: 2px;
}

.particle:nth-of-type(11) {
  animation-delay: 0.8402487657s;
  left: 3px;
}
.particle:nth-of-type(12) {
  animation-delay: 0.5690596431s;
  left: 4px;
}
.particle:nth-of-type(13) {
  animation-delay: 0.5558120132s;
  left: 5px;
}
.particle:nth-of-type(14) {
  animation-delay: 0.6793460058s;
  left: 6px;
}
.particle:nth-of-type(15) {
  animation-delay: 0.2786123352s;
  left: 3px;
}
.particle:nth-of-type(16) {
  animation-delay: 0.150136946s;
  left: 2px;
}
.particle:nth-of-type(17) {
  animation-delay: 0.5046498193s;
  left: 6px;
}
.particle:nth-of-type(18) {
  animation-delay: 0.0246307845s;
  left: 11px;
}
.particle:nth-of-type(19) {
  animation-delay: 0.5474116877s;
  left: 1px;
}
.particle:nth-of-type(20) {
  animation-delay: 0.4534556568s;
  left: 2px;
}

.particle:nth-of-type(21) {
  animation-delay: 0.8604725118s;
  left: 3px;
}
.particle:nth-of-type(22) {
  animation-delay: 0.2866678348s;
  left: 4px;
}
.particle:nth-of-type(23) {
  animation-delay: 0.4264238862s;
  left: 9px;
}
.particle:nth-of-type(24) {
  animation-delay: 0.0658200249s;
  left: 4px;
}
.particle:nth-of-type(25) {
  animation-delay: 0.6451161539s;
  left: 3px;
}
.particle:nth-of-type(26) {
  animation-delay: 0.1274021345s;
  left: 2px;
}
.particle:nth-of-type(27) {
  animation-delay: 0.7005658836s;
  left: 1px;
}
.particle:nth-of-type(28) {
  animation-delay: 0.8954924422s;
  left: 10px;
}
.particle:nth-of-type(29) {
  animation-delay: 0.5698765709s;
  left: 3px;
}
.particle:nth-of-type(30) {
  animation-delay: 0.4713065383s;
  left: 7px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  20% {
    opacity: 0.9;
  }
  to {
    opacity: 0;
    transform: translateY(-130px) scale(0);
  }
}


/* 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;
    background-color: lightgray;
    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: #ddd;
    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: 60vw;
    left: 20vw;
}
.imgvillas {
    position: relative;
    width: 140%;
    left: -20%;
}
.grid-container3-2 {
    grid-template-columns: 100%;
    gap: 0;
}
.grid-container1-4 {
    grid-template-columns: 30% 70%;
}
}


/* XL ____________________________________ */

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

.divlogo {
    height: 85vh;
}
.flexcontainer, .grid-container3-2, .grid-container1-4, .grid-container5, .snow-container {
    margin: 0 15% 40px 15%;
}
h3 {
    line-height: 1.8;
    margin: 0 15% 20px 15%;
}
.visibleyesno {
    display: block;
}
.globe {
    background-size: 800px 400px;
    width: 400px;
    }
    @keyframes movi {
      0% { background-position: 0 0;}
    100% { background-position: 800px 0;}
}
.divvillas {
    margin: 0 65px 0 65px;
}
}


/* XXL */

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

html {
    font-size: 110%;
    }
body {
    font-stretch: semi-expanded;
}
.img-icones {
    width: 50px;
}
.txt-normal {
    line-height: 2;
}
}
