@charset "utf-8";

@font-face {
	font-family:fiolex;
	src: url("../fonts/Fiolex_Mephisto.ttf") format("truetype");
}

@font-face {
	font-family:applegaramond;
	src: url("../fonts/AppleGaramond-Light.ttf");
}

@font-face {
	font-family:cinzel;
	src: url("../fonts/Cinzel-Regular.otf");
}

/*--------------------------/body\----------------------------*/
body {
	position: absolute;
	font-size:30px;
	padding-left: 10px;
	padding-right: 10px;
	margin: 0px;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	width: auto;
	min-width: 180px;
	height: auto;
	font-family: applegaramond;
}

/*--------------------------\body/----------------------------*/

h2 {
	font-size: 25px;
	font-family:fiolex;
	margin: 2px;
}

/*--------------------------/header\----------------------------*/

header {
	min-height: 50px;
	height: auto;
	top: 0px;
	right: 0px;
	left: 0px;
	font-size: 10%;
	letter-spacing: 2px;
}

header h2 {
	text-transform: uppercase;
}

/*--------------------------/Style-Dropdown-Menu\----------------------------*/

.dr-do {cursor:pointer}

.dropbtn {
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.stylemenu {
	float: right;
	border: 0px;
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
	right: 0;
    min-width: 160px;
    overflow: auto;
    z-index: 1;
	padding: 5px;
}

.dropdown-content .dr-do {
    padding: 2px;
    text-decoration: none;
    display: block;
	min-height: 50px;
	width: 160px;
}

.dr-do p {
    text-align: left;
    font-size: 20px;
	margin: 0px;
	padding: 0px;
}

.show {display:block;}

/*--------------------------\Style-Dropdown-Menu/----------------------------*/

/*--------------------------\header/----------------------------*/

/*--------------------------/Main-Flexbox\----------------------------*/

#main {
	min-height: 75vh;
	margin: 0px;
	padding: 0px;
	display: flex;
	display: -webkit-flex;
	flex-direction: row;
	-webkit-flex-direction: row;
}

/*--------------------------/Article\----------------------------*/

#main > article {
	flex-grow: 3;
	flex-shrink: 1;
	flex-basis: 60%;
	order: 1;
	-webkit-flex: 3 2 60%;
	-webkit-order: 1;
	border: 0px;
	min-height: 75vh;
}

/*--------------------------\Article/----------------------------*/

/*--------------------------/Navigation-Menu\----------------------------*/

#main > nav {
	flex-grow: 1;
	flex-shrink: 6;
	flex-basis: 20%;
	order: 0;
	-webkit-flex: 1 6 20%;
	-webkit-order: 0;
	font-family: cinzel;
}

section {
	width: 100%;
	height:  100%;
	margin: 0px;
	padding: 0px;
	transition: top 0.1s ease-in-out;
}

.sticktotop {
	position: fixed;
	top: 0px;	
	height: auto;
	width: 18%;
	margin: 0px;
	padding: 0px;
}

a:link {
	text-decoration: none;
}
	
.menu {
	padding:0px;
	height:100%;
}

#menu {
	margin: 0px;
	padding: 0px;
	height: auto;
}

/*--------------------------\Navigation-Menu/----------------------------*/

/*--------------------------/Aside\----------------------------*/

#main > aside {
	flex-grow: 1;
	flex-shrink: 6;
	flex-basis: 20%;
	order: 2;
	-webkit-flex: 1 6 20%;
	-webkit-order: 2;
	font-family: cinzel;
}

#aside {
	height: auto;
}

aside p {
	font-size: 15px;
	margin: 0px;
}

form {
	display: block;
	margin: auto;
	width: 150px;
}

.input {
	width: 95%;
	max-width: 150px;
	height: 25px;
	margin: auto;
	margin-bottom: 10px;
}

.login {
	height: 40px;
	width: 65px;
	margin-bottom: 4px;
	cursor: pointer;
}

/*--------------------------/Reg-Menu\----------------------------*/

*, *:before, *:after {
  -webkit-border-sizing: border-box;
  -moz-border-sizing: border-box;
}

aside > ul {
  list-style: none;
  padding: 0;
}

aside .dropdownreg {
  position: relative;
}

aside .dropdownreg p {
  text-decoration: none;
}

aside .dropdownreg [data-toggle="dropdownreg"] {
  display: block;
}

aside .dropdownreg > .dropdownreg-menu {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -moz-transform-origin: 50% 0%;
  -ms-transform-origin: 50% 0%;
  -webkit-transform-origin: 50% 0%;
  transform-origin: 50% 0%;
  -moz-transition: max-height 1.6s ease-in-out;
  -o-transition: max-height 1.6s ease-in-out;
  -webkit-transition: max-height 1.6s ease-in-out;
  transition: max-height 1.6s ease-in-out;
  animation: hideAnimation 1.4s ease-in-out;
  -moz-animation: hideAnimation 1.4s ease-in-out;
  -webkit-animation: hideAnimation 1.4s ease-in-out;
}

aside .dropdownreg > .dropdownreg-menu li {
  padding: 0;
}

aside .dropdownreg > input[type="checkbox"] {
  opacity: 0;
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

aside .dropdownreg > input[type="checkbox"]:checked ~ .dropdownreg-menu {
  max-height: 9999px;
  display: block;
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
  animation: showAnimation 1.5s ease-in-out;
  -moz-animation: showAnimation 1.5s ease-in-out;
  -webkit-animation: showAnimation 1.5s ease-in-out;
  -moz-transition: max-height 2s ease-in-out;
  -o-transition: max-height 2s ease-in-out;
  -webkit-transition: max-height 2s ease-in-out;
  transition: max-height 2s ease-in-out;
}

@keyframes showAnimation {
  0% {
    -moz-transform: scaleY(0.1);
    -ms-transform: scaleY(0.1);
    -webkit-transform: scaleY(0.1);
    transform: scaleY(0.1);
  }
  40% {
    -moz-transform: scaleY(1.04);
    -ms-transform: scaleY(1.04);
    -webkit-transform: scaleY(1.04);
    transform: scaleY(1.04);
  }
  60% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.04);
    -ms-transform: scaleY(1.04);
    -webkit-transform: scaleY(1.04);
    transform: scaleY(1.04);
  }
  100% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  80% {
    -moz-transform: scaleY(1.02);
    -ms-transform: scaleY(1.02);
    -webkit-transform: scaleY(1.02);
    transform: scaleY(1.02);
  }
  100% {
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

@keyframes hideAnimation {
  0% {
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  20% {
    -moz-transform: scaleY(0.98);
    -ms-transform: scaleY(0.98);
    -webkit-transform: scaleY(0.98);
    transform: scaleY(0.98);
  }
  30% {
    -moz-transform: scaleY(1.02);
    -ms-transform: scaleY(1.02);
    -webkit-transform: scaleY(1.02);
    transform: scaleY(1.02);
  }
  100% {
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
}

/*--------------------------\Reg-Menu/----------------------------*/

/*--------------------------\Aside/----------------------------*/

/*--------------------------\Main-Flexbox/----------------------------*/

/*--------------------------/Footer\----------------------------*/

footer {
	height: auto;
	bottom: 0px;
	right: 0px;
	left: 0px;
	bottom:0px;
	margin-bottom:0px;
	text-align: center;
	font-size: 15px;
}

/*--------------------------\Footer/----------------------------*/

@media all and (max-width: 640px) {
	
	#main {
		flex-direction: column;
		-webkit-flex-direction: column;
		text-align: center;
	}
	
	#main > nav {
		order: 0;
		-webkit-order: 0;
		flex-grow: 1;
		flex-shrink: 6;
		flex-basis: 10%;
		-webkit-flex: 1 6 10%;
		height: auto;
	}
	
	section {
		width: 100%;
		height: auto;
		margin: 0px;
		padding: 0px;
		transition: 0s;
	}
	
	.stickynav {
		width: 100%;
	}

	.sticktotop {
		position: relative;
		height: auto;
		width: 100%;
		margin: 0px;
		padding: 0px;
	}
	
	#main > article {
		order: 1;
		-webkit-order: 1;
		flex-grow: 1;
		flex-shrink: 1;
		flex-basis: 90%;
		-webkit-flex: 1 1 90%;
		min-height: auto;
		height: auto;
	}
	
	#main > aside {
		height: auto;
		order: 2;
		-webkit-order: 2;
		flex-grow: 1;
		flex-shrink: 6;
		flex-basis: 10%;
		-webkit-flex: 1 6 10%;
	}
	
	footer {
		text-align: center;
	}
	
	.menu {
		padding:0px;
		min-height: 10px;
		height: auto;
	}
	
	#menu {
		padding:0px;
		display:inline-block;
		text-align:center;
		margin: auto;
		width: 100%;
	}
	
	.box1 {
		display: inline-block;
		list-style-type: none;
		margin: auto;
		min-width: 30%;
		width: auto;
		border-radius: 2px;
		height:auto;
		padding: 0px;
	}
	
	#aside {
		padding: 0px;
		margin: auto;
		text-align: center;
		width: 100%;
		height: auto;
		display:inline-block;
	}
	
	.box2 {
		display: inline-block;
		list-style-type: none;
		margin: auto;
		width: 30%;
		border-radius: 2px;
		height:auto;
		padding: 0px;
	}
	
}
























