/* ----------------------------------------------------------------------
   Neumorphic Digital Clock - Stylesheet
   Author: bufferwise (https://discord.gg/26MMXRHgZB)
   ---------------------------------------------------------------------- */

/* GLOBAL RESET & DEFAULT STYLES ---------------------------------------- */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* BODY STYLING --------------------------------------------------------- */
body {
  font-family: 'Roboto Mono', monospace;
  font-size: 4vmin;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(-45deg, #B2D7FF, #87CEEB); /* Light teal to darker teal gradient */
}

/* CLOCK STRIPS (Hours, Minutes, Seconds) ------------------------------- */
.hr, .min, .sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4vmin;
  align-items: start;
}

/* CLOCK NUMBERS -------------------------------------------------------- */
.number {
  user-select: none;
  width: 8vmin;
  height: 8vmin;
  display: grid;
  place-items: center;
  color: #FFF; /* White text color */
  transition: all 500ms 100ms ease;
  border-radius: 50%;
}

/* HIGHLIGHTED (POP EFFECT) NUMBERS ------------------------------------- */
.number.pop {
  color: #FFC0CB; /* Pastel pink highlight */
  font-weight: bold;
  transform: scale(1.3);
  background-color: #E0E0E0; /* Light grey background */
  box-shadow:
    -1vmin -1vmin 2vmin -0.5vmin #F5F5F5, /* Softer light shadow */
    1vmin 1vmin 2vmin #A9A9A9; /* Darker shadow for depth */
}

/* CLOCK STRIP CONTAINERS ----------------------------------------------- */
.strip {
  transition: transform 500ms ease-in-out;
  border-radius: 1.333vmin;
  background-color: #D7EBEE; /* Lighter teal background */
  box-shadow:
    -1vmin -1vmin 2vmin -0.5vmin #F0F0F0, /* Softer light shadow */
    1vmin 1vmin 2vmin #A9A9A9; /* Darker shadow for depth */
}

/* CLOCK LAYOUT --------------------------------------------------------- */
.clock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 8vmin;
  height: 4vmin;
  position: relative;
  padding: 0 4vmin;
}