* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Technology';
    src: url('fonts/Technology-Bold.woff2') format('woff2'),
         url('fonts/Technology-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


html,
body {
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vw;
}

.week {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5vw;
    color: #2d2d2d;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    width: auto;
}

.week .active {
    color: rgb(255, 255, 255);

}

.week .active:nth-child(7) {
    color: #ff4d4d;

}

.digital-clock {
    background-color: black;
    color: #fff;
    display: flex;
    border-radius: 2vw;
    user-select: none;
    padding: 0 2vw;
    border: 0.5vw solid #2d2d2d;
}

.time {
font-family: 'Technology', monospace;
    letter-spacing: 0.1vw;
}

.hour,
.min,
.sec,
.dot {
    display: inline-block;
    font-size: 25vw;
}

.ampm {
    display: inline-block;
    font-size: 4vw;
    margin-left: 1vw;
    align-self: flex-end;
    font-family: 'Orbitron', monospace;
}

.date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    font-family: 'Technology', monospace;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 3rem;
}

.date .separator {
    margin: 0 0.1rem;
}

@media (max-width: 768px) {
    .date {
        font-size: 1rem;
        gap: 0.1rem;
    }
}

.invisible {
    visibility: hidden;
}