body {
    height: 100%;
    background-color: white;
    color: black;
}

header {
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: inset 0 0 10rem black;
}

header img {
    width: 70%;
    margin-left: 10px;
    vertical-align: middle;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
}

.topnav .icon {
    display: none;
}

.dropdown {
    float: left;
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: inset 0 0 10rem black;
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
    color: white;
    text-decoration: underline;
}

.dropdown-content a:hover {
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@media screen and (max-width: 1210px) {
    header {
        box-shadow: inset 0 0 10rem black;
    }

    .topnav a:not(:first-child),
    .dropdown .dropbtn {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 1210px) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive .dropdown {
        float: none;
    }

    .topnav.responsive .dropdown-content {
        position: relative;
    }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
}

@media screen and (min-width: 1210px) {

    /* allinea verticalmente il menù di navigazione*/
    .topnav {
        margin: 0;
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}

#footer, #push {
    height: 90px; 
}


.logo {             /*riferito al footer*/
    height: 15px;
    width: auto;
}

/*torna su*/
#scrollToTopButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: lightgray;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 20px;
}


/*menù di navigazione*/
#navigazione {
    padding-left: 2%;
}

.linea-separatrice {
    position: relative;
    width: 100%;
    height: 5px; /* Altezza della linea separatrice */
    background: linear-gradient(to right, black, white, black);
    margin-top: 20px; /* Spazio superiore, se necessario */
    margin-bottom: 5%;
}

.titolo {
    position: absolute;
    top: 50%; /* Posiziona il testo al centro verticalmente */
    left: 50%; /* Posiziona il testo al centro orizzontalmente */
    transform: translate(-50%, -50%); /* Sposta il testo di -50% della sua larghezza e altezza rispetto al centro della linea */
    background-color: white; /* Colore di sfondo del testo */
    padding: 5px 10px; /* Padding per separare il testo dalla linea */
}

@media (min-width: 1441px){
    #logo-header {
        width: 450px;
        height: auto;
    }

    #push {
        height: 300px; 
    }

    body {
        font-size: x-large;
    }
}

@media screen and (max-width: 520px){
    header img {
        width: 90%;
        vertical-align: middle;
    }

    .linea-separatrice {
        margin-top: 10%;
        margin-bottom: 10%;
    }
}

@media screen and (max-width: 650px) {
    header img {
        width: 85%;
    }
}