/* Extra font definition */

@font-face{
	font-family: "Canter";
	src: url("../fonts/Canter/Canter-Bold.ttf");
	font-weight: 900;
}

@font-face{
	font-family: "Canter";
	src: url("../fonts/Canter/Canter-Light.ttf");
	font-weight: 300;
}


/* Overall css styling */

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	outline: none;
}




h1, h2, h3{
	font-family: 'Canter';
}

/* Header styling */

header{
	height: 100vh;
	width: 100%;
	background-image: url("../images/home/zendu-cover-2x.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
}

.overlay{
	position: absolute;
	top: 0;
	left:0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.35);
	z-index: 2;
}

.header-content{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 100%;
	margin-top: 25vh;
	z-index: 4;
	color: #FFF;
	
}

header img{
	max-width: 160px;
	height: auto;
}

header h1{
	font-size: 6.5rem;
	font-weight: 900; 
	text-align: center;
}


header h2{
	font-size: 4rem;
	font-weight: 300;
	text-align: center;
}

/* navbar desktop style */

nav{
	width: 100%;
	max-height: 75px;
	position: sticky;
	top: 0;
	display: flex;
	justify-content: space-between;
	padding: 1rem 2rem;
	box-shadow: 2px 3px 6px rgba(0, 0, 0, .2);
	z-index: 20;
	background-color: #FFF;
}

nav .navbar-logo{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav img{
	max-width: 60px;
	height: auto;
	margin: .4rem .5rem auto 0;
}

nav .navbar-links{
	display: flex;
}

nav ul{
	display: flex;
	list-style: none;
	margin: 0 1.5rem;
}

nav li{
	display: flex;
	align-items: center;
	margin: .5rem;
}

nav a, nav h3{
	color: #707070;
	font-family: 'Work Sans', sans-serif;
	font-size: 1.2rem;
	font-weight: 400;
}

nav a:hover{
	color: rgb(124, 180, 102);
}

nav .active{
	color: #82CE64;
}

.hamburger, .close{
	display: none;
}

.hamburger i, .close i{
	font-size: 1.6rem;
}

/* Content styling */


main{
	margin-top: 5rem;
}

main .content-subtitle{
	text-align: center;
	font-size: 3.2rem;
	color: #82CE64;
	max-width: 1250px;
	margin: 2.5rem auto;
	font-weight: 300;
}


.pimage{
	width: 100%;
	min-height: 450px;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	position: relative;
}

.pimage .pimage-content{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 4;
	text-align: center;
}

.pimage h2{
	color: #FFF;
	font-size: 8rem;
	line-height: 8rem;
	font-weight: 400;
}

.pimage svg{
	max-width: 60px;
}

.pimage svg .a{
	max-width: 60px;
	fill: transparent;
	stroke: transparent;
}

.pimage svg .b{
	max-width: 60px;
	fill: #FFF;
}

.green-bg{
	background-color: #82CE64;
	margin-top: 3rem;
	padding:3rem 0;
}


.block-content{
	max-width: 1250px;
	padding: 3.5rem;
	margin:  auto;
}

.block-content ul{
	list-style: none;
	padding: 1.2rem;
}

.block-content ul li{
	margin: .5rem 0;
}

.block-content p, .block-content ul li{
	font-family: 'Work Sans', sans-serif;
	color: #707070;
	font-size: 1.4rem;
	text-align: justify;
	
}


.gray-title, .white-title{
	font-size: 3rem;
	color: #707070;
	position: relative;
	display: inline-block;
	font-weight: 400;
	margin: 1.5rem 0;
}

.gray-title{
	color: #707070;
}

.white-title{
	color: #FFF;
}

.gray-title:after, .white-title:after{
	content: '';
	position: absolute;
	bottom: -.5rem;
	left: 0;
	width: 60px;
	height: 2px;
}

.gray-title:after{
	background-color: #82CE64;
}

.white-title:after{
	background-color: #EAFB00;
}


.icon-text {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	margin: 2rem 0;
}

.icon-text p{
	color: #FFF;
	font-size: 1.25rem;
}

.icon-text svg{
	margin-right: 1rem;
	max-width: 30px;
}

footer{
	background-color: #82CE64;
	padding: 4rem 1.2rem;
}

footer .footer-container{
	display: flex;
	justify-content: space-between;
	max-width: 1250px;
	margin: auto;
}

footer .footer-container .footer-icons{
	padding: .8rem 0;
}

footer .footer-container .footer-icons svg{
	margin-right: .5rem;
	max-width: 25px;
}

footer p, footer .btn{
	font-family: 'Work Sans', sans-serif;
	font-size: 1.2rem;
	color: #FFF;
}

footer .btn{
	padding: .5rem 1.2rem;
	border: 1px solid #FFF;
	transition: transform 1.5s;
}

footer .btn:hover{
	transform: scale(2);
}


.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 22; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
	justify-content: center;
	align-items: center;
  }
  
  /* Modal Content (image) */
  .modal-content {
	display: block;
	position: relative;
	width: 80%;
	max-width: 900px;
	height: auto;
	max-height: 700px;
	object-fit: contain;
  }

   /* modal content animations */

@keyframes animate-left{
	0%{
		left: -120vw;
	}100%{
		left: 0;
	}
}

.animate-left{
	animation: animate-left .5s !important;
}

@keyframes animate-right{
	0%{
		left: 120vw;
	}100%{
		left: 0;
	}
}

.animate-right{
	animation: animate-right .5s !important;
}

.animate-zoom{
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}

  /* The Close Button */
.modal-close {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100px;
	padding: 2rem 2rem;
  }

.modal-close i{
	float: right;
}


  .modal-control{
	  position: absolute;
	  top: 0;
	  left: 0;
	  height: 100%;
	  width: 100%;
	  display: flex;
	  justify-content: space-between;
	  padding: 12vw;
	  align-items: center;
  }

  .modal-control i, .modal-close i{
	  font-size: 2.5rem;
	  cursor: pointer;
	  background-color: #707070;
	  color: #FFF;
	  opacity: .6;
	  transition: opacity .5s;
	}

	.modal-control i:hover, .modal-close i:hover{
		opacity: 1;
	}

  @-webkit-keyframes zoom {
	from {-webkit-transform:scale(0)} 
	to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
	from {transform:scale(0)} 
	to {transform:scale(1)}
  }


/* media query navbar */

@media screen and (max-width: 1200px){

	nav h3{
		display: none;
	}
}


/* media query tablet */

@media screen and (max-width: 900px){
	header h1{
		font-size: 5rem;
	}

	header h2{
		font-size: 3rem;
	}

	footer .footer-container{
		flex-direction: column;
		padding-left: 2rem;
	}
}


@media screen and (max-width:850px){
	
	nav{ max-height: 50px; z-index: 12;}
	nav .navbar-logo img  { max-width: 45px; }

	nav h3{
		display: block;
	}

	nav .navbar-links{
		position: absolute;
		top: -5000px;
		left: 0;
		width: 100%;
		height: auto;
		flex-direction: column;
		align-items: center;
		background-color: #fff;
		box-shadow: 2px 3px 6px rgba(0, 0, 0, .2);
		z-index: 8;
		padding: 1.5rem 0;
		transition: top .65s ease-in-out;
	}

	nav .navbar-links ul{
		flex-direction: column;
		
	}

	nav .navbar-links ul li{
		margin: unset;
		padding: .5rem 0;
		text-align: left;
	}

	nav .navbar-links .lang{
		flex-direction: row;
		align-items: flex-start;
		min-width: 120px;
		margin: unset;
	}

	nav .navbar-links .lang li{
		margin-right: 1rem;
	}

	.hamburger, .close{
		align-items: center;
		cursor: pointer;
	}

	.hamburger{
		display: flex;
	}
}


/* media query mobile */

@media screen and (max-width: 650px){
	header h1{
		font-size: 4rem;
	}

	header h2{
		font-size: 2.2rem;
	}

	nav h3{
		font-size: 1rem;
	}

	.block-content{
		padding: 1.2rem;
	}

	.block-content p, .block-content ul li{
		font-size: 1rem;
	}

	.pimage h2{
		font-size: 5.5rem;
	}

	.pimage svg{
		max-width: 45px;
	}

	.icon-text{
		flex-direction: column;
		align-items: center;
		margin-bottom: 1rem;
	}

	.icon-text svg{
		margin-bottom: 1rem;
	}

	.modal-control{
		justify-content: center;
		padding-bottom: 5vh;
		align-items: flex-end;
	}

	.modal-control i{
		margin: 0 1rem;
	}
}


@media screen and (max-width: 450px){
	nav h3{
		display: none;
	}
}



