* {
  padding: 0px;
  margin: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #010916;
  background-image: url("stars.jpg");
  background-size: cover;
}

.center,
.clock,
.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.row-center,
.clock .hour-arm,
.clock .min-arm,
.clock .sec-arm,
.clock .hours .number,
.clock .dots .dot-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.container {
  width: 100vw;
  height: 100vh;
  min-width: 500px;
  min-height: 500px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.quote {
  position: fixed;
  right: 40px;
  bottom: 40px;
  color: white;
  font-style: italic;
  z-index: 0;
}

.quote q {
  font-size: 1.75rem;
  cursor: pointer;
  quotes: none;
}

.quote q::after {
  content: "";
  height: 1px;
  width: 100%;
  display: block;
  background: linear-gradient(to right, white, red);
  animation: shoot 3s linear infinite;
}

@keyframes shoot {
  from {
    transform: scaleX(0.5);
    transform-origin: left;
  }

  50% {
    transform: scaleX(0.6);
    transform-origin: bottom right;
  }

  to {
    transform: scaleX(0);
    transform-origin: bottom right;
  }
}

.quote span {
  margin-right: 15px;
  display: block;
  font-size: larger;
  text-align: right;
  text-decoration: underline;
}

.clock {
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background-color: #193566;
  box-shadow:
    0px 10px 15px 7px black,
    inset 0px -10px 8px gray,
    0px -10px 12px 7px gray,
    inset 0px 10px 12px black;
  z-index: 1000;
}

.clock .brand {
  position: absolute;
  top: 24%;
  font-size: larger;
  color: #d4af37;
  font-family: "Times New Roman", Times, serif;
}

.clock .midpoint {
  width: 13px;
  height: 13px;
  background-image: radial-gradient(gray 10%, white 50%);
  border-radius: 50%;
  z-index: 1000;
}

.clock .dots {
  font-size: 1.75rem;
  font-weight: bold;
  width: 100%;
  height: 100%;
  position: absolute;
}

.clock .dots .dot:nth-child(5) {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #d4af37;
}

.clock .dots .dot-box {
  position: absolute;
  width: 100%;
  height: 100%;
}

.clock .dots .dot-box .dot {
  margin: 7px;
}

.clock .dots .dot-box .dot5 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot10 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot15 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot20 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot25 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot30 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot35 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot40 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot45 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot50 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot55 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box .dot60 {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gold;
  position: relative;
  top: -1px;
}

.clock .dots .dot-box span {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background-color: white;
}

.clock .hours {
  font-size: 1.75rem;
  font-weight: bold;
  width: 100%;
  height: 100%;
  position: absolute;
}

.clock .hours .number {
  position: absolute;
  color: white;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 15px;
}

.clock .hour-arm,
.clock .min-arm,
.clock .sec-arm {
  position: absolute;
}

.clock .hour-arm::before {
  content: "";
  position: absolute;
  height: 70px;
  width: 10px;
  background-color: rgb(192, 10, 10);
  bottom: 0px;
  z-index: 500;
  -webkit-clip-path: polygon(50% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
  clip-path: polygon(50% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
}

.clock .min-arm::before {
  content: "";
  position: absolute;
  height: 90px;
  width: 6px;
  background-color: white;
  border-radius: 7px;
  bottom: 0px;
  z-index: 500;
  -webkit-clip-path: polygon(50% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
  clip-path: polygon(50% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
}

.clock .sec-arm::before {
  content: "";
  position: absolute;
  height: 145px;
  width: 2px;
  background-color: rgb(56, 245, 9);
  border-radius: 3px;
  bottom: -30px;
  z-index: 500;
}

@media (min-width: 1400px) {
  .clock {
    width: 450px;
    height: 450px;
  }

  .clock .hour-arm::before {
    height: 90px;
  }

  .clock .min-arm::before {
    height: 130px;
  }

  .clock .sec-arm::before {
    height: 190px;
  }
}

/* Day/Night Indicator */
.clock .indicator {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  z-index: -100;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.indicator svg {
  display: none;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.indicator svg.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
