@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap");
body {
  background-color: rgba(153, 153, 153, 0.8666666667);
  font-family: Arimo;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  padding: 10px;
  border: 1px solid black;
  border-radius: 10px;
  background-color: #141414;
  color: #dcdcdc;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.random-btn {
  background-color: rgba(48, 48, 48, 0.628);
  border: none;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

legend {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #141414;
  text-align: center;
}

label {
  color: #f5f5f5;
  font-size: 18px;
}

.douze {
  position: absolute;
  left: 5em;
  top: 0.5em;
  color: #efefef;
}

.trois {
  position: absolute;
  left: 10.5em;
  top: 5.1em;
  color: #efefef;
}

.six {
  position: absolute;
  top: 5.1em;
  left: 0.5em;
  color: #efefef;
}

.neuf {
  position: absolute;
  top: 10em;
  left: 5.4em;
  color: #efefef;
}

.hand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  background-color: #efefef;
  border-radius: 0.31em;
}

.hour {
  height: 2.5em;
  width: 0.31em;
  top: 3.12em;
}

.minute {
  height: 3.75em;
  width: 0.31em;
  top: 1.87em;
}

.seconds {
  height: 4.37em;
  width: 0.18em;
  top: 1.25em;
  background-color: #a84545;
}

.configurator-container {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.configurator {
  height: 60rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 50vh;
  border-radius: 56px;
  padding: 1.5rem;
  position: relative;
  isolation: isolate;
  box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.2);
  background: none;
  border: none;
  overflow: hidden;
}

.configurator::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 56px;
  box-shadow: inset 0 0 19px -8px #ffffff;
  background-color: rgba(255, 255, 255, 0);
}

.configurator::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 56px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  filter: url(#glass-distortion);
  -webkit-filter: url(#glass-distortion);
}

.config {
  width: 70%;
  height: 75px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(42, 42, 48, 0.5803921569);
}

.crown {
  position: absolute;
  height: 1.25em;
  width: 1.25em;
  background: linear-gradient(#aab1bc 0.31em, #ccc8c9 0.31);
  border: 2px solid #3b4547;
  transform: translate(-50%, -50%);
  top: 50%;
  left: calc(50% + 6.56em);
}

.strap {
  height: 55vh;
  width: 7.5em;
  border: 0.12em solid rgb(0, 0, 0);
  border-top: none;
  border-bottom: none;
  border-radius: 5px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  background-color: #212020;
  background-size: 1.12em 1.12em;
  background-position: -0.31em;
  background-image: radial-gradient(#3b4547 2px, transparent 2px);
}

.strap::before {
  position: absolute;
  content: "";
  height: 55vh;
  width: 1.3em;
  background-color: #c0c0c0;
  border: 0.12em solid #3b4547;
  left: 60%;
  border-top: none;
  border-bottom: none;
  background-color: var(--strap-before-color, #c0c0c0);
}

.strap::after {
  position: absolute;
  content: "";
  height: 55vh;
  width: 1.3em;
  background-color: #c0c0c0;
  border: 0.12em solid #3b4547;
  right: 60%;
  border-top: none;
  border-bottom: none;
  background-color: var(--strap-after-color, #c0c0c0);
}

.watch {
  height: 11.25em;
  width: 11.25em;
  background-color: rgb(70, 70, 70);
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  border-radius: 50%;
  box-shadow: 0 0 0 0.12em #3b4547, 0 0 0 0.93em #ccc8c9, 0 0 0 1.06em #000000;
}

.moon-phase {
  position: absolute;
  left: 50%;
  top: 72%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  border: 1px solid #ccc;
  width: 50px;
  height: 50px;
  overflow: hidden;
  background-color: #2c2c2c;
  position: relative;
  --moon-offset: -50px;
}

.moon-phase::before {
  display: none;
}

.moon-phase::after {
  content: "";
  position: absolute;
  top: -5px;
  right: var(--moon-offset);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e5e5e5;
  z-index: 1;
}

.hemisphere {
  display: none;
}

.light {
  background-color: #f4f6f0 !important;
}

.dark {
  background-color: #2c2c2c !important;
}

#stars {
  position: absolute !important;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  display: block !important;
  top: 0;
  left: 0;
}

.star {
  position: absolute;
  width: 1.5px;
  height: 1.5px;
  background-color: #f4f6f0;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 6s infinite;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 2px rgba(244, 246, 240, 0.5);
}

.star:nth-child(3n) {
  width: 2px;
  height: 2px;
  animation-duration: 7s;
}

.star:nth-child(5n) {
  width: 1px;
  height: 1px;
  animation-duration: 5s;
  opacity: 0.6;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}
.color-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 1px;
}

.color-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
  position: relative;
}
.color-btn:hover {
  transform: scale(1.1);
  border-color: #666;
}
.color-btn.active {
  border-color: #000;
}
.color-btn.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
  font-size: 14px;
}

.date {
  position: absolute;
  right: 20px;
  top: 80px;
  border: 1px solid rgba(153, 153, 153, 0.8666666667);
  border-radius: 1px;
  background-color: #141414;
  color: #f5f5f5;
}

@media screen and (max-width: 780px) {
  .configurator-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 150px;
    z-index: 10;
    background: #aeb0b0;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1em;
    overflow-x: auto;
    overflow-y: hidden;
    margin-left: 0;
  }
  .configurator {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 1em;
    height: 100%;
    width: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    overflow: visible !important;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  fieldset {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5px;
    padding: 0;
    margin: 0;
    border: none;
    flex: 0 0 auto;
  }
  legend {
    display: none;
  }
  .config {
    width: 230px;
    height: 85px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(114, 119, 128, 0.7568627451);
    border-radius: 15px;
    padding: 0.5em;
    margin: 0 10px;
  }
  .color-btn {
    width: 40px;
    height: 40px;
  }
  .random-btn {
    height: 50px;
    width: 200px;
  }
  button {
    padding: 5px 8px;
    font-size: 12px;
  }
}
.colors-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.color-choices {
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  border: 1px solid white;
  cursor: pointer;
}

.strap {
  height: 40vh;
}

.strap::before {
  height: 40vh;
}

.strap::after {
  height: 40vh;
}

/*# sourceMappingURL=style.css.map */
