body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


header {
    _background-image: url("https://www.romanolibriweb.it/ilgabbiano/media/Testa_Sfondo.jpg");
    background-repeat: no-repeat;
    background-size: cover;

    _background-color: #ce7739;
    _background-color: #f0e68c;

    _background-color: #6b6b5d;

    color: white;
    text-align: center;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    position: sticky;
    width: 100%;
    top: 0;
    _height: 50px;

    _justify-content: flex-end;
}


nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    cursor: pointer;

    /*stabilisco dove lo metto, in basso a destra dell'header e con uno sfondo trasparente verde*/
    position: absolute;
    bottom: 15px;
    _vertical-align: middle;
    right: 10px;
    background-color: rgb(96, 201, 138, 0.9); /* Sfondo opaco */
    padding: 5px 10px; /* Padding per spaziatura interna */
    /*------------------------*/

}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

.menu {
    display: flex;
    justify-content: flex-end;
    padding-right: 1em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    background-color: rgb(96, 201, 138, 0.9); /* Sfondo opaco */

    /* cosi lo metto in basso a destra dell'header*/
    position: absolute;
    bottom: 0;
    right: 0;
    /*----------------------------------------*/

    max-width: 600px;

}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline;
    margin-left: 20px;
}

.menu li a {
    color: yellow;
    text-decoration: none;
}

.menu li a:hover {
    _background-color: #c03737;
    background-color: #1425e1;
}



.loghi_contenitore {
    position: static;
    _height: 12vh;
    height:auto;
    color: #ffffff;
    _background-color: #f0e68c;

    text-align: center;
    align-items: center;
    _justify-content: center;

    display: flex;
    flex-wrap: wrap;
    _padding: 0 60px;
    padding: 5px;
    margin-top: 0;
    margin-bottom: 0;
}

.logo {
    display: flex;
    _align-items: center;
    padding-left: 0.5em;
    height: 40px;
}

.logo img {
    _width: 30px;
    height: 40px;
    margin-right: 10px;
}



.content {
    _padding: 20px;
    width:100%;
}

.section {
    margin-bottom: 20px;
}

.image-text {
    width: 100%;
    _display: flex;
    align-items: center;
}

.image-text img {
    max-width: 100%;
    margin-right: 20px;
    _width: 100%;
}

.gray-background {
    background-color: rgba(128, 128, 128, 0.58);
    padding: 20px;
}



/* https://www.venetoformazione.it/blog/come-creare-un-overlay-css-per-le-nostre-immagini/ */
/*
#hero {
    position: relative;
    height: 100vh;
    _background: url('https://picsum.photos/seed/picsum/1920/1080') no-repeat center;
    _background-size:cover;
    color: #ffffff;

    display: flex;
    align-items: center;
    padding: 0 60px;

    margin-bottom:40px;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}
*/


/***********************************/

.img_con_testo {
    _position: relative;
    position: static;
    height: 70vh;
    _background: url('https://picsum.photos/seed/picsum/1920/1080') no-repeat center;
    _background-size:cover;
    color: #ffffff;

    display: flex;
    align-items: center;
    padding: 0 60px;

    margin-top: 20px;
    margin-bottom: 20px;
}

/*
.img_con_testo::before {
    content: '';
    _position: absolute;
    position: sticky;
    _position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}
*/


.inner {
    _position:relative;
    background-color: rgba(192, 55, 55, 0.42);
    padding: 15px;
}




.copyright {
    font-size: 90%;
    color: white;
}

.copyright a {
    color: inherit;
}



.font_titolo {
    _width:100%;
    font-size: 500%;
    font-stretch: extra-expanded;
    font-family: sans-serif, "Helvetica Neue", "Lucida Grande", Arial;

/*
    letter-spacing: 5px;
    display: inline-block;
    _font-size: 32px;
    transform: scaleY(2.5);
    transform-origin: 0 0;
    margin-bottom: 20%;

 */
}


footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-item {
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
}



@media screen and (max-width: 750px) {
    .section {
        flex-direction: column;
    }

    .section-item {
        flex: 1;
        margin-bottom: 10px;
    }


    .menu-toggle {
        display: block;
    }
    .menu {
        display: none;
        position: fixed;
        overflow: auto;
        max-height: 200px;

        top: 50px;
        right: 10px;
        background-color: #333;
        padding: 10px;
    }
    .menu ul {
        display: flex;
        flex-direction: column;
    }
    .menu li {
        margin: 10px 0;
    }


    .font_titolo {
        font-size: 300%;
        font-stretch: extra-expanded;
        font-family: sans-serif, "Helvetica Neue", "Lucida Grande", Arial;
/*
        letter-spacing: 3px;
        display: inline-block;
        _font-size: 32px;
        transform: scaleY(1.5);
        transform-origin: 0 0;
        margin-bottom: 10%;
        */
    }

    .img_con_testo {
        padding: 0 20px;
    }

    .logo {
        padding-top: 0.6em;
    }
    .logo img {
        height: 30px;
    }
}
