@keyframes panning {
    0% {
      background-position: 0% 0%;
    }
    25% {
      background-position: 100% 100%;
    }
     50% {
      background-position: 100% 0%;
    }
    75% {
      background-position: 0 100%;
    }
    200% {
      background-position: 0 0;
    }
  }
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    animation: panning 30s infinite linear;
}

#clock {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10em;
    color: #eceff4;
    text-align: center;
    line-height: 100%;
    font-family: 'Abril Fatface', cursive;
    text-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2), 4px 4px 2px rgba(0, 0, 0, 1);
}
#date {
    font-size: 1.5em;
    letter-spacing: 0.05em;
    color: #eceff4;
    text-align: center;
    font-family: 'Abril Fatface', cursive;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2), 2px 2px 2px rgba(0, 0, 0, 1);
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Chivo Mono', monospace;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}
#overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#overlay.active ~ * {
    filter: blur(5px);
}

#overlay form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#overlay input {
    font-size: 4em;
    font-family: 'Chivo Mono', monospace;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    outline: none;
    caret-color: #f224ff;
}

.links ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center;
    line-height: 160%;
}

.links a {
    text-decoration: none;
    font-size: 1.2em;
    color: #fff;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.links a:hover {
    text-decoration: underline;
    text-decoration-color: #f224ff;
    opacity: 1;
    font-size: 1.8em;
}

