@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,600;1,700;1,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Montserrat";

}

.estufa {
    transition: all;
    transition-duration: 4s;
    transition-delay: 2s;
}

.monitores {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.principal {
    width: 100vw;
    background-color: #017cff1b;
    text-align: center;
    margin-top: 10px;

    font-family: "Montserrat", "Helvetica Neue", Helvetica, sans-serif;



}




.agua {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #017cff1b;
    width: 100vw;
    padding: 20px;
    border-radius: 0 0 50px 50px;
}

.eletricidade {
    width: 100vw;
    height: 30vh;
    border-radius: 50px;

    padding: 5px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 100px;

    background-color: #ff99010d;
}

.monitor {
    width: fit-content;
    height: 10%;
    margin: 50px 20px;

    padding: 10px;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0px 5px 10px 2px #00000044;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.titulo {
    width: 100%;
    background-color: #1155ff;
    color: #ffffff;
    line-height: normal;
    justify-content: space-around;
}

.botaoAtualizar {
    display: flex;
    justify-content: center;

    background-color: #006200;
    color: #f2f2f2;


    font-weight: 700;
    border-radius: 15px;
    padding: 10px;
}

.botao {
    background-color: red;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.5s ease-in;
    margin: 10px;
}

.botao.ligado {
    background-color: green;
}

.card {
    width: 90%;
    height: 500px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gauges {
    width: 100%;
    height: 200px;
    background-color: #f2f2f2;
    border-radius: 10px;
    margin-bottom: 20px;
}

.botoes {
    display: flex;
    justify-content: space-between;
}



@media (max-width:768px) {
    .agua {
        flex-direction: column;
        flex-wrap: wrap;

        align-items: center;
    }

    .eletricidade {
        flex-wrap: wrap;
    }

    #grafico {
        width: 100%;
        height: 200px;
    }
}