/*---------------- texte -----------------*/

h1 {
    font-size: 30px;
    margin-bottom: 0px;

    position: absolute;
    bottom: 20px;
    left: 2%;
    transform: translateX(-50%);
    text-align: left;
}

p {
    font-family: Helvetica, sans-serif;
    font-weight: 350;
    font-size: 18px;
    line-height: 23px;
    letter-spacing: -0.01em;
    color: #000000;

    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
}

a {
    color: #000000;
    text-decoration: none;
    font-family: 'RoanokeScript', Times, serif;
    font-size: 37px;
    line-height: 34px;
    letter-spacing: 0.02em;
}

a:hover {
    text-decoration: none;
    color: #e1e0e0;
}

/*---------------- général -----------------*/

body {
    padding: 10px;
    scroll-behavior: smooth;
    background-color: #e1e0e0;
    margin: 0;
    padding: 10px;
    height: 100%;
    overflow: hidden;
}

img {
    max-width: 1200px;
}

/*---------------- carrousel -----------------*/

.carrousel {
    flex: 1;
    position: relative;
    height: 1000px;
}

.carrousel .skip {
    position: absolute;
    height: 100%;
    width: 50%;
    top: 0;
}

.carrousel #left {
    left: 0;
    cursor: w-resize;
}

.carrousel #right {
    left: 50%;
    cursor: e-resize;
}

.carrousel .img-container {
    height: 100%;
    width: 100%;
    display: flex;
}

.carrousel figure {
    height: 100%;
    width: 100%;
    margin: 0;
    display: none;
    background-color: transparent !important;
}

figure {
    height: 100%;
    width: 100%;
    margin: 0;
    display: none;
    background-color: transparent !important;
}

.carrousel img {
    height: 100%;
    width: auto;               /* <-- au lieu de 100% */
    object-fit: contain;
    display: block;
    margin: 0 auto;        
}

.carrousel figure.on {
    display: block;
}