/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header{
    background-color: #10274D;
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border-bottom: 2px solid red;
}

footer{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100vw;
    height: 50px;
    margin-top: 20px;
    background-color: #10274D;
    color: red;
}

footer a{
    text-decoration: none;
    color: red;
}

#logo-header{
    left: 0;
}

#logo-header img{
    height: 70px;
    width: 270px;
}

.container {
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80vw;
    min-width: 900px;
    border: 1px solid rgba(128, 128, 128, 0.555);
    border-radius: 15px;
    box-shadow: 5px 5px 8px rgba(128, 128, 128, 0.555);
    background-color: #29457234;
}

.contact-text-container p{
    font-family: 'Rubik', sans-serif;
    color: red;
    margin-bottom: 0;
}

.contact-text-container h3{
    color: white;
    font-size: 18px;
    font-weight: bold;
}

#contact-info-group{
    display: flex;
    flex-direction: row;
    gap: 15px;
}

#info-contacto-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#eventos-relevantes{
    width: 400px;
    height: 100%;
    padding-top: 10px;
    padding-right: 10px;
    border: 3px solid rgba(128, 128, 128, 0.555);
    border-radius: 15px;
    border-style: outset;
    background-color: aliceblue;
}

#eventos-relevantes h3{
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.742);
    margin-bottom: 20px;
}


/* Estilos para los gráficos gauge */
#chart1, #chart2, #chart3, #chart4 {
    width: 230px;
    height: 200px;
    /* margin: auto; */
}

.row{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.row2{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 75px;
    width: 85vw;
}

.gauge-chart{
    width: 230px; 
    height: 200px; 
    border: 3px solid rgba(128, 128, 128, 0.555);
    border-radius: 15px;
    border-style: outset;
    background-color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gauge-chart canvas {
    width: 100% !important; 
    height: 100% !important;
}

/* Estilos para el gráfico de líneas */
#chart5 {
    width: 350px;
    height: 350px;
    margin-top: 15px;
    border: 3px solid rgba(128, 128, 128, 0.555);
    border-radius: 15px;
    border-style: outset;
    background-color: aliceblue;
}

.col-lg-4{
    width: 350px;
}

#placa-titulo {
    background: linear-gradient(145deg, #d1d1d1, #a8a8a8);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    width: fit-content;
    margin: 20px auto;
    box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.2),
                inset -3px -3px 5px rgba(255, 255, 255, 0.3),
                5px 5px 10px rgba(0, 0, 0, 0.4);
    border: 2px solid #777;
}

#placa-titulo h1 {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    color: #555;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}


/*---------- SECCIÓN DE MEDIA QUERIES Y RESPONSIVE ------------*/

/* Responsive para tablets */
@media screen and (max-width:1000px){
    .contact-text-container p{
        font-family: 'Rubik', sans-serif;
        color: red;
        margin-bottom: 0;
        font-size: 13px;
    }
    
    .contact-text-container h3{
        color: white;
        font-size: 15px;
        font-weight: bold;
    }

    .container{
        width: 70vw;
        min-width: 800px;
    }

    .row{
        flex-wrap: wrap;
        padding-left: 50px;
        padding-right: 50px;
        gap: 70px;
        margin-top: 40px;
    }

    .row2{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 90vw;
        gap: 20px;
        margin-top: 40px;
    }

    #eventos-relevantes h3{
        font-size: 16px;
    }

    #eventos-relevantes li{
        font-size: 14px;
    }

    #eventos-relevantes{
        width: 380px;
        height: 300px;
        padding-right: 25px;
        margin-bottom: 25px;
    }

    #logo-header img{
        height: 60px;
        width: 250px;
    }
}

/* Responsive para smartphones */
@media screen and (max-width:880px) {

    header{
        background-color: #10274D;
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-bottom: 2px solid red;
    }

    #contact-info-group{
        display: flex;
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }
    .container{
        min-width: 550px;
    }

    .row{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 0 10px;
    }

    .row2{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 85vw;
        gap: 15px;
    }
}

@media screen and (max-width:570px){
    .container{
        min-width: 350px;
    }

    #eventos-relevantes{
        width: 300px;
        height: 300px;
        overflow: scroll;
    }

    #chart5 {
        width: 300px;
        height: 300px;
    }

    .gauge-chart canvas {
        width: 300px; 
        height: 300px;
    }

    .row2{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 85vw;
        gap: 30px;
    }

    .col-sm-12{
        width: 300px; 
        height: 300px;
    }
}
/* ------------------------------------------------------------ */