@charset "utf-8";

#vdbanner {
  width: 0;
  height: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

.topimg {
  background: url(./img/photo-1459156212016-c812468e2115.avif) no-repeat center/cover;
  width: 100%;
  height: 100vh;
}


body {
  background-color: rgb(252, 250, 215);
}

.wrap {
  background-color: rgb(250, 250, 229);
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fcfff177;
}

.header h1 {
  color: #00a365;

}

.mainNav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fbfde5;
  visibility: hidden;
  transition: 0.5s;
  clip-path: inset(0 0 100% 0);
}

.mainNav.is-show {
  visibility: visible;
  clip-path: inset(0 0 0 0);
}

.mainNav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

.mainNav ul li {
  margin: 20px 0;
}

.mainNav ul li {
  position: relative;
  overflow: hidden;
  color: #8A784E;
}

li a::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #1d6f50;
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;

}

li a:hover:after {
  transform: translate(0, 0);
}

.scroll {
  display: inline-block;
  padding-top: 70px;
  position: absolute;
  bottom: 0%;
  right: 50%;
  transform: translateX(50%);
}

.scroll::before {
  animation: scroll 3.5s infinite;
  border: solid #00a365;
  border-width: 0 0 1px 1px;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: rotate(-45deg);
  width: 20px;
  height: 20px;
}

@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }

  80% {
    transform: rotate(-45deg) translate(-30px, 30px);
  }

  0%,
  80%,
  100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}


.btn {
  width: 50px;
  aspect-ratio: 1/1;
  background-color: transparent;
  border: none;
  outline: none;
}

.btn span,
.btn span::before,
.btn span::after {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #00a365;
  position: relative;
}

.btn span::before,
.btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.btn span::before {
  top: -10px;
}

.btn span::after {
  top: 10px;
}

.btn.is-show span {
  background-color: transparent;
}

.btn.is-show span::before {
  top: 0;
  transform: rotate(30deg);
}

.btn.is-show span::after {
  top: 0;
  transform: rotate(-30deg);
}

section {
  margin: 30px;
}

section h2 {
  color: #00a365;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 15px 0;
  text-align: center;

}

section p {
  line-height: 2;
}

.section {
  background: url(./img/backimg1.jfif) no-repeat center/cover;
  margin: 0;
  padding: 100px 30px;
}

.section h2 {
  font-family: serif;
  font-style: oblique;
  color: #8A784E;
  font-size: 50px;
}

.section p {
  font-size: 13px;
  text-align: center;

}

.plantsphoto {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 20px;

}

.plantsphoto img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.shopwrap {
  position: relative;
  height: 100vh;
}

.shopwrap img {
  position: absolute;
  width: 200px;
  aspect-ratio: 1/1.5;
  object-fit: cover;
}

.shopwrap .shopimg2 {
  top: 35%;
  right: 0;

}

.shoptext {
  position: absolute;
  bottom: 20px;
  background-color: #E7EFC7;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  border-radius: 20px;
}

svg {
  position: fixed;
  z-index: -3;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}


.links {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 18px;
  font-family: sans-serif;
}


footer {
  text-align: center;
  margin-top: 100px;
}

.opening {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #00a365;
  z-index: 9999;
  animation: byeShutter 2.6s forwards;
}

.opening::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-color: #fbfde5;
  width: 0;
  height: 1px;
  animation: shutterOpen 2.6s forwards;
}

.content {
  animation: contentScale 2.6s forwards;
}

@keyframes byeShutter {
  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}

@keyframes shutterOpen {
  0% {
    width: 0;
    height: 1px;
  }

  50% {
    width: 100%;
    height: 1px;
  }

  90% {
    width: 100%;
    height: 100%;
  }

  100% {
    width: 100%;
    height: 100%;
  }
}

@keyframes contentScale {
  70% {
    transform: perspective(800px) scale(0.9) rotateX(15deg);
  }
}


@media(min-width:800px) {
  .btn {
    display: none;
  }

  .header {
    background-color: transparent;
  }

  .header h1 {
    color: #8A784E;
  }

  .mainNav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 140px;
    right: auto;
    visibility: visible;
    background-color: transparent;
    clip-path: inset(0 0 0 0);
  }

  .mainNav ul li {
    background-color: #ffffff22;
    padding: 5px 10px;
    border-radius: 10px;
  }

  li a::after {
    width: 130%;
    transform: translate(-120%, 0);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
  }

  li a:hover:after {
    transform: translate(-15%, 0);
  }

  .wrap {
    width: 400px;
  }



  @keyframes rotate {
    0% {
      transform: rotate(5deg)
    }

    50% {
      transform: rotate(-5deg)
    }

    100% {
      transform: rotate(5deg)
    }
  }

  .loopwrap {
    display: flex;
    width: 100%;
    position: absolute;
    top: 30vh;
    left: 0;
    right: 0;
    z-index: -5;
  }

  .loopwrap img {
    width: 200px;
    flex-shrink: 0;
    animation: RtoL 10s infinite linear;
  }

  @keyframes RtoL {
    100% {
      transform: translateX(-100%);
    }
  }

}