/** IMPORT */
  /** Fonts */
@import url('https://fonts.upset.dev/css2?family=Covered+By+Your+Grace&family=Kavivanar&family=Vampiro+One&family=Zen+Kurenaido&display=swap');
/** END OF IMPORT */

body { 
  background-color: #ffd0c9;
  background-image:  repeating-linear-gradient(to right, transparent 0, transparent 3.1666666666666665px, #ffd0c9 3.1666666666666665px, #ffd0c9 9.5px, transparent 9.5px, transparent 12.666666666666666px), repeating-linear-gradient(to bottom, transparent 0, transparent 3.1666666666666665px, #ffd0c9 3.1666666666666665px, #ffd0c9 9.5px, transparent 9.5px, transparent 12.666666666666666px), linear-gradient(to bottom, #f1f6ee 1.14px, transparent 1.14px), linear-gradient(to right, #f1f6ee 1.14px, transparent 1.14px) ; /** CSS grid background */
  background-size: 100% 100%, 100% 100%, 38px 38px, 38px 38px;
  background-position: 0 0, 0 0, 0 -0.38px, -0.38px 0;
  padding: 5%; margin:0;
  font-family:"Zen Kurenaido";
  cursor:url("/images/sarabi_cursor.png"), auto;}

/** NAVIGATION BAR */  
nav {
  float:right;
  width: 8%;
  height:100vh;
  position: relative;}

    .navigation {
      height: fit-content;
      width: fit-content;
      position: absolute;
      top:20%;
      left: -5vw;
      text-align: left;
      font-family: "VT323";
      font-size: 40px;}
    
    .navigation h1 {
      font-size: 45px;
      color: white;
      text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;}
    
    .navigation a {
      display:inline-block;
      color: white;
      text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
      font-size: 35px;}
      
    .navigation a:hover {
      font-size: 40px;  
      transform:rotate(-13deg);}

/** END OF NAV BAR */

/** MAIN BODY */
main {
  position:relative;
  top: 8vh; left:4vw;
  margin: 2%;
  border:solid; border-color:white; border-width:5px;
  height: 75vh;
  width: 75%;
  padding: 1%;
  overflow-y: scroll;
  z-index:10;
  }

p { 
  color: black;
  font-family: "Zen Kurenaido";
  font-size: 20px;
  text-align:justify;}

#psubtitles {
  text-align:center;
  color:gray;
  font-size: 15px;}
  
h1 {
  margin: 3px;
  color: white;
  font-family: "Vampiro One";
  font-size: 55px;
  -webkit-text-stroke: 1px grey;}
  
h2 {
  margin: 3px;
  color: white;
  font-family: "Vampiro One";
  font-size: 40px;
  -webkit-text-stroke: 1px grey;}

h3 {  
  margin: 3px;
  color: black;
  font-family: "Vampiro One";
  font-size: 25px;}

h4 {
  margin: 3px;
  color: black;
  font-family: "Kavivanar";
  font-size:25px;}
  
strong {
  background-image: linear-gradient(90deg, #e35454, #f291cb);
  font-family: "Kavivanar";
  color: transparent;
  background-clip: text;}
    
em {
  background-image: linear-gradient(90deg, #d93021,#ed773b,#f5bb27);
  font-family: "Kavivanar";
    color: transparent;
    background-clip: text;}
    
.hey {
  background-image: linear-gradient(90deg, #e35454, #f291cb, #ffc0b8, #f2e091);
  color: transparent;
  background-clip: text;
  -webkit-text-stroke: 1px white;}
    
.underline {
  text-decoration:underline;}
  
.mediatype {
  color:#5cbcc4;}
    
li {
  text-align:justify;
  list-style-type: square;
  font-size:15px;}

a, u {
  display:inline-block;
  text-decoration: none;
  cursor:url("../images/sarabi_cursor.png"), auto;}

a:hover {
  transform:rotate(-6deg);
  cursor:url("../images/sarabi_cursor.png"), auto;}

details {
  color: black;
  font-family: "Zen Kurenaido";
  font-size: 15px;}
  
table, td {
  border: 1px solid pink;
  border-style: dashed;
  border-collapse: collapse;
  border-radius: 15px;
  padding:3px;}
  
table th {
  font-size:20px;
  font-weight:bold;}
  

/** BACKGROUND BOXES */
.blockline {
  width: 95%;
  display: flex;
  padding: 0%;
  margin: 0%;}
  
.centered-bbox {
  display: grid;
  place-items: center;
  margin:0;
  padding:0;}
  
.box1 { /** white rounded 100% width */
  width: 98%;
  border-radius: 5px;
  margin:0%;
  padding:1%;
  background-color: white;}

.box2 { /** colorful block */
  width: 70%;
  background-image: linear-gradient(90deg, #e35454, #f291cb, #ffc0b8, #f2e091);
  background-clip: border-area;
  margin:0;
  border-radius: 5px;
  padding:3px}

.box3 { /** white rounded 100% width */
  width: 98%;
  border-radius: 5px;
  margin:0%;
  padding:1%;
  background-color: white;
  display:flex; 
  flex-direction:row;
  flex-flow:row wrap;}
  
.container1 {
  width: 35%;
  margin: 0;
  padding: 2%;}
  
.container2 {
  width: 86%;
  margin: 0;
  padding: 2%;
  display:flex;
  flex-direction:row-reverse;
  place-items:center;}
  
.button h4 {
  font-size:17px;
  text-align:center;
  margin:0; 
  color: white;}
  
.button img {
  max-width: 140px;
  max-height:100px;
  width: auto; height: auto;
  margin:0;}


#chronology {
  border-left:solid; border-left-width:5px; border-left-style: dotted; border-left-color:#c0f5a9;
  margin: 10px;
  padding: 30px;
  background-color: white;}
 
/** DRAGGABLE ITEMS */
.draggable-div {
  position:absolute;
  cursor:move}
  
.draggable-divheader {
  padding:10px;
  cursor:move;
  z-index:15;}

/** PAGEDOLLS */

.pagedoll-run {
  width:300px;
  height:auto;
  position:relative;
  }
  
  
/** EFFET POLAROID */

.polaroidwrapper {
  width: 100%;
  padding: 0 2rem;
  text-align: center;
  font-family: "Covered By Your Grace";
  font-size: 40px;
}

.polaroid {
  background: #fff;
  padding: 5%;
  display:grid;
  place-items:center;
  box-shadow: 0 0.2rem 1.2rem rgba(0,0,0,0.2);}
  
.divimg {
  width: 310px; 
  height: 310px; 
  margin:3%;
  position: relative;
  overflow: hidden;}
  
.polaroid img{
  max-width: 100%;
  min-height: 100%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);}

.pola-caption {
  font-size: 1.3rem;
  text-align: center;
  line-height: 2em;
}
.pola-item {
  width: 20%;
  display: inline-block;
  margin: 1%;
}
.pola-item .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}
.pola-item:nth-of-type(4n+1) {
  transform: scale(0.8, 0.8) rotate(5deg);
  transition: all 0.35s;
}
.pola-item:nth-of-type(4n+1) .polaroid:before {
  transform: rotate(6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.pola-item:nth-of-type(4n+2) {
  transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}
.pola-item:nth-of-type(4n+2) .polaroid:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.4);
}
.pola-item:nth-of-type(4n+4) {
  transform: scale(0.8, 0.8) rotate(3deg);
  transition: all 0.35s;
}
.pola-item:nth-of-type(4n+4) .polaroid:before {
  transform: rotate(4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.pola-item:nth-of-type(4n+3) {
  transform: scale(0.8, 0.8) rotate(-3deg);
  transition: all 0.35s;
}
.pola-item:nth-of-type(4n+3) .polaroid:before {
  transform: rotate(-4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0,0,0,0.3);
}
.pola-item:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}
.pola-item:hover .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.2);
  transition: all 0.35s;
}
/** FIN DE L'EFFET POLAROID */