@font-face { font-family: CeraBlack; src: url('font/CeraBlack.otf'); }
@font-face { font-family: CeraBold; src: url('font/CeraBold.otf'); }
@font-face { font-family: CeraLight; src: url('font/CeraLight.otf'); }
@font-face { font-family: CeraMedium; src: url('font/CeraMedium.otf'); }

:root {
  --mainColor: #493a7e;
  --mainDarkColor: #3d3169;
} 

#content {  
	z-index: 0;
	position: relative;
	top: 200px; left: 0;
	height: 800px; width: 100vw;
	//background-color: green; 
}

#contactform {
	z-index: 200;
	position: absolute;
	top: 0px; left: 20%;
	width: 30%;
}

#contactform #contact_title{
	position: relative;
	font-family: 'CeraBold';
	font-size: 28px;
	color: var(--mainColor);
	line-height: normal;
	text-align: left;
	margin-top: 30px;
}

#contactform #form_subtitle{
	position: relative;
	font-family: 'CeraLight';
	font-size: 15px;
	color: #4f4b4d;
	line-height: normal;
	text-align: left;
	margin-top: -20px;
	margin-right: 50px;
	margin-bottom: 30px;
	opacity: .8;
	letter-spacing: 2px;
}

#contactform .contact_block {
	position: relative;
	font-family: 'CeraBold';
	font-size: 15px;
	color: var(--mainColor);
	line-height: normal;
	text-align: left;
	background: var(--resourceColor);
	width: 100%;
	border-radius: 0px;
	padding-top: 10px;
	padding-bottom: 15px;
	padding-left: 20px;
	margin-top: 5px;
	margin-bottom: 30px;
	border: solid 0 blue;
}

#contactform .contact_block:focus {
    outline: none;
}

#contactform .contact_block::placeholder {
	position: relative;
	font-family: 'CeraBold';
	font-size: 15px;
	color: #aaa;
	line-height: normal;
	text-align: left;
	opacity: .8;
}

#contactform #contact_submit {
	position: relative;
	font-family: 'CeraLight';
	font-size: 20px;
	color: white;
	line-height: normal;
	text-align: left;
	background: var(--mainColor);
	width: 30%;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 20px;
	margin-top: 10px;
	margin-bottom: 30px;
	border: solid 0 blue;
	//cursor: none;
	border: solid 2px var(--mainColor);
}

#contactform #contact_submit:focus {
    outline: none;
}

#contactform #contact_submit:hover {
	color: var(--mainColor);
	background: transparent;
	border: solid 2px var(--mainColor);
}

#contactinfo{
	position: absolute;
	top: 0px; right: 0;
	height: 500px; width: 40%;
}

#contactinfo .firstInfo {
	position: absolute;
	top: 0; left: 0;
	height: 300px; width: 100%;
	background-color: var(--mainColor);
}

#contactinfo .firstInfo img{
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#contactinfo_first_title {}
#contactinfo_first_subtitle {}
#contactinfo_first_image {
	display: none;
}

#contactinfo .secondInfo {
	position: absolute;
	bottom: 0; left: 0;
	height: 200px; width: 100%;
}

#contactinfo h2{
	position: relative;
	font-family: 'CeraLight';
	font-size: 15px;
	color: white;
	line-height: normal;
	text-align: left;
	letter-spacing: 2px;	
	padding-top: 30px;
	padding-left: 70px;
}

#contactinfo h1{
	position: relative;
	font-family: 'CeraMedium';
	font-size: 25px;
	color: white;
	line-height: normal;
	text-align: left;
	letter-spacing: 2px;
	padding-left: 70px;
}

#contactinfo h3{
	position: relative;
	font-family: 'CeraLight';
	font-size: 25px;
	color: var(--mainColor);
	line-height: normal;
	text-align: left;
	letter-spacing: 2px;	
	padding-top: 10px;
	padding-left: 70px;
}

.contactinfo_second_button{
	position: relative;
	font-family: 'CeraLight';
	font-size: 20px;
	color: var(--mainColor);
	line-height: normal;
	text-align: center;
	background: transparent;
	width: 90%;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 20px;
	margin-top: 10px;
	margin-bottom: 30px;
	border: solid 0 blue;
	//cursor: none;
	border: solid 2px var(--mainColor);
	display: none;
}

.contactinfo_second_button:focus {
    outline: none;
}

.contactinfo_second_button:hover {
	color: white;
	background: var(--mainColor);
}

@media only screen and (max-width: 800px) {
	#content {  
		top: 0px; left: 0;
		height: 350px;
	}
	#contactform {
		z-index: 200;
		position: absolute;
		top: 0px; left: 5%;
		width: 80%;
	}
	#contactform #contact_title{
		display: none;
	}
	#contactform #form_subtitle{
		font-size: 10px;
		margin-right: 0px;
		display: none;
	}
	#contactform #contact_submit {
		width: calc( 100% + 20px );
	}
	#contactinfo{
		position: absolute;
		top: 500px; right: 10%;
		height: 300px; width: 85%;
		display: none;
	}
	#contactinfo .firstInfo {
		height: 200px; width: 100%;
	}
	#contactinfo .secondInfo {
		bottom: 0; left: 0;
		height: 100px; width: 100%;
	}
	#contactinfo h2{
		padding-left: 30px;
		padding-right: 30px;
	}
	#contactinfo h1{
		padding-left: 30px;
		padding-right: 30px;
	}
	#contactinfo h3{
		padding-left: 30px;
		padding-right: 30px;
	}
	.contactinfo_second_button{
		font-size: 15px;
		width: 100%;
	}
}
