/* GENERAL */
body,
p {
  font-kerning: none;
}

:root {
  --mobile-breakpoint: 642px;
  --cover-highlight: rgb(0, 0, 0);
  --contrast-highlight: #000;
  --hue-rotate-cover: 0;
  --sepia-amount: 0;
}


.hidden{
  opacity: 0;
  /* display: none; */
}

 /* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
} 


a:visited{
  color: inherit;
}

#buffer{
  height: 50dvh;
  display: block;
  width: 100vw;
}

/* NAVIGATION */

#navigation {
  position: fixed;
  z-index: 1;
  display: none;
  width: 80vw;
}

#navigation > a {
  text-decoration: none;
  color: black;
}

#navigation > a > div {
  float: right;
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px 15px 5px 15px;
  margin-left: 15px;
  background-color: white;
}

#navigation > a > div:hover {
  background-color: #ff00fc;
  color: white;
}

/* FOOTER */
#entropies_logo{
  position: absolute !important;
  width: 100%;
  z-index: 2;
  padding: 5px;
  bottom: 0;
  /* left: 0;
  right: 0; */
  max-width: 1310px;
}

#entropies_logo>img{
  float: right;
}

/* MOBILE NAVIGATION */
@media(max-width:822px) {
  #navigation_container{
    inset: 0;
    position: fixed;
    /* width: 100%; */
    /* background-color: rgba(228, 4, 4, 0.459); */
    display: none;
    /* filter: blur(5px); */
  }
  #navigation_container::before{
    inset: 0;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    filter: blur(10px);
  }
  #navigation{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: space-between; 
  }
  #navigation a{
    padding: 15px;
  }
  #serres3 > .presentation > .galery{
    scale: .5;
  }
  #serres3 em{
    scale: .8;
  }

  #entropies_logo{
  }
  
  #entropies_logo>img{
    scale: .6;

  }
}

/* DESCRIPTION */
#sticky_head{
  display: none;
  opacity: 0;
  position: fixed;
  text-align: justify;
  top: 0;
  margin: 0;
  padding: 5dvw;
  left: 0;
  height: 100%;
  display: flex;
  font-family: var(--font-familly);
  /* background-color: rgba(0, 0, 255, 0.205); */
}


#serres_presentation{
  height: auto;
  padding: 5dvw;
  text-align: justify;
  background-color: rgb(255, 165, 211);;
  font-family: 'GlacialIndifference';
  color: white;
  /* color: #ff00fc; */
}

#serres_presentation>div img{
  filter: invert(100%);
}

#social_links{
  display: grid;
  grid-auto-flow: column;
}

@media (max-width: 700px) {
  #serres_presentation{

    font-size: 10.5px;
  } 

  #serres_presentation>div img{
    width: 150px;
    margin: 0 auto;
    display: block;

  }
  
}

#serres_presentation img{
  mix-blend-mode: overlay;
}


.navigation_logo_serres{
  content: url('/img/serres-logo.png') !important;
  scale: 1.65;
}
.navigation_logo_serres.currentSlide{
  opacity: 1 !important;
}

/* SLIDER */
.slider {
  position: absolute;
  width: 100vw;
  min-height: 100dvh;
  /* height: 100vh; */
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.slider > section {
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.slider > section:first {
  /* padding-top: 0; */
}

/* COVER */

#mouseObserver {
  max-width: 1310px;
  min-width: 670px;
  position: absolute;
  z-index: 0;
  width: 100%;
  margin: auto;
  height: 100%;
}

.cover {
  position: absolute;
  z-index: 2;
  max-width: 180px;
  max-height: 180px;
  padding: 50px;
  overflow: hidden;
  display: block;
  bottom: 0px;
  text-align: center;
  /* animation: customAni 10s ease 0s infinite normal none; */
}
.cover img {
  filter: drop-shadow(var(--cover-highlight) 0px 0px 5px);
  transition: transform 200ms;
}

.cover img {
  inset: 0;
  width: 100%;
}

.cover img:hover {
  filter: drop-shadow(var(--cover-highlight) 0px 0px 5px) invert(75%) sepia(var(--sepia-amount))
    hue-rotate(var(--hue-rotate-cover)) brightness(250%);
}

.cover p {
  font-size: 13px;
  margin: -13px;
  /* text-transform: full-width; */
  color: var(--contrast-highlight)
}
.cover:hover > p {
  text-decoration: 3px solid #var(--constrast-highlight)  underline;
}


.idleCoverAnimation{
    animation: animationIdleCover 8s linear infinite;
}

@keyframes animationIdleCover {
    0% {
      transform: perspective(100px) rotateX(0) rotateY(0);
    }
    20% {
        transform: perspective(100px) rotateX(-2deg) rotateY(0);
      }
    40% {
        transform: perspective(100px) rotateX(0) rotateY(-2deg);
      }
    60% {
        transform: perspective(100px) rotateX(2deg) rotateY(2deg);
      }
    80% {
        transform: perspective(100px) rotateX(2deg) rotateY(-2deg);
      }
    100% {
        transform: perspective(100px) rotateX(0) rotateY(0);
    }
  }


