/* Police funky et colorée */
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #C8B273;
    color: #FFF;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #C8B273;
    max-width: 100%;
    margin: 0 auto;
}

.container {
    max-width: 90%;
    margin: 1.5rem auto;
    padding: 1.75rem;
    background-color: #103233;
    border-radius: 0.9375rem;
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
    overflow-wrap: break-word;
}

header {
    text-align: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem;
    margin-bottom: 1.875rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #103233 0%, #103233 100%);
}

header > div {
    flex: 1 1 0;
    display: flex;
}

header > div:first-of-type {
    justify-content: flex-start;
}

header > div:nth-of-type(2) {
    justify-content: flex-end;
}

header > h1,
header > h2 {
    grid-column: 1 / -1;
}

.header-images {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
}

.image-ours {
    width: 40%;
    height: auto;
    align-self: flex-start;
}

.image-noms {
    width: 40%;
    height: auto;
    align-self: flex-end;
}

h1 {
    font-family: 'Fjalla One', sans-serif;
    color: #c8B273;
    font-size: 2.5em;
    margin: 0;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.2em;
    color: #555;
    margin-top: 0.625rem;
}

h2 {
    font-family: 'Fjalla One', sans-serif;
    color: #C8B273;
}

main {
    padding: 1.25rem;
}

/* Animation pour les titres */
h2 {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0.625rem;
    margin: 0 auto 1.25rem;
}

iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
    display: block;
    border-radius: 10px;
}

/* Style pour les listes */
ul {
    list-style-type: none;
    padding-left: 0;
}

li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5625rem;
}

li::before {
    content: "💦";
    position: absolute;
    left: 0;
}

@media (max-width: 56.25rem) {
    header {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    header > div {
        width: 100%;
        justify-content: center;
    }

    .container {
        margin: 0 1rem;
        padding: 1.375rem;
        border-radius: 0.75rem;
    }
}

@media (max-width: 48rem) {
    .container {
        padding: 1.125rem;
        border-radius: 0.625rem;
    }

    h1 {
        font-size: 2.1em;
    }

    h2 {
        font-size: 1.35rem;
        margin-top: 1.25rem;
    }

    li {
        padding-left: 1.375rem;
    }

    iframe {
        min-height: 30rem;
    }
}

@media (max-width: 30rem) {
    .container {
        padding: 0.875rem;
        border-radius: 0.5rem;
        box-shadow: 0 0.375rem 0.875rem rgba(0, 0, 0, 0.08);
    }

    h1 {
        font-size: 1.7em;
    }

    h2 {
        font-size: 1.15rem;
    }

    li {
        padding-left: 1.25rem;
    }

    li::before {
        font-size: 0.9rem;
        top: 0.0625rem;
    }

    iframe {
        min-height: 26.25rem;
    }
}