html{
    scroll-behavior: smooth;
}
body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: Kufam;
    overflow-x: hidden;
  }

 
/****************************/
/****************************/
/*       Code Mobile        */
/****************************/
/****************************/

/****************************/
/*    Code du Header        */
/****************************/
.navbar{
  position: fixed;
  top: 0;
  padding: 10px;
  width: 100%;
  height: 70px;
  display: flex;
  z-index: 10000;
  transition: 1s;
  justify-content: space-between;
  align-items: center;
  background: #5da066;
}

.menutel{
  position: fixed;
  top: 80px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background-color: white;
  transform: translateX(-100%);
  transition: 0.5s;
  z-index: 11;
}

.menutel a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  margin-bottom: 40px;
}

.menutel>ul>img{
  margin-bottom: 50px;
  margin-top: 50px;
}

nav>a>img{
  display: none;
}

nav>div{
  display: none;
}

.ouvert {
  transform: translate(0);
  background: #5da066;
}

#hamburger,
#hamburger-content {
  display: inline;
}

#hamburger-button {
  cursor: pointer;
  background: none;
  border: none;
  position: absolute;
  left: 45%;
  font-size: 30px;
  padding: 0;
  vertical-align: top;
  line-height: 77px;
  float: right;
  animation: 1s;
  color: white;
}

.burger2 {
  transform: rotate(90°);
  color: red;
}

li {
  display: block;
}

li:before {
  content: ' ';
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 30px;
  margin-bottom: 24px;
  margin-top: 20px;
}


li:nth-child(2):before {
  background-image: url(../svg/accueil.svg);
}

li:nth-child(3):before {
  background-image: url(../svg/lieux.svg);
}

li:nth-child(4):before {
  background-image: url(../svg/evenement.svg);
}

li:nth-child(5):before {
  background-image: url(../svg/contact.svg);
}

.logo {
  width: 60px;
  height: 60px;
  margin-left: 30%;
  margin-top: 0px;
}


/****************************/
/*       Code Accueil       */
/****************************/
section {
  position: relative;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

.fristcontent{
  background: url(../img/illustration_lieux_insoliteV4_decoupe2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 150px;
  }
  
    .decouverte{
      font-size: 10px;
      color: #1F251C;
      text-align: center;
      font-size: 2em;
      font-weight: bold;
      transition: 1s;
      margin-bottom: 40px;
    }
    .decouverte2{
      transform: translateY(20px);
      opacity: 0;
    }
    .txtaccueil{
      color: white;
      transition: 3s;
      padding: 5px;
      margin-top: 10px;
      border-radius: 10px;
      background: linear-gradient(#5da066 50%, transparent);
    }
    .txtaccueil p{
      padding: 5px;
      border-radius: 4px;
    }
    .fristcontent .txtaccueil a:hover{
      filter: initial;
      letter-spacing: 1px;
    }
    .txtaccueil a{
      text-align: center;
      text-decoration: none;
      color: rgb(66, 19, 0);
      font-size: 1.5em;
      filter: grayscale(0);
      transition: 0.5s;
    }
    .txtaccueil2{
      transform: translateY(20px);
      opacity: 0;
    }

/****************************/
/*       Code Lieux         */
/****************************/
  .split{
    display: flex;
    flex-direction: column;
  }
  .split:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(#000, transparent);
    pointer-events: none;
    z-index: 10;
  }

  section .screen {
    position: relative;
    flex-grow: 2;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
    transition: 1s;
  }

  section:hover .screen {
    opacity: 0.3;
  }

  section .screen:hover {
    flex-grow: 5;
    opacity: 1;
    
  }

  section .screen:nth-child(1) {
    background: url(../img/Ecomusee.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
  }

  section .screen:nth-child(2) {
    background: url(../img/Monunivers.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  section .screen:nth-child(3) {
    background: url(../img/Singe.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  section .screen .content {
    position: absolute;
    width: 300px;
    height: auto;
    background: #fff;
    border-radius: 20px 0 0 0;
    padding: 20px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: 0.5s;
    text-align: justify;
    text-decoration: none;
  }

  section .screen .content:hover{
      cursor: pointer;
  }
  section .screen:hover .content{
    transform: translateX(0);
    transition-delay: 200ms;
  }
  section .screen .content h2{
    font-size: 2em;
    letter-spacing: 1px;
    color: lightsalmon;
  }

  section .screen .content p{
    color: black;
  }

  section .screen .content h2{
    margin: 0;
    padding: 0;
    font-size: 2em;
    letter-spacing: 1px;
    color: rgb(66, 19, 0);
  }

/****************************/
/*       Code Evenement     */
/****************************/

  .swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .swiper-slide {
    font-size: 18px;
    color: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 60px;
    overflow: hidden;
    align-items: center;
  }

  .parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 130%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: fixed;
    background: url(../img/eventbc2.jpg);
  }
  .swiper-slide img{
    height: auto;
    width: 70%;
    position: absolute;
    top: 65%;
  }
  .swiper-slide .title {
    font-size: 41px;
    font-weight: 300;
  }

  .swiper-slide .subtitle {
    font-size: 21px;
  }

  .swiper-slide .text {
    font-size: 14px;
    max-width: 400px;
    line-height: 1.3;
  }

/****************************/
/*       Code Contact       */
/****************************/
  .contact{
    position: relative;
    background-color: #5da066;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "formulaire_contact"
    "coordonnees";
    align-items: center;
    pointer-events: none;
  }
  .coordonnees{
    grid-area: "coordonnees";
  }

  .tagline_contact{
    color: white;
    padding: 20px;
    text-align: center;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    background: black;
    transition: 2s;
    transform: translateY(-100px);
    letter-spacing: 30px
  }
  .tagline_contact2{
    transform: translateY(0);
    letter-spacing: 5px;
    z-index: 10;
  }
  .formulaire_contact{
    display: flex;
    flex-direction: column;
    grid-area: formulaire_contact;
    align-items: center;
    justify-content: center;
    pointer-events:fill;
    z-index: 10;
  }
  .intro {
    text-align: center;
    padding: 15px;
    border-radius: 20px;
  }
  .adresse {
    text-align: center;
    position: relative;
    top: 30px;
  }
  #mapid {
    filter: grayscale(100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    z-index: 1;
    pointer-events:fill;
    transition: 500ms ease-in-out;
  }
  .popup{
    text-align: center;
    font-family: Kufam;
  }
  
  /* form starting stylings ------------------------------- */
  .group 			  { 
    position:relative; 
    margin-bottom:10px; 
    z-index: 10;
  }
  input 				{
    font-size:18px;
    padding:10px 10px 10px 5px;
    display:block;
    width:285px;
    border-radius: 12px 12px 0 0;
    border:none;
    border-bottom:1px solid #757575;
  }
  input:focus 		{ outline:none; }

  /* LABEL ======================================= */
  label 				 {
    color:#999; 
    font-size:18px;
    font-weight:normal;
    position:absolute;
    pointer-events:none;
    left:5px;
    top:10px;
    transition:0.2s ease all; 
    -moz-transition:0.2s ease all; 
    -webkit-transition:0.2s ease all;
  }

  /* active state */
  input:focus ~ label, input:valid ~ label 		{
    left:310px;
    font-size:20px;
    font-weight: bold;
    color:#5264AE;
  }

  /* BOTTOM BARS ================================= */
  .bar 	{ position:relative; display:block; width:300px; }
  .bar:before, .bar:after 	{
    content:'';
    height:2px; 
    width:0;
    bottom:1px; 
    position:absolute;
    background:#5264AE; 
    transition:0.2s ease all; 
    -moz-transition:0.2s ease all; 
    -webkit-transition:0.2s ease all;
  }
  .bar:before {
    left:50%;
  }
  .bar:after {
    right:50%; 
  }

  /* active state */
  input:focus ~ .bar:before, input:focus ~ .bar:after {
    width:50%;
  }

  /* HIGHLIGHTER ================================== */
  .highlight {
    position:absolute;
    height:60%; 
    width:100px; 
    top:25%; 
    left:0;
    pointer-events:none;
    opacity:0.5;
  }

  /* active state */
  input:focus ~ .highlight {
    -webkit-animation:inputHighlighter 0.3s ease;
    -moz-animation:inputHighlighter 0.3s ease;
    animation:inputHighlighter 0.3s ease;
  }

  /* ANIMATIONS ================ */
  @-webkit-keyframes inputHighlighter {
      from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
  }
  @-moz-keyframes inputHighlighter {
      from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
  }
  @keyframes inputHighlighter {
      from { background:#5264AE; }
    to 	{ width:0; background:transparent; }
  }

/****************************/
/*    Code du Footer        */
/****************************/

  footer{
    transition: 500ms ease-in-out;
 } 

.footercontact{
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    color: white;
    background-color: rgb(147, 163, 88);
    padding: 10px;
    padding-right: 50px;
}

.reseaux{
    display: flex;
    flex-direction: initial;
}

.reseaux a img{
    margin-left: 10px;
    margin-right: 10px;
    width: 35px;
}

.footertexte{
    display: block;
    font-size: 1em;
    margin: 10px;
    text-align: center;
}

.footer2{
    background-color: rgb(12, 44, 23);
    color: yellowgreen;
    font-size: small;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    background-position: center;
    background-size: cover;
}

.mention{
    text-decoration: none;
    color: rgb(31, 46, 0);
}

.googlemap{
  text-decoration: none;
    color: rgb(31, 46, 0);
}

.footeradress{
    text-align: center;
}

footer:hover{
    box-shadow: 0px 0px 10em rgba(0,0,0,0.19);
}

/****************************/
/****************************/
/*       Code PC        */
/****************************/
/****************************/

@media screen and (min-width: 1200px) {

 /*souris*/
 .cursor{
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 10000;
}
.cursor .circle {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background-color: yellow;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.cursor .circle:focus {
filter: blur(0);
}

  /****************************/
  /*    Code du Header        */
  /****************************/
  
  nav a img{
    display: initial;
  }
  
  nav>div{
    display: initial;
  }
  
  .navbar>button{
    display: none;
  }

  .navbar{
    position: fixed;
    top: 0;
    padding: 10px;
    width: 100%;
    height: 70px;
    display: flex;
    z-index: 10000;
    transition: 1s;
    justify-content: space-between;
    align-items: center;
    background:  #5da066;
    transition: 1s;
    
  }
  .navbar img{
    width: 200px;
    height: auto;
    margin-left: 50px;
    transition: 1s;
  }

  .navbar-menu{
    margin-right: 50px;
  }
  .navbar2{
    background: #c8ad7f;
    padding: 0;
    transition: 1s;
  }
  
  .navbar2 img{
    transform: scale(0.8);
    transition: 1s;
  }

  .nav-link{
    margin-right: 5px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
    color: white;
    transition: 0.5s ease-in-out;
  }
  .nav-link:hover,
  .nav-link:focus{
  color: #fceea9;
  }
  .nav-link2{
    color: black;
    font-size: 15px;
  }

  header {
    display: none;
}

  /****************************/
  /*       Code Accueil       */
  /****************************/
  section {
    position: relative;
    height: 100vh;
    background: #000;
    overflow: hidden;
  }

  .fristcontent{
  background: url(../img/illustration_lieux_insoliteV4_decoupe2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: contrast(120%);
  position: relative;
  padding: 50px;
  display: flex;
  align-items: center;
  background-size: cover;
  transition: 2s;
  padding-top: 0px;
  overflow-y: hidden;
  cursor: default;
  }

  .fristcontent2{
    transform: translate(0px, 70px);
  }

  .fristcontent:before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(transparent 70%, #000);
  pointer-events: none;
  }
  .decouverte{
    position: absolute;
    left: 5vw;
    top: 30%;
    width: 40%;
    font-size: 20px;
    color: #1F251C;
    text-align: center;
    font-size: 4em;
    font-weight: bold;
    transition: 1s;
  }
  .decouverte2{
    transform: translateY(20px);
    opacity: 0;
  }
  .txtaccueil{
    position: relative;
    display: block;
    justify-content: right;
    text-align:center;
    color: black;
    transition: 3s;
    width: 50%;
    background: none;
  }
  .txtaccueil p{
    border-radius: 4px;
    color: black;
    transition: 400ms;
  }
  .fristcontent:hover .decouverte{
    filter: drop-shadow(16px 16px 20px #28512D);
  }
  .fristcontent .txtaccueil a:hover{
    filter: initial;
    letter-spacing: 1px;
  }
  .txtaccueil a{
    text-align: center;
    text-decoration: none;
    color: rgb(66, 19, 0);
    font-size: 1.2em;
    filter: grayscale(0);
    transition: 0.5s;
  }
  .txtaccueil2{
    transform: translateY(20px);
    opacity: 0;
  }
  .square:hover .txtaccueil p {
    color: white;
  }

  .square{
    position: absolute;
    top: 20%;
    right: 6vw;
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 1s;
}
.square span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    border: 2px solid #5da066;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    transition: 0.5s;
    animation: animate 4s linear infinite;
}
.square:hover span:nth-child(1) {
   border: none;
   background: #5da066;
}

.square span:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #55925d ;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    transition: 0.5s;
    animation: animate 6s linear infinite;
}
.square:hover span:nth-child(2) {
   border: none;
   background: #55925d;
}

.square span:nth-child(3) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    border: 2px solid #28512D;
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    transition: 0.5s;
    animation: animate2 8s linear infinite;
}
.square:hover span:nth-child(3) {
   border: none;
   background: #4f8857;
}
@keyframes animate {
    0%{transform: rotate(0deg);}
    100%{transform: rotate(360deg);}
}
@keyframes animate2 {
    0%{transform: rotate(360deg);}
    100%{transform: rotate(0deg);}
}

.txtaccueil{
    position: relative;
    color: #fff;
    text-align: center;
    transition: 0.5s;
    z-index: 1000;
}

  /****************************/
  /*       Code Lieux         */
  /****************************/
  .split{
    display: flex;
    flex-direction: initial;
  }

  section .screen .content {
    width: 400px;
    border-radius: 40px 0 0 0;
    padding: 40px;
  }

  section .screen .content h2{
    font-size: 3em;
  }

  /****************************/
  /*       Code Evenement     */
  /****************************/

  .swiper-wrapper{
    padding: 100px;
  }
 
  .swiper-slide img{
    position: absolute;
    top: 30%;
    right: 30%;
    height: auto;
    width: 20%;
  }

  /****************************/
  /*       Code Contact       */
  /****************************/
  .contact{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "formulaire_contact coordonnees";
  }

  #mapid {
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
  }

  /****************************/
  /*       Code FOOTER        */
  /****************************/
  .reseaux{
    padding-left: 70px;
  }


  .reseaux a img{
      margin-left: 20px;
      margin-right: 20px;
  }

  .reseaux a img:hover{
    transform: scale(1.5); 
}


  .footertext{
      margin: 10px;
  }


}