html, body {
    overflow-x: hidden;  /* Nasconde tutto ciò che esce lateralmente */
    width: 100vw;        /* Assicura che la larghezza sia uguale a quella della viewport */
}

/*prima parte*/
body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    overflow-x:hidden;
    width: 100%;

}

h1 {
    font-family: 'Michroma', sans-serif;
    text-align: center;
}

/*testo prima parte*/
.testo {
    font-family: 'DM Sans', sans-serif;
    text-align: center;
}

/*dimensione prima immagine*/
img {
    width: 100%;
    height: 70%;
    display: block;
    margin: 0 auto;
    border-radius: 1%;
}

/*linee*/
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 3%;
}

/*scritte linee*/
h2 {
    font-size: 100%;
    font-family: 'Michroma', sans-serif;
}

.line {
    margin-top: -2%;
    margin-left: -70%;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #800020, #8B0000, #8B0000, #B22222, orange);
    clip-path: polygon(0% 0%, 99% 0%, 100% 100%, 0% 100%);
}

.small {
    width: 100%; /* Per la linea più corta */
    margin-left: +70%;
    background: linear-gradient(to left, #800020, #8B0000, #8B0000, #B22222, orange);
    clip-path: polygon(1% 0%, 100% 0%, 100% 100%, 0% 100%);
}


.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5%;
}

/* Immagini */
.image {
    width: 35%; /* Dimensione dell'immagine */
    height: auto;
    background-color: white; /* Sfondo bianco per simulare immagini non caricate */
}

/* Testo */
.text {
    width: 50%;
    font-size: 100%;
    line-height: 1.5;
    font-family: 'Michroma', sans-serif;
}

/* Alternanza dell'ordine nei blocchi */
.reverse {
    flex-direction: row-reverse;
    text-align: center;
}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}


