@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ribeye+Marrow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oregano:ital@0;1&display=swap');



html, body {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    font-family: "IBM Plex Sans", sans-serif;
    background-color: white;
    /*background: linear-gradient(0deg, #66FF95, #29EB64); */
}


/* TOP */

.top {
    width: 100vw;
    height: 70px;
    display: flex;
    justify-content: space-between;  
    align-items: center;  
    padding: 0 20px;    
    background-color: white;
    position: relative;
    overflow: hidden;
    position: fixed;
    z-index: 100;
    top:0;
    left: 0;
    box-sizing: border-box;

}
.top img{
    height: 30px;
    display: block;
    object-fit: contain;
}
.page{
    width: 100vw;
    height: auto;
    margin-top: 70px;
}


/* FOOTER */

.site-footer {
  height: 20vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4vh 6vw;
  background-color: #1AAA48;
  box-sizing: border-box;

}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1vh;
  font-size: 14px;
}

.footer-left a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.footer-right .footer-logo {
  width: 180px;
  object-fit: contain;
}

/* START BUTTON */

.sparkle-button, .other-button {
  position: relative;
  display: inline-block;
  padding: 16px 32px;
  background: #3ACF69;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  overflow: visible;
  box-shadow:4px 4px 2px rgba(0.4,0.4,0.4,0.1);
  transition: transform 0.3s ease;
}
.sparkle {
  position: absolute;
  width: 12px;
  height: 12px;
  opacity: 0;
  animation: sparkleFlash 0.6s ease-out forwards;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.sparkle-button:hover{
    color: #71FFA0;
    transform: scale(0.98);
}
.sparkle-button-middle{
    text-align: center;
    margin: 30px auto;
}
@keyframes sparkleFlash {
  0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(15deg); }
  100% { opacity: 0; transform: scale(0.7) rotate(45deg); }
}
 


/* SECTION */

.section{
    width: 100vw;
    height: auto;
    padding: 2%;
    box-sizing: border-box;
    background-color: transparent;
}
.section h3{
	margin: 10px auto;
	text-align: center;
	max-width: 50%;
	font-size: 34px;
	font-weight: 500;
}
.section h4{
	margin: 2px auto;
	text-align: center;
	max-width: 60%;
	font-size: 20px;
	font-weight: 400;
	color: rgb(80,80,80);
	 
}
.center_img{
	object-fit: contain;
	width: 50%;
	height: auto;
	border-radius: 4px;
	display: block;
	margin: 30px auto;
}
.cite{
	font-size: 28px;
	font-style: italic;
	margin: 4px 0;
	text-align: left;
}
.green{
	color: #179C41;
}
.center_img {
  transition: transform 0.3s ease;
}
.center_img:hover {
  transform: scale(0.98);
}

/* SECTION 1 */
.magic-scene{
	width: 100%;
	height: auto;
}
.magic-scene h1, .magic-scene h2, .magic-scene p{
	text-align: center;
	display: block;
	max-width: 50%;
	margin: 5px auto;
	font-size: 28px;
	font-weight: 500;
}
.magic-scene h2{
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 30px;
}
.magic-scene h1{
	font-family: "Ribeye", serif;
}
.magic-scene p{
    color: #179C41;
    font-size: 20px;
    font-style: italic;
    min-height: 40px;
}
.magic-scene-flex {
    display: flex;
    width: 70%;
    margin: 0 auto;
    height: 60vh; 
}
.magic-left,
.magic-right {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.magic-middle {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
 
.magic-left img{
	display: block;
	object-fit: contain;
	width: 60%;
	border-radius: 30px;
	border: 3px solid white;
	transform: rotate(-1deg);
	box-shadow: 10px 4px 5px rgba(160,160,160,0.4);
}
.magic-right img{
	display: block;
	object-fit: contain;
	width: 70%;
	border-radius: 10px;
	border-radius: 20px;
	border: 4px solid white;
	transform: rotate(0.5deg);
	box-shadow: 5px 5px 5px rgba(80,80,80,0.3);
}
.magic-middle img{
	display: block;
	object-fit: contain;
	width: 30%;
	transition: transform 0.3s ease;
}
.magic-middle img.shake {
    animation: shake 0.6s ease-in-out;
}
.magic-star {
    position: absolute;
    width: 8px;
    height: 8px;
    opacity: 0;
    animation: sparkle 1.5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shake {
    0%, 50%, 100% { transform: translateX(0) rotate(0deg); }
    12.5% { transform: translateX(-10px) rotate(-5deg); }
    37.5% { transform: translateX(10px) rotate(5deg); }
    62.5% { transform: translateX(-10px) rotate(-5deg); }
    87.5% { transform: translateX(10px) rotate(5deg); }
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}

.magic-left img, .magic-right img {
    transition: transform 1.2s ease-in-out;
    transform-style: preserve-3d;
}

.magic-left img.flip, .magic-right img.flip {
    transform: rotateY(180deg) scale(0.8);
}
.typing-complete {
    animation: none;
}


/*SPLIT*/
.split {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center; 
}
.split_l,
.split_r {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.split_l{
    width: 50%;
    padding: 5% 2%;
    box-sizing: border-box;
}
.split_r {
    width: 50%;
    padding: 5%;
    box-sizing: border-box;
}
.split_img, .split_img_sml{
	width: 95%;
	object-fit: contain;
	display: block;
	border-radius: 8px;
}
.split_img_sml{
	width: 25%;
	border-radius: 30px;
	border: 3px solid white;
	box-shadow:4px 4px 2px rgba(0.4,0.4,0.4,0.1);
}
.split_35{
	width: 35%;
}
.split_65{
	width: 65%;
}
.split_l img:hover  {
  transition: transform 0.3s ease;
}
.split_l img:hover {
  transform: scale(0.98);
}




/*LIST - PHOTO TEXT*/
.photo-text-list{
    width: 75%;
    height: auto;
}
.photo-text-line{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;       
    gap: 12px; 
    margin: 20px 0;    
    transition: transform 0.3s ease;   
    border-bottom: 1px solid rgb(240,240,240);
}
.photo-text-line img{
  width: 200px;
  height: 200px;
  object-fit: contain;       
}

.photo-text-line p{
  font-size: 18px;
  max-width: 75%;   
}
.photo-text-line:hover{
    transform: scale(0.98);
}
.text-emp{
    font-style: italic;
    font-weight: 600;
    color: #1AAA48;
}

/* INTERACTIVE BOOK */
#interactiveBookContainer {
    position: relative;
    width: 100%
    height: auto;
    margin: auto;
}


/*FAQ*/
.faq {
  max-width: 45%;
  margin: auto;
}
.faq-item {
  background: #B1EFC4;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid  #80DE9C;
}
.faq-question {
  padding: 30px;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1AAA48;
}
.faq-answer {
  padding: 0 30px 20px 30px;
  display: none;
  font-size: 16px;
  line-height: 1.4;
}
.faq-item.open .faq-answer {
  display: block;
}
.arrow {
  transition: transform 0.3s ease;
}
.faq-item.open .arrow {
  transform: rotate(180deg);
}


@media (max-width: 768px) {

	/* TOP + BUTTON */
    .top img{
        height: 20px;
    }
    .sparkle-button {
      padding: 12px 24px;
      font-size: 18px;
    }   

    /* FOOTER */      
	.footer-right .footer-logo {
	  width: 120px;
	  object-fit: contain;
	}

	/* SECTION */
    .section{
        padding: 1%;
        margin: 100px auto;
    }	
	.section h3{
		max-width: 90%;
		font-size: 26px;
		margin: 10px auto;
	}
	.section h4{
		max-width: 85%;
		font-size: 18px;
	}
	.center_img{
		width: 99%;
	}
    /* SECTION 1 */
    .magic-scene-flex {
        flex-direction: column;
        align-items: center;
        width: 95%;
        height: auto;
    }
    .magic-middle img {
 		margin: 20px;
    }    
    .magic-scene h1{
    	font-size: 24px;
    }
	.magic-scene h2{
		font-size: 18px;
		margin-bottom: 40px;
        color: rgb(80,80,80);
	}    
    .magic-scene h1, .magic-scene h2{
    	max-width: 80%;
    }
	.magic-left img{
		width: 40%;
	}    
	.magic-middle img{
		width: 15%;
	} 
	.magic-right img{
		width: 95%;
	}
	.magic-left p{
		font-size: 18px;
		margin: 20px auto;
		max-width: 75%;
	}
	/*split */
    .split {
        display: block;
    }

    .split_r, .split_l {
        width: 100%;
        border-right: none;
        padding: 1vh 2vw;
        display: block;
        margin: auto;
        text-align: center;
    }
    .split_l p{
        text-align: center;
        margin: auto;
    }
    .split_r{
        margin-top: 5%;
    }
    .split_img_sml{
        margin: auto;
    }

	/* IMAGE LIST */
    .photo-text-list{
        width: 96%;
    }      
    .photo-text-line{
    	display: block;
    	text-align: center;
    	margin: auto;
    	width: 96%;
    }
    .photo-text-line img{
      width: 160px;
      height: 160px;
    }
    .photo-text-line p{
      font-size: 18px; 
      text-align: center;
      margin: auto;
      width: 85%;
      max-width: 85%;
    }

    /* INTERACTIVE BOOK */
    #interactiveBookContainer {
        display: block;
        width: 100%;
    } 

    .faq {
      max-width: 95%;
    }   	
}



















