  /* latin-ext */
  @font-face {
    font-family: 'IBM Plex Mono';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/ext/ext.eot'); /* IE9 Compat Modes */
    src: url('fonts/ext/ext.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url(https://fonts.gstatic.com/s/ibmplexmono/v6/-F6sfjptAgt5VM-kVkqdyU8n1ioSJlR1jsoQLNg.woff2) format('woff2'),
         url('fonts/ext/ext.woff') format('woff'),
         url('fonts/ext/ext.ttf') format('truetype');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }

  /* latin */
  @font-face {
    font-family: 'IBM Plex Mono';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/latin/latin.eot'); /* IE9 Compat Modes */
    src: url('fonts/latin/latin.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url(https://fonts.gstatic.com/s/ibmplexmono/v6/-F6sfjptAgt5VM-kVkqdyU8n1ioSJlR1gMoQ.woff2) format('woff2'),
         url('fonts/latin/latin.woff') format('woff'),
         url('fonts/latin/latin.ttf') format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

html, body{
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 52.5%;
    cursor: pointer;
}

.black_overlay{
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    position: absolute;
    z-index: 2;
}

.lamp_overlay{
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .6);
    position: absolute;
    z-index: 1;
}

.object_hover{
    cursor: pointer;
}

body *{
    overflow: hidden;

    font-size: 2rem;
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Mono', monospace;
}



#three_container{
    background-color: red;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#ui_container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#img_container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


button, button:hover, button:focus, button:active{
    border: none;
    background: none;
    outline: none;
}

a{
    text-decoration: none;
    color: black;
}

h2{
    font-weight: bold;
}

.ui_entete:hover, .ui h2:hover{
    cursor: move;
}


h3, h4{
    font-weight: bold;
}

/* REGLE IMG INDICE */
.img_desac{
    display: none !important;
}

.img_reducer{
    padding: 5rem;
}

.indice{
    z-index: 4;
    width: 100%;
    height: 100%;
}

.indice_content{
    position: relative; /* sinon z-index marche pas */
    z-index: 2;
    height: 100%;
    width: auto;
    display: block;
}


/* REGLE COTE */
.focused{
    display: none;
}

.go_encheres{
    display: none;
    color: white;
    padding: 0.4rem 2rem 0.4rem 2rem;
    border-radius: 2rem;
    position: absolute;
    background-color:rgb(91, 39, 51);
    right: 6rem;
    bottom: 6rem;
    z-index: 2;
}

.go_encheres a{
    color: white;
}

.help:hover{
    font-size: 2rem;
    font-weight: normal;
    padding: 1rem 2rem 1rem 2rem;
    cursor: pointer;

}

.help{
    display: block;
    color: white;
    font-size: 4rem;
    padding: 0.4rem 2rem 0.4rem 2rem;
    border-radius: 2rem;
    background-color: rgb(91, 39, 51);
    position: absolute;
    right: 6rem;
    top: 6rem;
    z-index: 2;
}

.bourse{
    color: black;
    padding: 0.4rem 2rem 0.4rem 2rem;
    border-radius: 2rem;
    position: absolute;
    background-color: #FFF6A3;
    left: 6rem;
    top: 6rem;
    z-index: 2;
}

.cote{
    color: black;
    padding: 0.4rem 2rem 0.4rem 2rem;
    border-radius: 2rem;
    position: absolute;
    background-color: #FFF6A3;
    right: 16rem;
    top: 6rem;
    z-index: 2;
}

.cote h2{
    font-size: 4rem;
}

.help h2{
    font-size: 4rem;
}

.bourse h2{
    font-size: 4rem;
}

.go_encheres h2{
    font-size: 4rem;
}

/* REGLE CARNET */

.rotating {
    animation: rotating .1s linear;
    animation-iteration-count: 3;
}


@keyframes rotating {
    0%{
        -webkit-transform: rotate(0deg);
    }
    50%{
        -webkit-transform: rotate(-1deg);
    }
    100%{
        -webkit-transform: rotate(1deg);
    }
}


.good{
    color: rgba(255,255,255,0);
}

.total_carnet{
    height: 100%;
    width: 100%;
    overflow: revert;
}

#carnet{
    position: absolute;
    bottom: -60px; left: 5rem;
    z-index: 2;
    cursor: move;
    display: flex;
    justify-content: space-around;
}

.page_droite{
    margin-left: .5rem;
    background-color: #212135;
    padding: 3rem 3rem 3rem 1rem;
    border-radius: 4rem;
}


.page_gauche{
    margin-right: .5rem;
    background-color: #212135;
    padding: 3rem 1rem 3rem 3rem;
    border-radius: 4rem;
}

.reliure{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 5rem;
    height: 100%;
    background-color: gray;
background-image: linear-gradient(transparent 50%, rgba(255,255,255,.5) 50%);
background-size: 50px 50px;
}


.ui_entete_gauche{
    background-color: #F5F4E8;
    background-image:
    linear-gradient(90deg, transparent 30%,  #D5D5D5 30%,  #D5D5D5 30.1%, transparent 30.1%),
    linear-gradient( #D5D5D5 .1rem, transparent .1rem);

    padding: 1rem 3rem 1rem 3rem;
    line-height: 4rem;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
}

.ui_entete_droite{
    background-color: #F5F4E8;
    background-image:
    linear-gradient(90deg, transparent 30%,  #D5D5D5 30%,  #D5D5D5 30.1%, transparent 30.1%),
    linear-gradient( #D5D5D5 .1rem, transparent .1rem);

    padding: 1rem 3rem 1rem 3rem;
    line-height: 4rem;
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
}

.ui_contenu_gauche{
    background-color: #F5F4E8;
    background-image:
    linear-gradient(90deg, transparent 30%,  #D5D5D5 30%,  #D5D5D5 30.1%, transparent 30.1%),
    linear-gradient( #D5D5D5 .1rem, transparent .1rem);
    background-size: 100% 2.4rem;
    
    /* padding: 1rem 3rem 6rem 3rem; */
    line-height: 5rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;   
}

.ui_contenu_gauche h3:hover{
    cursor: pointer;
}

.ui_contenu_gauche label:hover{
    cursor: pointer;
}

#carnet::after{
    position: absolute;
    top: 13%; left: 46.6%;
    padding: 170px 25px;
    content: "";
    background-color: rgba(219, 206, 186, 0);
background-image: linear-gradient(transparent 60%, rgba(219, 206, 186,1) 60%);
background-size: 40px 40px;
}

.ui_contenu_droite{
    background-color: #F5F4E8;
    background-image:
    linear-gradient(90deg, transparent 30%,  #D5D5D5 30%,  #D5D5D5 30.1%, transparent 30.1%),
    linear-gradient( #D5D5D5 .1rem, transparent .1rem);
    background-size: 100% 2.4rem;

    padding: 1rem 3rem 6rem 3rem;
    line-height: 5rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;   
}


.ui_contenu :hover{
    cursor: pointer;
}

.labeloff{
    display: none;
}

.h3_desac{
    display: none;
}

.div_ouverte{
    display: block
}

h3 + div{
    display: none;
    flex-direction: column;
}

h3 + p {
    display: block;

}

body .ouvert{
    display: flex;
} 

/* 
.souligne{
    background-image:  
    linear-gradient(to right, #000 20%, rgba(255, 255, 255, 0) 20%); 
        background-position: bottom; 
        background-size: 5px 1px; 
        background-repeat: repeat-x; 
} */
