*{
    margin: 0;
    padding: 0;
}

html{
    height: 100%;
}

body{
    display: flex;
    flex-direction: column;
    margin: 0;
    max-width: 100%;
    height: 100%;
    font-family: "Poppins", sans-serif;
}

.container{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 100%;
}

.container .head{
    max-width: 100%;
    padding: 5px 0px 5px 0px;
    color: #f0f0f0;
    background-color: #01003a;
}

.container .logo{
    display: flex;
    align-items: center;
    font-size: 25px;
    text-align: center;
    justify-content: center;
}

.container .logo span {
    font-size: 30px;
    margin: 0px 5px;
}

.container .menu{
    background-color: #01003a;
    color: #f0f0f0;
}

.container .menu ul{
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: space-around;
    padding: 5px 0px;
}

.container .menu ul li a{
    text-align: center;
    padding: 3px 10px;
    border-radius: 10px;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.container .menu ul li a span {
    margin-right: 2px;
}

.container .menu ul li a:hover{
    color: #01003a;
    background-color: #f0f0f0;
}

.container .content {
    width: 100%;
    margin-bottom: auto;
    display: flex;
    justify-content: center;
}

.container .isi{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.container .judul{
    text-align: center;
    background-color: #bdbdbd;
    padding: 5px 0px;
}

.container .foot{
    color: #f0f0f0;
    margin-top: auto;
    background-color: #01003a;
    text-align: center;
    align-items: center;
    font-size: 15px;
    padding: 8px 0px;
}

@media screen and (min-width: 760px) {
    body{
        position: relative;
    }
    .container{
        position: relative;
    }
    .container .head{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .container .menu ul{
        display: flex;
        justify-content: space-between;
        margin: 0px 15px;
    }
    .container .isi{
        width: 80%;
    }
}

/* DASHBOARD */
/* .isiDashboard {
    display: flex;
    flex-direction: row;
    margin: 5px;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: space-evenly;
} */

.kontrol{
    font-size: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.rowKet{
    width: 100%;
    display: flex;
    justify-content: center;
}

.rowKet .colKet{
    border: solid 0px #888888;
    width: auto;
    padding: 5px 10px;
    display: flex;
    justify-content: start;
    margin: 0px 5px;
}

.rowKet .colKet2{
    margin: 0px 5px;
}

.rowKet .colKet2 a {
    text-decoration: none;
    color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 5px;
}

.rowKet .colKet2 a.mati {
    background-color: #960000;
}

.rowKet .colKet2 a.nyala {
    background-color: #008b2a;
}

.rowKet .colKet2 a.manual {
    background-color: #960000;
}

.rowKet .colKet2 a.auto {
    background-color: #008b2a;
}

.rowTime{
    display: flex;
    justify-content: space-evenly;
}

.colTime{
    width: 50%;
    text-align: center;
}

.rowTime table{
    height: 80%;
}

.card{
    border-radius: 10px;
    width: 90%;
    color: #e4e4e4;
    box-sizing: border-box;
    margin: 10px 0px;
    padding: 10px 15px;
}

.headCard{
    padding: 5px 5px;
    border-bottom: rgba(0, 0, 0, 0.4);
    border-bottom-style: solid;
    border-width: 5px;
    margin-bottom: 15px;
}

#getar{
    background-color: #5100d3;
}

#lembab{
    background-color: #0073c0;
}

#suhu{
    background-color: #af2900;
}

#jarak{
    background-color: #00af43;
}

@media screen and (min-width: 760px) {
    .isiDashboard{
        flex-direction: row;
    }
    .rowTime{
        font-size: 20px;
        margin: 10px 0px;
    }
    .rowKet{
        width: 100%;
        justify-content: center;
    }
    .card{
        margin-top: 20px;
        width: 40%;
    }
}

/* HISTORY */

.isiDashboard{
    width: 95%;
    align-self: center;
}

.isiDashboard table {
    border-collapse: collapse;
    width: 100%;
    text-align: center;
    margin: 5px 0px;
    align-self: center;
}

.isiDashboard table thead{
    font-size: 12px;
    font-weight: 500;
}

.isiDashboard table thead tr{
    border-block: solid 2px #787878;
    border-radius: 10px;
}

.isiDashboard table tbody tr{
    border-bottom: solid 1px #d9d9d9;
}

.isiDashboard th, td {
    padding: 7px 0px;
}

.isiDashboard tbody{
    font-size: 10px;
}

@media screen and (min-width: 760px) {
    .isiDashboard {
        width: 100%;
    }

    .isiDashboard table tbody{
        font-size: 15px;
    }
    
    .isiDashboard table thead{
        font-size: 17px;
    }

    .isiDashboard table tbody tr:hover{
        background-color: #d7d7d7c6;
    }
}