@media screen and (-webkit-min-device-pixel-ratio:0) { 
  .your-element {
    property: value;
  }
}

@font-face{
  font-family:"times";
  src:url("../fonts/TimesNewerRoman-Regular.otf");

}

@font-face {
  font-family: "ready";
  src: url("../fonts/druke_wide_heavy.otf");
}

@font-face{
  font-family:"timesitalic";
  src:url("../fonts/TimesNewerRoman-Italic.otf");


}

* {
  background-color: #FF1493;

}


body{

  text-decoration: none;
  color: currentColor;
  font-family:"times";
  font-size: 18px;
  text-align: left;
  cursor: crosshair;
  line-height:  22px;
  box-sizing: content-box;
  min-height: 100vh;

}

.grid-item{

  font-size: 20px;
  text-align: left;
  word-break: break-word;
  display:  grid; 
  grid-template-columns: 350px 350px;
  margin-left: 0px;

}

.grid-container{

  font-size: 20px;
  text-align: center;
  word-break: break-word;
  display:  grid;
  grid-template-columns: 685px;
  margin-left: 0px;

}


a,
a:active {
  text-decoration: none;
  color: currentColor;
}

title{

  font-family:"ready";
  font-size: 17px;
  color: white;

}

/* informations */
h1{

  position: fixed;
  top: 10px;
  font-family:"ready";
  font-size: 17px;
  color: #FFB6C1;

}

/* diary/ slut pops */
h2{

  font-family:"ready";
  position: fixed;
  top: 10px; 
  left: 48,5%;
  color: #FFB6C1;
  line-height: 80px;
  font-size: 80px;
  z-index: 100;

}

/* bande rose des 10px pour pas qu'on voit le texte défiler derrière slut pop */
#texte::before {
  content: "";
  position: fixed;
  top: 0;
  left: 48%;
  width: 100vw;
  height: 90px; 
  background-color: #FF1493;
  z-index: 99;
}

/* pauline reignier/ portfolio */
h3{

  position: fixed;
  top: 32px;
  font-family:"ready";
  font-size: 17px;
  line-height: 20px;

}

/* EN */
h4{

  font-family:"ready";
  font-size: 17px;
  color: #8B0000;
  position: fixed;
  left: 96%;
  top: 2%;
  z-index: 0;

}

/* RESPONSIVE/ INFOS */
h5{

  display: none;

}

/* APPEL LIENS */
h6{

  font-family: "times";
  color: chartreuse;

}


/* les sous-titres */
p{

  padding-left: 60px;
  line-height: 34px;

}

/* les dates */
p1{

  font-size: 13px;
  line-height: 0px;
  text-align: right;

}


.italique {
  font-family:"timesitalic";
  display: inline;
}


.wrapper{

  display: flex;
  flex-wrap: wrap;

}

.child{

  padding-top: 92px;
  padding-left: 10px;

}

.accordion {

  font-family:"times";
  font-size: 34px;
  font-weight: 500;
  line-height: 32px;
  color: black;
  cursor: pointer;
  padding-left: 52px;
  padding-top: 0px;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.4s;

}

.active-title, .accordion:hover {
  color: lightskyblue; 
  transition: color 0.3s ease; 
}

.accordion .panel.active {
  overflow-y: scroll;

}

.accordion .panel {
  overflow-y: scroll;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  transition: max-height 0.3s ease;
}


.panel {

  padding: 0px 18px;
  height: 0;
  opacity: 0;
  overflow: scroll;
  transition: height 1s;

}


.panel.active{

  height: auto;
  padding-bottom: 10px;
  overflow-y: scroll;
  transition: height 1s;
  opacity: 1;
}


.panel .images {
  position: fixed;
  overflow-y: scroll;
  scrollbar-width: none; /* Pour Firefox */
  -ms-overflow-style: none;  /* Pour Internet Explorer et Edge */
  width: 47vw;
  display: block;
  z-index: 1;
  margin-left: 0px;
  left: 0;
  top: 4rem;
  height: calc(100vh - 4rem);
  opacity: 0;
  -webkit-transition: opacity 1s;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;
  
}

.panel .images::-webkit-scrollbar {
  display: none; /* Hide scrollbar in WebKit browsers */
}

.panel .images::-webkit-scrollbar-thumb {
  display: none; /* Hide scrollbar thumb in WebKit browsers */
}

.panel.active .images{
  left: 0px;
  max-height : 100%;
  opacity: 1;
  transition: opacity 1s;
}

img{

  overflow-y: auto;
  display: block;
  width: 100%;
  box-sizing: content-box;
  border: 10px 10px;

}

.pdf-container{

  margin-left: 0px;
  width: 100%;
  height: 100vh;

}


#texte{

  position: fixed;
  right:  0;
  top: 0;
  box-sizing: border-box;
  width: 52vw; 
  height: 100vh;
  overflow:  hidden;
  -webkit-overflow-scrolling: touch; 
  z-index: 2;
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */

}

#texte::-webkit-scrollbar {
  display: none;
}


#texte .scroll-inner {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; 

}






