/* ================================
   FONTS
================================ */
@font-face {
    font-family: "land";
    src: url('font/land.otf');
}

@font-face {
    font-family: "slim";
    src: url('font/slim.ttf');
}

@font-face {
    font-family: "teton";
    src: url('font/teton.ttf');
}

@font-face {
    font-family: "slime";
    src: url('font/slime.otf');
}

/* ================================
   BASE
================================ */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #0f711e, #00ffff);
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
}

img {
    max-width: 100%;
    border-radius: 20px;
}

/* ================================
   TEXTES
================================ */
p {
    color: #e6e6e6;
    font-family: teton;
    font-size: 30px;
    font-style: italic;
    text-align: center;
    margin: 10px 0;
}

/* ================================
   TITRES
================================ */
h1 {
    margin: 10px auto;
    color: #000;
    font-family: slime;
    font-size: 1.9em;
    font-style: italic;
    text-align: center;
    width: 35%;
    text-shadow: silver 0.1em 0.1em 0.2em;
}

h2, h3, h4, h5, h6 {
    color: #7cfc00;
    font-family: slime;
    font-size: 1.7em;
    font-style: italic;
    text-align: center;
    text-shadow: #000 0.1em 0.1em 0.2em;
    margin: 6px auto 10px auto;
}

/* ================================
   BLOCS PRINCIPAUX
================================ */
.p4 {
    background-color: #24110a;          /* fond contrasté lisible */
    width: 86%;
    max-width: 1200px;
    padding: 14px 18px;
    border-radius: 25px;
    margin: 0 auto 18px auto;
    text-align: left;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

/* ================================
   LISTES
================================ */
.p4 ul {
    list-style-position: inside;        /* puces DANS le fond */
    padding-left: 0;
    margin: 12px 0;
}

.p4 li {
    color: #f0f0f0;
    font-family: teton;
    font-size: 28px;
    font-style: italic;
    margin: 6px 0;
}

/* Couleur des puces */
.p4 li::marker {
    color: #7cfc00;                     /* vert fluo */
    font-size: 1.25em;
}

/* ================================
   FOOTER
================================ */
footer {
    text-align: center;
    color: #ccc;
}

/* ================================
   SCROLL UP
================================ */
#scrollUp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}

#scrollUp img {
    width: 50px;
    height: auto;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 680px) {
    .p4 {
        width: 96%;
        padding: 12px;
    }

    p {
        font-size: 24px;
    }

    .p4 li {
        font-size: 24px;
    }

    h1 {
        width: 80%;
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.4em;
    }
}
