    /* Algemeen */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
}

:root{
    --color--boxes: #aabeab;
    --background--body: #9da482;
    --extra--color:#879884;
    --color--highlights: #5c644e;
    --color--text: #232914;
}

body{
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    border: 3rem solid var(--color--highlights);
    background-color: white;
    color: black;
}

.dark-mode {
    background-color: #3A3A3A;
    color: white;
}

.darkmode{
    font-size: 1.5rem;
    padding: 0.5rem;
    border: 0.2rem solid black;
    border-radius: 1rem;
}


    /* Main */
main{
    margin: 2rem;
}

.dashboard{
    display: flex;
    flex-direction: column;
    align-items: center;
}


    /* Header */
.header{
    display: flex;
    justify-content: space-between;
    padding: 1rem 12rem;
    width: 100%;
}

.dashboard-name{
    display: flex;
    align-items: start;
    gap: 2rem;
}

.header img {
    display: block;
    max-height: 20rem;
    max-width: 20rem; 
    display: flex;
    flex-wrap:wrap;  
    flex-grow: 1;
}

.header h1{
    font-size: 7rem;
    font-weight: 400;
    margin: 1rem 0 0 0;
}

.team{
    display: flex;
    flex-direction: column;
}

.team-links{
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.team-links > a > img{
    width: 3.5rem;
    height: 3.5rem;
}

.header-date{
    display: flex;
    align-items: end;
    font-size: 3rem;
    gap: 2rem;
    grid-column: 10/12;
    grid-row: 2/3;
}

.header-date img{
    width: 3.2rem;
    height: 3.2rem;
}

.time{
    min-width: 18rem;
}

.time, .date{
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 2px solid var(--color--boxes);
    border-radius: 2rem;
    padding: 1rem;
    gap: 1rem;
    height: 5rem;
}


    /* Content van dashbaord */
.content{
    display: grid;
    grid-gap: 5rem;
    grid-template-columns: repeat(3, 1fr);
}


    /* Boxes algemeen */
.box{
    border: 0.3rem solid rgba(0, 0, 0, 0.8);
    font-size: 3rem;
    border-radius: 5rem;
    padding: 2rem;
    
    height: 37rem;
    max-width: 50rem;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.box h2{
    font-size: 2.8rem;
    font-weight: 300;
    margin: 0 0 1.5rem 0;
}

.box p{
    font-size: 1.8rem;
}


    /* Box 1 */
.besparing{
    display: flex;
    position: relative;
    gap: 5rem;
}

.zonnepaneel, .windturbine{
    background: black;
    overflow: hidden;
    width: 20rem;
    height: 27rem;
    border-radius: 4rem;
    display: block;
}

.besparing img{
    width: 100%;
    height: 100%;
    border-radius: 4rem;
    object-fit: cover;
    opacity: 0.5;
}

.zonnepaneel p, .windturbine p{
    color: white;
    font-size: 4rem;
    position: absolute;
    width: 18rem;
}

.besparing-zon{
    text-align: center;
    top: 45%;
    left: 0;
}

.windturbine > .besparing-wind{
    text-align: center;
    top: 45%;
    right: 0;
}


    /* Box 2 */



    /* Box 3 */

.last-minute{
    font-size: 3rem;
    font-weight: 150;
}

    /* Box 4 */
.box-4 button{
    font-size: 2rem;
    padding: 0.5rem;
    border: 0.1rem solid var(--color--highlights);
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.box-4 button:hover{
    background-color: #D3D3D3;
}


/* Box 5 */


/* Box 6 */
.licht-sliders{
    display: flex;
    flex-direction: row;
    gap: 5rem;
}

.licht-col-1, .licht-col-2{
    display: flex;
    flex-direction: column;
}

.item p{
    font-weight: 500;
    margin-bottom: -1rem;
}

.item{
    margin: 0 0 1.5rem 0;
}

.box-6 input{
    appearance: none;
    background: var(--color--boxes);
    border-radius: 0.5rem;
}

.box-6 input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--color--boxes);
    border: 1.5px solid black;
    cursor: pointer;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #2c3e50;
}

.slider {
    height: 1rem;
    outline: none;
}

.value {
    display: inline-block;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    background: #2c3e50;
    border-radius: 3px;
    padding: 5px 10px;
    width: 4rem;
}

.energieStatus{
    display: flex;
    align-items: center;
}

.energieStatus img{
    width: 4rem;
    height: 4rem;
    margin: 0 0 0 1rem;
}


    /* Responsive */
@media (max-width: 1650px) {
    .content{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1235px) {
    .content{
        grid-template-columns: repeat(1, 1fr);
    }

    .header{
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 420px) {
    
    .header{
        padding: 0;
    }

    .logoImg{
        width: 10rem;
    }

    .header h1{
        font-size: 3.5rem;
    }

    body{
        border: 2rem solid var(--color--highlights);
    }

    .header-date{
        align-items: center;
        margin-bottom: 2rem;
        gap: 0.5rem;
    }

    .header-date p{
        font-size: 1.8rem;
    }

    .date{
        width: 21rem;
        height: 4rem;
    }

    .time{
        width: 19rem;
        height: 4rem;
    }

    .header-date img{
        width: 2.5rem;
        height: 2.5rem;
    }

    
    .box{
        max-width: 30rem;
    }

    .box h2{
        font-size: 2.4rem;
    }

    .waterVerbruik{
        margin-top: 2rem;
    }

    .item{
        margin: 0 0 2rem 0;
    }

    .item p{
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .item input{
        width: 7rem;
    }

    .value{
        width: 1.5rem;
        padding: 0.5rem;
    }

    .item .value{
        width: 3rem;
        font-size: 2rem;
    }
    
    .licht-sliders{
        gap: 3rem;
    }
}