body {
    font-family: 'Roboto', sans-serif;
    background-color: #000000;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* Consente lo scrolling verticale */
    height: auto; /* Permette al contenuto di adattarsi all'altezza */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
     scroll-behavior: smooth; /* Aggiunge uno scorrimento fluido */
    overflow-x: hidden; /* Blocca lo scroll orizzontale */
    overflow-y: auto; /* Consente lo scroll verticale */
    scrollbar-width: none; /* Nasconde la scrollbar in Firefox */
    -ms-overflow-style: none; /* Nasconde la scrollbar in IE/Edge */
    width: 100%;
    height: 100vh; /* Imposta l'altezza al 100% della viewport */
    position: relative; /* Necessario per posizionare gli elementi figli */
    
    
}

header {
    background-color: #000000;
    padding: 20px;
    text-align: center;
    width: 100%;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 3em;
    color: #fff;
}

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

.nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
    font-size: 1.2em;
}

.nav a:hover {
    text-decoration: underline;
}

.content {
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.plan {
    background-color: #181818;
    padding: 30px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.plan h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.plan p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.plan .price {
    font-size: 2em;
    color: #007acc;
    margin-bottom: 20px;
}

.plan .button {
    background-color: #007acc;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.plan .button:hover {
    background-color: #0094ff;
}

.footer {
    background-color: rgba(0, 0, 0, 0.5);
    color: #aaa;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    width: 100%;
}

.footer a {
    color: #007acc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.stars {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: moveStars 100s linear infinite;
}

.stars:after {
    content: "";
    width: 100%;
    height: 100%;
    position: 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;
}

@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;
        margin-top: 0;
    }

    .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);
    }

    /* Aggiustamenti per i piani su mobile */
    .plan {
        margin: 20px;
        width: calc(100% - 40px);
    }
}