@font-face 
{
  font-family: 'Yogyakarta';
  src: url('../Font/Yogyakarta.ttf');
}

body {
  background-color: #F5EFDA;
  overflow-x: hidden;
}

.span-hello-container {
  z-index: 100;
  position: fixed;
  top: 0;
  z-index: 300;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5D8736;
}

.span-hello {
  font-size: 3rem;
  color: #F5EFDA;
  font-family: 'Yogyakarta';
  font-style: normal;
  font-weight: 600;

}

.span-hello-container {
  transform: translatey(0);
  transition: all 1s ease-in-out;
}

.translate-animation {
  transform: translatey(-100%);
}


.garis::after {
  content: "";
  height: 1.5px;
  width: 0;
  background: #5D8736;
  color: #5D8736;
  position: absolute;
  left: 50%;
  bottom: -5px;
  transition: 0.3s ease-in-out;
  
}

.garis:hover::after {
  width: 99%;
  left: 0;
}

/* HOVER IMAGE */

.slide-right{
  animation: slide-right 18s infinite linear;
}

.slide-right2{
  animation: slide-right 18s infinite linear;
}

.slide-left{
  animation: slide-left 18s infinite linear;
}

.carousel:hover .carousel-content {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .slide-right2{
    animation: slide-right2 24.7s infinite linear;
    animation-delay: 3.5s;
  }

  .slide-right{
    animation: slide-righthp 25s infinite linear;
  }

  @keyframes slide-right2 {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-200%);
    }
  }

  @keyframes slide-righthp {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-195.7%);
    }
  }
}

.image-container:hover .overlay {
  background-color: rgba(0, 0, 0, 0.7);
}

.image-container:hover .overlay-text {
  opacity: 1;
}

.image-container:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
}

.overlay-text {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img {
  transition: transform 0.3s ease;
}

.overlay-content {
  text-align: center;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.overlay-title {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: serif;
}

.overlay-description {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.card-wrap {
  margin: 30px 20px;
  transform: perspective(800px);
  transform-style: preserve-3d;
  cursor: pointer;
}

@media (min-width: 200px) and (max-width: 1024px) {
  .card-wrap {
    margin: 10px 10px;
  }
}

.card-wrap:hover .card-info {
  transform: translateY(0);
}

.card-wrap:hover .card-info p {
  opacity: 1;
}

.card-wrap:hover .card-info,
.card-wrap:hover .card-info p {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-wrap:hover .card-info:after {
  transition: 5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
  transform: translateY(0);
}

.card-wrap:hover .card-bg {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.8;
}

.card-wrap:hover .card {
  transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 2s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    rgba(255, 255, 255, 0.2) 0 0 40px 5px,
    rgba(255, 255, 255, 1) 0 0 0 1px,
    rgba(0, 0, 0, 0.66) 0 30px 60px 0,
    inset #333 0 0 0 5px,
    inset white 0 0 0 6px;
}

.card {
  width: 100%;
  height: 320px;
  background-color: #333;
  overflow: hidden;
  border-radius: 10px;
  box-shadow:
    rgba(0, 0, 0, 0.66) 0 30px 60px 0,
    inset #333 0 0 0 5px,
    inset rgba(255, 255, 255, 0.5) 0 0 0 6px;
  transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-bg {
  opacity: 0.5;
  position: absolute;
  top: -20px;
  left: -20px;
  height: 120%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95), opacity 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  pointer-events: none;
}

.card-info {
  padding: 20px;
  position: absolute;
  bottom: 0;
  color: #fff;
  transform: translateY(40%);
  transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-info p {
  opacity: 0;
  text-shadow: rgba(0, 0, 0, 1) 0 2px 3px;
  transition: 0.6s 1.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-info * {
  z-index: 1;
}

.card-info:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  background-blend-mode: overlay;
  opacity: 0;
  transform: translateY(100%);
  transition: 5s 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.card-info h1 {
  font-size: 27px;
  font-weight: 700;
  text-shadow: rgba(0, 0, 0, 0.5) 0 10px 10px;
}

  


:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: 'Rubik', sans-serif;
  --font-serif: 'Cardo', serif;
}

.page-content {
  display: grid;
  grid-gap: 3rem;
  max-width: 1700px;
  margin: 0 auto;
  font-family: var(--font-sans);
}

@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cardd {  
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1), 
    0 2px 2px rgba(0,0,0,0.1), 
    0 4px 4px rgba(0,0,0,0.1), 
    0 8px 8px rgba(0,0,0,0.1),
    0 16px 16px rgba(0,0,0,0.1);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .page-content{
    grid-gap: 1rem;
  }
}

@media (min-width: 600px) {
  .cardd {
    height: 350px;
  }
}

.cardd:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  transition: transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}

.cardd:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: linear-gradient(
    to bottom,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.009) 11.7%,
    hsla(0, 0%, 0%, 0.034) 22.1%,
    hsla(0, 0%, 0%, 0.072) 31.2%,
    hsla(0, 0%, 0%, 0.123) 39.4%,
    hsla(0, 0%, 0%, 0.182) 46.6%,
    hsla(0, 0%, 0%, 0.249) 53.1%,
    hsla(0, 0%, 0%, 0.320) 58.9%,
    hsla(0, 0%, 0%, 0.394) 64.3%,
    hsla(0, 0%, 0%, 0.468) 69.3%,
    hsla(0, 0%, 0%, 0.540) 74.1%,
    hsla(0, 0%, 0%, 0.607) 78.8%,
    hsla(0, 0%, 0%, 0.668) 83.6%,
    hsla(0, 0%, 0%, 0.721) 88.7%,
    hsla(0, 0%, 0%, 0.762) 94.1%,
    hsla(0, 0%, 0%, 0.790) 100%
  );
  transform: translateY(-50%);
  transition: transform calc(var(--d) * 2) var(--e);
}

.cardd:nth-child(1):before {
  background-image: url('../Image/congklak.jpg');
}
/* Image Source : https://id.pinterest.com/pin/6403624459398009 */

.cardd:nth-child(2):before {
  background-image: url('../Image/layang-layang.jpg');
}
/* Image Source : https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSEm00CMh2wzPG9e8Oe2iFHuHvSFDQcq631LdHoRqSp_aZ_X9hB */

.cardd:nth-child(3):before {
  background-image: url('https://i.pinimg.com/736x/0c/13/e0/0c13e06b87517b2df2e62e2c1344d80c.jpg');
}
/* Image Source : https://i.pinimg.com */

.cardd:nth-child(4):before {
  background-image: url('https://i.pinimg.com/736x/84/62/e9/8462e9b7b041c2ef852ec383f1049c33.jpg');
}
/* Image Source : https://i.pinimg.com  */

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1rem;
  transition: transform var(--d) var(--e);
  z-index: 1;
}

.content > * + * {
  margin-top: 1rem;
}

.title {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

.copy {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

.btn {
  cursor: pointer;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  color: #F5EFDA;
  background-color: #5D8736;
  border: none;
  transition: 1s;
  border-radius: 10px;
  
}

.btn:hover {
  background-color: #F5EFDA;
  color: #5D8736;
}

.btn:focus {
  outline: 1px dashed yellow;
  outline-offset: 3px;
}

@media (hover: hover) and (min-width: 600px) {
  .cardd:after {
    transform: translateY(0);
  }
  
  .content {
    transform: translateY(calc(100% - 4.5rem));
  }
  
  .content > *:not(.title) {
    opacity: 0;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
  }
  
  .cardd:hover,
  .cardd:focus-within {
    align-items: center;
  }

  .cardd:hover:before,
  .cardd:focus-within:before {
    transform: translateY(-4%);
  }
  
  .cardd:hover:after,
  .cardd:focus-within:after {
    transform: translateY(-50%);
  }

  .cardd:hover .content,
  .cardd:focus-within .content {
    transform: translateY(0);
  }

  .cardd:hover .content > *:not(.title),
  .cardd:focus-within .content > *:not(.title) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--d) / 8);
  }
  
  .cardd:focus-within:before,
  .cardd:focus-within:after,
  .cardd:focus-within .content,
  .cardd:focus-within .content > *:not(.title) {
    transition-duration: 0s;
  }
}

#pembungkus {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

#pembungkus::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, #5D8736b1);
  opacity: 0;
  transition: opacity 0.5s;
}

#pembungkus:hover::before {
  opacity: 1;
}

#pembungkus p {
  width: 100%;
  font-weight: 600;
  color: #F5EFDA;
  font-size: 22px;
  bottom: 0;
  text-align: center;
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

#pembungkus:hover p {
  bottom: 40%;
  opacity: 1;
}

.fadeinup{
  animation: fadeInDown 1s ease-in-out forwards;
}
.fadeindown{
  animation: fadeInUp 1s ease-in-out forwards;
}
.fadeinright{
  animation: fadeInRight 1s ease-in-out forwards;
}
.fadeinleft{
  animation: fadeInLeft 1s ease-in-out forwards;
}

.fadeinup2{
  animation: fadeInUp linear;
  transition: 0.3s ease-in-out;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}
.fadeindown2{
  animation: fadeInDown linear;
  transition: 0.3s ease-in-out;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.fadeinrightup{
  animation: fadeInRight linear;
  transition: 0.3s ease-in-out;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.fadeinleftup{
  animation: fadeInLeft linear;
  transition: 0.3s ease-in-out;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

@keyframes slide-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(70px);
      visibility: visible;
  }

  100% {
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
  }
}

@keyframes fadeInDown {
  0% {
      opacity: 0;
      transform: translateY(-70px);
  }

  100% {
      opacity: 1;
      transform: translateY(0);
  }
}
@keyframes fadeInRight {
0% {
    opacity: 0;
    transform: translateX(-70px);
}

100% {
    opacity: 1;
    transform: translateX(0);
}
}

@keyframes fadeInLeft {
0% {
    opacity: 0;
    transform: translateX(70px);
}

100% {
    opacity: 1;
    transform: translateX(0);
}
}
/* ICON GOYANG */

@keyframes wave {
  0% {
      transform: rotate(0deg);
  }

  10% {
      transform: rotate(14deg);
  }

  20% {
      transform: rotate(-8deg);
  }

  30% {
      transform: rotate(14deg);
  }

  40% {
      transform: rotate(-4deg);
  }

  50% {
      transform: rotate(10deg);
  }

  60% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(0deg);
  }
}

#logo-icon {
  display: inline-block;
  animation: wave 2s infinite;
  transform-origin: 70% 70%;
}

.links{
  position: relative;
}

.links::after{
  content: "";
  position: absolute;
  background-color: #15803d;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 3px;
  transition: width 1s, left 1s;
}

.links:hover::after {
  width: 100%;
  left: 0;
}

/* Yang sering di tanyakan */


.body-pertanyaan{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #F5EFDA;
}


.container-5{
  margin: 0 40px;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.container-5 h1{
  color: #F5EFDA;
  display: flex;
  justify-content: center;
  margin-bottom: 5%;
}

.container-5 .tab{
  position: relative;
  background-color: #5D8736;
  padding: 0px 20px 20px;
  box-shadow: 0 15px 25px rgba(0,0,0,.05);
  border-radius: 5px;
  overflow: hidden;
}

.container-5 .tab input{
  appearance: none;
  visibility: hidden;
}

.container-5 .tab label{
  display: flex;
  align-items: center;
  cursor: pointer;
}

.container-5 .tab label:after{
  content: '+';
  position: absolute ;
  right: 20px;
  font-size: 2em;
  color:#F5EFDA; 
  transition: transform 1s;
}

.container-5 .tab:hover label:after{
  color: #0f652f;
}

.container-5 .tab input:checked ~ label:after{
  transform: rotate(135deg);
  color: #f5efda;
}

.container-5 .tab label h2{
  width: 40px;
  height: 40px;
  background: #F5EFDA;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #F5EFDA ;
  opacity: 99%;
  font-size: 1.25em;
  border-radius: 5px;
  margin-right: 10px;
}

.container-5 .tab input:checked ~ label h2{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: flex-end;
  padding: 20px;
   

}

.container-5 .tab:nth-child(2) label h2{
  background: linear-gradient(135deg, #0f652f, #5D8736);
}

.container-5 .tab:nth-child(3) label h2{
  background: linear-gradient(135deg,#0f652f, #5D8736);
}

.container-5 .tab:nth-child(4) label h2{
  background: linear-gradient(135deg,#0f652f, #5D8736);
}

.container-5 .tab:nth-child(5) label h2{
  background: linear-gradient(135deg,#0f652f, #5D8736);
}

.container-5 .tab label h3{
  position: relative;
  font-weight: 500;
  color: #F5EFDA;
  z-index: 9;
}

.container-5 .tab input:checked ~ label h3{
  background: #F5EFDA;
  padding: 2px 10px;
  color: #5D8736 ;
  border-radius: 5px ;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

.container-5 .tab .content-pertanyaan{
  max-height: 0; 
  transition: 1s;
  overflow: hidden;
}

.container-5 .tab input:checked ~ .content-pertanyaan{
  max-height: 100vh;
}

.container-5 .tab .content-pertanyaan p{
  position: relative;
  padding: 10px 0;
  color: black;
  z-index: 9;

}

.container-5 .tab input:checked ~ .content-pertanyaan p{
  color: #F5EFDA;
   
}