body{
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

.header{
    height: 4em;
    align-items: center;
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    padding-left: 2em;
    padding-right: 2em;
    border-bottom: 1px solid #d2d2d2;
}

.header a{
    color: #555555;
    margin: 0.8em;
    padding: 20px 0 20px 0;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease-out;
}

.header a:not(.home):hover{
    color: #6a6aff;
}

.home{
    display: flex;
    flex-direction: column;
    width: 4em;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    margin-right: 2.2em !important;
}

.home img{
    width: 3em;
    margin-bottom: 5px;
}

.home span{
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.5px;
}

.banner{
    width: 95vw;
    max-width: 1200px;
    display: block;
    margin: auto;
}

.cookies{
    display: flex;
    flex-direction: row;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #14146ecc;
    color: #ffffff;
    padding: 10px;
    padding-left: 2em;
    padding-right: 2em;
    height: fit-content;
    width: 100%;
    box-sizing: border-box;
    align-items:center;
    font-size: 13px;
    z-index: 1000;
}

.cookies span{
    max-width: 70%;
    text-align: center;
}

.cookies .accept {
    background-color: #70c5ff;;
    padding: 8px;
    border-radius: 20px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    margin-left: auto;
    margin-right: 2em;
}

.cookies .accept:hover {
    background-color: #b6e2ff;
}

.hamburger{
    height: 3em;
    width: 3em;
    margin-left: auto !important;
}

.hamburger svg path{
    stroke: black;
    transition: stroke 0.3s ease-in;
}

.hamburger:hover svg path{
    stroke: #6a6aff;
}

.cards{
    width: min(95vw, 1200px);
    margin: 2.5em auto 8em;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr);
    gap: 0.5em;
    align-items: stretch;
}

.cards-side{
    display: grid;
    gap: 0.5em;
}

.cards-side-bottom{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5em;
}

.card--featured{
    min-height: calc(17.5em);
}

.energy{
    width: min(95vw, 1200px);
    margin: 0 auto 8em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em;
}

.energy-card--total{
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5em 1.5em;
    box-sizing: border-box;
}

.energy-card--total .energy-value{
    font-size: clamp(2rem, 5vw, 5rem);
}

.energy-card{
    display: flex;
    flex-direction: column;
    padding: 0.5em 1.5em;
}

.energy-label{
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4em;
}

.energy-value{
    font-size: clamp(1.4rem, 3vw, 3rem);
    font-weight: bold;
}

.card{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 8em;
    padding: 1em;
    box-sizing: border-box;
    box-shadow: 1px 1px 3px grey;
}

.card .bottom {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    align-items: flex-end;
}

.card .bottom > * {
    padding: 5px;
}

.card .bottom .content{
    font-size: 18px;
    font-weight: bold;
}

.card .bottom .more{
    margin-top: 5px;
    font-size: 10px;
}

.card .top .date{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card .top .date .left{
    font-size: 2em;
    font-weight: bold;
    margin-right: 10px;
}

.card .top .date .right{
    display: flex;
    flex-direction: column;
    font-size: 11px;
}

.safety {
    background: #125773;
    background: linear-gradient(45deg, rgba(18, 87, 115, 1) 0%, rgba(61, 177, 255, 1) 100%);
}

.safety-image {
    max-width: 800px;
    width: 80vw;
    margin: auto;
    display: block;
}

footer{
    display: flex;
    flex-direction: column;
    background: rgb(14, 124, 168);
    background: linear-gradient(180deg, rgb(14, 124, 168) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 1em;
    color: white;
}

footer hr {
    width: 90vw;
    height: 1px;
    background-color: white;
    border: none;
}

footer ul{
    list-style-type: none;
}

footer li a{
    text-decoration: none;
    color: white;
    transition: color 0.3s ease-out;
}

footer a:hover{
    color: #6a6aff;
}

footer .horizontal{
    display: flex;
    flex-direction: row;
    font-size: 12px;
    font-weight: bold;
    line-height: 2em;
}

.copy {
    font-size: 12px;
    color: #555555;
    margin-top: 0.5em;
}

footer a{
    text-decoration: none;
}

@media screen and (max-width: 700px) {
    .cookies{
        flex-direction: column;
        padding-left: 1em;
        padding-right: 1em;
    }

    .cookies span {
        max-width: 100%;
    }

    .cookies .accept{
        margin-left: 0px;
        margin-top: 10px;
    }

    .navitem{
        display: none;
    }

    .cards{
        grid-template-columns: 1fr;
    }

    .cards-side-bottom{
        width: 100%;
        grid-template-columns: 1fr;
    }

    .energy{
        grid-template-columns: 1fr;
    }

    .energy-card--total{
        grid-column: 1;
    }

    .card--featured{
        min-height: 8em;
    }
}