body {
    margin: auto;
    background-color: rgb(43, 43, 43);
}
.page-container{
    max-width: 1200px;
    margin: 0 auto;
}
header {
    background-image: url("../img/hero\ \(2\).png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    height: 200vh;
    /* Riduci l'altezza per portare l'immagine più vicina */
    width: 100%;
}

#logo {
    display: block;
    /* Rimuove il comportamento di flex su img */
    margin: 15px;
    width: 50px;
    /* Imposta una larghezza personalizzata */
    height: auto;
    /* Mantiene le proporzioni dell'immagine */
    padding-top: 15px;
    padding-left: 5px;

}

.logo-img {
    height: 30px;
}

nav {
    margin-bottom: 5px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 10px;

}

#About {
    display: flex;
    color: #FFFFFF;
    text-decoration: none;
    /*da cambiare a scuola*/
    font-family: "Anonymous Pro", monospace;
    font-size: 1rem;
    font-weight: bolder;
    margin-right: 50px;
}

ul {
    list-style-type: none;
}

h1 {
    font-weight: bolder;
    text-align: center;
    margin-top: 5px;
    margin-bottom: auto;
    font-size: 200px;
    color: #FFFFFF;
    /*da cambiare a scuola*/
    font-family: "Anonymous Pro", monospace;
}

.life {
    font-weight: bolder;
    text-align: center;
    margin-top: 5px;
    margin-bottom: auto;
    font-size: 50px;
    color: #FFFFFF;
    /*da cambiare a scuola*/
    font-family: "Anonymous Pro", monospace;
}

button {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    font-size: 15px;
    font-family: 'Courier New', Courier, monospace;
    width: 200px;
    height: 50px;
    border: none;
    font-weight: bold;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    text-shadow: 1px 1px 0px rgba(74, 74, 74, 1);
    background: #EDCD00;

}

button a {
    color: rgb(9, 9, 9);
    text-decoration: none;
    display: block;
    text-align: center;
    line-height: 50px;
    /* Centra verticalmente il testo */
}

button:hover {
    background: yellowgreen;
    transition: transition 0.5s;
}

#paragraf-1 {
    line-height: 1.5;
    color: #FFFFFF;
    text-align: center;
    margin-top: auto;
    margin-bottom: 25px;
    font-family: 'Courier New', Courier, monospace;

}
h2 {
    font-size: 30px;
}

#paragraf-2 {
    color: #FFFFFF;
    text-align: center;
    margin-top: auto;
    margin-left: 5px;
    margin-right: 5px;
    font-family: 'Courier New', Courier, monospace;

}

hr {
    border: none;
    height: 2px;
    background-color: #FFFFFF;
    width: 100%;
    margin: 0;
}

#card-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px;
    scroll-snap-type: x mandatory;
}

#card-container::-webkit-scrollbar {
    height: 10px;
    background-color: #353535;
}

#card-container::-webkit-scrollbar-thumb {
    background: #fcfcfc;
    border-radius: 5px;
}

#titolo {
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    font-size: 80px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
}

p {
    line-height: 1.6;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    margin-right: 5px;
}

.fiori {
    width: 250px;
}

.bambina {
    width: 280px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    margin-top: 50px;
    flex: 0 0 auto;
    /* Evita che si ridimensionino */
    width: 250px;
    /* Larghezza fissa */
    height: 700px;

}

.para-2 {
    margin-top: auto;
}

#tiket-card {
    width: 200px;
    display: flex;
    justify-content: center;
    margin-bottom: 25px;

}


/* nuova sezzione  */


#card-gallery-3 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    margin-top: 60px;
}

.main-p {
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    margin-left: 10px;


}

.card-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.card-3 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.card-4 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.card-5 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.card-6 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;


}
.main-p{
    text-align: left;
    margin: 48px;
}

/* helpes  */
.img-serp {
    width: 100%;
    height: auto;
}

.img-6 {
    width: 51%;
}

.img {
    width: 50%;
    height: auto;
}

h4 {
    color: #FFFFFF;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    font-size: 40px;
}

h5 {
    display: flex;
    justify-content: center;
    font-size: large;
}
#read-1{
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    font-size: 25px;
    font-family: 'Courier New', Courier, monospace;
    width: 300px;
    height: 80px;
    border: none;
    font-weight: bold;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    text-shadow: 1px 1px 0px rgba(74, 74, 74, 1);
    background: #8e3bcd;
}

a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #f1f1f1;
    font-size: large;
}
.mail{
    margin-bottom: 25px;
}
footer {

    display: flex;
    flex-direction: column;
    background-color: #f70505;
}


/* sezzione media queri */



@media screen and (max-width: 768px) {

 #about{
    margin-top: 15px;
 }
    #logo img {
        height: auto;
        width: 50px;

    }

    .lien {
        margin-right: 0px;
        font-size: 25px;
    }

    h1 {
        font-size: 80px;

    }

    .life {
        font-size: 40px;

    }

    #card-gallery-3 {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 10px;
        margin-top: 60px;
    }

    .main-p {
        font-family: 'Courier New', Courier, monospace;
        display: flex;
        flex-direction: column;
        margin-left: 10px;


    }

    .card-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;

    }

    .card-3 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;

    }

    .card-4 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;

    }

    .card-5 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;

    }

    .card-6 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;

    }

    .img {
        width: 100%;
        height: 100%;
    }

    .img-6 {
        width: 100%;
    }

#titolo{
    font-size: 4rem;
}







}