/* --- style.css (Mis à jour) --- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: black;
    height: 100%; /* Important pour définir la hauteur de référence */
}

/* Base Font (si non défini globalement) */
@font-face {
    font-family: myFont;
    src: url(Ditty.ttf);
}

/* Le conteneur gère le défilement et l'accrochage */
.container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Chaque section occupe une vue et s'aligne */
section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    align-items: center;     /* Centrer verticalement */
    scroll-snap-align: start;
}

/* Le contenu n'est plus masqué par défaut */
.content {
    width: 40%;
    max-width: 100%;
    text-align: center;
    padding: 20px;
    /* --- Lignes supprimées : opacity: 0; et transition: ... --- */
}

/* Style du paragraphe (texte) */
p {
    font-family: myFont;
    font-size: 50px; /* Essayez 50px au lieu de 100px */
    line-height: 1.2;
    background: #FFFFFF;
    background: radial-gradient(circle farthest-corner at center center, #FFFFFF 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
;


}

/* Style du SVG #start (inchangé) */
#start:hover {
    filter: drop-shadow(2px 2px 2px white);
    cursor: pointer;
}
#start {
    width: 100%; 
    height: auto;
    max-width: 700px; 
    display: block; 
}