html { height: 100vh; }
body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    background: rgb(185,0,0);
    background: linear-gradient(180deg, rgba(185,0,0,1) 0%, rgba(98,0,0,1) 98%);
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
}

.logo {
    min-width: 400px;
    max-width: 80%;
    height: auto;
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.logo img {
    width: 100%;
    height: auto;
    }

.digit {
    width: 3em;
    height: 3em;
    line-height: 3em;
    text-align: center;
    background: rgb(107,0,0);
    background: linear-gradient(180deg, rgba(107,0,0,1) 0%, rgba(54,0,0,1) 98%);
    color: #fff;
    border-radius: 5px;
    margin: 0 0.5em;
    overflow: hidden;
    position: relative;
    box-shadow: 0 7px 12px rgba(0, 0, 0, 0.8);
    transform-style: preserve-3d;
}



.divider {
    font-size: 2em;
    color: #333;
}

@keyframes flip {
    from {
        transform: rotateX(0);
    }
    to {
        transform: rotateX(180deg);
    }
}

.flip {
    animation: flip 0.5s forwards;
}


@media only screen and (max-width: 600px) {
    .countdown {
        font-size: 1.5em; /* Zmenšení velikosti textu pro mobilní zařízení */
    }

    .digit {
        width: 1.5em;
        height: 1.5em;
        line-height: 1.5em;
        font-size: 1.1em; /* Zmenšení velikosti textu pro mobilní zařízení */
    }
    .logo img { display: block; }
    
    .logo {
    display: flex; 
    justify-content: center;
    width: 80vw;
    padding-left: 5vw;
    padding-right: 5vw;
    }
}
