/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #74b9ff, #a29bfe);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}
*/
.container_counter {
    text-align: center;
    padding: 5px;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    color:#fff;
}

h1 {
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: 600;
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden; /* Previne deformarea layout-ului */
}

.time-segment {
    text-align: center;
    min-width: 70px;
    flex: 1;
}

.time-segment span {
    font-size: 2.5em;
    font-weight: 600;
    display: block;
}

.time-segment p {
    font-size: 1em;
   /* margin-top: 5px;*/
    font-weight: 600;
    opacity: 0.8;
    text-align:center;
    padding:0px;
    margin:0px;
    text-indent: 0px;
}

.separator {
    font-size: 2.5em;
    font-weight: 600;
    line-height: 1;
}

.container_counter #message {
    color: red;
    font-weight: bold;
    font-size: 18px;
    margin-top:8px;
}

/* Ajustari pentru ecrane mici */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }

    .time-segment span {
        font-size: 2em;
    }

    .separator {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    .time-segment {
        min-width: 50px;
    }

    .time-segment span {
        font-size: 2em;
    }

    .separator {
        font-size: 1.5em;
    }

    .timer {
        gap: 5px; /* Reduce spatiile pe ecrane foarte mici */
    }
}
