/* style.css for digital clock */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@700&display=swap');
body {
    background: silver;
    color: black;
}

button {
    background: black;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 12px; 
}

button:hover {
    background: rgba(0,0,0,0.1);
    transform: translateY(-2px);
    transition: all 0.15s ease;
}

.display-3 {
    font-weight: 700;
}

.clockcontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    min-height: 30vh;
    margin-bottom: 40px;
}

.clock {
    font-family: 'Space Mono', monospace;
    font-size: 6rem;
    box-shadow: 0 0 6px rgb(202, 200, 200);
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgb(77, 75, 75) 100%);
    border: 5px solid #ffffff;
    border-radius: 20px;
    padding: 70px 60px 60px 60px;    
    color: rgb(0, 255, 60);
    -webkit-box-reflect: below 14px -webkit-gradient(linear, right top, right bottom, from(transparent), to(rgba(255, 255, 255, 0.3)));
}

.clock {
    overflow: visible;
}

@media (max-width: 1093px) {
    .clock { font-size: 4.5rem; }
}

@media (max-width: 850px) {
    .clock { font-size: 3rem; }
}

@media (max-width: 600px) {
    .clock { font-size: 2.2rem; }
}
