/* button animation */

.blueButton a {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 10px 20px;
  border: 2px solid #011962 !important;
  color: #011962;
  transition: color 0.3s ease-out;
}

.blueButton a:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #011962;
  transition: left 0.3s ease-out;
}

.blueButton:hover a {
  color: #fff !important;
}

.blueButton:hover a:before {
  left: 0;
	color: #fff;
}

.yellowButton a {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 10px 20px;
  border: 2px solid #D69A1A !important;
  color: #D69A1A;
  transition: color 0.3s ease-out;
}

.yellowButton a:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #D69A1A;
  transition: left 0.3s ease-out;
}

.yellowButton:hover a {
  color: #fff !important;
}

.yellowButton:hover a:before {
  left: 0;
	color: #fff;
}

.greenButton a {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 10px 20px;
  border: 2px solid #076534 !important;
  color: #076534;
  transition: color 0.3s ease-out;
}

.greenButton a:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #076534;
  transition: left 0.3s ease-out;
}

.greenButton:hover a {
  color: #fff !important;
}

.greenButton:hover a:before {
  left: 0;
	color: #fff;
}

.whiteButton a {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 10px 20px;
  border: 2px solid #fff !important;
  color: #fff;
  transition: color 0.3s ease-out;
}

.whiteButton a:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: left 0.3s ease-out;
}

.whiteButton:hover a {
  color: #000 !important;
}

.whiteButton:hover a:before {
  left: 0;
	color: #000;
}

/* hero image */

.hero-image {
        background-image: url('https://chihongtemple.com/wp-content/uploads/2023/03/raimond-klavins-NXQkYKMv1E4-unsplash.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
.hero-header {
	 width: 85%;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 1;
   text-align: center;
   color: #fff; /* adjust the color as needed */
}

.hero-header h2 {
   font-size: 3rem;
   color: white;
   text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.fade-up {
  opacity: 0;
  transform: translateY(90%);
  animation-name: fade-up;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

/* header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  background-color: #fff;
  z-index: 999;
  transition: all 0.3s ease-in-out;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-visible {
  transform: translateY(0%);
}

.site-content {
  margin-top: 30px;
	margin-bottom: 20px;/* Set the margin to the height of the header */
}

.navigation-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 3%;
}

.siteName {
	padding-left: 3%;
}

@media screen and (max-width: 767px) {
	
	.siteName {
		padding-left: 20px;
	}

	.siteName a{
		font-size: 20px;
	}
	
	.has-model-open {
		height: 100vh;
	}
}


/*development phrase*/
.rectangle-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.development-phase-box {
    position: relative;
    width: 50%;
    padding-bottom: 50%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

.development-phase-box:hover .background-image {
    filter: blur(5px);
}

.development-phase-box .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: none;
    transition: all 0.5s ease-in-out;
}

.development-phase-box:hover .background-image {
    filter: blur(5px);
}

.development-phase-box .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease-in-out;
}

.development-phase-box:hover .title {
    opacity: 0;
}

.development-phase-box .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    font-size: 20px;
    line-height: 2;
    color: white;
    text-align: left;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.development-phase-box:hover .text {
    opacity: 1;
}

@media only screen and (max-width: 800px) {
    .rectangle-container {
        flex-wrap: wrap;
    }
    
    .development-phase-box {
        width: 100%;
        padding-bottom: 100%;
    }
}


/*text fade in effect*/
.fade-in-from-left.loaded {
  animation-name: fadeInLeft;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/*parallax*/
.parallax-container {
	/* Do not change below*/
	width: 100%;
	height: 0px;
	overflow: hidden;
	position:relative;
}

.parallax {	
 	/* Do not change below */
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 1500px;
	background-repeat: no-repeat;
}

.image-container-home-1-1 {
	/* Control the aspect ratio */
	padding-top: 166%;
	
}

.image-home-1-1 {
	/* Image to display */
	background-image: url("https://chihongtemple.com/wp-content/uploads/2023/03/jonny-kennaugh-_mejgndEqH8-unsplash-694x1024.jpg");
	
	/* Change this to make the image fit the container height */
	background-size: 130%;
	background-position-x: center;
}

.image-container-home-1-2 {
	/* Control the aspect ratio */
	padding-top: 136%;
	
}

.image-home-1-2 {
	/* Image to display */
	background-image: url("https://chihongtemple.com/wp-content/uploads/2023/03/evgeny-nelmin-z2yZHp0iZEE-unsplash-1003x1024.jpg");
	
	/* Change this to make the image fit the container height */
	background-size: 170%;
	background-position-x: center;
}

.image-container-home-2-1 {
	/* Control the aspect ratio */
	padding-top: 56%;
	
}

.image-home-2-1 {
	/* Image to display */
	background-image: url("https://chihongtemple.com/wp-content/uploads/2023/03/Screen-Shot-2023-03-28-at-11.04.40-pm-1024x576.png");
	
	/* Change this to make the image fit the container height */
	background-size: 150%;
	background-position-x: center;
}

.image-container-home-4-1 {
	/* Control the aspect ratio */
	padding-top: 56%;
	
}

.image-donation-1-1 {
	/* Image to display */
	background-image: url("https://i0.wp.com/chihongtemple.com/wp-content/uploads/2023/03/raimond-klavins-E3WDiLMFkIc-unsplash.jpg");
	
	/* Change this to make the image fit the container height */
	background-size: 130%;
}

.image-container-donation-1-1 {
	/* Control the aspect ratio */
	padding-top: 56%;
	
}

.image-donation-1-2 {
	/* Image to display */
	background-image: url("https://i0.wp.com/chihongtemple.com/wp-content/uploads/2023/03/raimond-klavins-OEhCyGWbO2s-unsplash.jpg");
	
	/* Change this to make the image fit the container height */
	background-size: 130%;
}

.image-container-donation-1-2 {
	/* Control the aspect ratio */
	padding-top: 56%;
	
}

/*fade in from bottom*/

.fade-in-text {
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 1s ease, transform 1s ease;
	transition-delay: 80ms;
}

.faded {
  opacity: 1;
  transform: translateY(0);
}



.fade-in-text-1 {
  opacity: 0;
  transform: translateX(150px);
  transition: opacity 1s ease, transform 1s ease;
	transition-delay: 100ms;
}

.fade-in-text-2 {
  opacity: 0;
  transform: translateX(150px);
  transition: opacity 1s ease, transform 1s ease;
	transition-delay: 120ms;
}

/* Mobile behavior */
@media screen and (max-width: 767px) {
  .image-container-home-1-1, .image-container-home-1-2 {
    display: none;
  }
	
	.image-container-home-2-1 {
		padding-top: 80%;
	}
	
	.image-home-2-1 {
		background-size: 200%;
	}
	
	.hero-header {
		width: 90%;
	}
	
	.hero-header h2 {
		font-size: 35px;
	}
	
	.hero-header h4 {
		font-size: 24px;
	}
	
	.text ol{
		width: 90%;
	}
	
	.text li {
		font-size: 14px;
	}
	
	p.heading1 {
		font-size: 45px !important;
	}
	
	.bg-text {
		padding-left: 5%;
		padding-right: 5%;
	}
	
	.bg-img {
		padding-left: 5%;
		padding-right: 5%;
	}
	
	.bg-img img {
		border-radius: 0px !important;
	}
}

.wp-block-navigation__responsive-container.is-menu-open.has-modal-open {
	height: 100vh;
}