body {
    font-family: 'Roboto', sans-serif;
    background-color: #000000;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    position: relative; /* Aggiunto per il posizionamento delle stelle */
}

header {
    background-color: #000000;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 3em; /* Aumentato per coprire meglio la pagina */
}

.nav {
    text-align: center;
    margin-top: 20px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
    font-size: 1.2em; /* Aumentato per coprire meglio la pagina */
}

.content {
    text-align: center;
    padding: 50px 20px;
}

.content h2 {
    font-size: 2.5em; /* Aumentato per coprire meglio la pagina */
}

.button {
    background-color: #1d3ab9;
    color: #fff;
    padding: 20px 40px; /* Aumentato per coprire meglio la pagina */
    text-decoration: none;
    font-size: 1.5em; /* Aumentato per coprire meglio la pagina */
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
}

.footer {
    background-color: rgba(0, 0, 0, 0.5); /* Colore di sfondo trasparente */
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 1.2em; /* Aumentato per coprire meglio la pagina */
}

.stars {
    width: 100%;
    height: 100%;
    position: fixed; /* Cambiato da absolute a fixed */
    top: 0;
    left: 0;
    z-index: -1; /* Aggiunto per mettere le stelle dietro al contenuto */
    background: url('https://www.transparenttextures.com/patterns/stardust.png'); /* Texture stelle */
    animation: moveStars 100s linear infinite;
}

.stars:after {
    content: "";
    width: 100%;
    height: 100%;
    position: fixed; /* Cambiato da absolute a fixed */
    top: 0;
    left: 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: moveStars 150s linear infinite reverse;
    opacity: 0.5;
    z-index: -1; /* Aggiunto per mettere le stelle dietro al contenuto */
}

@keyframes moveStars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

/* Hamburger Menu - nascosto di default su desktop */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Media Query per Mobile */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }

    header {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 80px 20px 20px;
        flex-direction: column;
        z-index: 999;
    }

    .nav.nav--open {
        display: flex;
    }

    .nav a {
        margin: 10px 0;
        font-size: 1.5em;
    }

    /* Animazione hamburger quando attivo */
    .hamburger-menu.is-active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}