@import url('https://fonts.googleapis.com/css2?family=Arimo&display=swap');
* {
    margin: 0;
    padding: 0;
    cursor: url(../assets/cursor/nat947.ani), url(../assets/cursor/nat947.png), auto !important;
}






#header {
    width: 100%;
    background-color: #f7f7f7;
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    display: inline-block;
    flex-wrap: wrap;

}
h1, h2, h3 {
  font-family: 'Arimo', sans-serif;
}
h1#title {
  width: 30%;
  margin: auto;
  margin-top: 35px;
  max-width: 200px; /* 410 ?*/
}
h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin: 5px;
}
h2.glitch {
  margin-bottom: 15px;
  color: black;
}
div#menu {
  margin-top: 5px;
  margin-bottom: 15px;
}
#menu>li {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
#menu>li>ul {
    padding: 4px;
    padding-left: 2vh;
    padding-right: 2vh;
    border: 1px solid;
    margin-inline: 15px;
    border-radius: 4px;
}
#menu>li>ul>a {
    text-decoration: none;
    color: black;
    font-family: 'Arimo', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 900;
}
img.MainSlider {
    padding: 15px;
    display: flex;
    max-height: 60vh;
    max-width: 71.5vw;

}
#menu>li>ul:hover {
  font-weight: 900;
  transition: 0.3s;
}

.splide__list {
    align-items: center;
}
li.splide__slide>p {
    -webkit-text-stroke: thick;
    color: white;
    text-align: center;
    font-family: 'Arimo', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 30px;
    
}


.splide__slide:not(.is-active) {
    filter : blur(3px) invert(1) saturate(50);
    opacity: 0.5;

}

.splide__slide:not(.is-active)>span, .splide__slide:not(.is-active)>p{
    opacity: 0.0;
    transition: 2s;

}
.splide__slide.is-active>span, .splide__slide.is-active>p{
  opacity: 1;
  transition: 2s;

}
.splide__slide {
    transition: 0.3s;
}
.splide__pagination--custom {
    visibility: hidden;
}
section#splide01 {
    margin: 0 auto;
    background-color: black;
    padding: 30px;
    padding-bottom: 10px;
}
span.LeftSpanVertical {
    color: #E1BD23;
    font-family: 'Arimo';
    transform: rotate(-0.25turn);
    position: absolute;
    top: 50%;
    left: -1px;
    font-size: 12px;
    transform-origin: left;
}
span.RightSpanVertical {
    color: #E1BD23;
    font-family: 'Arimo';
    transform: rotate(-0.25turn);
    position: absolute;
    top: 50%;
    right: 0px;
    font-size: 12px;
    transform-origin: right;
}

div#footer {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-family: 'Arimo', sans-serif;
    text-transform: uppercase;
    padding: 16px;
}


.socialLink > img{
width: 30px;
}

input[type=text], textarea, input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    margin-right: 0px;
    margin-left: 0px;
    resize: vertical;
  }
  label{margin-right: 0px;
    margin-left: 0px;
    width: 100%;}
  
  input[type=submit] {
    background-color: #1255a2;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  input[type=submit]:hover {
    background-color: #1872D9;
  }
  
  .Formcontainer {
    /* Ajouter box-sizing */
    box-sizing : border-box;
    border-radius:5px;
    background-color:#f2f2f2;
    padding:20px;
    width: 100%;
    /* redéfinition 400 + 2*20 */
    max-width: 440px;
    margin:0 auto;
  }

  .splide__pagination__page {
    height: 2px!important;
    width: 2px!important;
}


.menu {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
    max-width: 40px;
  }
  .line {
    fill: none;
    stroke: black;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
      stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }
  .line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
  }
  .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }
  .opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
  }
  .opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
  }
  .opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
  }

  div#burger-menu {
    position: absolute;
    top: 6px;
    right: 16px;
    z-index: 999;
}

div#menu.opened {
  position: absolute;
  z-index: 667;
  top: 0;
  display: flex;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: start;
  transition: 0.3s;
  opacity: 1;
  visibility: visible;
  margin-top: 77px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(255,242,185,1) 0%, rgb(245 239 143) 100%);
}
div#menu.opened>li {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.TextImgSide {
  flex-direction: row;
  flex-wrap: wrap;
  min-height: 100%;
  max-width: 100%;
  display: flex;
  width: 849px;
  margin: 0 auto;
  justify-content: center;
}
p {
  font-family: monospace;
}
.middleText>p>a {
  text-decoration: none;
  font-weight: 900;
}
.bottomText {
  max-width: 438px;
  padding: 25px;
  margin-bottom: 35px;
}
.middleText {
  text-align: center;
  padding-top: 21vh;
  padding-bottom: 35vh;
}
.imgSide {
  min-height: 404px;
  background-image: url(../photo/selfportait-1.jpeg);
  background-position: 100% 0%;
  width: 280px;
  padding: 25px;
  background-position: center;
  background-size: cover;
  margin: 15px;
}

.textSide {
  max-width: 438px;
  padding: 25px;
}
div#menu.opened>li>ul {
    width: 70vw;
    margin: 10px;
    min-height: 40px;
    align-items: center;
    display: flex;
    justify-content: center;
}
.splide__arrow {
  background: #e1bd23 !important;

}
.splide__pagination__page {
  background: #e1bd23 !important;
}

.glitch {
  position: relative;
  margin: 0 auto;
  width: fit-content;
}
.glitch::before, .glitch::after {
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate-reverse;
  overflow: hidden;
  position: absolute;
  top: 0;
  clip: rect(0, 900px, 0, 0);
  content: attr(data-text);
}
.glitch::after {
  animation-name: glitch-animation;
  animation-duration: 4s;
  left: 4px;
  text-shadow: -1px 0 #ffa800;
}
.glitch::before {
  animation-name: glitch-animation-2;
  animation-duration: 6s;
  left: -4px;
  text-shadow: 1px 0 #00d8ff;
}
/* Expanded Animations */
@keyframes glitch-animation {
  0% {
    clip: rect(42px, 9999px, 44px, 0);
 }
  5% {
    clip: rect(12px, 9999px, 59px, 0);
 }
  10% {
    clip: rect(48px, 9999px, 29px, 0);
 }
  15% {
    clip: rect(42px, 9999px, 73px, 0);
 }
  20% {
    clip: rect(63px, 9999px, 27px, 0);
 }
  25% {
    clip: rect(34px, 9999px, 55px, 0);
 }
  30% {
    clip: rect(86px, 9999px, 73px, 0);
 }
  35% {
    clip: rect(20px, 9999px, 20px, 0);
 }
  40% {
    clip: rect(26px, 9999px, 60px, 0);
 }
  45% {
    clip: rect(25px, 9999px, 66px, 0);
 }
  50% {
    clip: rect(57px, 9999px, 98px, 0);
 }
  55% {
    clip: rect(5px, 9999px, 46px, 0);
 }
  60% {
    clip: rect(82px, 9999px, 31px, 0);
 }
  65% {
    clip: rect(54px, 9999px, 27px, 0);
 }
  70% {
    clip: rect(28px, 9999px, 99px, 0);
 }
  75% {
    clip: rect(45px, 9999px, 69px, 0);
 }
  80% {
    clip: rect(23px, 9999px, 85px, 0);
 }
  85% {
    clip: rect(54px, 9999px, 84px, 0);
 }
  90% {
    clip: rect(45px, 9999px, 47px, 0);
 }
  95% {
    clip: rect(37px, 9999px, 20px, 0);
 }
  100% {
    clip: rect(4px, 9999px, 91px, 0);
 }
}
@keyframes glitch-animation-2 {
  0% {
    clip: rect(65px, 9999px, 100px, 0);
 }
  5% {
    clip: rect(52px, 9999px, 74px, 0);
 }
  10% {
    clip: rect(79px, 9999px, 85px, 0);
 }
  15% {
    clip: rect(75px, 9999px, 5px, 0);
 }
  20% {
    clip: rect(67px, 9999px, 61px, 0);
 }
  25% {
    clip: rect(14px, 9999px, 79px, 0);
 }
  30% {
    clip: rect(1px, 9999px, 66px, 0);
 }
  35% {
    clip: rect(86px, 9999px, 30px, 0);
 }
  40% {
    clip: rect(23px, 9999px, 98px, 0);
 }
  45% {
    clip: rect(85px, 9999px, 72px, 0);
 }
  50% {
    clip: rect(71px, 9999px, 75px, 0);
 }
  55% {
    clip: rect(2px, 9999px, 48px, 0);
 }
  60% {
    clip: rect(30px, 9999px, 16px, 0);
 }
  65% {
    clip: rect(59px, 9999px, 50px, 0);
 }
  70% {
    clip: rect(41px, 9999px, 62px, 0);
 }
  75% {
    clip: rect(2px, 9999px, 82px, 0);
 }
  80% {
    clip: rect(47px, 9999px, 73px, 0);
 }
  85% {
    clip: rect(3px, 9999px, 27px, 0);
 }
  90% {
    clip: rect(26px, 9999px, 55px, 0);
 }
  95% {
    clip: rect(42px, 9999px, 97px, 0);
 }
  100% {
    clip: rect(38px, 9999px, 49px, 0);
 }
}





  @media (max-width: 550px) {
        div#menu {
            transition: 0.3s;
            opacity: 0;
            visibility: hidden;
            position: absolute;
        }
        .imgSide {
          min-height: 140px;
      }
      div#menu.opened>li>ul {
        width: 30vw;
        margin: 10px;
        min-height: 20px;
        align-items: center;
        display: flex;
        justify-content: start;
      }
      div#menu.opened>li {
        margin-top: 20px;
    }
        body#index {
          background-color: black;
          color: white;
        }
        .splide__arrow {
          top: 90%!important
        }
        div#header_text {
          text-align: left;
          display: flex;
          justify-content: left;
          margin-top: 16px;
          margin-left: 6px;
          flex-flow: column;
          padding-left: 20px;
          padding-bottom: 16px;
          padding-top: 8px;
        }
        div#burger-menu {
          top: -4px;
        }
        div#header_text>#title {
            margin: 0;
            padding: 0;
        }
        div#header {
            margin: 0;
            padding: 0;
            position: fixed;
            z-index: 999;
            background: #fff2b9;
        }
        h2.glitch {
          display: flex;
          margin: 0 auto;
          flex-wrap: wrap;
          justify-content: center;
          align-items: center;
          /* align-self: end; */
          margin-bottom: 15px;
          margin: 0;
          margin-left: 25px;
          margin-top: 15px;
          font-size: 8px;
      }
      div#menu.opened>li {
        justify-content: start;
        margin-top: 15px;
        margin-left: 15px;
        margin-bottom: 15px;
    }
    #menu>li>ul {
      padding: 4px;
      padding-left: 15px;
      padding-right: 1vh;
      border: 2px solid #9e8519;
      margin-inline: -164px;
      border-radius: 6px;
  }
        div#header_text>h2 {
            margin: 0;
            padding: 0;
            font-size: 0.5rem;
        }
        div#content {
            padding-top: 88px;
        }
        .socialLink > img {
          width: 20px;
      }
      div#footer {
        padding: 0px;
        justify-content: center;
        position: fixed;
        z-index: 9999;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, -50%);
      }
      #header_text>h2 {
        visibility: hidden;
        opacity: 0;
        display: none;
      }
      h1#title {
        width: 25%;
      }
  }
  @media (min-width: 550px) {
    div#burger-menu {
      display: none;
    }
  }