
.dataTime{
    /*background-color: #efefef;*/
    display: flex;
    box-shadow: inset 1px 1px 20px rgba(0, 0, 0, 0.35);
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    font-style: italic;
    text-transform: uppercase;
    color: #3d3d3d;
}

.dataTime__time{
    display: flex;
    flex-direction: row;
    padding: .57rem 4rem;
}

.dataTime__time:last-child{
    padding-bottom: 2rem;
}

.dataTime__Title{
    padding: 1rem;
    padding-top: 2rem;
    font-weight: 700;
}
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales */
.adv {
    width: 100%;
    padding: 1rem;
    text-align: center;
    box-sizing: border-box;
}

.riesgo__title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.riesgo {
    height: 80px;
    background: linear-gradient(90deg, rgba(62,167,45,1) 0%, rgba(248,238,31,1) 25%, rgba(245,144,34,1) 50%, rgba(235,33,40,1) 75%, rgba(106,4,4,1) 100%);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.riesgo__text {
    display: flex;
    justify-content: space-between;
    padding: 0;
    list-style: none;
    margin: 0;
    font-weight: bold;
    color: #333;
}

.riesgo__text-content {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    background: transparent;
    border-radius: 5px;
    font-size: 0.8rem; /* Reduced font size */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflowing text */
}

.riesgo__text-content:last-child {
    border-right: none;
}

.Time{
    margin-left: 3.5rem;
    
}
@media screen and (max-width: 767px) {
    .riesgo__title {
        font-size: 1.25rem;
    }

    .riesgo {
        height: 60px;
    }

    .riesgo__text {
        font-size: 0.6rem;
    }

    .riesgo__text-content {
        padding: 0.3rem;
        font-size: 0.6rem; /* Further reduced font size for mobile */
    }

}
@media screen and (min-width: 768px) {
    .riesgo__title {
        font-size: 2rem;
    }

    .riesgo {
        height: 60px;
        width: auto;
    }

    .riesgo__text {
        font-size: 1rem;
    }

    .riesgo__text-content {
        padding: 0.5rem;
        font-size: 1rem;
    }
    .adv {
        width: 100%; /* Changed from calc(100vw / 2) to 100% */
    }

    .riesgo__text {
        width: 100%; /* Changed from calc(100vw / 2) to 100% */
    }
}


@media screen and (min-width:0) {
    .dataTime{
        font-size: 1.25rem;
        flex-direction: column;
    }

    /* .riesgo__text-content{
        padding-right: .3rem;
    }

    .adv{
        margin: .25rem 0 2rem 0;
        width: 100vw;
    }

    .riesgo__title{
        font-size: 2rem;
    }

    .riesgo__text{
        font-size: .6rem;
        font-weight: 700;
        width: 100vw;
    } */

    .Time{
        margin-left: 1rem;
    }

    .dataTime__time{
        padding: .57rem 0 .57rem 2rem;
        font-size: 1.2rem;
    }

    .dataTime__Title{
        padding: 2rem 1rem 1rem 0;
    }
}

@media screen and (min-width: 290px) {
    .dataTime{
        font-size: 1.25rem;
        flex-direction: column;
    }

    /* .riesgo__text-content{
        padding-right: calc((100vw / 8) / 2);
    }

    .adv{
        margin: .25rem 0 2rem 0;
        width: 100vw;
    }

    .riesgo__title{
        font-size: 2rem;
    }

    .riesgo__text{
        font-size: .6rem;
        font-weight: 700;
        width: 100vw;
    } */

    .Time{
        margin-left: 1rem;
    }

    .dataTime__time{
        padding: .57rem 0 .57rem 2rem;
        font-size: 1.2rem;
    }

    .dataTime__Title{
        padding: 2rem 1rem 1rem 0;
    }
}

@media screen and (min-width:768px) {
    .dataTime{
        font-size: 1.75rem;
        flex-direction: row;
    }

    /* .riesgo__text-content{
        padding-right: calc((100vw / 8) / 5);
    }

    .adv{
        margin: 2rem 1rem 1rem 0;
        width: calc(100vw / 2);
    }

    .riesgo__title{
        font-size: 2.5rem;
    }

    .riesgo__text{
        width: calc(100vw / 2);
    } */

    .Time{
        margin-left: 2.75rem;
        width: calc(100vw / 2);
    }

    .dataTime__time{
        padding: .57rem 3rem;
        font-size: 1.25rem;
    }
}
