@font-face {
    font-family: "cutive";
    src: url(../font/CutiveMono-Regular.ttf);
}

:root{
    --sommaire: clamp(0.9rem, 0.8vw, 2rem);
    --partie-suivante: clamp(1rem, 1.2vw, 2rem);
}

*{
    margin: 0%;
    padding: 0%;
    outline: none;
}

body{
    margin: 0%;
}



/* SOMMAIRE  --------------------------------------------------------------------------------------------------------*/
.contener_sommaire{
    position: fixed;
    top: 18px;
    right: 90px;
    width: 15%;
    min-width: 220px;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    font-family: "cutive";
    transition: 600ms all;
    padding: 15px;
    overflow: hidden;
    display: none;
}

.contener_bouton_sommaire{
    position: fixed;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    right: 35px;
    top: 35px;
    padding: 13px;
    background-color: rgba(255, 255, 255, 1);
    transform: translate(0%, -2px);
    cursor: pointer;
    transform-origin: center;
    transition: 150ms all;
    z-index: 100000;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}

.contener_bouton_sommaire:hover{
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
}

.contener_bouton_sommaire div{
    margin-bottom: 3%;
    border-top: 1px solid black;
    width: 100%;
    height: 20%;
    transform: translate(0%, 50%);
    transition: 150ms all;
    transform-origin: center;
}

.bouton_sommaire{
    width: 1.8vw;
    height: 1.8vw;
    transition: 150ms all;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: calc(var(--sommaire) + 0.5rem);
}

.sommaire{
    position: relative;
    z-index: 99;
    opacity: 1;
    transition: 500ms all;
    background-color: rgba(255, 255, 255, 1);
    padding: 13% 15% 8.5% 15%;
    width: auto;
    height: auto;
    border-top: none;
    transition: 1000ms all;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
    transform: translate(0%, -110%);
}

.elements_sommaire{
    font-weight: normal;
    margin-bottom: 12%;
    width: 100%;
    list-style: none;
    text-align: left;
}

.elements_sommaire:first-child{
    margin-top: 2%;
}

.elements_sommaire a{
    color: black;
    text-decoration: none;
    text-underline-offset: 4px;
    font-size: var(--sommaire);
    font-weight: normal;
}

.elements_sommaire:hover a{
    text-decoration: .5px underline solid;
}



/* LIEN PARTIE SUIVANTE ---------------------------------------------------------------------------------------*/
.lien_partie_suivante{
    /* display: none !important; */
    position: fixed;
    font-size: var(--partie-suivante);
    font-weight: normal;
    background-color: rgba(255, 255, 255, 1);
    color: black;
    text-decoration: none;
    text-underline-offset: 4px;
    bottom: -20%;
    left: 50%;
    transform: translate(-50%, 0%);
    padding: clamp(10px, 1%, 20px) clamp(35px, 2%, 40px);
    transition: 500ms all;
    z-index: 100000;
    display: none;
    font-family: "cutive";
    width: auto;
    height: auto;
    word-wrap: break-word;
    max-width: 80%;
    white-space: nowrap;
    border-radius: 100px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
    transform-origin: center;
    line-height: 1;
}

.lien_partie_suivante:hover{
    text-decoration: .5px underline solid black;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
}

.fin_partie{
    font-style: normal;
}

.up{
    bottom: 30px;
}

i{
    margin-right: 30px;
}

@media screen and (max-width: 700px) {
    .contener_bouton_sommaire{
        right: 25px;
        top: 25px;
    }

    .contener_sommaire{
        top: 5px;
        right: 70px;
    }
}