
/* xanh-mono-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Xanh Mono';
  font-style: normal;
  font-weight: 400;
  src: url('xanh-mono-v19-latin-regular.woff2') format('woff2'); 
}
@font-face {
  font-display: swap; 
  font-family: 'ABCDiatype';
  font-style: normal;
  font-weight: 400;
  src: url('ABCDiatype-Medium.woff2') format('woff2'); 
}

body, html{
	padding: 0;
	margin: 0;
	width: 100%;
	font-family: 'Xanh Mono';
	color: #000;
	background-color: #fff;
	font-size: 18px;
}

body.green{
	background-color: #A9EB52;
}

body.green header,
body.green img.illustration,
body.green footer{
	display: none;
}


#content{
	height: 100dvh;
	width: 100%;
	flex-direction: column;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 35px;
	box-sizing: border-box;
}

img.illustration{
	height: 33vh;
	z-index: 3;
	display: block;
	position: relative;
}
header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
	z-index: 3;
}

h1, h2{
	margin: 0;
	font-size: 18px;
	line-height: 1;
	font-weight: 400;
}
p{
	margin: 0;
}
a{
	color: currentColor;
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}

button{
	border: 0px;
	outline: 0;
	font-family: 'Xanh Mono';
	color: currentColor;
	background-color: #A9EB52;
	border-radius: 40px;
	height: 35px;
	min-width: 120px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	cursor: pointer;
}

button:hover{

}

footer{
	position: relative;
	z-index: 10;
}
#expandOverlay{
	background-color: #A9EB52;	
	position: fixed;
  width: 0;
  height: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: width 0.8s ease-out, height 0.8s ease-out;
}



#popup{		
	font-family: 'ABCDiatype';
	position: fixed;
	inset: 0;
	z-index: 20;
	justify-content: center;
	align-items: center;
	display: none;
}
#popup.show{
	display: flex;
}

#popup .close{
	border-radius: 100%;
	transform: translate(-10px);
	background-color: #fff;
	width: 35px;
	height: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
  top: -35px;
  right: -45px;
  cursor: pointer;
}

#popup .inside{
	z-index: 2;
	background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 100px;
	font-size: 21px;
	line-height: 1.2;
	position: relative;
	transform: translateY(100px);
	opacity: 0;
	transition: all ease 0.5s;
}

#popup .inside.show{
	opacity: 1;
	transform: translateY(0px);
}

@media screen and (min-width: 761px){
	#popup .inside{
		min-width: 300px;
	}
}


@media screen and (max-width: 760px){
	header{
    flex-direction: column;
    position: fixed;
    inset: 0;
    padding: 15vw 0;
    justify-content: space-between;   
	}

	#content{
		gap: 40px;
		justify-content: center;
	}

	h1, h2{
		 text-align: center;
		 font-size: 16px;
	}

	#popup .close{
		top: -50px;
    right: calc(50% - 22px);
	}
}

