@font-face{
    font-family: ubuntuMedium;
    src: url("Ubuntu-Medium.ttf");
}

@font-face{
    font-family: ubuntuBold;
    src: url("Ubuntu-Bold.ttf");
}

@font-face{
    font-family: ubuntuRegular;
    src: url("Ubuntu-Regular.ttf");
}

@font-face{
    font-family: bentonSansMedium;
    src: url("BentonSans-Medium.otf");
}

@font-face{
    font-family: bentonSansBold;
    src: url("BentonSans-Bold.otf");
}

@font-face{
    font-family: bentonSansRegular;
    src: url("BentonSans-Regular.otf");
}


@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rotating {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
}

html{
    height: 100%;
    width: 100%;
}

body{
    width: 100%;
    height: 100%;
    display: flex;
    font-family: ubuntuRegular, serif;
    background-color: #ffffff;
    background-attachment: fixed;
    overflow-x: hidden;
}

#app{
    height: 100%;
    width: 100%;
}

input{
    font-size: 1em;
    color: #003d70;
}


.navigation span{
    font-size: 20px;
}

#dashboardPage{
    color: #003d70;
}

.hidden{
    visibility: hidden;
}

.loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #003d70; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@media only screen and (max-width: 600px){

    #logInPage{
        display: grid;
        grid-template-rows: 70% 30%;
        height: 100%;
        width: 100%;
        background-image: url("sfondo dashboard.png");
        background-size: cover;
        background-position: left top;
        background-repeat: no-repeat;
        background-attachment: fixed;
        overflow: hidden;
    }

    #logInForm{
        display: flex;
        align-items: start;
        justify-content: center;
        flex-direction: column;
        margin: 10% auto;
        height: 100%;
        width: 60%;
    }

    #logInForm h1{
        color: #003d70;
        font-size: 35px;
        font-family: ubuntuBold, serif;
        margin-bottom: 10%;
    }

    #logInForm input{
        color: #003d70;
        width: 100%;
        border-radius: 20px;
        margin-bottom: 10%;
    }

    #logInForm p{
        color: #003d70;
        font-size: 0.8em;
        margin: 0 auto 10%;
        font-family: bentonSansMedium, serif;
    }

    #logInForm button{
        width: 100%;
        border-radius: 20px;
        font-family: bentonSansBold, serif;
        font-size: 1em;
    }

    #rightSide{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    #rightSideIMG{
        width: 184px;
        height: 44px;
    }

    #rightSideIMG img{
        width: 100%;
        height: 100%;
    }

    .navigation{
        display: grid;
        grid-template-rows: 29% 69%;
        grid-gap: 2%;
        position: fixed;
        overflow: hidden;
        z-index: 11;
        height: 100%;
        width: 50%;
        color: white;

        background-color: #135E9F;
        border-bottom-right-radius: 15px;
        border-top-right-radius: 15px;
        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.12);
        font-size: 22px;
    }

    .profilePicture{
        margin: 5%;
        font-family: ubuntuBold, serif;
        color: white;
    }

    .profilePicture img{
        display: none;
    }

    .navigation img{
        max-width: 100%;
        max-height: 100%;
        border-radius: 50%;
    }

    .navigation ul{
        position: fixed;
        top: 30vh;
        left: 0;
        width: 50%;
        padding-left: 5px;
        padding-top: 40px;
    }

    .navigation ul li{
        position: relative;
        list-style: none;
        width: 100%;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .navigation ul li.active{
        background: #ffffff;
    }

    .navigation ul li.active .title{
        background: #ffffff;
        color: #135E9F;
        font-family: ubuntuBold, serif;
    }


    .navigation ul li.active .icon{
        background: #ffffff;
        color: #135E9F;
        font-family: ubuntuBold, serif;
    }


    .navigation ul li a{
        position: relative;
        width: 100%;
        display: flex;
        text-decoration: none;
        color: white;
    }

    .navigation ul li a .icon{
        position: relative;
        display: block;
        min-width: 60px;
        height: 60px;
        line-height: 70px;
        text-align: center;
    }

    .navigation ul li a .icon ion-icon{
        position: relative;
        font-size: 1.3em;
        z-index: 1;
    }

    .navigation ul li a .title{
        position: relative;
        display: block;
        padding-left: 10px;
        height: 60px;
        line-height: 60px;
        white-space: nowrap;
    }

    #dashboardPage{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 8% auto;
        grid-gap: 2%;
        padding: 0 4% 2% 4%;
    }

    .titleMain{
        position: sticky;
        top: 0;
        overflow: hidden;
        max-height: 100px;
        z-index: 10;
        width: 100%; /* Full width */
        color: #135E9F;
        background-color: #ffffff;
        font-family: ubuntuBold, serif;
    }

    .titleMain h1{
        float: left;
    }

    .logOut {
        display: inline-block;
        position: relative;
        padding-bottom: 3px;
        color: #135E9F;
        font-family: ubuntuRegular, serif;
        float:right;
        padding-top: 1%;
    }
    .logOut:after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        height: 3px;
        width: 0;
        background: transparent;
        transition: width .5s ease, background-color .5s ease;
    }
    .logOut:hover:after {
        width: 100%;
        background: #135E9F;
    }

    .rest{
        display: grid;
        grid-template-rows: 45% 100%;
        grid-gap: 10%;
        margin: 0 auto;
        height: 100vh;
        width: 100%;
    }

    #card1{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    .cardTitle{
        width: 100%;
        height: 100%;
        color: #135E9F;
        font-family: ubuntuBold, serif;
        padding:30px;
        margin-bottom: 10px;
    }

    .chartTitle{
        float: left;
        padding-left: 10px;
    }

    .deviceSelection{
        font-family: ubuntuRegular, serif;
        width: 100%;
        display: grid;
        grid-template-columns: 23% 23% 23% 22% 1%;
        column-gap: 2%;
        justify-content: end;
        align-items: center;
    }

    .dataPicker{
        font-family: ubuntuRegular, serif;
        float: right;
    }

    .chart{
        width: 100%;
        height: 100%;
    }

    #card23{
        display: grid;
        grid-template-rows: 65% 90%;
        grid-gap: 10%;
        height: 100%;
    }

    #card2{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    .chartBubble{
        width: 100%;
        height: 100%;
        background-image: url("piazza2.jpg");
        background-size: contain;
        background-repeat: no-repeat;
    }

    #card3{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #cardDevices{
        margin: 1% auto 0;
        height: auto;
        width: 100%;
        max-width: 95vw;
        min-height: 80vh;
        overflow-x: hidden;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #cardDevices thead{
        color: #135E9F;
    }

    #cardDevices tbody{
        color: #135E9F;
        font-family: ubuntuRegular, serif;
    }

    .settingsPage{
        display: grid;
        grid-template-rows: 30% 60%;
        grid-gap: 10%;
        margin: 0 auto;
        height: 100%;
        width: 100%;
    }

    #card4{
        display: grid;
        grid-template-columns: 20% 75%;
        grid-gap: 5%;
        align-items: center;
        min-height: 150px;
        padding: 2%;
        height: 100%;
        width: 100%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #card4 h2{
        font-family: ubuntuBold, serif;
    }

    .profilePictureCard4{
        width: 100%;
        height: 100%;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #card4 img{
        max-width: 90%;
        max-height: 90%;
        border-radius: 50%;
    }

    #card5{
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        padding: 2%;
        min-height: 400px;
        height: 120%;
        width: 100%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #card5 .cardTitle{
        padding: 0;
    }

    #card5 .row{
        margin-bottom: 10px;
    }

    #card5 input{
        font-size: 20px;
        color: #003d70;
    }

    #card5 button{
        width: 20%;
        margin-left: 40%;
    }

    .card6{
        margin: 0 5% 5% auto;
        height: auto;
        width: 100%;
        min-height: 50vh;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }
}

@media only screen and (min-width: 600px){

    #logInPage{
        display: grid;
        grid-template-rows: 70% 30%;
        height: 100%;
        width: 100%;
        background-image: url("sfondo dashboard.png");
        background-size: cover;
        background-position: left top;
        background-repeat: no-repeat;
        background-attachment: fixed;
        overflow: hidden;
    }

    #logInForm{
        display: flex;
        align-items: start;
        justify-content: center;
        flex-direction: column;
        margin: 10% auto;
        height: 100%;
        width: 60%;
    }

    #logInForm h1{
        color: #003d70;
        font-size: 35px;
        font-family: ubuntuBold, serif;
        margin-bottom: 10%;
    }

    #logInForm input{
        color: #003d70;
        width: 100%;
        border-radius: 20px;
        margin-bottom: 10%;
    }

    #logInForm p{
        color: #003d70;
        font-size: 0.8em;
        margin: 0 auto 10%;
        font-family: bentonSansMedium, serif;
    }

    #logInForm button{
        width: 100%;
        border-radius: 20px;
        font-family: bentonSansBold, serif;
        font-size: 1em;
    }

    #rightSide{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    #rightSideIMG{
        width: 184px;
        height: 44px;
    }

    #rightSideIMG img{
        width: 100%;
        height: 100%;
    }

    .navigation{
        display: grid;
        grid-template-rows: 29% 69%;
        grid-gap: 2%;
        position: fixed;
        overflow: hidden;
        z-index: 11;
        height: 100%;
        width: 50%;
        color: white;

        background-color: #135E9F;
        border-bottom-right-radius: 15px;
        border-top-right-radius: 15px;
        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.12);
        font-size: 22px;
    }

    .profilePicture{
        margin: 5%;
        font-family: ubuntuBold, serif;
        color: white;
    }

    .profilePicture img{
        display: none;
    }

    .navigation img{
        max-width: 100%;
        max-height: 100%;
        border-radius: 50%;
    }

    .navigation ul{
        position: fixed;
        top: 30vh;
        left: 0;
        width: 50%;
        padding-left: 5px;
        padding-top: 40px;
    }

    .navigation ul li{
        position: relative;
        list-style: none;
        width: 100%;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .navigation ul li.active{
        background: #ffffff;
    }

    .navigation ul li.active .title{
        background: #ffffff;
        color: #135E9F;
        font-family: ubuntuBold, serif;
    }


    .navigation ul li.active .icon{
        background: #ffffff;
        color: #135E9F;
        font-family: ubuntuBold, serif;
    }


    .navigation ul li a{
        position: relative;
        width: 100%;
        display: flex;
        text-decoration: none;
        color: white;
    }

    .navigation ul li a .icon{
        position: relative;
        display: block;
        min-width: 60px;
        height: 60px;
        line-height: 70px;
        text-align: center;
    }

    .navigation ul li a .icon ion-icon{
        position: relative;
        font-size: 1.3em;
        z-index: 1;
    }

    .navigation ul li a .title{
        position: relative;
        display: block;
        padding-left: 10px;
        height: 60px;
        line-height: 60px;
        white-space: nowrap;
    }

    #dashboardPage{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 8% 90%;
        grid-gap: 2%;
        padding: 0 4% 2% 4%;
    }

    .titleMain{
        position: sticky;
        top: 0;
        overflow: hidden;
        z-index: 10;
        width: 100%; /* Full width */
        max-height: 100px;
        color: #135E9F;
        background-color: #ffffff;
        font-family: ubuntuBold, serif;
    }

    .titleMain h1{
        float: left;
    }

    .logOut {
        display: inline-block;
        position: relative;
        padding-bottom: 3px;
        color: #135E9F;
        font-family: ubuntuRegular, serif;
        float:right;
        padding-top: 1%;
    }
    .logOut:after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        height: 3px;
        width: 0;
        background: transparent;
        transition: width .5s ease, background-color .5s ease;
    }
    .logOut:hover:after {
        width: 100%;
        background: #135E9F;
    }

    .rest{
        display: grid;
        grid-template-rows: 45% 100%;
        grid-gap: 10%;
        margin: 0 auto;
        height: 100vh;
        width: 100%;
    }

    #card1{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    .cardTitle{
        width: 100%;
        height: 100%;
        color: #135E9F;
        display: grid;
        grid-template-columns: 20% 80%;
        font-family: ubuntuBold, serif;
        padding:20px;
        margin-bottom: 10px;
    }

    .chartTitle{
        padding-left: 10px;
    }

    .deviceSelection{
        font-family: ubuntuRegular, serif;
        width: 100%;
        display: grid;
        grid-template-columns: 23% 23% 23% 22% 1%;
        column-gap: 2%;
        justify-content: end;
        align-items: center;
    }

    .dataPicker{
        font-family: ubuntuRegular, serif;
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .chart{
        width: 100%;
        height: 100%;
    }

    #cardManualInsert{
        height: 50%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    .manualCountingPage{
        margin: 0 auto;
        height: 100vh;
        width: 100%;
    }

    #card23{
        display: grid;
        grid-template-rows: 65% 90%;
        grid-gap: 10%;
        height: 100%;
    }

    #card2{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    .chartBubble{
        width: 100%;
        height: 100%;
        background-image: url("piazza2.jpg");
        background-size: contain;
        background-repeat: no-repeat;
    }

    #card3{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #cardDevices{
        margin: 1% auto 0;
        height: auto;
        width: 100%;
        min-height: 80vh;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #cardDevices thead{
        color: #135E9F;
    }

    #cardDevices tbody{
        color: #135E9F;
        font-family: ubuntuRegular, serif;
    }

    .settingsPage{
        display: grid;
        grid-template-rows: 30% 60%;
        grid-gap: 10%;
        margin: 0 auto;
        height: 100%;
        width: 100%;
    }

    #card4{
        display: grid;
        grid-template-columns: 20% 75%;
        grid-gap: 5%;
        align-items: center;
        min-height: 150px;
        padding: 2%;
        height: 100%;
        width: 100%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    .profilePictureCard4{
        width: 100%;
        height: 100%;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #card4 img{
        max-width: 90%;
        max-height: 90%;
        border-radius: 50%;
    }

    #card5{
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        padding: 2%;
        min-height: 400px;
        height: 120%;
        width: 100%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #card5 .cardTitle{
        padding: 0;
    }

    #card5 .row{
        margin-bottom: 10px;
    }

    #card5 input{
        font-size: 20px;
        color: #003d70;
    }

    #card5 button{
        width: 20%;
        margin-left: 40%;
    }

    .card6{
        margin: 0 5% 5% auto;
        height: auto;
        width: 100%;
        min-height: 50vh;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }
}

@media only screen and (min-width: 768px){

    #logInPage{
        display: grid;
        grid-template-rows: none;
        grid-template-columns: 50% 50%;
        height: 100%;
        width: 100%;
        background-image: url("sfondo dashboard.png");
        background-size: cover;
        background-position: left top;
        background-repeat: no-repeat;
        background-attachment: fixed;
        overflow: hidden;
    }

    #logInForm{
        display: flex;
        align-items: start;
        justify-content: center;
        flex-direction: column;
        height: 60%;
        width: 35%;
        margin-top: 25%;
        margin-left: 35%;
    }

    #logInForm h1{
        color: #003d70;
        font-size: 50px;
        font-family: ubuntuBold, serif;
        margin-bottom: 20%;
    }

    #logInForm input{
        width: 400px;
        border-radius: 15px;
        margin-bottom: 10%;
    }

    #logInForm p{
        width: 400px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 5% auto 20%;
    }

    #logInForm button{
        margin: 0 auto;
        width: 400px;
        border-radius: 25px;
        font-family: bentonSansBold, serif;
        font-size: 1.5em;
    }

    #rightSide{
        width: 100%;
        height: 100%;
    }

    #rightSideIMG{
        position: absolute;
        right: 5%;
        bottom: 10%;
        width: 245px;
        height: 59px;
    }

    #rightSideIMG img{
        width: 100%;
        height: 100%;
    }

    .navigation{
        visibility: visible;
        width: 30%;
    }

    .profilePicture{
        display: grid;
        grid-template-rows: 70% auto;
        margin-top: 10%;
        font-family: ubuntuBold, serif;
        color: white;
    }

    .profileIMG{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .userInformation{
        margin: 0 auto;
    }

    .navigation img{
        max-width: 100%;
        max-height: 100%;
        border-radius: 50%;
    }

    .navigation ul{
        width: 30%;
    }

    .navigationButton{
        visibility: hidden;
    }

    .profilePicture img{
        display: unset;
    }

    .page {
        display: grid;
        grid-template-columns: 30% auto;
        padding: 10px;
    }

    #dashboardPage{
        height: 100%;
        width: 100%;
        grid-column-start: 2;
        display: grid;
        grid-template-rows: 8% 90%;
        grid-gap: 2%;
        padding: 0 8% 2% 8%;
    }
}

@media only screen and (min-width: 992px){

    .navigation{
        display: grid;
        grid-template-rows: 29% 69%;
        grid-gap: 2%;
        position: fixed;
        overflow: hidden;
        height: 100%;
        width: 20%;
        color: white;
        background-color: #135E9F;
        border-bottom-right-radius: 15px;
        border-top-right-radius: 15px;
        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.12);
        font-size: 22px;
    }

    .profilePicture{
        margin: 20% auto 0;
        font-family: ubuntuRegular, serif;
        font-size: 0.75em;
        color: white;
    }

    .profilePicture p{
        margin-top: 2%;
    }

    .navigation ul{
        position: fixed;
        top: 30vh;
        left: 0;
        width: 20%;
        padding-left: 5px;
        padding-top: 40px;
    }

    .navigation ul li{
        position: relative;
        list-style: none;
        width: 100%;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .navigation ul li.active{
        background: #ffffff;
    }

    .navigation ul li.active .title{
        background: #ffffff;
        color: #135E9F;
    }


    .navigation ul li.active .icon{
        background: #ffffff;
        color: #135E9F;
    }


    .navigation ul li a{
        position: relative;
        width: 100%;
        display: flex;
        text-decoration: none;
        color: white;
    }

    .navigation ul li a .icon{
        position: relative;
        display: block;
        margin-left: 15%;
        min-width: 60px;
        height: 60px;
        line-height: 70px;
        text-align: center;
    }

    .navigation ul li a .icon ion-icon{
        position: relative;
        font-size: 1em;
        z-index: 1;
    }

    .navigation ul li a .title{
        position: relative;
        display: block;
        padding-left: 5px;
        height: 60px;
        line-height: 60px;
        white-space: nowrap;
    }

    .page {
        display: grid;
        grid-template-columns: 20% auto;
        padding: 10px;
    }

    #dashboardPage {
        grid-column-start: 2;
        display: grid;
        grid-template-rows: 8% 90%;
        grid-gap: 2%;
        padding: 0 8% 2% 8%;
    }

    .titleMain{
        position: sticky;
        margin: 0 auto;
        top: 0;
        overflow: hidden;
        z-index: 10;
        width: 100%; /* Full width */
        max-height: 100px;
        color: #135E9F;
        background-color: #ffffff;
        font-family: ubuntuBold, serif;
    }

    .titleMain h1{
        float: left;
    }

    .logOut {
        display: inline-block;
        position: relative;
        padding-bottom: 3px;
        color: #135E9F;
        font-family: ubuntuRegular, serif;
        float:right;
        padding-top: 1%;
    }
    .logOut:after {
        content: '';
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        height: 3px;
        width: 0;
        background: transparent;
        transition: width .5s ease, background-color .5s ease;
    }
    .logOut:hover:after {
        width: 100%;
        background: #135E9F;
    }

    .rest{
        display: grid;
        grid-template-rows: 45% 70%;
        grid-gap: 10%;
        margin: 0 auto;
        height: 100vh;
    }

    #card1{
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    .cardTitle{
        color: #135E9F;
        width: 100%;
        display: grid;
        grid-template-columns: 20% 80%;
        font-family: ubuntuBold, serif;
    }

    .chartTitle{
        padding-left: 10px;
    }

    .chart{
        width: 100%;
        height: 100%;
    }

    .deviceSelection{
        font-family: ubuntuRegular, serif;
        width: 100%;
        display: grid;
        grid-template-columns: 23% 23% 23% 22% 1%;
        column-gap: 2%;
        justify-content: end;
        align-items: center;
    }

    .dataPicker{
        font-family: ubuntuRegular, serif;
        display: flex;
        justify-content: end;
        align-items: center;
    }

    #card23{
        display: grid;
        grid-template-rows: none;
        grid-template-columns: 45% 45%;
        grid-gap: 10%;
        height: 100%;
        width: 100%;
    }

    #card2{
        float: left;
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #card3{
        float: left;
        height: 100%;
        width: 100%;
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #cardDevices{
        margin: 1% auto 0;
        height: auto;
        width: 100%;
        min-height: 80vh;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #cardDevices thead{
        color: #135E9F;
    }

    #cardDevices tbody{
        color: #135E9F;
        font-family: ubuntuRegular, serif;
    }

    .settingsPage{
        display: grid;
        grid-template-rows: 30% 60%;
        grid-gap: 10%;
        margin: 0 auto;
        height: 100vh;
        width: 100%;
    }

    #card4{
        display: grid;
        grid-template-columns: 20% 75%;
        grid-gap: 5%;
        align-items: center;
        min-height: 150px;
        padding: 2%;
        height: 100%;
        width: 100%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    .profilePictureCard4{
        width: 100%;
        height: 100%;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .profilePictureCard4>input{
        display: none;
    }

    #card4 img{
        max-width: 90%;
        max-height: 90%;
        border-radius: 50%;
    }

    #card5{
        display: grid;
        grid-template-rows: 18% 80%;
        grid-gap: 2%;
        padding: 2%;
        height: 120%;
        width: 100%;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }

    #card5 .cardTitle{
        padding: 0;
    }

    #card5 .row{
        margin-bottom: 10px;
    }

    #card5 button{
        width: 20%;
        margin-left: 40%;
    }

    .card6{
        margin: 0 5% 5% auto;
        float: left;
        height: auto;
        width: 45%;
        min-height: 50vh;
        background-color: #ffffff;
        border-radius: 25px;
        box-shadow:  3px  3px 5px #dedede,
        -3px -3px 5px #dedede,
        3px -3px 5px #dedede,
        -3px  3px 5px #dedede;
    }
}
