@font-face{
    font-family: main;
    src: url("./assets/fonts/main/OrticaLinear-Light.otf");
  }
  @font-face{
    font-family: title;
    src: url("./assets/fonts/title/Vollkorn-Regular.otf");
  }

  *{
    -webkit-font-smoothing : antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  :root {
    --light__green:#c6d4bb;
    --dark__green:#77965e;
    --green__font:#283618;
    --maroon__font:#974e0f;
  }

  html {
    scroll-behavior: smooth;
}

  p {
    font-size: 1.2rem;
    font-family: main;
    padding: 0.5em;
    cursor: default;
  }

  body{
    background: var(--light__green);
    color: var(--green__font);
    font-family: main, Verdana;
    overflow-x: hidden;
  }
  
  h2 {
    font-size: 1.2em;
  }

  header {
    width: 100vw;
    height: 20vh;
    background: var(--dark__green);
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    justify-content: center;
    border-radius: 0 0 80% 80%;
    /* position: fixed; */
    z-index: 1000;
}

.welcome > span{
    font-size: 2.5em;
    font-family: main, Verdana, Geneva, Tahoma;
    font-weight: 400;
}

.logo{
    width:5em;
}

.logsize {
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.h__menu.active .line:nth-child(1) {
  transform: rotate(45deg) translate3d(0, 12px, 0);
  background:var(--green__font);
}

.h__menu.active .line:nth-child(2) {
  opacity: 0;
}

.h__menu.active .line:nth-child(3) {
  transform: rotate(-45deg) translate3d(1px, -14px, 0);
  background:var(--green__font);
}

.h__menu.active .menu {
  transform: translateX(0);
}

.h__menu.active .m-icon {
  margin-right: 8px;
}

.m__icon {
  position: absolute;
  right: 2em;
  top:2em;
  cursor: pointer;
  width: 30px;
  height: 22px;
  transition: all .3s linear;
  position: fixed;
  z-index: 2;
}

.line {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 50px;
  background:var(--green__font);
  position: absolute;
  right: 0;
  transition: all .3s ease-in-out;
}

.line:nth-child(1) {
  top: 0;
}

.line:nth-child(2) {
  top: 50%;
  transform: translate3d(0, -50%, 0);
}

.line:nth-child(3) {
  bottom: 0;
}

.menu {
  display: flex;
  background: #9cc2809c;
  filter: blur(0.3px);
  flex-direction: column;
  position: absolute;
  right: 0; 
  top: 75px;
  border-radius: 5px;
  z-index: -1;
  padding: 0 30px 0 10px;
  transform: translateX(100%);
  transition: .6s ease-in-out;
  position: fixed;
  z-index: 2;
}

.m__link {
  margin: 10px 0;
  text-decoration: none;
  opacity: 1;
  text-align: right;
  font-size: 30px;
  color: var(--green_font);
}

.m__link:hover {
  text-decoration: underline;
  color: var(--maroon__font);
}

/* premier paragraphe story */

.story__container{
    width: 100vw;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 2s forwards;
  }

  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.story{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}

.reception{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: title;
    text-align: center;
}

.reception > h1 {
    text-align: center;
    position: relative;
    z-index: -1;
    animation: slideIn 1s ease-out
  }

  .reception > h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 100%;
    height: 50%;
    border-radius: 25px;
    background: #77965eb6;
    z-index: -1;
    animation: slideInAfter 1s ease-out
  }

  .reception > h2{
    transform: translateX(-100vw);
    animation: slidoInou 1s ease-out forwards;
    animation-delay: 0.7s;
  }
/* Video section*/
.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: auto;
  max-height: 500px;
}

.discover-container {
  border: 2px solid rgb(107, 119, 106);
  padding: 10px;
  margin-top: 15px;
}

.discover-container>a {
  display: block; /* Rendre le lien un bloc */
  text-decoration: none;
  color: rgb(107, 119, 106);
  font-weight: 800;
}

.discover-container:hover {
  border-color: var(--dark__green);
  cursor: pointer;
}

.discover-container:hover a {
  color: var(--dark__green); /* Changer la couleur du lien */
}

.text-overlay {
  position: absolute;
  top: 0; /* Positionner en haut */
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  color: rgb(107, 119, 106);
}

.text-overlay h3 {
  font-size: 30px;
  font-weight: bold;
}

.text-overlay h4 {
  font-size: 14px;
  text-decoration: none;
  margin-top: 0;
}


  .teaser{
    width: 80%;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    word-spacing: 2px;
    margin: 0 auto;
  }

  .teaser__text{
    font-size: 1.2rem;
  }
  
  .kamon__container{
    display: flex;
    width: 20em;
    gap: 3.5em;
    
  }
  
  .kunimon {
    position: relative;
    width: 100%;
    object-fit: fill;
    opacity:0.3;
  }

.background__circle {
  display: none;
  width: 350px;  /* Largeur de votre SVG */
  height: auto; /* Hauteur de votre SVG */
  position: absolute;
  transform: translateX(-50%);
  top: -10px;
  left: 50%;
  z-index: -1;
  transition: 0.8s;
}

.insta__link{
  color: var(--maroon__font);
  text-decoration: none;
}

@keyframes slideIn{
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0);
    }
  }

  @keyframes slidoInou{
    0% {
      transform: translateX(100vw);
    }
    100% {
      transform: translateX(0);
    }
  }

  @keyframes slideInAfter {
    0% {
      left: -100vw;
    }
    100% {
      left: 10px;
    }
  }

  /* présentation ---------------------------*/

  .presentation{
    width: 80vw;
    margin: 2em auto;
    font-size: 1.2em;
}

  .categorie__container{
    width: 100%;
    margin: 2em auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2em;
  }
  .pastry,
  .cuisine {
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
  }

  .categorie__title{
    margin: auto;
    position: relative;
    display: inline;
    font-size: 28px;
    font-family: title, Verdana, Geneva, Tahoma;
}

  .categorie__title::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 10px; 
    width: 100%;
    height: 15px;
    border-radius: 25px;
    background: #77965eb6;
    z-index: -1;
  }

  .hitomi, .kuni {
    text-align: center;
  }
  .pastry > img,
  .cuisine > img{
    width: 15%;
  }


/* carte---------------------------------- */

  .card__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.2em;
  }

  .card {
    width: 80%;
    padding-top: 2em;
    margin: auto;
  }

  /* slider --------------------------*/

/* Slideshow container */

.slider{
  width: 100vw;
  height: 500px;
  margin:  3em auto;
  position: relative;
  overflow: hidden;
}

.list{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  transition: 1s;
}

.list img{
  width: 100vw;
  height: 100%;
  object-fit: cover;
  transition: 1s ease;
}

.buttons{
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}

.buttons button{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #77965ec4;
  color: var(--light__green);
  border: none;
  font-family: monospace;
  font-weight: bold;
}

button:hover{
  cursor:pointer;
  background-color: var(--dark__green);
}

.dots{
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.dots li{
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: var(--dark__green);
  margin: 20px;
  border-radius: 20px;
  transition: 0.7s;
}

.dots li:hover{
  cursor: pointer;
}

.dots li.active{
  width: 30px;
}

/* goutez thé -----------------------------*/

  .tea__time{
    width: 90%;
    margin: 2em auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap:2em;
    text-align: center;
    font-size: 1.2em;
  }
  
  .sliderr{
    width: 20em;
    height: 20em;
    position: relative;
    overflow: hidden;
    border-radius: 200px;
  }

  #listt{
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
    display: flex;
    transition: 1s;
  }

  #listt img {
    width: 20em;
    height: 20em;
    object-fit: cover;
    object-position: center;
    transition: 1s ease;
  }

  #dotss{
    display: none;
  }

  /* horaires --------------------------------*/
  .horaire__container{
    margin:  2em auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    font-size: 1.2em;
  }

  .horaires__title::after{
    content: "";
    position: absolute;
    top: 25px;
    left: 10px; 
    width: 100%;
    height: 50%;
    background: var(--dark__green);
    z-index: -1;
  }

  .horaire{
    width: 80%;
    text-align: center;
  }

  h4{
    text-decoration:underline ;
  }
  /* contact -------------------------- */

  .contact__container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2em auto;
    width: 80%;
  }

  .contact{
    font-size:26px;
  }

  .annonce{
    text-align: center;
    margin: 2em auto;
  }

  .contact__container > p{
    font-size: 1.2em;
    text-align: center;
  }

  .contact__container > ul,
  .photographes > ul {
    list-style: none;
  }

  .icone {
  width: 1em;
  }

  .insta > a,
  .facebook > a,
  .photographe > a,
  .tel > a {
      color: var(--green__font);
      text-decoration: none;
  }
  
  .insta > a:hover,
  .facebook > a:hover,
  .photographe > a:hover,
  .tel > a:hover {
      color: var(--maroon__font);
  }

  .map__container{
    margin-top: 2em;
    width: 100%;
}

.map__container iframe {
    display: block;
    width: 100%;
    margin: auto;
    border: none;
}

  /* footer ------------------------------*/
  
  footer{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em auto;
    gap: 2em;
  }

  .photographes{
    width: 50%;
    max-width: 200px;
  }

  .photographes > span{
    font-weight:bold;
    font-size: 1em;
  }
  
  .logo__container{
    width: 30%;
    max-width: 12em;
  }
  .logo__container > img {
    object-fit: fill;
    width: 100%;
    border-radius: 50%;
    box-shadow: -2px 4px 2px 5px #283618;
  }

  .copyright{
    text-align: right;
    display: block;
    padding-right: 1.5em;
  }


  /* Query */

  @media screen and (min-width: 700px) {
    .background__circle {
        display: block;
        width: 200px;
        height: auto;
    }

    .kamon__container{
      width: 30em;
    }

    .welcome > span{
      font-size: 3em;
    }

    .photographes > span{
      font-size:1.1em;

  }
}

  @media screen and (min-width:800px){

    .sliderr{
      width:25em;
      height:25em;
      border-radius: 250px;
    }

    #listt img {
      width:25em;
      height:25em;
    }
  }

  @media screen and (min-width:1000px){
    .categorie__container{
      display: flex;
      flex-direction: row;
      margin-bottom: 2em;
    }

    .background__circle{
      width: 325px;
      height: auto;
    }

    .slider{
      max-width: 1000px;
    }

    .list img{
      max-width: 1000px;
    }

    .sliderr{
      width:30em;
      height:30em;
      border-radius: 300px;
    }

    #listt img {
      width:30em;
      height:30em;
    }
  }

  @media screen and (min-width: 1500px){
    .background__circle{
      width: 280px;
      height: auto;
    }

    .sliderr{
      width:50em;
      height:25em;
      border-radius: 250px;
    }

    #listt img {
      width:50em;
      height:25em;
    }
  } 
  
  @media screen and (min-width: 1600px){
    .background__circle{
      width: 250px;
      height: auto;
    }
  }
