body {
    margin: 0;
}

main {
    display: flex;
    gap: 2em;
    padding: 0 2em;
}

.title {
    display: inline-block;
    width: 50%;
    margin-left: 0.5em;
}

.details {
    flex: 1;
    order: 2;
}

.subtitles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3em;
}

/*h1{
    font-family: Helvetica;
    font-size: 50px;
    font-weight: 500;
    line-height: 80%;
    letter-spacing: -1px;
    text-align: center;
}*/

.titrage-atelier {
    display: flex;
    justify-content: center;
    height: 25vh;
}

h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 80%;
}

h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 80%;
}

.txt-atelier {
    font-family: 'Times New Roman', Times, serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 110%;
}

/* img{
    margin-left: 20px;
} */

.carousel {
    flex: 1;
    position: relative;
    height: 70vh;
}

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

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

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

.carousel .img-container {
    height: 100%;
}

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

.carousel img, .carousel video {
    height: 100%;
    width: 100%;
    object-fit: contain;
    display: block;
}

.carousel figure.on {
    display: block;
}

@media (max-width: 768px) {

    .title {
        width: 100%;
    }

    border {
        overflow-x: hidden;
        max-width: 100%;
    }

    main {
        flex-direction: column;
    }

    .txt-atelier {
        font-size: 15pt;
    }

    h2 {
        font-size: 24pt;
    }

    h3 {
        font-size: 24pt;
    }

    .titrage-atelier {
        height: 20vh;
    }

}