/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Segoe UI",sans-serif;
    background:#f4f6f8;
    color:#333;
}

/* HEADER */

.topbar{
    background:#009640;
    height:80px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 25px;

    position:sticky;
    top:0;

    z-index:10000;

    box-shadow:0 3px 12px rgba(0,0,0,0.2);
}

.logo img{
    height:55px;
}

.site-title{
    position:absolute;

    left:50%;

    transform:translateX(-50%);

    color:white;
    font-size:26px;
    font-weight:bold;
}

.menu-btn{
    background:none;
    border:none;
    color:white;

    font-size:32px;

    cursor:pointer;
}

/* MENU */

.menu{
    display:none;

    position:fixed;

    top:80px;
    right:20px;

    width:250px;

    background:white;

    border-radius:15px;

    overflow:hidden;

    z-index:99999;

    box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

.menu a{
    display:block;

    padding:15px 20px;

    text-decoration:none;

    color:#333;

    transition:0.3s;
}

.menu a:hover{
    background:#009640;
    color:white;
}

/* BANNER */

.hero{
    position:relative;
    height:450px;
    overflow:hidden;
}

.hero img{
    width:100%;
    height:100%;

    object-fit:contain;

    object-position:center center;
}

.hero::after{
    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.35);
}

.hero-text{
    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    text-align:center;

    color:white;

    z-index:5;
}

.hero-text h1{
    font-size:60px;
    margin-bottom:15px;

    text-shadow:0 3px 10px black;
}

.hero-text p{
    font-size:24px;

    text-shadow:0 3px 10px black;
}

/* CONTENUTO */

main{
    max-width:1200px;

    margin:auto;

    padding:50px 25px;
}

.welcome{
    background:white;

    border-radius:20px;

    padding:35px;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.welcome h2{
    color:#009640;

    margin-bottom:20px;
}

.welcome p{
    line-height:1.8;
}

/* FOOTER */

footer{
    background:#1e1e1e;

    text-align:center;

    padding:35px;

    color:#d9d9d9;
}

footer p{
    margin:8px 0;
}

/* TELEFONO */

@media(max-width:768px){

    .hero{
        height:300px;
    }

    .hero-text h1{
        font-size:40px;
    }

    .hero-text p{
        font-size:18px;
    }

    .menu{
        width:220px;
    }
}