@keyframes glitch {
    0%, 97%, 100% {
        transform: translate(0);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8),
                    0 0 25px rgba(255, 255, 255, 0.6),
                    0 0 35px #ff00c1,
                    0 0 45px #00fff9;
    }
    97.5% {
        transform: translate(-25px, 25px) skew(15deg);
        text-shadow: 25px 25px #ff00c1,
                    0 0 15px #ff00c1,
                    0 0 25px #ff00c1;
    }
    98% {
        transform: translate(20px, -28px) skew(-12deg);
        text-shadow: -20px 15px #00fff9,
                    0 0 15px #00fff9,
                    0 0 25px #00fff9;
    }
    98.5% {
        transform: translate(-28px, 20px) skew(20deg);
        text-shadow: 18px -25px #ff00c1,
                    0 0 15px #ff00c1,
                    0 0 25px #ff00c1;
    }
    99% {
        transform: translate(25px, -20px) skew(-18deg);
        text-shadow: -25px 20px #00fff9,
                    0 0 15px #00fff9,
                    0 0 25px #00fff9;
    }
}

body {
    background-color: #19172e;
}

span {
    color: #19172e;
    background-color: #19172e;
}

h2 {
    display: inline-block;
    background: linear-gradient(to left, rgb(247, 213, 200), rgb(202, 206, 255));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 70px;
    width: 900;
    cursor: pointer;
    margin: 5px;
    font-style: normal;
    padding: 71px;
    text-align: center;
    animation: glitch 10s infinite;
    filter: drop-shadow(0 0 15px rgba(247, 213, 200, 0.9))
           drop-shadow(0 0 25px rgba(202, 206, 255, 0.9))
           drop-shadow(0 0 35px rgba(247, 213, 200, 0.7))
           drop-shadow(0 0 45px rgba(202, 206, 255, 0.7));
}

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

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

section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 20%;
    width: 300px;
    height: 300px;
    border-radius: 10px;
    background: linear-gradient(#ff69b4,#800080);
    animation: animate 5s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255,105,180,0.5),
                0 0 60px rgba(255,105,180,0.7),
                0 0 90px rgba(128,0,128,0.8),
                0 0 120px rgba(128,0,128,1);
}

section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 20%;
    width: 250px;
    height: 250px;
    border-radius: 10px;
    background: linear-gradient(#01d6ff,#0f24f9);
    animation: animate 5s ease-in-out infinite;
    animation-delay: -2.5s;
    box-shadow: 0 0 30px rgba(1,214,255,0.5),
                0 0 60px rgba(1,214,255,0.7),
                0 0 90px rgba(15,36,249,0.8),
                0 0 120px rgba(15,36,249,1);
}

@keyframes animate {
    0%,100% {
        transform: translateY(20px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.clock {
    position: relative;
    width: 700px;
    height: 250px;
    background: rgba(255,255,255,0.05);
    z-index: 1000;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
}

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

.clock .container h2 {
    font-size: 6em;
    color: white;
    animation: glitch 10s infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
                 0 0 25px rgba(255, 255, 255, 0.8),
                 0 0 35px rgba(255, 255, 255, 0.7),
                 0 0 45px rgba(255, 255, 255, 0.6);
}

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

.clock .container h2#second {
    color: white;
}

#ampm {
    position: relative;
    top: -50px;
    font-size: 2em;
    color: rgb(200, 200, 200); 
    font-weight: 700;
    animation: glitch 10s infinite;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2), 
                 0 0 6px rgba(255, 255, 255, 0.1); 
}

body {
    text-align: center;
    font-family: Arial, sans-serif;
}

h1 {
    font-size: 100px;
    line-height: 225px;
    color: rgb(255, 255, 255); 
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2), 
                 0 0 6px rgba(180, 180, 180, 0.1); 
    animation: glitch 10s infinite;
}