* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "sans";
}

@font-face {
  src: url("font/sans.ttf");
  font-family: "sans";
}

.heading {
  color: #ffffff;
  font-size: 2.5rem;
  text-align: center;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

section {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: #19172e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clock {
  position: relative;
  width: 400px;
  height: 130px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

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

.clock .container h2 {
  font-size: 3.5rem;
  color: #ffffff;
}

.clock .container h2:nth-child(odd) {
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

#ampm {
  position: relative;
  top: 30px;
  left: 8px;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
}

footer {
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border-top: 1px solid #ffffff;
}

footer a:visited {
  color: inherit;
}
