@import "assets/fonts/fonts.css";

*{
    box-sizing: border-box;
    margin:0;
    padding:0;

}

html{
}

:root{
    --color-primary:#070707;
}
body{
    background:var(--color-primary);
    color:white;
    position: relative;
    font-family: "BasicallySans";
}

a{
    color:inherit;
    text-decoration: none;
}
.cc{
    justify-content: center;
    align-items: center;
}
.flex{
    display:flex;
}
.between{
    justify-content: space-between;
}
.col{
    flex-direction:column;
}
.row{
    flex-direction:row;
}
.double{
    margin-bottom:1em;
}
.gris{
    transition:.2s color;
}
.gris:hover{
    color:darkgray
}
.bouton{
    cursor: pointer;
}

.page{
    width:50%;
}
.double > div img{
    width:100%;
}
.boutonplus, .boutonmoins{
    font-size: 1.5em;
    cursor: pointer;
    line-height: .75;
}
#book-container{
    margin-top:6em;
}
#book{
    width:calc(100vw - 2.5em);
    margin-left: 2.5em;
    height: 100vh;
    transition: width 0.5s;
}
#wholebook{
    width:100vw;
}
#book.petit{
    width:calc(40vw - 2.5em);
    margin-left: 2.5em;
}
#book.moyen{
    width:calc(60vw - 2.5em);
    margin-left: 2.5em;
}
#book.grand{
    width:calc(70vw - 2.5em);
    margin-left: 2.5em;
}
#book.geant{
    width:calc(85vw - 2.5em);
    margin-left: 2.5em;
}
#book.full{
    width:calc(100vw - 2.5em);
    margin-left: 2.5em;
}
.page-gauche img{
    object-fit: contain;
    object-position: center right;
}
.page-gauche, .page-droite{
    outline: 1px solid var(--color-primary);
}
.page-droite img{
    object-fit: contain;
    object-position: center left;
}

menu{
    position: fixed;
    top:0;
    left:0;
    height:100vh;
    z-index: 100;
}
.sc{
        text-transform: uppercase;
    letter-spacing: .1em;
}
.liste-numero img{
    width:66%;
    margin-bottom: 1rem;
}
.liste-numero{
    margin-top:2em;
    text-align: center;
}
.titre-num{
        font-family: "BaskemoSans";
}
.liste-numero img{
    transition: .3s transform;
}
.liste-numero img:hover{
    transform: scale(1.02);
}
.title-menu-droite{
    text-align: center;
}

.menu-left{
    padding:2em 1em;
        background:var(--color-primary);
    text-orientation: sideways;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    height: 100%;
    border-left:1px solid white;
    z-index: 1000;
}
.menu-right{
    top:0;
    left:0;
    background:var(--color-primary);
    z-index: 99;
    width:30em;
     overflow: scroll;
    padding-top:2em;
    padding-right:1em;
    padding-left:1em;
    padding-bottom:4em;
    border-right:1px solid white;
    transition: transform 0.5s;
    z-index: 999;
}
.bouton-plaintext{
    margin-top:5em;
}
.liste-bouton > .bouton{
    border-bottom: 1px solid white;
    height:3rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
}
.liste-bouton > .bouton:first-child{
    border-top: 1px solid white;
}
.liste-bouton > .bouton:hover{
    background:white;
    color:var(--color-primary);
}
.menu-right.closed{
    transform: translateX(-30em);
}
.tel{
        display:none;
    }
    .ordi{
        display:block;
    }
    .ordi.flex{
        display:flex;
    }
    .sorry{
        position:fixed;
        top:0;
        left:0;
        width:100vw;
        height:100vh;
        z-index:9998;
    }
    .sorry > div{
        width:20em;
        text-align:center;
    }
    .sorry > .buy{
        font-size:2em;
        padding:.3em 1em .2em 1em;
        margin-top:1em;
        display:block;
        border: 1px solid white;
        z-index:9999;
    }
    .rot90{
        display: inline-block;
        transform: rotate(90deg);
    }

@media (max-width: 768px) {
    
    .double{
        flex-direction: column;
    }
    .page{
        width:100%;
    }
    .double > div img{
        width:100%;
    }
    #book{
        width:100vw;
        height: 100vh;
    }
    .menu-right{
        width:unset;
    }
    .bouton-menu{
        content:"hhi";
    }
    .tel{
        display:block;
    }
    .ordi, .ordi.flex{
        display:none;
    }
    .double{
        margin-bottom:0;
    }
    .menu-right.closed{
    transform: translateX(-35em);
}
.menu-right{
        font-size:1.1em;

}
.menu-tel{
    position:fixed;
    width:100vw;
    bottom:0;
    background:var(--color-primary);
    border-top:1px solid white;
    font-size:1.1em;
    padding:.8em .6em .7em .6em;
    z-index: 9999;
    justify-content: space-between;
}
.menu-tel .bouton{
    margin: 0 1em;
}
.tel.flex{
    display:flex;
}
#book{
    width:100vw !important;
    margin-left: 0 !important;
}
#book-container{
    margin-top:0;
}
}