
@font-face {
    font-family: 'victor-mono-oblique';
    src: url(../fonts/VictorMono-SemiBoldOblique.otf);
}

@font-face {
    font-family: 'victor-mono-italic';
    src: url(../fonts/VictorMono-BoldItalic.otf);
}

@font-face {
    font-family: 'victor-semi-bold';
    src: url(../fonts/VictorMono-SemiBold.otf);
}

body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #f7c3dc;
    /*background-color: #f7c3dc;*/
    font-family: 'victor-mono-oblique';
}


*::selection {
    color: red;
    background-color: white;
  }

#couv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    /*transition: opacity 5s ease;*/
}

#turn-phone {
    display: none;
}

#livre {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.6s ease;
    width: calc(6 * ((100vw / 10) - 4.5px));
    vertical-align: top;
    margin-top: 20px;
    margin-left: calc(22px + 2 * ((100vw / 10) - 4.5px));
    position: relative;
    pointer-events: none;
}

#livre p {
    pointer-events:initial;
}

#content{
    padding: 0px;
}

#logo {
    background-image: url(../images/logo.png);
    background-size: calc(100% - 80px);
    background-repeat: no-repeat;
    height: calc(4 * ((100vw / 10) - 4.5px));
    background-position: center;
}

#introduction {
    background-color: #f7c3dc;
    border: 2px solid #e73e20;
    color: #e73e20;
    box-shadow: #e73e20 0px 0 20px;
}

#lacouv, #lacouv2 {
    display: none;
}

#plan1, #plan2 {
    display: none;
}

#introduction p {
    margin: 20px;
    font-size: 18px;
    line-height: 26px;
}

.work-name {
    font-family: 'victor-semi-bold';
}

#introduction {
    background-color: #f7c3dc;
    border: 2px solid #e73e20;
    color: #e73e20;
    margin-bottom: calc(10vw - 2px);
}

#introduction #titre {
    font-family: 'victor-mono-italic';
    font-size: 20px;
}

#programmation, #intervention, #jeux {
    margin-bottom: calc(10vw - 2px);
    background-color: #f7c3dc;
    border: 2px solid #e73e20;
    color: #e73e20;
    width: calc(100% - 44px)!important;
    padding: 20px;
    box-shadow: #e73e20 0px 0 20px;
}

italic, i, em {
    font-style: normal;
    font-family: 'victor-mono-italic';
}

#programmation h1, #intervention h1, #jeux h1 {
    line-height: 34px;
    font-size: 72px;
    margin-top: -60px;
    color: white;
    margin-left: -4px;
    font-family: 'victor-mono-italic';
    margin-bottom: 26px;
    color: white;
    -webkit-text-stroke: 10px #f7c3dc;
    paint-order: stroke fill;
}

#programmation h3, #intervention h3, #jeux h3 {
    font-family: 'victor-mono-italic';
    color: #e73e20;
    font-size: 32px;
    margin: 0;
    margin-bottom: 20px;
}

#interv h2 {
    font-family: 'victor-mono-oblique';
    font-size: 32px;
    margin-bottom: 0;
}

#interv h4 {
    font-family: 'victor-mono-italic';
    font-size: 24px;
    margin-top: -6px;
    margin-bottom: 20px;
}


#interv #prez {
    font-size: 18px;
    line-height: 26px;
    font-family: 'victor-mono-italic';
}

#interv #bio {
    margin-top: 18px;
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 18px;
}

#horaire {
    font-family: 'victor-mono-italic';
    text-decoration: underline;
    font-size: 16px;
}

#titre {
    font-family: 'victor-mono-italic';
    font-size: 20px;
}

#titre ul {
    font-family: 'victor-mono-italic';
    padding-left: 40px;
}

#titre li {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 14px;
}

#titre li::marker {
    content: "~~> ";
    margin-left: 40px;
}

#main {
    font-size: 120px;
    line-height: 100px;
}

#sub {
    font-size: 32px;
    line-height: 34px;
}

#event {
    position: relative;
    margin-bottom: 20px;
}

#contenu {
    font-size: 20px;
    line-height: 30px;
}

/******************** NAVIGATION *******************/

#burger-toggle {
    display: none;
}

#burger-icon {
    font-family: 'victor-semi-bold';
    display: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 6px;
}

#close-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top:2px;
    right: 10px;
}

#navigation {
    display: inline-block;
    vertical-align: top;
    position: fixed;
    top: calc(2 * ((100vw / 10) + 7px));
    left: 25px;
    padding-top: 0px;
    line-height: 2.4vh;
    font-family: 'victor-mono-italic';
    font-size:vh;   
    color: white;
    width: calc(2 * ((100vw / 10)) - 50px);
    height: calc(1 * ((100vw / 10)) - 45px);
    background-color: #e73e20;
    padding-top: 24px;
    padding-left: 10px;
    font-family: 'victor-mono-italic';
    transition: all 0s, ;
    opacity: 0;
}

#navigation p {
    cursor: pointer;
    transition: all 0.5s;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-family: 'victor-mono-italic';
}

#navigation p:hover {
    color: #f7c3dc;
}

#header-pagedjs {
    display: inline-block;
    vertical-align: top;
    position: fixed;
    top: calc(3 * ((100vw / 10) + 3px));
    right: 25px;
    padding-top: 0px;
    line-height: 2.4vh;
    font-family: 'victor-mono-italic';
    font-size: 2vh;
    color: white;
    width: calc(1 * ((100vw / 10)) - 45px);
    height: calc(1 * ((100vw / 10)) - 45px);
    background-color: #e73e20;
    margin-right: 3px;
    transition: all 0s, ;
    opacity: 0;
}

#esac {
    display: inline-block;
    vertical-align: top;
    position: fixed;
    top:0;
    line-height: 2.4vh;
    font-family: 'victor-mono-italic';
    font-size: 2vh;
    color: white;
    width: calc(1 * ((100vw / 10)) - 5px);
    height: calc(1 * ((100vw / 10)) - 5px);
    background-color: #e73e20;
    background-image: url('../images/logos/0.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0s, background-size .5s;
    opacity: 0;
}



#esac:hover {
    background-size: 110%;
}

#esac a::before {
    content: none;
}

#esac a::after {
    content: none;
}

#dice {
    display: inline-block;
    vertical-align: top;
    position: fixed;
    top:0;
    line-height: 2.4vh;
    font-family: 'victor-mono-italic';
    font-size: 2vh;
    color: white;
    width: calc(1 * ((100vw / 10)) - 5px);
    height: calc(1 * ((100vw / 10)) - 5px);
    background-color: #e73e20;
    background-image: url('../images/dice/5.png');
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(0deg);
    transition: all 0s, ;
    opacity: 0;
}

#esac a {
    position: absolute;
    width: 100%;
    height: 100%;
    color: transparent;
    text-shadow: none;
}

#esac a:hover {
    position: absolute;
    width: 100%;
    height: 100%;
    color: transparent;
    text-shadow: none;
    border:none;
}

/******************** NOTES **************************/

.titre_nav {
    font-family: 'victor-mono-oblique';
    font-size: 1.2vw;
    line-height: 0.6vw;
    margin: 0.4vw;
    padding-left: 0.4vw !important;
}

a {
    color: #e73d21;
    text-decoration: none;
    word-break: break-all; 
    transition: all 0.5s;
    pointer-events: all;
    font-family: 'victor-mono-oblique';
    border-bottom: 1px solid #e73d21;
}

a:hover {
    color: white;
    text-decoration: none;
    word-break: break-all;
    border-bottom: 1px solid white;
}

a::before {
    content: "</";
    text-decoration: none;
    border-bottom: 1px solid #f7c3dc;
}

a::after {
    content: "/>";
    text-decoration: none;
    border-bottom: 1px solid #f7c3dc;
}

/******************** ARTICLE *****************/

section {
    font-size: 20px;
    line-height: 30px;
    margin-top: 0px;
    padding-top: 0px;
}

section a {
    word-break:normal;
    }

#nom-elem {
    left: 0;
    background: #e73d21;
    color: #f7c3dc;
    font-family: 'victor-mono-oblique';
}

/************************ STYLE MOBILE **********************/
@media screen and (orientation: portrait) {

    #logo {
        background-image: url(../images/logo-mobile.png);
        background-size: 100%;
        background-repeat: no-repeat;
        height: calc(13 * 7.12vw);
        background-position: center;
        margin: 70px 0px;
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-top: calc(100vw / 4);
        margin-bottom: calc(100vw / 4);
        z-index: 7;
    }

    #introduction p {
        margin: 20px;
        font-size: 16px;
        line-height: 22px;
    }
    
    #cover h1 {
        font-size:10vw;
    }

    #introduction {
        position: relative;
        background-color: #f7c3dc;
        border: 2px solid #e73e20;
        color: #e73e20;
        margin-bottom: calc(100vw / 4);
        box-shadow: none;
        width: calc(100% - 34px);
        margin-left: 14px;
        z-index: 7;
        /*box-shadow: #e73e20 0px 0 15px;*/
    }

    #header-container {
        display: none;
    }

    #programmation h1, #intervention h1, #jeux h1 {
        line-height: 34px;
        font-size: 42px;
        margin-top: -50px;
        color: white;
        margin-left: -4px;
        font-family: 'victor-mono-italic';
        margin-bottom: 26px;
        color: white;
        -webkit-text-stroke: 11px #f7c3dc;
        paint-order: stroke fill;
    }

    #programmation, #intervention, #jeux {
        position: relative;
        margin-bottom: calc((100% / 3) - 4px);
        background-color: #f7c3dc;
        border: 2px solid #e73e20;
        color: #e73e20;
        padding: 20px;
        box-shadow: none;
        width: calc(100% - 84px)!important;
        margin-left: 20px!important;
        z-index: 7;
        /*box-shadow: #e73e20 0px 0 15px;*/
        margin-bottom: calc(100vw / 4);
    }

    h3 {
        font-size: 28px;
        line-height: 30px;
        margin-top: 30px;
    }

    h4, h5, h6 {
        margin-top: 30px;
        margin-bottom: 30px;
        font-size: 22px;
        line-height: 26px;
    }

    ul, ol {
        padding-left: 20px;
    }

    #titre ul {
        font-family: 'victor-mono-italic';
        padding-left: 30px;
    }
    li {
        margin-left: 0px;
        margin-bottom: 20px;
        width: calc(100% - 40px);
    }

    li span {
        position: relative;
        left: 20px;
    }

    #main {
        font-size: 90px;
        line-height: 80px;
        margin-top: 40px;
    }

    #author {
        font-size: 28px;
        line-height: 30px;
    }

    #livre {
        display: inline-block;
        /*width: calc(100% - 37px);*/
        width: 100%;
        vertical-align: top;
        /*margin-left: 19px;
        margin-right: 20px;*/
        margin: 0;
    }

    section {
        font-size: 20px;
        line-height: 28px;
    }

    .bloc_notes{
    display: block;
    }

    .bloc_notes p {
        font-size: 14px;
        line-height: 18px;
    }

    .note_marge {
        display: none;
    }

    #cover {
        position: relative;
        z-index: 7;
    }

    #content{
        padding: 0px;
        overflow-x: hidden;
    }

    .titre_article {
        line-height: 34px;
        border-bottom: none;
        padding-top: 34px;
        padding-bottom: 0px;
        font-size: 32px;
        color: rgb(214, 130, 188);
        border-top: 1px solid rgb(214, 130, 188);
        margin-top: 0px;
        margin-bottom: 30px;
    }

    #navigation {
        position: fixed;
        left: -100vw;
        top: 0;
        width: calc(100vw - 40px);
        height: calc(100vh - 40px);
        transition: left 0.3s ease;
        padding: 20px;
        z-index: 1000;
        background: #e73e20;
        color: #ffffff;
        margin: 0;
        overflow-y: scroll;
        display: none;
    }

    #dice-1, #dice-2 {
        display: none;
    }

    #contenu {
        margin-left: 0;
        font-size: 20px;
        line-height: 28px;
    }

    #navigation p:hover {
        color:white;
    }

    #esac {
        display: none;
    }

    #burger-icon {
        display: none;
        z-index: 1100;
        top: 30px;
        right: 30px;
        position: fixed;
        color: #e73d21;
    }

    #close-icon {
        top: 24px;
        right: 19px;
    }

    .cursor {
        display: none;
    }
   
    #burger-toggle:checked ~ #navigation {
        left: 0;
    }

   
    #burger-toggle:checked ~ #navigation #close-icon {
        display: block;
    }


    #burger-toggle:checked ~ #navigation #burger-icon {
        display: none;
    }

    .titre_nav {
        margin-top: 0px;
        font-size: 26px;
        line-height: 30px;
        margin-bottom: 14px;
    }

    .article {
        margin-left: 0px;
        font-size: 18px;
        line-height: 22px;
        margin: 14px 0px;
    }

    #header-pagedjs {
        display: none;
    }

}


.P5Canvas:not(:first-child) {
    display: none;
}



@media screen and (orientation: landscape) and (max-height : 421px) {

    #livre {
        display: none;
    }

    #esac, #dice-1, #dice-2, #header-pagedjs, #navigation {
        display: none;
    }

    #turn-phone {
        display: block;
        position: fixed;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    #turn-logo {
        background-image: url(../images/logo.png);
        background-position: center 62px;
        background-repeat: no-repeat;
        background-size: 35%;
        width: 100%;
        height: 100%;
    }

    #turn-phone p {
        position: absolute;
        bottom: 50px;
        left: 0px;
        color: #ffffff;
        font-size: 28px;
        line-height: 28px;
        width: 100%;
        text-align: center;
        -webkit-text-stroke: 10px #f7c3dc;
        paint-order: stroke fill;
    }

}

/***** CURSEUR ANIME *****/

html,
* {
	cursor: none!important;
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    /*background-color: #e73e20;*/
    background-color: #ffffff;
    /*border:2px solid #f7c3dc;*/
    border:2px solid #e73e20;
    z-index: 999999;
    pointer-events: none;
    transition: scale 0.5s ease-out;
}

.cursor--link {
    transform: translate(-50%, -50%) scale(2);
}






/**** pages js ****/

button#button-print {
    display: none;
}

button#button-screen {
    padding: 0;
    margin: 5px;
}

button#button-print-preview {
    padding: 0;
    margin: 5px;
}

header#header-pagedjs {
    text-align: center;
}


mark {
    background-color: #e73d21;
    color: #f7c3dc;
}

#header-container {
    position: relative;
    top: 50%;
    transform: translate(0px, -50%);
}