body {
    background-color: black;
    color: lime;
    font-family: 'dindong';
    font-size: 1rem;
    cursor: url('images/cursorV4.png'), auto;
}



/* FULLWIDTH BLOCK */
@media screen and (min-width: 960px) {
    .alignfull {
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    .alignwide {
        width: calc(100% + 240px);
        position: relative;
        left: -120px;
    }
}


/*transformation*/

* {
    transition: 0.25s ease-in-out;
}

.rotate20 {
    transform: rotate(20deg);
}

.scale12 {
    transform: scale(1.2);
}

.r20s12 {
    transform: scale(1.2) rotate(20deg);
    ;
}




/*typography*/


@font-face {
    font-family: 'dindong';
    src: url('webfonts/DINdong.woff2') format('woff2');
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1em 0;
}

h1 {
    font-family: 'afronaut', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    text-align: center;

}

h2 {
    font-family: 'dindong';
    font-size: 1.5rem;
}

p {
    margin: 0 0 1em 0;
}





/*structure*/

.site-description {
    display: none;
}



.container {
    margin: 0 auto;
    padding: 1rem 2.5rem;
    background-color: rgb(0, 0, 0);
}

.single .container {
    margin: 0 2em 0 2em;

}

.site-header .container {
    background-color: rgb(0, 0, 0);
    color: lime;
}

.site-footer .container {
    color: white;
    background-color: black;
}

.site-footer{
    display: flex;
    justify-content: center;
}

.home .entry-header {
    display: none;
}

.home .archive-grid .entry-header {
    display: block;
}

.archive-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}

.archive-grid article {
    position: relative;
    width: calc((100% - 2rem) / 3);
    margin-bottom: 5rem;
}

/*
.archive-grid article:first-of-type{
    transform: rotate(30deg);
}

.archive-grid article:nth-of-type(3){
    transform: rotate(30deg);
}

.archive-grid article:nth-child(3n){
    transform: rotate(-45deg);
}*/

.archive-grid article .entry-header {
    color: lime;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0, -50%);
    z-index: 20;
    width: 100%;
    text-align: center;
    opacity: 0;

}



.archive-grid article a:hover .entry-header {
    opacity: 1;
    transform: scale(1.2);
}



.archive-grid article a:before {
    content: "";
    position: absolute;
    background-color: blueviolet;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
    opacity: 0;
}


.archive-grid article .entry-thumbnail {
    text-align: center;
}

.archive-grid article a:hover .entry-thumbnail {
    opacity: 0.5;
    transform: scale(1.2) rotate(10deg);
    /* transform:rotate(15deg);*/
}

.vbox-container img {
    max-height: 80vh;
}



/* header -> logo + bouton */

.site-title a {
    display: block;
    width: 200px;
    height: 100px;
    background: url('images/gif_logo_1.gif') no-repeat center center;
    background-size: contain;
    text-indent: -50000px;
}

/* masquer le logo celio sur la page home */
.home .site-title  a {
    display: block;
    width: 200px;
    height: 100px;
    background: url('images/gif_logo_1.gif') no-repeat center center;
    background-size: contain;
    text-indent: -50000px;
}



.site-header .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.site-main {
    padding-top: 50px;
    /*margin-left: 2em;
    margin-right: 2em;*/
}

.main-navigation ul .sub-menu {
    display: block;
    box-shadow: none;
}

.main-navigation {
    width: auto;
}

.main-navigation a {
    padding-right: 20px;
}

a,
a:visited,
a:active {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: orangered;
    cursor: url('images/sourisV1.png'), auto;
}

.menu-item-has-children:hover>a {
    color: orangered;
}

h1.site-title,
p.site-title {
    margin: 0;
}

/* PROJET */

.nav-subtitle {
    display: block;
    font-size: 2rem;
    line-height: 1rem;
    color: white;

}

.nav-title {
    font-size: 1.5rem;
    color: white;

}


/* BURGER MENU*/

button.menu-toggle {
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background-color: red;
    text-indent: -50000px;
    background: url(images/burger-off\ white.svg) no-repeat center center;
    background-size: contain;
    position: fixed;
    top: 2rem;
    right: 1rem;
    z-index: 10000;
}

.toggled button.menu-toggle {
    background-image: url(images/burger-on-white.svg);
}

.toggled #primary-menu {
    z-index: 1000;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /*logo*/
    background: url(images/logo-celiagrafizm.svg) no-repeat 40px 20px lime;
    background-size: 200px 100px;

}

.toggled #primary-menu a {
    color: black;
    font-size: 1.5em;

}

.main-navigation.toggled ul ul {
    position: static;
    display: block;
}

.main-navigation.toggled ul ul a {
    background-color: transparent;
    font-size: 0.8em !important;
    padding-left: 4em;
}


/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
    .archive-grid article {
        width: 48%;
    }
}

/* On screens that are 600px or less, set the background color to olive (commenter ceci si on veut que la grille soit en deux colones) */
@media screen and (max-width: 600px) {
    .archive-grid article {
        width: 100%;
    }

    .texte-avant-mobile .wp-block-column:last-of-type {
        order: 1;
    }

    .texte-avant-mobile .wp-block-column {
        order: 2;
    }

    h1.entry-title {

        font-size: 2rem;
    }
    h1.page-title {

        font-size: 2rem;
    }

    span.nav-title {
        font-size: 0.8em;
    }

    .single .container {
        margin: 0 0.8em 0 0.8em;
    }

}

/* texte des articles*/

.text-article {
    display: block;
    position: fixed;
    justify-items: right;
}


@media screen and (min-width: 992px) {
    .margin-moins10 {
        transform: translateX(-100px);
    }

    .stickycolumn {
        position: sticky;
        top: 5rem;
    }
}

/* 
    !!BOUTON AUTOUR DES PREVIOUS!!
    a:hover .nav-title {
        display: inline-block;
        padding: 1rem 2rem;
        background-color: white;
        border-radius:30px;
    }
    */


/*!!BOUTON AUTOUR DES PREVIOUS!!*/

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
    text-align: end;
}

.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: start;
    flex: 1 0 50%;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
    flex-direction: row-reverse;
}

/* fin */