@font-face {
    font-family: 'Combat';
    src: url('fonts/Combat.woff2') format('woff2'),
        url('fonts/Combat.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "unifont";
    src: url("fonts/unifont-12.0.01.woff2");
}


body{
    background-color: yellow;
    color: #000; 
    font-family: "unifont", monospace;
    font-size: 0.9em;
/*    // transform-origin: 0 0;
    // transform: scale(1.2);*/
}
h1{
    margin-top: 0;
    font-size: 8.2vw;
    text-align: justify;
    line-height: 0.9;
    font-weight: normal;
    position: absolute;
    left: 40px;
    font-family: "Combat", serif;
}

h2, h3{
    font-weight: normal;
    font-family: "Combat", serif;
}
a{
    color: #000;
}



ul{
    margin:0;
    padding: 0;
}

figure{
    margin: 0;
}

figure.portrait{
    width: 40%;
}
figure.paysage{
    width: 70%;
}
figure.medium{
    width: 60%;
}

img{
    width: 100%;
}

.grid{
    font-size: 1.2em;
/*  display:grid;
    grid-gap:10px;
    grid-template-columns:repeat(auto-fill,minmax(250px,1fr));*/
}


.title-left{
    margin-right: 120px;
}

.row{
    display: flex;
    flex-wrap: wrap;
}

.page{
    /*border: 1px solid #000; */
/*    width: 20.5cm;
    height: 28.5cm;*/
    width: 50%;
}

.break{
    page-break-after: always;
}

.page-inner{
    padding: 0px .5cm;
    position: relative;
}



.cover-image{
    padding-top: 120px;
/*    position: absolute;
    top: -145px;
    left: -10px;*/
}

.description{
    width: 70%;
    font-family: "Combat", serif;
    font-size: 1.2em;
}

.dates{
    width: 25%;
    font-family: "Combat", serif;
    font-size: 1.2em;
}



.front .page-inner, .double-right .page-inner{
    padding-left: 0.5cm;
}
.back .page-inner, .double-left .page-inner{
    padding-right: 0.5cm;
}


article{
    width: 80%;
    padding-right: 20px;

}

@media print{
    @page{
        size: A3 landscape;
        margin: 1cm;
        margin-top: 0.5cm;
    }
    body{
        background-color: transparent;

    }
    figure{

        filter: grayscale(100%);
    }
    .page{
        /*border:1px solid #000;*/

    }

    .url{
        text-decoration:underline;
    }

    .page-inner{
        padding: 0px;
    }
    .front .page-inner{
        padding-left: 0.5cm;
    }
    .grid{
        /*width: 160%;*/
    }
/*  article{
        width: 18%;
        padding-right: 150px;
    }*/
/*    article{
        width: 28%;
        /*position:relative;*/
/*    }*/

    .grid {
        -moz-column-count: 3;
        -moz-column-gap: 4%;
        -webkit-column-count: 3;
        -webkit-column-gap: 4%;
        column-count: 3;
        column-gap: 4%;
        margin: 0 auto;
        padding: 0;
        max-width: 1000px;
        break-inside: avoid;
          height: 29cm;
    }

    .space{
        margin-top: 1.2cm;
    }

    article {
        display: inline-block;
        list-style: none;            
        margin-bottom: 0px;
        padding: 0;
        width: 100%;
        break-inside: avoid;
    }

    article p{
      break-inside: avoid;
    }

/*    h2,h3{
        font-size: 11px;
    }*/

    .grid{
        font-size: 11px;
    }
    .description, .dates{
        font-size: 1em;
        margin-top: 0.5cm;
    }
    .print{
        display:block; 
    }
    .screen{
        display:none; 
    }
}

@media screen{
    body{
        margin-top: 20px;
        margin-bottom: 50px;
    }
    .cover-image{
      padding-left: 30px;
      width:98%;
    }
    .page.back{
        width: 48%;
        margin-left: 2%;
    }
    .page.back.participants{
        width: 100%;
        -moz-column-count: 2;
        -moz-column-gap: 4%;
        -webkit-column-count: 2;
        -webkit-column-gap: 4%;
        column-count: 2;
        column-gap: 4%;
        margin: 0 auto;
        padding: 0;
    }
    .print{
        display:none; 
    }
    .screen{
        display:block; 
    }
    ul li figure.screen{
        display: block;
        margin-top: 20px;
    }

    .icon{
        width: 50px;
        margin:50px auto;

    }

    .icon a{
        cursor: initial;
    }
    .dates{
        width: 80%;
        padding-left: 0.5cm;
        text-align: center;
        background-color: #FFF;
        padding: 5px; 
    }
    .dates .date{
        font-size: 2em;
    }
    .description{
        padding-left: 0.5cm;
        margin-top: 50px;
    }

    .participants-title{
        background-color: #FFF;
        text-align: center;
        width: 100%;
        margin-top: 50px;
        margin-bottom: 50px;
        padding: 10px;
        font-size: 2em;
    }

    article{
        width: 80%;
        margin:auto;
        break-inside: avoid;
    }


    article h2{
        font-size: 2em;
        text-align: center;
        margin-bottom:0;
    }
    article h3{
        text-align: center;
        margin-top:10px;
    }

    article p{
        font-size: 1em;
        hyphens: auto;
    }

    article figure{
        margin: auto;
        margin-bottom: 30px;
    }

    article h2 + ul{
        margin-top: 30px;
        margin-bottom: 30px;
    }

    article:after{
        content: "";
        display:block;
        text-align:center; 
        margin:auto;
        /*font-size: 30px;*/
/*        margin-left: -30px;
        margin-top: 30px;*/
        /*margin-top: -10px;*/
        width:25px;
       height:30px;
       background:url("images/computer.png") no-repeat;
       background-size:25px 35px;
    }

    article:hover h2, article:hover h3{
        text-decoration: line-through;
        cursor: pointer;
    }

    article:hover figure{
        filter: invert(100%);
        cursor: pointer;
    }

    article.consultation:hover{
        cursor: initial;
    }
    article.consultation:hover h2, article.consultation:hover h3{
        text-decoration: none;
    }

    article.consultation:hover figure{
        filter: none;
    }

    article p, article .screen{
        display:none;
    }
    article p.active, article .screen.active{
        display:block;
    }

    article a{

    }

    .bio:before{
        content: "";
        display:inline-block;
        width:25px;
       height:25px;
       background:url("images/bio.png") no-repeat;
       background-size:25px 25px;
        margin-right: 10px;
    }
}

/*smartphones*/
@media (min-width: 320px) and (max-width: 480px) {
    body{
        /*background-color: white;*/
    }
    .page{
        width: 100%;
    }

    .cover-image{
        width: 80%;
        margin:auto;
        padding-top: 12vw;
    }
    h1{
        left:50%;
        transform: translateX(-50%);
    }
    .page.back{
        width: 100%;
    }
    .dates{
        margin:auto;
    }
    .description{
        margin-left:auto;
        margin-right:auto;
    }
    .page.back.participants{
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
    body{
        /*background-color: green;*/
    }
    .page{
        width: 100%;
    }

    .cover-image{
        width: 80%;
        margin:auto;
        padding-top: 12vw;
    }
    h1{
        left:50%;
        transform: translateX(-50%);
    }
    .page.back{
        width: 100%;
    }
    .dates{
        margin:auto;
    }
    .description{
        margin-left:auto;
        margin-right:auto;
    }
    .page.back.participants{
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

/*tablets*/
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    body{
        /*background-color: red;*/
     }
}




