@import url('https://fonts.googleapis.com/css2?family=Reddit+Mono:wght@200..900&display=swap')

/* Works on Firefox */
/*
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(128,128,128,240) rgba(0,0,0,0);
}
::-moz-scrollbar-button:decrement,
::-moz-scrollbar-button:increment,
::-webkit-scrollbar-button:decrement,
::-webkit-scrollbar-button:increment {
  width: 0px;  Permet de virer les flèches des scrollbars 
}
::-moz-scrollbar-button, ::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}
*/
/* Personnalisation de la barre de scroll sous Firefox */
::-moz-scrollbar-button:decrement,
::-moz-scrollbar-button:increment {
    width: 0;
}

::-moz-scrollbar-button {
    height: 0;
    width: 0;
}
/* Personnalisation de la barre de scroll sous IE/Chrome */
::-webkit-scrollbar {
    width: 0;
    height : 0.4rem;
    border-radius: 15px;
    background-color: lightgray;
}
::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 0.2rem;
    width: 1rem;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8 !important;
}
::-webkit-scrollbar-track {
    background: white;
}
img {
    pointer-events: none;
}

html {
    font-size: 100%;
    font: 1.2rem "Reddit Mono", sans-serif;
}
.selectDisable { /* Empeche de drag les images du slideshow */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2 {
    font-weight : 300;
}

.icon{
    width: 40px;
}
p {
    font-weight : 300;  
}

a {
    color: black;
    font-weight: 300;
/*    border: solid black;*/
}
.banner {

    display: flex;
    justify-content: space-between;
/*    border: solid red;*/
    padding: 1% 0% 2% 5%; /*top,right, bot, left  */
}
.contact{
    display: flex;
    margin-left:5%;
    margin-top:3%;
    flex-wrap: wrap;
}
.lignecontact{
    /*border: solid red;*/
    align-content: center;
    height: 40px;
    margin-right: 20px;
}
.lignecontact p{
    font-size: 0.85rem;
}

.slideshow-wrapper{
    margin: 0 auto;
    width : 90%;
    min-height : 30%;
    border-bottom: solid grey 1px;
    position : relative;
}
.slideshow {
    left:0;
    display: flex;
    flex-wrap: nowrap;
    overflow-x:scroll;
    
}
.slide {
    height : 100%;
    margin: 1% 0.5%
}
.slide img {
    height : 330px;
}
.bot-wrapper {
    width : 90%;
    padding: 0% 0% 0% 0%;
    display:flex;
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-between;
}
.news {
    /*border: solid grey;*/
    order:0;
    width: 60%;

}
.billet{
    margin: 0 auto;
    /*border: solid green;*/
    width : 95%;
}
.teaser{
    padding-top: 3%;
}
.whoami{
    /*position: sticky;*/
    width: 40%; /* Régler la largeur du panneau de droite WHOAMI*/
/*    padding: 2% 2%;*/
    top:0;
    order:1;
    margin: 0 auto;
    height : 90vh;
/*    border: solid blue;*/
/*    background: white;*/
}
.whoami p {
    font-size: 0.75rem;
}
.article {
    /*border: solid black;*/
    /*padding-top: 1%;*/
    width : 100%;
    display: flex;
    flex-direction: row;
    border-bottom: solid grey 1px;
    /*border-top: solid grey 1px;*/
    /*text-align: center;*/
    justify-content: center;
}
.article.teaser {
    flex-direction: column;
}
.article.teaser p{
    align-self: center;
}

.billet h2{
/*    border: solid red;*/
    width : 100%;
    padding :1% 0%;
}
.article p{
/*    border: solid red;*/
    order:1;
    bottom: 0;
    align-self: flex-end;
    padding: 0% 2%;
    font-size: 0.75rem;
}
.article.teaser p{
    padding: 0%;
}
.article img{
    order:0;
    /*border: solid red;*/
    align-self: center;
    max-width: 50%;
    padding :1% 0%;
}
iframe{
    /*border: solid #b14a4a;*/
    /*align-self: center;*/
    /*margin: auto;*/
    max-width: 100%;
    padding :1% 0%;
}
@media (max-width: 800px) {
    .banner{
        flex-direction: column;
    }

    h3{
        font-size: 0.8rem;
    }
    .bot-wrapper{
        flex-direction: column;
    }
    .whoami{
        order:0;
        position: static;
        width : 90%;
        height: auto;
        margin: auto 0;
/*        border: solid black;*/
    }
    
    .news {
        order:1;
        width: 100%;
    }
    .whoami p{
        font-size: 0.8rem;
    }
    .article{
        flex-direction: column;
/*        border : solid blue;*/
    }
    article p {
        text-align: justify;
    }
    .billet h2{
        text-align: center;
    }
    .article img{
        max-width: 100%;
    }
}