body,
html {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    background-color: black;
    height: 100vh;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0px 0px;
}

.Clock {
    grid-area: 2 / 2 / 3 / 3;
    color: white;
    margin: auto;
}

.clockface {
    height: 75vh;
    width: 75vh;
    border-radius: 50%;
    border: 2px solid white;
    position: relative;
    z-index: 0;
}

.hours-container {
    height: 100%;
    width: 100%;
    animation: rotate 43200s infinite linear;
    position: absolute;
}

.minutes-container {
    height: 100%;
    width: 100%;
    transition: transform 0.3s cubic-bezier(.4, 2.08, .55, .44);
    position: absolute;
}

.seconds-container {
    height: 100%;
    width: 100%;
    atransition: transform 0.2s cubic-bezier(.4, 2.08, .55, .44);
    position: absolute;
}

.hours {
    width: 2%;
    height: 10%;
    background-color: white;
    position: absolute;
    left: 49%;
}

.minutes {
    width: 1%;
    height: 15%;
    background-color: white;
    position: absolute;
    left: 49.5%;
}

.seconds {
    width: 0.5%;
    height: 20%;
    background-color: white;
    position: absolute;
    left: 49.75%;
}

@keyframes rotate {
    100% {
        transform: rotateZ(360deg);
    }
}

@media all and (-ms-high-contrast: none) {
    .container {
        display: -ms-grid;
        -ms-grid-columns: 1fr 1fr 1fr;
        -ms-grid-rows: 1fr 1fr 1fr;
        gap: 0px 0px;
    }

    .Clock {
        -ms-grid-row: 2;
        -ms-grid-row-span: 1;
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        color: white;
    }
}

.text {
    color: white;
}

.digital {
    font-size: 4em;
    background-color: black;
    z-index: 99;
    border-radius: 20px;
}