/* general and body styling */
* {
  margin: 0;
  padding: 0;
}

@viewport {
  width: device-width;
  zoom: 1;
}

Body {
  font-family: Georgia, "Times New Roman", Times, serif;
  /* cursor: url("images/apple-platter-cursor.png"), default; */
  scroll-behavior: auto;
}

/* ................................................................................... */
/* navigation menu */
@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(-20%);
    transform: translateX(-20%);
  }
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@keyframes slide-right {
  0% {
    -webkit-transform: translateX(-20%);
    transform: translateX(-20%);
  }
  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
.navigation-container {
  background-color: white;
  height: 70px;
  position: relative;
  width: 100%;
}
.menu-toggle {
  position: absolute;
  padding-top: 20px;
  padding-bottom: 90px;
  left: 30px;
  z-index: 999;
  font-size: 25px;
  border: none;
  background: none;
  color: rgb(90, 69, 46);
}
.menu-items {
  display: none;
  position: absolute;
  top: 28px;
  width: 80%;
  height: 100%;
  left: 10%;
  list-style: none;
}
.menu-items.show {
  display: flex;
  flex-direction: row;
}
.slide-right {
  -webkit-animation: slide-right 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-right 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.navigation-item:link,
.navigation-item:visited {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  text-decoration: none;
  color: rgb(90, 69, 46);
  margin-left: 200px;
  display: flex;
  flex-direction: row;
}
.navigation-item:hover,
.navigation-item:active {
  font-size: 15px;
  text-decoration: none;
  color: rgb(230, 213, 193);
  text-transform: uppercase;
  margin-left: 200px;
  display: flex;
  flex-direction: row;
}
ul:last-child {
  margin-left: 0;
}

/* .................................................................................................... */

.panel {
  position: sticky;
  top: 0; /* We use 'relative' here, not 'sticky' */
  z-index: 1;
  transition: all 0.3s ease;
}

.container-one {
  background-image: url(photos-boris-miel/miel-en-table-lavande.jpg);
  background-position: center;
  background-size: cover;
  max-width: 100%;
  padding: 28%;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: white;
  font-size: 80px;
  font-weight: bold;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

@keyframes spinText {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.text-ring {
  position: relative;
  display: inline-block;
  animation: spinText 3s linear forwards;
}
.text-ring [style*="--index"] {
  font-size: calc(var(--font-size, 4.5) * 1rem);
  position: absolute;
  transform: translate(-50%, -50%)
    rotate(calc(360deg / var(--total) * var(--index)))
    translateY(calc(var(--radius, 4.7) * -1ch));
}

/* .................................................................................................... */
/* container one with text in white container on the left and 2 <img/>'s on the right */
.container-two {
  background-color: white;
  width: 100%;
  display: grid;
  grid-template-columns: 50%;
  padding-top: 3%;
  padding-bottom: 8%;
  position: relative;
  top: 0;
  z-index: 2;
}
/* ................. */
.h1-styling {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: rgb(90, 69, 46);
  font-size: 26px;
  margin-bottom: 10px;
}

.h2-styling {
  font-size: 19px;
  font-weight: lighter;
  margin-bottom: 20px;
}

.text-container {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: rgb(90, 69, 46);
  font-size: 18px;
  text-align: left;
  line-height: 1.5;
  display: grid;
  grid-column: 1;
  margin-top: 10%;
  margin-left: 20%;
  width: 90%;
}

.first-text-paragraphs {
  margin-bottom: 20px;
}

@keyframes fade-left {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.active.fade-left {
  animation: fade-left 1s ease-in;
}

/* ............ */
.images-container {
  display: grid;
  grid-column: 2;
}
@keyframes fade-right {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.reveal {
  position: relative;
  opacity: 0;
}
.reveal.active {
  opacity: 1;
}
.active.fade-right {
  animation: fade-right 1s ease-in;
}
.trois-miels {
  width: 410px;
  height: 650px;
  max-width: 60%;
  height: auto;
  margin-left: 20%;
  border-radius: 15%;
  margin-top: 270px;
}

/* .................................................................................................... */
/* Text in beige container and with flower vase image on the left */
.container-three {
  background-color: rgb(255, 248, 239);
  height: cover;
  padding-top: 3%;
  padding-bottom: 30%;
  position: sticky;
  z-index: 3;
}
.h3-styling {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: rgb(90, 69, 46);
  font-size: 24px;
  margin-bottom: 2%;
}
.h4-styling {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: rgb(90, 69, 46);
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 2%;
}
.text-container-three {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: rgb(90, 69, 46);
  font-size: 18px;
  text-align: center;
  width: 50%;
  margin-left: 25%;
}
.paragaphs-container-three {
  margin-bottom: 15px;
  line-height: 1.5;
}
.bee-image {
  float: right;
  width: 200px;
  height: 170px;
  /* max-width: 50%; */
}

/* .................................................................................................... */
/* container with white on the left and rgb(214, 222, 240); on the right */
.container-four {
  height: 1000px;
  display: grid;
  grid-template-columns: 50%;
  position: sticky;
  z-index: 4;
}
.white-container {
  /* background-color: white; */
  background-image: url(photos-boris-miel/tous-les-pots.jpg);
  background-size: cover;
  background-position: center;
  display: grid;
  grid-column: 1;
}
.h5-styling {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 40px;
  color: white;
  width: 30%;
  margin-left: 8%;
  margin-top: 50px;
}
.blue-container {
  display: grid;
  grid-column: 2;
  /* background-color: rgb(213, 222, 246); */
  background-color: white;
  padding: 20px;
}
.form-container {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: bold;
  color: white;
  display: grid;
  grid-template-rows: 3;
  margin-top: 100px;
}
.name-form {
  display: grid;
  grid-row: 1;
  width: 50%;
  margin-left: 30%;
  height: 100px;
  margin-bottom: 20px;
}
.email-form {
  display: grid;
  grid-row: 2;
  width: 50%;
  margin-left: 30%;
  margin-bottom: 20px;
  height: 100px;
}
.message-form {
  display: grid;
  grid-row: 3;
  width: 50%;
  margin-left: 30%;
  margin-bottom: 20px;
  height: 100px;
}
.send-button {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: rgb(166, 133, 98);
  font-size: 18px;
  text-transform: capitalize;
  width: 120px;
  padding: 10px 105px 10px 30px;
  background-color: white;
  border: none;
  margin-left: 44%;
  margin-top: 10px;
  border-radius: 60%;
}
.send-button:active {
  background-color: rgb(255, 248, 239);
}

/* ................................................................................... */
/* grass image container */
.container-five {
  height: cover;
}
.honey-at-the-market {
  width: 100%;
  height: auto;
}
/* ................................................................................... */
/* footer container */
.footer-container {
  height: 100px;
  display: grid;
  position: relative;
  z-index: 5;
}
.footer-styling {
  font-size: 14px;
  color: rgb(90, 69, 46);
  padding-top: 30px;
  padding-bottom: 10px;
  display: grid;
  grid-template-columns: 50%;
  background-color: white;
}
.footer-list-right {
  display: grid;
  grid-column: 1;
  margin-left: 10%;
}
.footer-list-left {
  display: grid;
  grid-column: 2;
}
.list-styling {
  list-style: none;
}
.footer-list-item {
  margin-bottom: 10px;
}
.instagram-link:link,
.instagram-link:visited {
  font-size: 14px;
  color: rgb(90, 69, 46);
  text-decoration: none;
}
.instagram-link:hover,
.instagram-link:active {
  font-weight: bold;
  text-decoration: none;
}

/* ////////////////////////////////////////////////////////////////////////////////////////// */
/* // MOBILE // */
@media screen and (max-width: 480px) {
  @-webkit-keyframes slide-bottom {
    0% {
      -webkit-transform: translateY(-100%);
      transform: translateY(-100%);
    }
    100% {
      -webkit-transform: translateY(0px);
      transform: translateY(0px);
    }
  }
  @keyframes slide-bottom {
    0% {
      -webkit-transform: translateY(-100%);
      transform: translateX(-100%);
    }
    100% {
      -webkit-transform: translateY(0px);
      transform: translateY(0px);
    }
  }
  .navigation-container {
    background-color: white;
    height: 70px;
    position: relative;
    width: 100%;
  }
  .menu-toggle {
    position: absolute;
    padding-top: 20px;
    padding-bottom: 90px;
    left: 30px;
    z-index: 999;
    font-size: 25px;
    border: none;
    background: none;
    color: rgb(90, 69, 46);
  }
  .menu-items {
    display: none;
    list-style: none;
    width: 40%;
    height: 100%;
    left: 0;
    bottom: 0;
    margin-top: 10%;
  }
  .menu-items.show {
    display: flex;
    flex-direction: column;
    z-index: 2;
  }
  .slide-bottom {
    -webkit-animation: slide-bottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)
      both;
    animation: slide-bottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  .navigation-item:link,
  .navigation-item:visited {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 17px;
    text-decoration: none;
    color: rgb(90, 69, 46);
    margin-left: 0;
    padding: 15%;
    display: flex;
    flex-direction: column;
    background-color: white;
  }
  .navigation-item:hover,
  .navigation-item:active {
    font-size: 15px;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    margin-left: 0;
    padding: 15%;
    display: flex;
    flex-direction: column;
    background-color: rgb(248, 190, 128);
  }
  /* .................................................................................................... */
  .panel {
    position: sticky;
    top: 0; /* We use 'relative' here, not 'sticky' */
    z-index: 1;
    transition: all 0.3s ease;
  }

  .container-one {
    background-image: url(photos-boris-miel/miel-en-table-lavande.jpg);
    background-position: center;
    background-size: cover;
    max-width: 100%;
    padding: 28%;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: white;
    font-size: 80px;
    font-weight: bold;
    text-align: center;
    position: relative;
    top: 0;
    z-index: 1;
  }

  @keyframes spinText {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .text-ring {
    position: relative;
    display: inline-block;
    animation: spinText 3s linear forwards;
  }
  .text-ring [style*="--index"] {
    font-size: calc(var(--font-size, 1.5) * 1rem);
    position: absolute;
    transform: translate(-50%, -50%)
      rotate(calc(360deg / var(--total) * var(--index)))
      translateY(calc(var(--radius, 4.7) * -1ch));
  }
  /* .................................................................................................... */
  /* container one with text in white container on the left and one <img/> on the right */
  .container-two {
    background-color: white;
    width: 100%;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 0;
    grid-column: none;
    padding-top: 0;
    position: relative;
    top: 0;
    z-index: 2;
  }
  /* ......................................... */
  .text-container {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: rgb(90, 69, 46);
    font-size: 16px;
    text-align: left;
    line-height: 1.5;
    display: grid;
    grid-column: none;
    grid-row: 1;
    width: 90%;
    padding: 0;
    margin-left: 20px;
    margin-right: 0;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .h1-styling {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: rgb(90, 69, 46);
    font-size: 26px;
    margin-bottom: 10px;
    text-align: center;
  }
  .h2-styling {
    font-size: 20px;
    text-align: center;
  }

  /* ............ */
  .images-container {
    width: 100%;
    display: grid;
    grid-row: 2;
    grid-template-columns: none;
    grid-column: none;
  }
  .trois-miels {
    width: 100%;
    height: auto;
    padding: 0;
    margin-left: 20%;
    margin-top: 15px;
    margin-bottom: 40px;
  }

  /* .................................................................................................. */
  /* Text in beige container */
  .container-three {
    background-color: rgb(255, 248, 239);
    width: 100%;
    height: cover;
    padding-top: 10%;
    padding-bottom: 15%;
    margin-left: 0;
    position: relative;
    top: 0;
    z-index: 3;
  }
  .h3-styling {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: rgb(90, 69, 46);
    font-size: 28px;
    margin-bottom: 5%;
  }
  .text-container-three {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: rgb(90, 69, 46);
    font-size: 15px;
    text-align: left;
    width: 90%;
    margin-left: 20px;
  }
  .bee-image {
    width: 150px;
    height: auto;
    float: right;
  }
  /* .................................................................................................... */
  /* container with white on the left and rgb(214, 222, 240); on the right */
  .container-four {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: none;
    height: 1210px;
    position: relative;
    z-index: 4;
  }
  .white-container {
    display: grid;
    grid-row: 1;
    grid-template-columns: none;
    grid-column: none;
    background-image: url(photos-boris-miel/tous-les-pots.jpg);
    background-size: cover;
    background-position: center;
  }
  .h5-styling {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 30px;
    color: white;
    margin-top: 20px;
  }
  .blue-container {
    /* background-color: rgb(213, 222, 246); */
    background-color: white;
    padding: 10px;
    display: grid;
    grid-row: 2;
    grid-template-columns: none;
    grid-column: none;
  }
  .form-container {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-top: 10px;
  }
  /* ................................................................................... */
  /* footer container */
  .footer-container {
    height: 100px;
    display: grid;
    position: relative;
    z-index: 5;
  }
  .footer-styling {
    font-size: 14px;
    color: rgb(90, 69, 46);
    padding-top: 30px;
    padding-bottom: 10px;
    display: grid;
    grid-template-columns: 50%;
    background-color: white;
  }
  .footer-list-right {
    display: grid;
    grid-column: 1;
    margin-left: 10%;
  }
  .footer-list-left {
    display: grid;
    grid-column: 2;
    margin-left: 30px;
  }
  .list-styling {
    list-style: none;
  }
  .footer-list-item {
    margin-bottom: 10px;
  }
  .instagram-link:link,
  .instagram-link:visited {
    font-size: 14px;
    color: rgb(90, 69, 46);
    text-decoration: none;
  }
  .instagram-link:hover,
  .instagram-link:active {
    font-weight: bold;
    text-decoration: none;
  }
  /* ................................................................................... */
  /*ease in animations  */
  @keyframes fade-left {
    0% {
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  .active.fade-left {
    animation: fade-left 1s ease-in;
  }
  @keyframes fade-right {
    0% {
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  .reveal {
    position: relative;
    opacity: 0;
  }
  .reveal.active {
    opacity: 1;
  }
  .active.fade-right {
    animation: fade-right 1s ease-in;
  }
}
