@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@1,500&display=swap');

html, body{
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 62.5%;
}

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;
}


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

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;

}

.indice{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

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


/* REGLE COTE */
.focused{
    display: none;
    z-index: 999;
}

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

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

/* REGLE CARNET */

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

.carnet{
    position: absolute;
    z-index: 3;
    cursor: move;
    display: flex;
    justify-content: space-between;
}

.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{
    z-index: 99;
    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{
    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_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_contenu{
    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;
    
    line-height: 5rem;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;   
}

.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_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 :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; 
} */
