@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: 1200px; 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: left;
	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);
}

.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: 800px;
	}
	#contactform {
		z-index: 200;
		position: absolute;
		top: 0px; left: 5%;
		width: 80%;
	}
	#contactinfo{
		display: none; // change in future
		position: absolute;
		top: 1000px; right: 10%;
		height: 500px; width: 85%;
	}
	#contactinfo .firstInfo {
		height: 270px; width: 100%;
	}
	#contactinfo h2{
		padding-left: 20px;
		font-size: 15px;
	}
	#contactinfo h1{
		padding-left: 20px;
		font-size: 15px;
	}
	#contactinfo h3{
		padding-left: 20px;
		font-size: 15px;
	}
	#contactform #contact_title{
		display: none;
	}
	#contactform #form_subtitle{
		display: none;
	}
	#contactform #contact_submit {
		width: calc( 100% + 20px );
	}
}



/* The container */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-family: 'CeraLight';
  font-size: 20px;
  color: var(--mainColor);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: white;
  border: solid 1.5px var(--mainColor);
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: var(--resourceColor);
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: var(--mainColor);
}

#noOpacity {
	opacity: 0;
}


