.body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    font-size: 20px;
    line-height: 1.5;
    background-image: url('/img/bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#timer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timer-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}

#timer .timer-row .dt {
    font-size: 2rem;
    display: flex;
    position: relative;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #000000 0%,#333333 39%,#424242 52%,#000000 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

#timer .dt:first-child {
    background: linear-gradient(to bottom, #fe4f32 0%,#fc654e 40%,#fc8674 52%,#fe4f32 100%);
}

#timer .dt span {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    transition: all 0.5s ease-in-out;
    transform: translateY(100%);
    text-align: center;
}



#timer .dt span.prepare-timer {
    z-index: 1;
    transform: translateY(120%);
}

#timer .dt span.new-timer {
    z-index: 1;
    transform: translateY(0%) scale(1.4);
}

#timer .dt span.remove-timer {
    z-index: 2;
    transform: translateY(-100%);
}

#timer .dt span.start {
    z-index: 2;
    transform: translateY(0%) scale(1.4);
    color: #fff;
}

#timer .timer-text {
    font-size: .8rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    width: 60px;
    text-align: center;
    text-transform: uppercase;
}

.logo {
    width: 90%;
    max-width: 400px;

}

h1 {
    font-size: 3rem;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #000;
    margin-bottom: 20px;

}

/* Responsive */
@media (max-width: 768px) {

    h1 {
        font-size: 1.7rem;
        text-align: center;
    }

    body {
        background-image: none;
    }
    .wrap {
        padding: 0 10px;
        box-shadow: none;
    }
    #timer .timer-row .dt {
        width: 50px;
        height: 50px;
    }
    #timer .dt span {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    #timer .timer-text {
        width: 50px;
        font-size: .7rem;
    }
    p {
        text-align: center;
        font-size: 1.1rem;
    }
}

/* Responsive */
@media (max-width: 450px) {

    h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    body {
        background-image: none;
    }
    .wrap {
        padding: 0 10px;
        box-shadow: none;
    }
    #timer .timer-row .dt {
        width: 40px;
        height: 40px;
    }
    #timer .dt span {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    #timer .timer-text {
        width: 40px;
        font-size: 0.7rem;
    }
    p {
        text-align: center;
        font-size: 1rem;
    }
}