body {
    overflow: hidden;
}

/* IMAGE */

figure{
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    height: 100%;
    width: 40%;
    overflow: hidden;
}

figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

/* TEXT-CONTAINER */

#container {
    position: absolute;
    left: 40%;
    width: 60%;
    height: 100%;
    overflow-y: scroll;
    padding: 0 2rem 2rem 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
}

section {
    margin: 6rem 0 5rem 0;
}

.title {
    width: 40%;
    line-height: 80%;
    text-align: center;
}

h1 {
    font-size: inherit;
    font-family: "Adelphe Fructidor";
    font-weight: 600;
    margin: 2rem 0 2rem 0;
    text-align: center;
    line-height: 80%;
}

#container h3 {
    font-size: inherit;
    margin: 2rem 0 2rem 0;
    text-transform: uppercase;
    text-align: center;
}


#container sup {
    color: #FF665C;
    cursor: pointer;
}

.text{
    margin: 0 10%;
}

.text p:not(:first-child) {
    text-indent: 2em;
}

#container .text p {
    margin: 0;
}

#signatures{
    margin: 0 10%;
}

#signatures *{
    text-align: center;
}

form{
    margin-bottom: 5rem;
}

form input{
    font-family: inherit;
    font-size: inherit;
    width: 60%;
    border: none;
    border-bottom: 1px solid black;
    margin-bottom: 1.5rem;
}

form input:last-child{
    border: 1px solid black;
    background-color: transparent;
    border-radius: 10px;
    padding: 0.5em 3em;
    cursor: pointer;
    width: auto;
    background-color: black;
    color: white;
}

form input:last-child:hover{
    background-color: white;
    color: black;
}

form input:focus{
    outline: none;
}

/* FOOTNOTES */

#footnotes {
    position: absolute;
    width: 60%;
    background-color: #FFFFFF;
    bottom: 0;
    left: 40%;
    padding: 2rem 5% 2rem 5%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
    border-top: 1px solid #FF665C;
}

#footnotes img {
    width: 16px;
    cursor: pointer;
}

#footnotes>div {
    width: 100%;
}

#footnotes dl {
    color: #FF665C;
    margin: 0;
    display: flex;
}

#footnotes dd {
    margin-left: 2rem;
}

#footnotes a {
    color: #FF665C;
}

/* SIGNATURE */

#activites {
    column-count: 2;
    column-gap: 2rem;
}

#signatures p{
    margin : 0;
    text-align: center;
    font-size: small;
    }


@media (max-width: 992px){

    figure{
        display: none;
    }

    #container {
        left: 0;
        width: 100%;
    }

    .text{
        margin: 0 15%;
    }

    #footnotes{
        left: 0;
        width: 100%;
    }

    #activites {
        column-count: 2;
    }

}

@media (max-width: 768px){

    form input{
        width: 80%;
    }

    form input:last-child{
        width: 60%;
    }

    #activites {
        column-count: 1;
    }

}

@media (max-width: 576px){

    form input{
        width: 100%;
    }

    form input:last-child{
        width: 100%;
    }

    .text{
        margin: 0;
    }

    #activites {
        column-count: 1;
    }

}