@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;
  --menuSize: 200px;
  --resourceColor: #F5F5F7;
}

.body {
	overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.home {
	z-index: 900;
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: var(--menuSize);
}

.logo {
	z-index: 901;
	position: absolute;
	top: calc(var(--menuSize) / 3); left: 15%;
	height: calc(var(--menuSize) / 4);
}

.menu {
	z-index: 901;
	position: absolute;
	top: calc(var(--menuSize) / 3 + 10px); right: 15%;
	height: calc(var(--menuSize) / 3);
}


#home_menu {
	z-index: 902;
	width: 100%;
	display: inline;
}

#home_menu #link {
	z-index: 902;
	position: relative;
	font-family: 'CeraMedium';
	font-size: 12px;
	color: var(--mainColor);
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	letter-spacing: 3px;
	padding-top: 10px;
	padding-bottom: 10px;
}

#home_menu #link:hover {
	opacity: .7;
}

#home_menu #active {
	z-index: 902;
	position: relative;
	font-family: 'CeraMedium';
	font-size: 12px;
	color: var(--mainColor);
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	letter-spacing: 3px; 
	padding-top: 10px;
	padding-bottom: 10px;
}

#home_menu #active:hover {
	opacity: .7;
}

#home_menu #active:before {
	z-index: 902;
	content: "";
	width: 5px; height: 5px;
	background: var(--mainColor);
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	margin-top: 20px;
	border-radius: 50%;
}

#home_menu #contact {
	z-index: 902;
	position: relative;
	font-family: 'CeraMedium';
	font-size: 12px;
	color: white;
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	letter-spacing: 3px; 
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: var(--mainColor);
	border: solid 2px var(--mainColor);
}

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

#home_menu #contactActive {
	z-index: 902;
	position: relative;
	font-family: 'CeraMedium';
	font-size: 12px;
	color: var(--mainColor);
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	letter-spacing: 3px; 
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: transparent;
	border: solid 2px var(--mainColor);
}

#home_menu #contactActive:hover {
	color: white;
	background-color: var(--mainColor);
	border: solid 2px var(--mainColor);
}

#mobile_menu_button {
	z-index: 902;
	position: absolute;
	top: 50px; right: 5%;
	width: 50px; height: 50px;
	background-color: transparent;
	display: none;
	border-radius: 50%;
}

#mobile_menu_button:before {
	z-index: 902;
	content: "";
	width: 25px; height: 4px;
	background: var(--mainColor);
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	margin-top: 5px;
	border-radius: 15%;
}

#mobile_menu_button:after {
	z-index: 902;
	content: "";
	width: 25px; height: 4px;
	background: var(--mainColor);
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%);
	margin-top: -5px;
	border-radius: 15%;
}

#closed_mobile_menu_button {
	z-index: 903;
	position: absolute;
	top: 50px; right: 5%;
	width: 50px; height: 50px;
	background-color: transparent;
	border-radius: 50%;
	opacity: 0;
	transition: all .5s ease;
}

#closed_mobile_menu_button:before {
	z-index: 902;
	content: "";
	width: 25px; height: 4px;
	background: white;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%) rotate(45deg);
	border-radius: 15%;

}

#closed_mobile_menu_button:after {
	z-index: 902;
	content: "";
	width: 25px; height: 4px;
	background: white;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%,-50%) rotate(-45deg);
	border-radius: 15%;
}

#mobile_menu {
	z-index: 902;
	position: fixed;
	top: 0; right: -300px;
	height: 100vh;
	width: 300px;
	background-color: var(--mainColor);
	display: none;
	transition: all .5s ease;
	display: none;
}

#mobile_menu #link {
	z-index: 902;
	position: relative;
	font-family: 'CeraLight';
	font-size: 12px;
	color: white;
	text-align: center;
	padding-left: 35px;
	padding-right: 15px;
	text-decoration: none;
	letter-spacing: 5px; 
	//cursor: none;
	padding-top: 10px;
	padding-bottom: 10px;
}

#mobile_menu #active {
	z-index: 902;
	position: relative;
	font-family: 'CeraLight';
	font-size: 12px;
	color: white;
	text-align: center;
	padding-left: 35px;
	padding-right: 15px;
	text-decoration: none;
	letter-spacing: 5px;
	//cursor: none;
	padding-top: 10px;
	padding-bottom: 10px;
}

#mobile_menu #active:before {
  content: "";
  width: 5px; height: 5px;
  background: white;
  position: absolute;
  top: 50%; left: 50px;
  transform: translate(0%,-50%);
  margin-left: -30px;
  border-radius: 50%;
}

@media only screen and (max-width: 1100px) {
	#home_menu {
		display: none;
	}
	#mobile_menu_button {
		display: inline;
	}
	.logo {
		top: 30px; left: 7%;
		height: calc(var(--menuSize) / 6);
	}
	#mobile_menu_button {
		top: 17px; right: 7%;
		width: 50px; height: 50px;
	}
	#mobile_menu_button:before {
		width: 20px; height: 2.5px;
	}

	#mobile_menu_button:after {
		width: 20px; height: 2.5px;
	}
}