@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");

.roboto-mono-all {
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: italic;
}

body {
    background: #000;
    color: whitesmoke;
    font-size: 3rem;
    height: 98vh;
    letter-spacing: 3px;
}
.clock {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    border: rgb(117, 117, 117) solid 2px;
    border-radius: 20px;
}

#country {
    letter-spacing: 5px;
}

#time {
    font-size: 6rem;
}

#copyright {
    font-size: 1rem;
    font-style: italic;
    position: absolute;
    bottom: 20px;
    color: rgb(117, 117, 117);
}

/* rwd */

@media screen and (max-width: 1024px) {
    .clock {
        font-size: 2rem;
    }

    #time {
        font-size: 5rem;
    }

    #copyright {
        position: static;
        bottom: 0px;
    }
}

@media screen and (max-width: 900px) {
    .clock {
        font-size: 2.5rem;
    }
    #time {
        font-size: 4.5rem;
    }
}

@media screen and (max-width: 700px) {
    .clock {
        font-size: 2.2rem;
    }
    #time {
        font-size: 4rem;
    }
}

@media screen and (max-width: 600px) {
    .clock {
        font-size: 2rem;
    }
    #time {
        font-size: 3rem;
    }
}

@media screen and (max-width: 431px) {
    .clock {
        font-size: 1.5rem;
    }

    #time {
        font-size: 3rem;
    }
}
