:root {
    --black: #000000;
    --grey: #808080;
    --white: #ffffff;
    --pink: #ea1956;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
    background-color: var(--black);
    margin: auto;

}

.header, .header p, .header h2 {
    color: var(--white);
}

.body{
    display: flex;
    align-items: stretch;
    max-height: auto;
}

.banderose1, .banderose2 {
    background-color: var(--pink);
    width: 13em;
    height: auto;
    text-align: center;
}

.milieu {
    flex: 1;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin: auto;
    margin-top: 2em;
    margin-bottom: 2em;
}

.milieu h1{
    overflow: hidden;
    font-size: 2em;
}

h2 {
    font-size: 2em;
    text-align: center;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

    /* PRODUITS */

img {
    width: 200px;
}

.logo img{
    width: 500px;
}
    
p {
    font-size: 1em
}

.banderose2 a{
    text-decoration: none;
    color : var(--black);
}

.banderose2 a:hover{
    text-decoration: none;
    color : var(--white);
}

.banderose1 a, .banderose1 summary {
    font-size: 2em;
    text-align: center;
    margin: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-decoration: none;
    color: var(--black);
}

.banderose1 {
    padding-top: 2em;
}

.banderose1 a:hover, .banderose1 summary:hover{
    color: var(--white);
}

/*FOOTER*/

.footer a{
    color: var(--pink);
    text-decoration: none;
    text-align: center;
}

.footer a:hover{
    color: var(--white);
    text-decoration: none;
}

.footer {
    background-color: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5em 2em;
    gap: 2em;
    flex-wrap: wrap;
}

.footer .logo-su7 img {
    max-width: 80px;
    height: auto;
}

.footer .logo-gums img {
    max-width: 160px;
    height: auto;
}

.footer a {
    color: var(--pink);
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer p {
    color: var(--white);
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1em;
    }

    .footer a {
        display: block;
    }
}

/*BODY*/
/*SLIDESHOW*/

.diapo {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 340px;
    margin: 0 auto;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 50%;
    transition: all 0.8s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.6s ease, opacity 0.6s ease;
}


/* Image centrale*/
.active {
    width: 300px;
    height: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Aperçu gauche*/
.prev {
    width: 200px;
    height: 200px;
    left: 50%;
    transform: translate(-370px, -50%);
    opacity: 0.6;
    z-index: 2;
}

/* Aperçu droite*/
.next {
    width: 200px;
    height: 200px;
    left: 50%;
    transform: translate(170px, -50%);
    opacity: 0.6;
    z-index: 2;
}

/* animation slide*/
.anim {
    opacity: 0;
    transform: scale(0.95);
}

.milieu h1 .wave-word {
    display: inline-block;
    color: var(--black);
    animation: wave-color 5s ease-in-out infinite;
}

@keyframes wave-color {
    0%, 100% {
        color: var(--black);
    }
    50% {
        color: var(--pink);
    }
}

.bonbons-roll a {
    margin: 0.3em;
    display: inline-block;

}