/* RESET */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

:root {
    --txt: #390299;
    --back: #8cfcd7;
  }

::selection{
    background-color: var(--txt);
    color: var(--back);
}

/* width */
#colonne-droite::-webkit-scrollbar {
    height: 1.7rem;
}
  
  /* Track */
#colonne-droite::-webkit-scrollbar-track {
    background: var(--back);
    border-top: 2px solid var(--txt);
}
  
  /* Handle */
#colonne-droite::-webkit-scrollbar-thumb {
    background: var(--txt);
    width: 2rem;
}
  

@font-face {
    font-family: 'Adelphe';
    src: url('fonts/Adelphe-FructidorRegular.woff2') format('woff2'),
         url('fonts/Adelphe-FructidorRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Adelphe';
    src: url('fonts/Adelphe-FructidorItalic.woff2') format('woff2'),
         url('fonts/Adelphe-FructidorItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Adelphe';
    src: url('fonts/Adelphe-FructidorBold.woff2') format('woff2'),
         url('fonts/Adelphe-FructidorBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

html, body {
	margin: 0;
	padding: 0;
    font-family: 'Adelphe';
    color: var(--txt);
    background-color: var(--back);
    font-size: calc(0.65rem + 0.6vw);
    line-height: 1.25;
}

body{
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

#lang {
    position: fixed;
    right: 0;
    top: 0;
    background-color: var(--back);
    display: flex;
    flex-wrap: nowrap;
    border: 2px solid var(--txt);
}

#lang p, #lang a{
    text-decoration: none;
    padding: 0.5rem;
    margin: 2px;
    font-size: 115%;
}

#lang p{
    color: var(--back);
    background-color: var(--txt);
}

#lang a:visited, #lang a:focus{
    color: var(--txt);
}

#lang a:hover{
    font-weight: bold;
    letter-spacing: -0.7px;
}

.colonne{
    transition: 2s ease;
}

#colonne-gauche{
    padding: 1rem 2rem 1.5rem 2rem;
    width: 42%;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

#repli{
    position: absolute;
    user-select: none;
    left: 40%;
    top:-2px;
    margin-right: -3.4rem;
    z-index: 30;
    background-color: var(--back);
    padding: 0.2rem 0.5rem 0.5rem 0.5rem;
    border: 2px solid var(--txt);
    cursor: pointer;
    font-size: 2rem;
    transition: 2s ease;
}

.repliee{
    width: 0% !important;
    padding-right: 0;
}

.repliee + #repli{
    transform: rotate(180deg);
    left:3%;
}

.deployee{
    width: 100% !important;
}

#colonne-droite{
    padding: 0;
    border-left: 1px solid var(--txt);
    width: 58%;
    display: flex;
    overflow-x: scroll;
    cursor: e-resize;
    border-left: 2px solid var(--txt);
}

#colonne-droite img{
    height: 100%;
    margin: 0 !important;
    padding: 0;
}

/* #manicule{
    font-size: 4rem;
    position: absolute;
    right: 1rem;
    bottom: 0;
    margin: 0;
    cursor: pointer;
    user-select: none;
} */

#infos_bloc{
    text-align: left;
    hyphens: auto;
    font-feature-settings: "onum";
}

#nom{
    font-size: 3rem;
}

#liens{
    column-count: 2;
    margin-top: 1rem;
}

.lien{
     margin-bottom: 0.2rem;
}
    
.lien a, #infos_bloc a{
    text-decoration: none;
    color: var(--txt);
    cursor: pointer !important;
    border-bottom: 1px solid var(--txt);
}
    
.lien a:hover, #infos_bloc a:hover{
    border-bottom-width: 2px;
    cursor: pointer !important;
}

#scroll{
    display: none;
}

/* @media only screen and (max-width: 1700px) {
    #liens{
        column-count: 2;
    }
} */


@media only screen and (max-width: 1200px) {

    body,html{
        font-size: calc(1rem + 0.6vw);
    }

    body{
        flex-wrap: wrap;
        overflow: auto;
    }

    #colonne-droite::-webkit-scrollbar {
        height: 0.5rem;
    }

    .colonne{
        width: 100% !important;
        height: 100% !important;
    }

    #colonne-gauche{
        padding: 0.2rem 0.8rem 1rem 0.8rem;
        height: fit-content !important;
        overflow-y: auto;
    }

    #colonne-droite{
        height: 95% !important;
        border-left: none;
    }

    #repli{
        display: none;
    }

    #liens{
        column-count: 1;
    }

    #nom{
        line-height: 1.1;
        hyphens: none;
    }

    #scroll{
        display: block;
        width: 100%;
        align-content: center;
        height: 5%;
        background-color: var(--back);
    }

    #scroll p{
        text-align: right;
        margin: -0.3rem 0.5rem 0.3rem 0.5rem;
    }

}
