/**** Reset ****/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
}

/**** body ****/

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #fffffe;
    color: #0f0e17;
    font-family: sans-serif;
    overflow: hidden;
}

/**** div container ****/

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/**** div clock Horloge analogique ****/

.clock {
    background-color: #0f0e17;
    color: #fffffe;
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid #fffffe;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(0, 0, 0, 0.7);
    font-size: 26px;
    font-weight: bold;
}

.clock ul li {
    position: absolute;
    text-align: center;
    transform: rotate(calc(30deg * var(--i)));
    inset: 5px;
}

.clock ul li span {
    transform: rotate(calc(-30deg * var(--i)));
    display: inline-block;
}

.clock::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fffffe;
}

.needle {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.needle span {
    position: absolute;
    width: 5px;
    height: var(--h);
    background-color: var(--clr);
    border-radius: 5px;
}

/**** div id time Horloge numérique ****/

#time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.date,
.time {
    font-size: 26px;
    font-weight: bold;
    padding: 15px 10px;
    text-align: center;
}