.invitation-text {
    position: relative;
    top: 0;
    margin: 0 auto;
    padding: 10px;
    left: auto;
    right: auto;
    transform: none;
    background-color: transparent;
    width: 90%;
    border-radius: 0px;
    box-shadow: none;
}

.invitation-index {
    font-size: 4rem; 
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9); /* Opzionale: aggiunge un'ombra per migliorare la leggibilità */
}

.invitation-button {
    padding: 20px 60px;
    margin-bottom: 20px;
    background-image: linear-gradient(to right, var(--girl-color), var(--2girl-color), var(--3girl-color), var(--2girl-color), var(--girl-color));
    border: 2px solid var(--girl-color);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-size: 2.2rem;
    cursor: pointer;
    transition: all 0.3s ease;

    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Ombra leggera per risaltare sulle immagini */

    /* Effetti al passaggio del mouse e al clic */
    &:hover {
        background-image: linear-gradient(to right, var(--3-color), var(--3a-color), var(--3b-color), var(--3a-color), var(--3-color));
    }
    &:active {
        transform: translateY(2px);
    }
}

#video-avatar {
    position: absolute;
    top: 60;
    min-width: 50%;
    min-height: 50%;
    width: 90%;
    height: auto;
    z-index: -100;
    background-size: contain;
    opacity: 0.4;
    border-radius: 20px;
}


.taaft {
        margin-bottom: 100px;
}


.content-container {
    text-align: center; /* Centra il testo e gli elementi inline o inline-block */
    width: 90%;
}

.content-container h1 {
    font-size: 3.2rem;
}

.intro-text {
    width: 80%;
    text-align: center;
    margin-bottom: 40px; /* Adjust the space as needed */
}

.intro-text h3 {
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.7);
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 2px;
    margin-bottom: 40px;
    margin-right: auto;
    margin-left: auto;

    border: 2px solid #D43D6B; /* Crea un bordo solido */
    border-radius: 20px; /* Arrotonda gli angoli della cornice */
    display: inline-block; /* Rende la dimensione del bordo adatta al contenuto */
    background-color: rgba(34, 18, 46, 0.6);

    font-family: var(--girl-font);
    color: var(--girl-color);
    font-size: 3.4rem;
}


.intro-text p {
    color: white;
    padding: 10px;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 15px;
    padding-left: 40px;
    padding-right: 40px;
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    font-family: "Ojuju", sans-serif;
    font-size: 2.4rem;
    font-style: normal;
    background-color: rgba(0, 0, 0, 0.6);
}

.intro-text a {
    color: var(--3-color);
    font-weight: bold; /* Opzionale: rendi il testo grassetto per maggiore enfasi */
}


.video-container {
    position: relative;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    overflow: hidden; /* Assicurati che il gradiente non ecceda i bordi del contenitore */
}


.intro-text-costi {
    font-size: 1.6rem;
}

.parola-colorata-costi {
    color: var(--3-color);
    font-weight: bold;
    font-size: 1.6rem;
}


video {
    width: 60%;
    height: auto;
    margin-bottom: 80px;
    border-radius: 20px;

}


@media (max-width: 800px) {

    .intro-text {

    }

    .intro-text h3 {
        font-size: 1.5rem;
    }

    .intro-text p {
        font-size: 1.4rem;
    }

    .video-container {
        max-width: 80%; 
    }

    .invitation-index {
        font-size: 2rem;
    }

    .invitation-button {
        font-size: 2rem;
    }

    video {
        width: 90%;
        height: auto;
    }

}


@media (max-width: 500px) {

    .intro-text {

    }

    .intro-text h3 {
        font-size: 2rem;
    }

    .intro-text p {
        font-size: 1.4rem;
    }

    .video-container {
        max-width: 80%; 
    }

    .content-container h1 {
        font-size: 2.7rem;
    }

}
