body {
    background: #00bfff;
}

.clock h3{
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    text-align: center;
    color: white

}

.clock {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    justify-content: center;
    font-family: sans-serif; 
}

.time{
    display: flex;
}

.time div{
    margin: 3px;
    position: relative;
}

.time span{
    width: 100px;
    height: 80px;
    background: rgb(24, 24, 230);
    opacity: .8;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.time .text{
    height: 30px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: darkblue;
    opacity: 0.8;
    background-size: cover;
}

.time #ampm{
    bottom: 0;
    position: absolute;
    width: 60px;
    height: 30px;
    font-size: 20px;
    background: rgb(72, 72, 143);
}