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

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #ececf3;
  transition: 0.4s;
}

.clock-circle {
  width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(/clock.png);
  background-size: cover;
  border-radius: 50%;
  box-shadow: -6px -6px 16px #fff, 6px 6px 16px #d1d1e6,
    inset 6px 6px 16px #d1d1e6, inset -6px -6px 16px #fff;
  transition: 0.4s;
}

.hands {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.hands::before {
  content: "";
  background-color: #ff105e;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  z-index: 1;
  border: 3px solid #fff;
}

.hands div {
  background-color: #858588;
  width: 5px;
  height: 120px;
  position: absolute;
  transform-origin: bottom center;
  bottom: 50%;
  border-radius: 6px 6px 0 0;
}

.hands .hour {
  height: 78px;
  transform: rotate(30deg);
}

.hands .minute {
  height: 121px;
}

.hands .seconds {
  width: 2px;
  height: 150px;
  background-color: #ff105e;
  top: 50%;
  transform-origin: 50% 77%;
  transform: translate(-50%, -77%) rotate(90deg);
}

.clock-theme {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 30px;
  right: 30px;
  height: 40px;
  width: 40px;
  padding: 0.25rem;
  border-radius: 50%;
  color: #656567;
  box-shadow: inset -1px -1px 1px #ffffff, inset 1px 1px 1px #d1d1e6;
  cursor: pointer;
  transition: 0.4s;
}

#themebutton {
  font-size: 20px;
}

body.dark-theme {
  background-color: #25252d;
}

.dark-theme .clock-circle {
  box-shadow: 6px 6px 16px #1c1c21, -6px -6px 16px #2f2f37,
    inset -6px -6px 16px #2f2f37, inset 6px 6px 12px #1c1c21;
}

.dark-theme .clock-theme {
  box-shadow: inset -1px -1px 1px #2f2f37, inset 1px 1px 1px #1c1c21;
}

.bxs-sun {
  color: yellow;
}

.youtube {
  position: absolute;
  top: 90%;
  color: #858588;
  font-family: sans-serif;
  font-size: 15px;
}
