

.clock {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 20x solid black;
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
}
.clock .number {
  --rotation: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 40px;
  transform: rotate(var(--rotation));
}

.clock .number1 {
  --rotation: 30deg;
}
.clock .number2 {
  --rotation: 60deg;
}
.clock .number3 {
  --rotation: 90deg;
}
.clock .number4 {
  --rotation: 120deg;
}
.clock .number5 {
  --rotation: 150deg;
}
.clock .number6 {
  --rotation: 180deg;
}
.clock .number7 {
  --rotation: 210deg;
}
.clock .number8 {
  --rotation: 240deg;
}
.clock .number9 {
  --rotation: 270deg;
}
.clock .number10 {
  --rotation: 300deg;
}
.clock .number11 {
  --rotation: 330deg;
}

.clock .hand {
  --rotation: 0;
  position: absolute;
  bottom: 50%;
  left: 50%;
  border-radius: 50%;
  transform-origin: bottom;
  transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}

.clock .hand.second {
  width: 3px;
  height: 45%;
  background-color: red;
}

.clock .hand.minute {
  width: 7px;
  height: 40%;
  background-color: #fff;
}
.clock .hand.hour {
  width: 10px;
  height: 35%;
  background-color: #fff;
}

.digital {
  position: absolute;
  bottom: 5px;
}

#date {
  position: absolute;
  top: 50px;
}

.date {
  display: inline-block;
  margin: 0 20px;
}

.digits {
  display: inline-block;
  margin: 0 20px;
}

@font-face {
  font-family: "digital-clock-font";
  src: url("../fonts/digital-7.ttf");
}

h1 {
  color: #1f152d;
  font-family: "digital-clock-font";
}

.clock .number {
  color: #1f152d;
  font-family: "digital-clock-font";
  font-size: 40px;
}
.clock-section {
    height: 100%;
    position: relative;
	background: rgba(255,255,255,0.2);
}
.top-clock-frames:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border-right: 3px solid #1f152d;
    border-top: 3px solid #1f152d;
}
.top-clock-frames:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border-left: 3px solid #1f152d;
    border-top: 3px solid #1f152d;
}
.bottom-clock-frames:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border-right: 3px solid #1f152d;
    border-bottom: 3px solid #1f152d;
}
.bottom-clock-frames:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: transparent;
    border-left: 3px solid #1f152d;
    border-bottom: 3px solid #1f152d;
}