.container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    /* background-color: #fff; */
    /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);*/
}

.left-container {
    width: 30%;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* background-color: #fff; */
    height: 100%;
    box-sizing: border-box;
}

.week-number {
    font-size: 1.2rem;
    font-weight: bold;
}

.current-date {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

.lunar-year {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

.lunar-date {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 15px;
}

.right-container {
    width: 67%;
    padding: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* background-color: #fff; */
    height: 100%;
    box-sizing: border-box;
}

.week-days {
    display: flex;
    justify-content: space-around;
    width: 100%;
    font-size: 1rem;
}

.week-days div {
    padding: 3px;
    width: 25px;
    text-align: center;
    /* background-color: #f0f0f0; */
    border-radius: 5px;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    width: 100%;
}

.calendar div {
    padding: 0.5px;
    text-align: center;
    /* background-color: #f0f0f0; */
    border-radius: 5px;
    font-size: 0.8rem;
}

.current-day {
    background-color: blue;
    color: white;
}

.flip-clock {
    display: flex;
    justify-content: center;
    font-size: 0.8rem;
    margin-bottom: 25px;
}

.digit {
    position: relative;
    width: 40px;
    height: 50px;
    margin: 0 2px;
    perspective: 1000px;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #222;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    backface-visibility: hidden;
    border: 2px solid #fff;
}

.top, .bottom {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top {
    top: 0;
    border-bottom: 2px dashed #fff;
}

.bottom {
    bottom: 18px;
}

.flipper {
    position: absolute;
    top: 0;
    transform-origin: bottom;
    transition: transform 0.5s ease-in-out;
}

.flip .flipper {
    transform: rotateX(-180deg);
}
