/* Police----------------------------------------------------------------------------------------------------------------------------*/
@font-face 
{
    font-family: 'Running Hipster';
    src: url(fonts/Hanoded\ -\ Running\ Hipster\ Regular.otf);
}   
@font-face 
{
    font-family: 'Patrick Hand';
    src: url(fonts/Patrick_Hand/PatrickHand-Regular.ttf);
}  

@font-face 
{
    font-family: 'AppleStorm';
    src: url('fonts/applestorm/AppleStormRg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face 
{
    font-family: 'AppleStorm';
    src: url('fonts/applestorm/AppleStormXbd.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face 
{
    font-family: 'AppleStorm';
    src: url('fonts/applestorm/AppleStormXbdIta.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}
@font-face 
{
    font-family: 'AppleStorm';
    src: url('fonts/applestorm/AppleStormIta.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face 
{
    font-family: 'study';
    src: url('fonts/study_person/Study\ Person.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/*variables----------------------------------------------------------------------------------------------------------------------------*/
html{
    /* ---------------------------- App Colors ---------------------------- */  
    --EP-Red:                   #E84D3C;
    --EP-Orange:                #FF9300;
    --EP-Green:                 #9CC43C;
    --EP-Light-Blue:            #069DFF;
    --EP-Blue:                  #0084FF;

    --Apple-Red:                #FF3B30; /* dark mode #FF453A */
    --Apple-Orange:             #FF9500; /* dark mode #FF9F0A */
    --Apple-Blue:               #007AFF; /* dark mode #0A84FF* */

    --free-tier:                #959aae;
    --premium-tier:             #7f95ed;
    --pro-tier:                 #885af2;

    /* -------------------------- Website Colors -------------------------- */
    --main-blue:                #0584ff;


    --black:                    #000;
    --main-text:                #333;
    --main-quote:               #524f4d;
    --dark-grey:                #6f6e6e;
    --grey:                     #888;
    --light-grey:               #a0a0a0;
    --EP-gray:                  #e4e4e4;
    --main-bg:                  #f5f5f7;
    --white:                    #fff;

    /* -------------------------- Post-it Colors -------------------------- */
    --post-it-green:            #cdffa9;
    --post-it-teal:             #a9ffe7;
    --post-it-washed-blue:      #cdebef;
    --post-it-cyan:             #b5f6ff;
    --post-it-purple:           #c7cafc;
    --post-it-pink:             #ffc3fb;
    --post-it-red:              #fcc7c7;
    --post-it-orange:           #ffba65; /* à changer en #ffd87d */
    --post-it-light-orange:     #ffd87d;
    --post-it-yellow:           #ffffa9;
    --post-it-washed-yellow:    #f8f8d1;
    
    --tape-yellowed:            rgba(255,255,235,.6);
    --paper:                    #f6f6f3;

    /* -------------------------- Shadows & cie --------------------------- */
    --shadow-ipad: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    --shadow-btn: 0 4px 8px 0 rgb(0 0 0 / 10%), 0 6px 20px 0 rgb(0 0 0 / 9%);
    --shadow-paper: 0 1px 3px rgba(0,0,0,.4);

    --shadow-text-sticker: 0px 1px 0.5px #4e4e4e, 0px 2px 1px rgba(255, 255, 255, 0.43), 0px 2px 1px rgba(130, 130, 130, 0);
    --shadow-sticker: -1px 1px 0.5px #ffffff74, -1px 2px 1px rgba(255, 255, 255, 0.38), -1px 2px 1px rgba(130, 130, 130, 1);

    --highlighter-green: linear-gradient(104deg, rgba(156, 196, 60, 0) 0.45%, rgba(156, 196, 60, 1.25) 1.2%, rgba(156, 196, 60, 0.6) 2.9%, rgba(156, 196, 60, 0.3) 46.5%, rgba(156, 196, 60, 0.7) 48%, rgba(156, 196, 60, 0) 49%);
    --arc-en-ciel:linear-gradient(90deg, #a6d87b 0%, #8ccdb6 22%, #9ab9da 40%, #c19ad2 58%, #e8b1a8 75%, #f6cb7a 100%);
    --arc-en-ciel:linear-gradient(90deg, #a5e66e 0%, #74dbb6 22%, #7cbbff 40%, #dc8aff 58%, #ffa293 75%, #ffc75e 100%);
    
}

/*paramètres---------------------------------------------------------------------------------------------------------------------------*/
html{
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: #00000000;
}

@media screen and (prefers-reduced-motion: reduce) {html {scroll-behavior: auto;}}
/*Layout---------------------------------------------------------------------------------------------------------------------------*/
body 
{
    margin: 0;
    padding: 0;
    font-family: "SF Pro Display","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
    /* color: #333;
    background-color: #F5F5F7; */

    color: var(--main-text);
    background-color: var(--main-bg);
}
section
{
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
    position: relative;
}

/*Titrage---------------------------------------------------------------------------------------------------------------------------*/
.big_title
{
    font-size: 70px;
    text-align: center;
    margin-bottom: 5px;
    /* color: #000; */
    color: var(--black);
    line-height: 65px;
}
.big_title.left {text-align:left;}
.big_title.right {text-align:right;}
.sub_title
{
    font-size: 32px;
    margin-top: 0px;
    font-weight: 400;
    text-align: center;
}
.sub_title.left {text-align:left;}

/* Mise en Page Texte-----------------------------------------------------------------------------------------------------------------*/
.text, .central
{
    font-size: 21px;
    line-height: 1.34783;
    font-weight: 400;
    letter-spacing: .01em;
    margin: 12pt;
    float: none;
    width: 95%;
    /* color: #333; */
    color: var(--main-text);
    text-align: justify;
}
li{
    text-align: center;
    text-decoration: none;
    padding: 0  16px;
    z-index: 2;
    font-size: 21px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .012em;
    display: inline-block;
    margin: 21px 0px -16px;
}
a
{
    text-decoration: none;
    /* color: #333;  */
    color: var(--main-text);
}

/*Images-&-Vidéos-------------------------------------------------------------------------------------------------------------------------*/
#logo_endless_paper 
{
    vertical-align: text-top;
    border-radius: 15px;
    height: 50px; 
    width: 50px;
}

/* Surligneur-----------------------------------------------------------------------------------------------------------------*/
.highlight
{
    -webkit-animation: 0.5s highlight-anim 0.75s 1 normal forwards;
            animation: 0.5s highlight-anim 0.75s 1 normal forwards;

    /* background: linear-gradient(104deg,
        rgba(156, 196, 60,0) 0.45%,
        rgba(156, 196, 60,1.25) 1.2%,
        rgba(156, 196, 60,0.6) 2.9%,
        rgba(156, 196, 60,0.3) 46.5%,
        rgba(156, 196, 60,0.7) 48%,
        rgba(156, 196, 60,0) 49%); */

    background: var(--highlighter-green);

    background-size: 200% 100%;
    background-position: 100% 0;
    padding: 2px 13.7px;
    -webkit-box-decoration-break: clone;
    margin: 0;
    border-radius: 7.5px;
}

@-webkit-keyframes highlight-anim 
{
    to 
    {
      background-position: 0 0;
    }
}
@keyframes highlight-anim 
{
    to {
      background-position: 0 0;
    }
}

/* Top-Bar-----------------------------------------------------------------------------------------------------------------*/
.topBar
{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--main-bg);
    z-index: 1000;  
    font-size: 21px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .012em;
    display: grid;
    align-content: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* grid-template-columns: 57px auto 130px 44px; */
    grid-template-columns: auto 1fr auto auto;
    overflow-x: clip;
    background-color: #f5f5f7c4;
    padding: 0 5px;
    box-sizing: border-box;

    max-width: 100vw;
}

.topBar div 
{
    align-self: center;
    margin: 0 5px;


}
.topBar a, #collapsedNavList-wrapper a {color: var(--main-quote);}
.topBar a:hover, #collapsedNavList-wrapper a:hover {color: var(--main-text);}

.logo
{
    height: 35px;
    width: 35px;
    margin: auto;
    padding: 5px;
    vertical-align: middle;
    background: white;
    border-radius: 20%;
    border: solid rgb(233, 233, 233) 1px;
}

.navList-wrapper
{
    min-width:0;
    height: 100%;
    align-content: center;
    overflow: hidden;
}
.navList-wrapper ul 
{    
    margin: 0;
    padding: 0;
    display:flex;
    flex-wrap:nowrap;
    list-style:none;
}
.navList-wrapper li 
{
    padding: 0;
    margin: 0;
    margin-right: 25px;
    flex-wrap: nowrap;
    line-height: normal;
    white-space: nowrap;
}
.navList-wrapper li::marker{display: none;}

.AppStore 
{
    justify-self: center;
    padding: 0px;
    height: 100%;
    align-content: center;
}
.AppStore a{
    display: block;
}
.AppStore img {Vertical-align: middle;}

.icon-menu
{
    display: block;
    font-size: 24px;
}
.topBar #menuButton
{
    padding: 0;
    border: 0;
    background: none;
    overflow: hidden;
    margin: 0 10px;
    width: 24px;
    color: var(--main-quote);
}
.topBar #menuButton:hover
{
    color: var(--main-text);
    cursor: pointer;
}

#collapsedNavList-wrapper{
    position: absolute;
    width: 100vw;
    top: 0px;
    padding-top: 60px;
    display: block;
    position: fixed;
    right: 0;
    height: calc(100vh);
    z-index: 4;
    backdrop-filter: blur(20px);
    background-image: linear-gradient(#f5f5f7 50%, #f5f5f761);
    transform: translateY(calc(-100%));
    transition: transform 0.3s ease, backdrop-filter 0s ease;
}
#collapsedNavList-wrapper ul {margin: 0;}
#collapsedNavList-wrapper li
{
    display: block;
    margin: 0;
    text-align: left;
    padding: 10px 0;
}

.revealmenu#collapsedNavList-wrapper
{
    transform: translateY(0);
    transition: transform 0.3s ease, backdrop-filter 0s ease 0.3s;
}

/* IPAD-FRAME________________________________________________________________________________________________ */
.iPad
{
    width: 100%;
    position: relative;
    margin: 23px auto;
    max-width: 500px;
}
.iPad-Screen
{
    border: 13px solid transparent;
    border-radius: 16px;
    background-image: linear-gradient(white, white), radial-gradient(circle at top left, #151523, #050509);
    background-origin: border-box;
    background-clip: content-box, border-box;
    outline: 2px ridge #d3d3d342;
    position: relative;
    margin: 0;

    max-width: 700px;
    width: calc(100% - 27px);
    display: block;
    box-shadow: var(--shadow-ipad);
}
.iPad::after
{
    content: '';
    width: 9%;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-image: linear-gradient(to right, #505050 0%, #979797, #a2a2a2, #979797, #505050 45%, transparent 45%, transparent 55%, #505050 55%, #979797, #a2a2a2, #979797, #505050 100%) 100% 1;
    display: block;
    position: absolute;
    top: -2px;
    left: calc(4% + 10px);
    opacity: 0.66;
}
.iPad::before
{
    content: '';
    height: 5%;
    border-width: 0 0 0 1px;
    border-style: solid;
    border-image: linear-gradient(to top, #505050, #979797, #a2a2a2, #979797, #505050) 1 100%;
    display: block;
    border-bottom: 0;
    position: absolute;
    top: calc(5% + 10px);
    left: -2px;
    opacity: 0.66;
}
.iPad iframe{aspect-ratio: 4/3;}


/* Footer------------------------------------------------------------------------------------------------------------------*/
footer
{
    margin-top: 60px;
}
.legal
{
    text-align: center;
    margin: 50px;
    font-size: 10px;
}

.newsletter.followtitre{grid-area:NT;}  /* NT=News Title*/
.reseaux-ep.followtitre{grid-area:FT;}  /* FT=Follow Title*/
#mc_embed_signup_scroll{grid-area:NC;}  /* NC=News Content*/
.reseaux-ep.link{grid-area:FC;}         /* FC=Follow Content*/

.Follow
{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
                    'NT FT'
                    'NC FC';
    justify-content: space-evenly;
}
.followtitre {font-size: 21px;}

/* Mailchimp------------------------------------------------------------------------------------------------------------------*/
#mc_embed_signup_scroll {/*color: grey;*/ color: var(--grey);}
#mc_embed_signup_scroll p {margin-bottom: 0px;}

input[type=submit]
{
    /* background-color: #0584ff; */
    background-color: var(--EP-Blue);
    color: white;
    border: none;
    display: inline;

    height: 30px;
    line-height: 26px;
    font-weight: 500;
    letter-spacing: 0.012em;
    border-radius: 8px;
    -webkit-appearance: none;
    padding: 1px 10px 0px;
}
input[type=submit]:hover 
{
    opacity: 0.8;
    cursor: pointer;
}
input[type=email]
{
    box-sizing: border-box;
    border: solid var(--grey);
    border-radius: 8px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    height: 30px;
    border-width: 2px;
    padding: 0 0 0 10px;
}
input[type=email]:focus 
{
    border: solid var(--main-text);
    border-width: 2px;
}

.clear {display: inline;}

/* réseaux------------------------------------------------------------------------------------------------------------------*/
.link
{
    display: inline-block;
    font-size: 30px;
    color: var(--grey);
    padding: 6px 0.5px;
    width: 40px;
    height: 29px;
    overflow: hidden;
    vertical-align: bottom;
}

.reseaux-ep .icon-linkedin:hover 
{   color: var(--main-text);
    background-color: var(--main-bg);
    border-radius: 0;
}
.reseaux-ep .icon-instagram:hover
{   color: var(--main-text);
    background-color: var(--main-bg);
    background-image: none;
    border-radius: 0;
}
.reseaux-ep .icon-twitter:hover
{   color: var(--main-text);
    background-color: var(--main-bg);
    border-radius: 0;
}
.reseaux-ep .icon-tiktok:hover
{   color: var(--main-text);
    background-color: var(--main-bg);
    border-radius: 0;
    text-shadow: none;
}
.reseaux-ep .icon-discord:hover
{   color: var(--main-text);
    background-color: var(--main-bg);
    border-radius: 0;
}
.reseaux-ep .icon-facebook:hover
{   color: var(--main-text);
    background-color: var(--main-bg);
    border-radius: 0;
}
.reseaux-ep .icon-youtube:hover
{   color: var(--main-text);
    background-color: var(--main-bg);
    border-radius: 0;
}
.icon-discord1 {font-size: 27px;}


/*taille-du-média---------------------------------------------------------------------------------------------------------------------------*/

@media (max-width:500px) 
{
    .big_title 
    {
        font-size: 52px;
        line-height: 46px;
        text-align: center;
        margin-top: 11px;
    }
    .sub_title 
    {
        font-size: 28px;
        margin-top: 13px;
        margin-left: 24px;
        margin-right: 24px;
    } 

    p
    { 
        margin-left: 24px;
        margin-right: 24px;
        font-size: 15px;
    }
    li
    {
        display: block;
        text-align: center;
        text-decoration: none;
        padding: 0  0px;
        z-index: 2;
        line-height: 1;
        font-weight: 600;
        letter-spacing: .012em;
        
        display: inline-block;
        margin: 21px 4px -16px;
    }

    .newsletter {margin-top: 20px;}
    .Follow
    {
        display: block;
        text-align: center;
    }

    #logo_endless_paper 
    {
        border-radius: 10px;
        height: 35px;
        width: 35px;
    }
}

@media (max-width:400px) 
{
    .big_title
    {
        font-size: 14vw;
        margin: 0vw;
        line-height: 12vw;
        margin-bottom: 2vw;
    }
    .sub_title
    {
        font-size: 8vw;
        margin-top: 0;
    }
    /* h2
    {
        font-size: 10vw;
    } */

    p
    {
        font-size: 14px;
        margin: 3vw;
    }

    #logo_endless_paper 
    {
        border-radius: 8px;
        height: 30px;
        width: 30px;
    }
}
@media (max-width: 320px)
{
    #logo_endless_paper 
    {
        border-radius: 6px;
        height: 27px;
        width: 27px;
    }
}