body{
  padding: 0px;
  margin: 0px;
  font-family: sans-serif;
  background: #F0F0F0;
}
a{
  color: black;
}
@font-face {
    font-family: 'Comfortaa';
    src: url('https://static.epic-company.world/main/fonts/Comfortaa-Regular.ttf') format('truetype'),
}

.name_font{
  font-family: Comfortaa, sans-serif;
}
.stats-chiffres{
  font-size: 35px;
}
.begin-link-account{
  padding-left: 5px;
}
.link-account,.begin-link-account,.link-account:hover,.begin-link-account:hover{
  text-decoration: none;
  font-weight: bold;
  color: white;
  font-size: 15px}
.link-account:hover,.begin-link-account:hover{
  font-size: 17px
}

.underline{
  text-decoration: underline;
}
.black-bg{
  background-color: #232323;
}
.center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.main-image{
  padding: 20px;
}


img {
  height: auto;
  max-width: 100%; }

h1{
  font-size: 40px;
}
h2{
  font-size: 35px;
}
h3{
  font-size: 22px;
}
h1,h2,h3{
font-weight: bolder;
}
.epic-company{
  margin-bottom: 0px;
  color: white ;
  font-size: 30px;
  padding-left: 10px;
}
.location{
  font-size: 20px;
}
/* Pour les écrans de 768 pixels et plus */
@media screen and (min-width: 600px) {
.epic-company {
  font-size: 30px;}}
/* Pour les écrans inférieurs à 768 pixels */
@media screen and (max-width: 599px) {
.epic-company {
  font-size: 20px;}}
/* pour l'article en lui même */

.cache{
  display: none;
}
.mySlides{
  height: 70vh;
}
.text{
  background: linear-gradient(to top, #2d2d2d, rgba(32, 32, 32, 0));
}

.slideshow-container {
    height: 70vh;
}

.main-article{
  font-size: 17px;
}

.licence-div{
  position: absolute;
  height: 40px;
  width: 100%;
  bottom: 0px;
  text-align: center;
}


.licence{
  position: relative;
  top: 15px;
  font-size: 12px;
  color: white;
  font-weight: 300;
  margin: 0px;
}
.licence-link, .licence-link:hover{
  text-decoration: underline;
  color: white;
}

.search-title, .search-title:hover{
  color: black;
  font-size: 20px;
  text-decoration: underline;
  font-weight: 800;
}

.search-input{
  width: 100%;
  height: calc(100% - 2px);
  margin: 0px;
  padding: 0px;
  padding-left: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: 1px solid lightgray;
}
.search-input:focus {
  outline: none;
}
.search-container{
  display: flex;
  align-items: center;
  border-radius: 20px;
  height: 40px;
  width: 100%;
}
.submit{
  border:none;
  width: 100%;
  height: calc(100% - 0.66px);
  flex: 0 0 10%;
  margin: 0px;
  padding: 0px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;

}
.submit-half{
  position: relative;
  left: calc(50% - 20px);
  bottom: 38px;
  height: 38px;
  width: 40px;
}
.portfolio-title{
  text-align: center;
}

.sonarNav{
  position: fixed;
  top : 130px
}
.portfolio-title{
  padding-top: 0px;
}

.icon-instagram {
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj4KPHBhdGggZmlsbD0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0icm91bmQiIGQ9Ik01MCA1MEwxMCA1MEwzMCAxMEw1MCAxMEw1MCA1MEwiLz4KPC9zdmc+');
  background-size: cover;
  display: inline-block;
}

.icon-close {
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj4KPHBhdGggZmlsbD0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxIiBzdHJva2UtbGluZWNhcD0icm91bmQiIGQ9Ik02MiAxMy4zMTUtMTMuMzE1LTMuNjc0IDIuMzg0LTkuMzg0IEwzMy43OTUgMTMuMzE1Ii8+PC9zdmc+');
  background-size: cover;
  display: inline-block;
}

header{
  background: #1D1007;
  height: 50px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  position: fixed;
  z-index: 2000;
}
.false-header{
  height: 50px;
  width: 100%;
}

.header-logo{
  padding: 5px 15px 5px 15px;
}
.header-name{
  color: white;
  text-decoration: none;
  font-size: 35px;
}
.flex{
  display: flex;
  flex-wrap: wrap;
}
.vertical-center{
  align-items: center;
}
.none-decoration{
  text-decoration: none;
}

.hamburger {
  cursor: pointer;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 15px 5px 15px;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(12px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

.two-row-flex > * {
  flex: 0 0 50%;
  box-sizing: border-box;
}

.txt-right{
  text-align: right;
}
.txt-left{
  text-align: left;
}
.txt-center{
  text-align: center;
}
.img-right{
  float: right;
}

#menu{
  position: fixed;
  top:50px;
  right: 0;
  width: 350px;
  height: 100vh;
  background-color: #1d1007;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  padding: 20px;
  color: white;
}
#menu.active{
  transform: translateX(0%);
}
.menu-list{
  font-size: 20px;
}



.carousel {
  /* position: relative; */
  width: 100%;
  /* max-width: 500px; */
  overflow: hidden;
  height: 70vh;
  /* border-radius: 10px; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}


.carousel-track-container {
  background: #2b2b2b;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  align-items: center; /* Centre les images verticalement */
  /* Force le recalcul pour éviter d'avoir des ombres fantomes*/
  transform: translateZ(0);
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  width: 70vw;
}

.carousel-slide img {
  max-width: 70vw;
  max-height: 70vh;
}

.carousel-button {
  position: relative;
  top: -50%;
  transform: translateY(-50%);
  background: rgba(255,255,255, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel-button.left {
  left: 10px;
}

.carousel-button.right {
  right: calc(-70vw + 75px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #9a5725;
}

.flex-center{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.container{
  width: 70vw;
}


.indexMainImage{
  height: calc(100vh - 50px);
  width: 100vw;
  object-fit:cover;
  filter:brightness(0.7);
  z-index: 1;
}
.index-title{
  top: 100px;
  position: absolute;
  z-index: 900;
  margin: 0px;
  left: 50px;
  color: white;
}

.index-search-input{
  position: absolute;
  top: 180px;
  z-index: 900;
  width: 560px;
  left: 50px;
}

.index-img-card{
  object-fit: cover;
  height: 400px;
  width: 300px;
  margin: 30px 30px 0 30px;
  border-radius: 50px;
  filter: brightness(1);
  transition: filter 0.5s ease; 
  background: linear-gradient(to top, #2d2d2d, rgba(32, 32, 32, 0));
  z-index:100;

}


.index-img-card:hover {
  filter: brightness(0.85); 
}
.card-container{
  display: flex;
  flex-direction: row;  
  justify-content: center;
}

@media (max-width: 750px){
  .card-container{
    flex-direction: column !important;  
    align-items: center;
  }
  
  .guide-right{
    flex-direction: column;
  }
}

@media (max-width: 700px){
    .carousel{
      height: 50vh;
    }
    .carousel-track-container{
      height: 50vh;
    }
    .carousel-slide img{
      max-height: 50vh;
      max-width: 90vw;
    }
    .carousel-slide {
      height: 50vh;
    }
    .container{
      width: 90vw;
    }
    .carousel-button.right {
      right: calc(-90vw + 75px);
    }
    .mySlides{
      height: 90vh;
    }
    .slideshow-container {
        height: 90vh;
    }
    .guide-right p{
      width: 300px !important;
    }
    .licence{
      top: 23px;
    }

    .img-guide{
      object-fit: cover;
      height:50vh !important;
      max-width: 90vw !important;
    }

}
@media (max-width: 550px){
  .carousel{
    height: 30vh;
  }
  .carousel-track-container{
    height: 30vh;
  }
  .carousel-slide img{
    max-height: 30vh;
  }
  .carousel-slide {
    height: 30vh;
  }
  .header-name{
    font-size: 25px;
  }
  .index-title{
    width: 100%;
    text-align: center;
    font-size: 30px;
    left: 0px !important;
  }
  .index-search-input{
    width: calc(100vw - 20px) !important;
    left: 0px !important;
    margin: 10px;
    display: flex;
    justify-content: center;
  }
}
.index-h2{
  text-align: center;
}

.index-text-card{
  position: relative;
  bottom: 55px;
  margin: 0px;
  color: white;
  font-size: 30px;
}

.index-guide-div{
  width: 932px;
}
.mini-card{
  border-radius: 20px;
  padding : 10px;
  object-fit:cover;
  height: 300px;
  width: 300px;
}
.flex-column{
  display: flex;
  flex-direction: column;
}
.index-div-guide{
  display: flex;
  justify-content: center;
}
.guide-right{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.guide-right p{
  width: 55%;
}

.guide-left{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

footer{
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 0 10px 0;
  color: black;
}
footer p {
  padding: 0px;
  margin: 0px;
}
footer p a{
  color: black;
}
.img-guide{
  object-fit: cover;
  height:70vh;
  max-width: 70vw;
}
.container-img-guide{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 10px;
}
.guide h3{
  padding-top: 30px;
  text-align: center;
}

.index-guide-view{
  font-size: 20px;
}

.lire-suite{
  white-space: nowrap;
}

.title-underline{
  text-decoration: underline;
  text-decoration-color:#9a5725;
  text-decoration-thickness: 4px ;
  text-underline-offset: 4px;
}

.search-place-title{
  top: 100px;
  position: absolute;
  color: white;
  z-index: 900;
  width: 100%;
  text-align: center;
  font-size: 50px;
  left: 0px !important;
  text-transform: uppercase;
}

.search-place-div{
  top : 230px;
  position: absolute;
  text-align: center;
  color: white;
  width: 75vw;
  font-size: 20px;
  z-index: 900;
  padding-right : 20px;
  padding-left : 20px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.search-place-licence-div{
  text-align: right !important;
  font-size: 15px !important;
}

.search-place-licence > .licence-link{
  margin-right: 10px;
}

.search-place-licence{
  font-size: 15px !important;
  font-weight: 400;
}


.near-card{
  position: relative;
  width: 300px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
}

.title-text-card{
  top : 0px;
}

.distance-near-card{
  bottom : 0px;
}

.text-near-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  text-align: center;
  width: fit-content;
  max-width: 90%;
  word-break: break-word;
  z-index: 1;
}


.img-near-card{
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.filter-near-card{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(32, 32, 32);
  opacity: 0.4; 
  pointer-events: none; 

}