@font-face {
    font-family: CourierPrime-Regular;
    src: url("CourierPrime-Regular.03ef685b34f3.ttf");
}

@font-face {
    font-family: Avara-BoldItalic;
    src: url("Avara-BoldItalic.176c664e703d.otf");
}

@font-face {
    font-family: Helvetica-Bold;
    src: url("Helvetica-Bold.4ddbdef3e5fc.ttf");
}

body {
    overflow-x:hidden;
    margin:0;
}

:root {
    --font: CourierPrime-Regular;
    --widthPost: 720px;
}
::-webkit-scrollbar {display: none;}

.hidden {display: none;}

#pad {
    margin-top:30px;
}



#infos {
    font-family: var(--font);
    line-height:0px;
    color:black;
    font-size:16px;
    padding-left:10px;
    cursor: default;
}


#logo {
    cursor:pointer;
    background-color: white;
   /* position: absolute;*/
    top:0;
    left:0;
    width:75px;

    margin:40px 40px 40px 10px;
    



}

#titre {
    font-family:Helvetica-Bold;;
    font-weight: bold;
  /*  padding-left:40px;*/
    font-size:30px;
    margin:0;
    padding-left:10px;
        padding-bottom:3px;
    line-height:30px;
    cursor: default;
}


#topBar_right {
    position:sticky;
    top:0;

    left:0;
    width:100vw;
    margin:0;
    display: flex;
    padding-top:4px;
   
    align-items: center;
    background-color: white;
    z-index: 4;
    color:black;
    font-family: Helvetica-Bold;;
    font-weight: bolder;
    font-size:18px;
    /*font-style:italic;*/


  }

  .marquee {
    overflow: hidden;
 }
 
 .marquee span {
     display: inline-block;
     white-space: nowrap;
     color: black;
     width: var(--tw);
     text-shadow: var(--tw) 0 black,
                  calc(var(--tw) * 2) 0 black,
                  calc(var(--tw) * 3) 0 black,
                  calc(var(--tw) * 4) 0 black;
 
     will-change: transform;
     animation: marquee var(--ad) linear infinite;
     animation-play-state:running;
    cursor: default;
     --ad: 20s;
     --tw: 111vw;
 }

 .marquee:hover span {
    animation-play-state:paused;
 }
 
 @keyframes marquee {
     0% { transform: translateX(0); }
     100% { transform: translateX(-100%); }
 }






.navNav {
    font-family: var(--font);
    font-size:18px;
    position:sticky;
    top:20px;
    background-color: white;
    margin:0;
    padding-top:5px;
    padding-bottom:5px;
    padding-left:10px;

}

.spanNav {
    color:blue;
    text-decoration: underline;
    cursor:pointer;
}

a {
    color:blue;
  }

.navSpan::after {
    content: " /"
}



#about{
    font-family:var(--font);
    /*padding-left:40px;
    padding-top:20px;
    padding-right:40px;*/
    font-size:18px;
    margin:0;
    width:97vw;
    padding-left:10px;
    cursor: default;

}

.contact{
    font-family:var(--font);
    /*padding-left:40px;
    padding-top:20px;
    padding-right:40px;*/
    font-size:18px;
    margin:0;
    width:97vw;
    padding-left:10px;

}



#qr {

    padding:40px 10px;
    
    width:165px;
    position:absolute;
    top:0;
    right:0;
    cursor: pointer;
}


hr {
    width:var(--widthPost);
margin-left:0;

}

.titlePost {
    font-family: Helvetica-Bold;;
    font-weight: bold;
    font-size: 25px;
    padding-top: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
    padding-left:10px;
    cursor: default;
}

.descText {
    font-family: var(--font);
    width:var(--widthPost);
    padding-bottom:6px;
    padding-left:10px;
    font-size:18px;
    cursor: default;
}

.imagePost {
    padding-bottom: 30px;
    padding-left:10px;
    cursor: default;

}
.imagePost img, video {
    width:var(--widthPost);
}

.timePost {
    font-weight: normal;
    font-family: var(--font);
    font-size: 15px;
    margin:0;
    padding-left:10px;
    cursor: default;

}

.timePost::before {
    content: "› ";
  }


.main {
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    


}

#gridGal {
    width:100vw;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    align-items: center;
    justify-items: center;
    
}

.gridImg {
    width:30vw;
    align-items: center;
    justify-items: center;
    margin:0.5vw;
}

.gridImg img {
    width:30vw;
    align-items: center;
    justify-items: center;
    margin-bottom:20px;
    cursor:pointer;
}

.biblio-livre {
    padding-left:10px;
    width:500px;
    padding-bottom: 20px;

}

.livre-titre {
    font-family: Helvetica-Bold;;
    font-weight: bold;
    margin:0;
    font-size:20px;
   
}

.livre-helvetica {
    font-family: Helvetica-Bold;;
    margin:0;
}

.livre-courier {
    font-family: CourierPrime-Regular;
    margin:0;
}

.livre-emprunt {
    color:grey;
}

.imageLivre {
    width:400px;
}



#formEth {
    padding-bottom:100px;
}

#inputEth {
    padding:10px;
    width: 100px;
    /* border:none; */
    border-bottom:solid 2px black;
    font-size: var(--font);
}

#buttonEth {
    padding:10px;
    background-color: black;
    color:white;
    border:none;
    border-radius: 100px;
    cursor:pointer;
}



.no-eth {
    display: none;
}

.has-eth {
    display: block;
}



@media screen and (max-width: 1270px) {

    #gridGal {
        grid-template-columns: auto auto;
    }
    
    .gridImg {
        width:46vw;
        align-items: center;
        justify-items: center;
    }
    
    .gridImg img {
        width:45vw;
        align-items: center;
        justify-items: center;
    }

}
/*
@media screen and (max-width: 950px) {
    #gridGal {
        grid-template-columns: auto;
    }
    
    .gridImg {
        width:95vw;
        align-items: center;
        justify-items: center;
    }

    .gridImg img {
        width:95vw;
        align-items: center;
        justify-items: center;
    }
    

} */

@media screen and (max-width: 800px) {

    body {
        overflow-x:hidden;
    }

    .main {
        display: grid;
        align-items: center;
        justify-items: center;
        grid-template-columns: auto;
        grid-template-rows: auto;
            display: grid;
    

    }
}


@media screen and (max-width:720px) {

    .descText {
        width:calc(100vw - 20px);
    }
    
    .imagePost img, video  {
        width:calc(100vw - 20px);
    
    }

    .biblio-livre {
        width:calc(100vw - 20px);
    }

    .imageLivre {
        width:calc(100vw - 20px);
    }

    hr {
        width:calc(100vw - 20px);
        position:initial;
    }

    .marquee span {

        --tw: 220vw;
        --ad: 20s;
    }

  
}