@font-face {
  font-family: 'Digital';
  src: url(./fonts/DS-DIGI.TTF) format('woff2');
  src: url(./fonts/DS-DIGIB.TTF) format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: white;
}

body {
  height: 100vh;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}



.container {
  /* height: 100vh; */
  /* width: 100vw; */
  color: lightblue;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.clock {
  font-family: Digital;
  font-size: 8rem;
  width: 37rem;
}

p.clock {
  animation: neon .08s linear infinite;


}

.year {
  margin-top: 1rem;
  font-family: Digital;
  animation: neon 4s linear infinite;
  font-size: 3rem;

}

@keyframes neon {
  from {
    text-shadow:
      0 0 6px rgba(202, 228, 225, 0.92),
      0 0 30px rgba(202, 228, 225, 0.34),
      0 0 12px rgba(30, 132, 242, 0.52),
      0 0 21px rgba(30, 132, 242, 0.92),
      0 0 34px rgba(30, 132, 242, 0.78),
      0 0 54px rgba(30, 132, 242, 0.92);
  }

  to {
    text-shadow:
      0 0 6px rgba(202, 228, 225, 0.98),
      0 0 30px rgba(202, 228, 225, 0.42),
      0 0 12px rgba(30, 132, 242, 0.58),
      0 0 22px rgba(30, 132, 242, 0.84),
      0 0 38px rgba(30, 132, 242, 0.88),
      0 0 60px rgba(30, 132, 242, 1);
  }
}

@media screen and (max-width: 600px) {
  .container {
    width: 22rem;
  }

  .clock {
    font-size: 4rem;
    width: 22rem;
  }

  .year {
    font-size: 2rem;
    width: 22rem;
  }
}

@media screen and (max-width: 300px) {
  .clock {
    font-size: 3.5rem;
  }

  .year {
    font-size: 1.8rem;
  }
}