/*--  SKY HUES v.1.0 ********************** David Bihanic (c)2025 --*/

/* Importer la police Lora depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');

:root {
  --font: sans-serif;
  --color-bg: #f5f5f5;
  --color-text: white;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  background: black;
  height: 100vh;
  overflow: hidden;
}
.svg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 4s ease-in-out;
}
.text-grid, .text-grid-top, .main-title {
  opacity:0;
  transform: translateY(50px);
  transition: all 1.5s ease-out;
  letter-spacing: 1px;
}
.text-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  position:absolute;
  bottom:1.5rem;
  width:100%;
}
.text-grid-top {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  position:absolute;
  top:0;
  width:100%;
  padding-top:1rem;
  opacity:0;
  transform: translateY(-50px);
  transition: all 1.5s ease-out;
}
.text-column {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding-top:1rem;
  transition: all 0.3s ease;
}
.wavelength-label {
  font-size:11.5px;
  color:var(--color-text);
  margin-bottom:0.3rem;
}
.main-title {
  position:absolute;
  bottom:50%;
  left:50%;
  transform:translate(-50%,50%);
  font-size:12px;
  color:var(--color-text);
}
.text-grid-top .text-column:first-child .wavelength-label {
  font-family: 'Lora', serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 5px;
}
.custom-select {
  position: relative;
  font-family: sans-serif;
  font-size: 12px;
  width: 300px;
  padding-left: 8px;
  padding-right: 8px;
  margin-top: -6px;
  cursor: pointer;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0);
  user-select: none;
  color: #fff;
  transition: all 0.3s ease;
}
.custom-select .selected {
  padding: 5px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0);
  background: transparent;
  text-align: center;
  position: relative;
}
.custom-select .selected::after {
  content: "sel. ▾";
  font-size: 11.5px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #ffffff; contraster */
}
.custom-select .options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  background: transparent;
  z-index: 10;
  max-height: 200px; /* hauteur maximale */
  overflow-y: auto;  /* scroll vertical si la liste dépasse */
}
.custom-select.open .options {
  display: flex;
}
.custom-select .options div {
  padding: 5px 10px;
  color: #fff;
  background: rgba(0,0,0,0.2);
  text-align: center;
  transition: background 0.2s;
}
.custom-select .options div:hover {
  background: rgba(255,255,255,0.1);
}
#city-select:hover {
  border-color: rgba(255,255,255,0.3);
}
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: #c1bebe;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 2s ease;
}
#splash-screen span {
  font-family: sans-serif;
  font-size: 11.5px;
  width: 300px;
  text-transform: uppercase;
  text-align: center;
  display: inline;
  margin-top: 2px;
}
#splash-screen div {
  width: 250px;
  text-align: center;
  display: inline;
}
.large {
  font-family: 'Lora', serif;
  text-transform: uppercase;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 5px;
  font-size: 12px;
  color: white;
}
#datetime {
  margin-top: 1px;
}
.hide-texts {
  opacity: 0 !important;
  transition: opacity 1.5s ease;
}
/* anim creds 
.splash-bottom-text {
  position: absolute;
  font-size: 11.5px;
  bottom: 1.5rem;
  color: #424242;
  text-transform: none;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;                  
  animation: fadeInBottom 1.5s ease forwards;
  animation-delay: 0.5s;             
  transition: opacity 1.2s ease;    
}
@keyframes fadeInBottom {
  to { opacity: 1; }
}
@keyframes fadeOutBottomEarly {
  0% { opacity: 1; }
  60% { opacity: 0; }  
  100% { opacity: 0; }
}
#splash-screen.fade-out .splash-bottom-text {
  animation: fadeOutBottomEarly 1.5s ease forwards;
} */