header {
    border-bottom: 2px solid #FFF;
}

main {
    width: 90%;
    margin: auto;
    line-height: 1;
}

#retour {
    color: #fff;
    cursor: pointer;
    padding: 15px 7px;
    font-family: 'Bagel', sans-serif;
    font-size: 1.2rem;
}

.title {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    min-width: none;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 7px;
    
}

.title h1 {
    font-family: 'Bagel', sans-serif;
    font-size: 2rem;
}

.title img {
    width: 80px;
}

.img {
    margin-top: 105px;
    margin-bottom: 40px;
}

.mockup {
    width: 100%;
}

.preview {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.previewImg {
    width: 32%;
}

.text {
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
}

.text a {
    font-family: 'Bagel', sans-serif;
    text-decoration: none;
    color: #FFF;
    margin-right: 20px;
}

.list {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    line-height: 1.2;
}

.list h2 {
    font-size: 1.2rem;
    padding-left: 10px;
    margin-top: 0;
}

.list ul {
    list-style: none;
    margin-bottom: 7px;
}

#context {
    margin-left: 50%;
}

.title2 img {
    float: left;
    width: 40px;
    transform: rotate(-25deg);
}

@media (min-width:650px) {
    .title {
        top: 135px;
    }

    #return {
        font-size: 1.3rem;
        top: 25px;
    }
}

@media (min-width: 850px) {
    main {
        width: 75%;
    }

    .title {
        position: relative;
        top: 20px;
        left: -9%;
        transform: translateX(0);
    }

    .ImgText {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-bottom: 0px;
    }

    .text {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .img {
        width: 130%;
        margin-top: 0;
    }


    .list {
        flex-direction: row;
        justify-content: space-between;
    }

    #context {
        margin-left: 0;
    }

    .title2 {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .title2 h2 {
        padding: 0;
    }

    .list h2 {
        margin-top: 20px;
    }
}

header {
    margin-bottom: 20px;
}
