@font-face {
  font-family: police1;
  src: url("typos/GillSansNova-Medium.ttf");   
}

@font-face {
  font-family: police2;
  src: url("typos/FreightTextProBold-Regular.woff2");   
}

@font-face {
  font-family: police3;
  src: url("typos/FreightTextProMedium-Regular.woff2");   
}

:root {
  --vert: #465d48;
  --jaune: #ffcf03;
}


body {
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
  -webkit-scroll-snap-type: y mandatory;
  scroll-behavior: smooth; 
  
}

p{
  font-family: police1;
}

h2{
  font-family: police2;
  font-size: 3em;
  color: var(--vert);
  margin: 0px;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}



a.external-link {
  position: relative;
  color: inherit; 
  text-decoration: none; 
}

a.external-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0; 
  width: 100%;
  height: 1px; 
  background-color: var(--jaune); 
  transition: height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

a.external-link:hover::after {
  height: 5px; 
}

header {
  position: fixed;
  height: 70px; 
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(246, 246, 246, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  z-index: 1000;
}


.menu-left {
  flex: 1;
  display: flex; 
  align-items: center; 
  padding-left: 30px;
}

.logo {
  width: 55px; 
  height: auto; 
  margin-right: 10px; 
}

.title {
  margin: 0; 
  font-size: 30px;
  font-family: police2;
  font-weight: normal;
  color: var(--vert);
  margin-left: 20px;
}

.menu-right {
  padding-right: 30px;
}

.menu-right ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}


.menu-right ul li {
  position: relative;
  height: 100%; 
}

.menu-right ul li a {
  padding: 10px;
  text-decoration: none;
  font-size: 25px;
  font-weight: normal;
  font-family: police3;
  color: var(--vert);
  position: relative;
  height: 100%; 
}



.menu-right ul li {
  position: relative;
}

.menu-right ul li a {
  padding: 10px;
  text-decoration: none;
  font-size: 25px;
  font-weight: normal;
  font-family: police3;
  color: var(--vert);
  position: relative;
}


.menu-right ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -22.5px;
  width: 100%; 
  height: 5px; 
  background-color: var(--jaune);
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.3s ease; 
}


.menu-right ul li a:hover::after,
.menu-right ul li a.active::after {
  transform: scaleX(1); 
}








.section {
  scroll-snap-align: start;
  -webkit-scroll-snap-align: start;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.container {
  display: flex;
  width: 100%; 
  margin: auto;
}

.content {
  display: flex;
  flex-direction: row; 
  width: 100%;
}

.envie-image-container, .realisation-image-container, .contact-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: auto;
}

.envie-image, .realisation-image {
  width: 80%; 
  height: 80%;
  object-fit: cover;
}

.contact-image {
  width: 30%; 
  height: auto;
  top: 0;
}

.text {
  flex: 1;
  padding: 0px 50px 0px 0px; 
  display: flex;
  flex-direction: column;
  color: var(--vert);
  font-size: 1.4vw;
}

.petit {
  font-size: 1vw;
}

.full-height{
  padding-top: 150px;
}

#un-contact {
  background-color: var(--vert);
  color:white;
  height: 91%;
}

#un-contact .text {
  color: white;
}

#un-contact h2, #un-contact p {
  color: white;
}



#carousel {
  position: relative;
  height: 100vh; 
  overflow: hidden; 
}

.carousel {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  width: 100%;
}

.slides {
  width: 100%; 
  display: flex; 
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.slide {
  flex: 0 0 100%; 
}

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


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; 
  transition: opacity 0.3s ease; 
}

.loader-container {
  text-align: center;
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}


.logolod {
  width: 25vh; 
  height: auto;
  animation: pulse 1.5s infinite; 
}


#preloader p {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333; 
}


.accueil-image {
  width: 100%;
  height: 100vh;
  background-image: url('images/jardinsarbre.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed; 
}


.appear-slide {
  opacity: 0; 
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94)
}

.appear-slide.active {
  opacity: 1; 
}

::-moz-selection { 
  background: var(--jaune); 
}
::selection { 
  background: var(--jaune); 
}



#lang-toggle {
  background-color: transparent;
  border: none;
  color:var(--vert); 
  margin-left: 20px;
  font-family: police2;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  line-height: 1.3;
}


.mentionsss{
  margin:10em;
  color:var(--vert);
}

h3{
  font-family: police2;
  margin-bottom: 0px;
}

.accueilmobile{
  display: none;
}

a .titremention:hover, a .titremention:visited, a.titremention{
  color:var(--vert);
}


@media screen and (max-width: 768px) {
  header {
    padding: 10px;
  }
  .accueilmobile{
    display:inherit;
    width: 100%;
    object-fit: cover;
  }
  
  .accueilordi{
    display: none;
  }

  .logo {
    width: 50px;
    height: auto;
    margin-right: 8px;
  }

  .title {
    font-size: 1.4em;
    margin-left: 10px;
  }

  .menu-right ul li:not(:last-child) {
    display: none;
  }

  .menu-left {
    padding-left:0px;
    margin: 0;
  }
  .menu-right {
    padding-right: 0px;
  }
  
  header {
    height: 50px;
  }
  
  #lang-toggle {
    font-family: police2;
    font-size: 12px;
    margin-left: auto;
    margin-right: 20px;
  }

  
  .section {
    scroll-snap-align: initial;
    padding: 15px 15px 15px;
    height: auto; 
  }

  .content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .envie-image, .realisation-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px; 
  }

  
  .text {
    padding: 0 15px;
    font-size: 1em;
  }

  h2 {
    font-size: 3em;
    line-height: 1em;
    margin-bottom: 20px; 
  }

  p {
    font-size: 1em;
  }

  .petit {
    font-size: 0.8em; 
  }

  
  #accueil {
    position: relative;
    height: 100vh;
    padding: 0px;
    overflow: hidden;
  }
  
  .accueil-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%; 
    object-fit: cover; 
  }
  

  

  .logolod {
    width: 27vh;
  }

  
  #un-contact {
    height: auto;
    padding-top: 30px; 
  }

  #un-contact .content {
    align-items: flex-start; 
  }
  .mentionsss{
    margin:1.4em;
  }

  #carousel {
    padding: 0px;
    width: 100%;
    height: initial;
    }

}



