
body{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    color: var(--color);
}

html { scroll-behavior: smooth; user-select: none;}

:root {
  --blue: blue;
  --pink: rgb(255, 0, 221);
  --grey: rgb(176, 176, 176);
  --red: #ff3149ff;
  --yellow: #fbff00;
  --gradient:linear-gradient(blue,pink)
}

header {padding: 0;}

main{
    background-color: #ffffff;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(16, 1fr);
    height: 100vh;
}

h1 {position: absolute;
    color: var(--pink);
    font-family: 'over';
    font-size: 1em;
    padding-top: 10px;
    z-index: 8;
  }

a{
    text-decoration: none;
    color: var(--red);
}

ul{border: 1px rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  grid-area: span;
  padding-top: 15px;
  list-style: none;
  gap: 15px;}



section.intro {
    background-color: rgb(76, 255, 59);
    border: 0.5rem solid;
    border-color: var(--blue);
    display: flex;
    color: white;
    flex-direction: column;
    grid-column: 1 / 4;
    grid-row: 1 / 7;
    overflow-y: auto;
    padding: 5%;
  }

  .repeating-radial {
  background: repeating-radial-gradient(
    black,
    black 5px,
    white 5px,
    white 10px
  );
}

.back{
  background-color: white;
}

.foot2{
    position:absolute; right:140px; top: 140px; color: #ff3149ff;
    font-family: 'VG5000'; font-size: 15vw;
}

.refs:hover .txt{color: black ; background-color: rgb(255, 255, 255);
                transition: color 500ms linear 0ms;
                color: rgb(255, 255, 255); color: rgb(0, 0, 0)}

.list1{color: #ff3149ff;font-family:'Arial Narrow Bold', sans-serif; font-size: 30px;}
.vin{color: rgb(107, 56, 154);font-family:'Arial Narrow Bold', sans-serif; font-size: 30px;}
.scone{color: rgb(0, 38, 255);font-family:'Arial Narrow Bold', sans-serif; font-size: 30px;}

.list1:hover{color: rgb(248, 175, 194);}
.vin:hover{color: rgb(206, 162, 247);}
.scone:hover{color: rgb(158, 158, 243);}

    .citation0{
        margin-top: 0;
        padding: 0; 
        width: 100vw;
        height: 60px;
        display: flex;
        align-items: center;
        background-color: #ff3149ff;
        overflow-x: hidden;
        border-bottom: solid 1px black;
    }
    
    .txt1{font-family: 'over';
        white-space: nowrap;
        font-size: 40px;
        color: #ff44f0ff;
        animation: scroll 20s linear infinite;
        padding: 0;

     }
    
     .txt12{white-space: nowrap;
        font-size: 30px;
        color: #ff44f0ff;
        animation: scroll 20s linear infinite;
        font-family: 'VG5000';
        height: 15px;
     }
    

@keyframes scroll{
    0% {transform: translateX(-100%);}
    100% {transform: translateX(0%);}
    }
    
section.books {
  grid-column: 4/17;
  grid-row: 5/10;
  height: 100vh;
  z-index: 3;
  background: var(--yellow);
  scroll-behavior: smooth;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
 
}

.project__title {
  font-size: 4rem;
  position: fixed;
  margin-top: auto;
  color: blue;
  width: 100%;
  word-break: keep-all;
  padding: 12%;
  font-family: 'over';
  line-height: 1.2;
}

p{font-size: 10pt;
  position: absolute;
  top: 40px;
  left: 20px; 
  color:var(--red);}

.scrollable{
    background: black;
    margin: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    overflow: -moz-scrollbars-none;
    scrollbar-width: none;
    border-radius: 1em;
}

  /* for images to be the same height */
  .scrollable img {
    height: 400px;
  }


  .home-book__container{
    height: max-content;
    padding: 0;
    filter: grayscale(1);
  }

  .home-book__container1{
    height: max-content;
    padding-bottom: 80px;
    filter: grayscale(1);
  }

  .home-book__container:hover{
    filter: none;
  }

  .home-book__container1:hover{
    filter: none;
  }

  section.news {
    grid-column: 1 / 4;
    grid-row: 7/17;
    padding-bottom: 80px;
    z-index: 10;
    border-right: solid  1px var(--blue);
  }
  
  section.news h1 {
    padding-left: 20px;
    position: fixed;
    background-size: 10px 10px;
    background-image: repeating-linear-gradient(45deg, var(--pink) 0, var(--pink) 3px, var(--rouge) 0, var(--rouge) 50%);
    width: 100%;
    padding: 8px;
    z-index: 12;
  }

section.news {
  grid-column: 1 / 4;
  grid-row: 7/17;
  /* height: 100vh; */
  z-index: 10;
  filter: grayscale(1);
  /* filter: grayscale(1); */
}

/* section.news details {
  height: 100%;
}

section.news summary {
  position: relative;
    top: calc(1em + 4px);
} */

section.news h1 {
  padding-left: 20px;
  position: fixed;
  background-size: 10px 10px;
  background-image: repeating-linear-gradient(45deg, var(--pink) 0, 
  var(--pink) 3px, var(--rouge) 0, var(--rouge) 50%);
  width: 100%;
  padding: 8px;
  z-index: 12;
  
}

.home-card__container {
  background-color: rgb(243, 243, 243);
  padding: 20px;
  overflow-y: scroll;
  height: 100%;
}

div.card__container:first-of-type {
  margin-top: 8%;
}

div.card__container {
 
  transform: rotate(-1deg);
  padding-top: 15px;
  padding-block: 10%;
  display: flex;
  flex-direction: column;
}

h2.card__title,
h3.card__date,
h3.card__place {
  transform: rotate(4deg);
}




h3.card__place {
  font-family: 'euroscript-regular';
  font-size: 1em;
  letter-spacing: 1px;
  font-weight: normal;
  line-height: 1.2em;
  text-wrap: balance;
  width: 80%;
}

h3.card__date {
  font-weight: bold;
  margin-left: auto;
  font-size: 0.9em;
  font-family: 'euroscript-regular';
  font-size: 0.9em;
  letter-spacing: 1px;
  line-height: 1.2em;
  text-wrap: balance;
}

h2.card__title {
  font-family: eido;
  font-size: 1.1em;
  letter-spacing: 1px;
  margin-top: 5%;
  margin-bottom: 5%;
  padding-inline: 2%;
  text-align: center;
  width: 100%;
  font-weight: normal;
  line-height: 1.4;  
  text-wrap: balance;
}

p.card__paragraphe {
  font-family: "dse";
  rotate: 1deg;
  line-height: 1.3em;
}

p.card__paragraphe a {
  text-decoration: underline dotted 1px purple;
}

.friends {
  grid-column: 1/3;
  grid-row: 12/16;
  overflow-y: scroll;
  background-color: aliceblue;
  display: none;
}

#wait {
  display: none;
}




@font-face{
  font-family: "Prodigy Sans";
  src: url("ProdigySans-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face{
font-family: "Prodigy Sem";
src: url("ProdigySans-SemiBoldItalic.woff2") format("woff2");
font-weight: 600;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: "VG5000";
src: url("VG5000-Regular_web.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "nyght";
src: url("NyghtSerif-RegularItalic.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: "nyght";
src: url("NyghtSerif-RegularItalic.woff") format("woff");
font-weight: bold;
font-style: normal;
} 

@font-face {
font-family: "over";
src: url("OverusedGrotesk-VF.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: "over";
src: url("OverusedGrotesk-VF.woff") format("woff");
font-weight: bold;
font-style: normal;
} 