html,
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    height: 100%;
    width: 100%;
}

#viewDiv {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

main {
    flex: 1;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-padding-top: 30px;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #337ab7;
}

nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}

nav a:hover {
    background-color: #555;
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
    }

    header {
        display: none
    }

    .testo-home {
        text-align: justify;
    }
}

header {
    height: 200px;
    background-image: url('../img/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.centra {
    text-align: center;
}

.giustifica {
    text-align: justify;
}

.nascondi {
    display: none;
}

.elencoProtocolliLegalita {
    max-width: 100%;
    min-width: 300px;
    height: auto;
}


.logoPartner {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mappa {
    height: 100%;
}

.content {
    padding-left: 30px;
    padding-right: 30px;
}

.container-home {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.top-div-home {
    width: 100%;
    padding: 20px;
}

.bottom-container-home {
    display: flex;
    flex-wrap: wrap;
}

.bottom-div-home {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.testo-home {
    text-align: center;
}

#timezoneDiv #weatherDiv {
    padding: 10px;
    background-color: black;
    color: pink;
    text-align: center;
    width: 150px;
    font-size: small;
}

#webglNotSupportedDiv {
    text-align: center;
    top: 0;
    visibility: hidden;
}