/* ANIMATION DE FOND */
@keyframes flashyBackground {
    0%   { background-color: #ff0000; }
    10%  { background-color: #ff9900; }
    20%  { background-color: #ffff00; }
    30%  { background-color: #00ff00; }
    40%  { background-color: #00ffff; }
    50%  { background-color: #0000ff; }
    60%  { background-color: #9900ff; }
    70%  { background-color: #ff00ff; }
    80%  { background-color: #ffffff; }
    90%  { background-color: #ff66cc; }
    100% { background-color: #ff0000; }
}

/* ANIMATION DE COULEUR DU H1 */
@keyframes flashyText {
    0%   { color: #ff0000; }   /* rouge */
    20%  { color: #ff6600; }   /* orange foncé */
    40%  { color: #cc00ff; }   /* violet vif */
    60%  { color: #0000ff; }   /* bleu */
    80%  { color: #009999; }   /* bleu canard */
    100% { color: #ff0000; }   /* retour au rouge */
}

/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    animation: flashyBackground 2s linear infinite;
    font-family: sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* TITRE */
h1 {
    text-align: center;
    font-size: 2.5em;
    margin: 20px 0 10px;
    animation: flashyText 2s linear infinite;
}

/* NAVIGATION */
nav ul {
    list-style-type: none;
    text-align: center;
    margin-bottom: 20px;
}

nav li {
    display: inline-block;
    margin: 0 10px;
}

nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #f1c40f;
}

/* BARRE D'IMAGES */
.image-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* IMAGES */
.image-strip img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Positionnements spécifiques si besoin */
.image-strip .left {
    align-self: flex-end;
}

.image-strip .center {
    align-self: flex-end;
}

.image-strip .right {
    align-self: flex-end;
    transform: scale(1.35);
    transform-origin: bottom right;
}
