body {
    margin: 0;
    background-image: url(./media/clock-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Arial, sans-serif;
}

#container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#clock-frame {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 5px solid black;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 40%;
    gap: 0px;
}

#clock {
    font-family: 'Courier New', Courier, monospace;
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    color: white;
    flex-grow: 1;
}

.format-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.format-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    #clock-frame {
        width: 80%;
        padding: 15px;
    }

    #clock {
        font-size: 2rem;
    }

    .format-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

@media (min-width: 1200px) {
    #clock-frame {
        width: 50%;
        padding: 30px;
    }

    #clock {
        font-size: 5rem;
    }

    .format-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}