@font-face {
  font-family: 'Centaurr';
  font-style: normal;
  src: url('fonts/centaurr.ttf') format('truetype');
}

html, body {
	font-family: Calibri, Arial;
	margin: 0 auto;
	background: URL(img/bg.jpg) repeat center #fff;
	text-align: center;
	padding: 0;
	height: 100%;
	width: 100%;
}

#center {
	display: flex;
	flex-direction: column; 
	justify-content: center;
	align-items: center;
	background: URL(img/wall.jpg) repeat;
	border-style: solid;
	border-width: 0px;
	margin: 0 auto;
	min-height:1fr;
	-webkit-box-shadow: 6px 1px 16px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: 6px 1px 16px -1px rgba(0,0,0,0.75);
	box-shadow: 6px 1px 16px -1px rgba(0,0,0,0.75);
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

#header {
	background-color: #ffff00;
	background-size: cover;
	background: URL(img/head.jpg) repeat center;
	min-height: 135px;
	height: 100vh;
	max-height: 250px;
	margin: 0 auto;
	-webkit-box-shadow: inset 0px -4px 9px -3px rgba(99,83,80,1);
	-moz-box-shadow: inset 0px -4px 9px -3px rgba(99,83,80,1);
	box-shadow: inset 0px -4px 9px -3px rgba(99,83,80,1);

}

#header .text{
	padding: 4% 0 0 10%;
	font-family: 'Dancing Script';
	font-size: 70px;
	color: #fff;
	text-align: left;
	margin: 0 auto;
	text-shadow: #000 2px 2px;
}

#header img{
	max-height: 120px;
}


#menu {
	position: sticky;
	top: 0;
	background-color: #3B3C29;
	border-style: solid;
	border-width: 0px;
	border-color: #000000;
	width: 100%;
	margin: 0 auto;
	padding: 0 auto;
	min-height: 60px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#menu a {
    font-size: clamp(15px, 2.3vw, 25px);
	text-decoration: none;
	color: #C8A47A;
}

#menu a:visited {
	color: #C8A47A; 
}

#menu a:hover {
	color: white; 
}

.mn-menu {
	border-style: solid;
	border-width: 0px;
	display: inline-block;
	padding: 0 0 0 10px;
}

#mn-cat-menu {
}

.mn-menu ul {
	list-style: none;
}

.mn-menu li {
	display: inline;
	margin: 0 15px 0 0;
}

#main {
	height:100%;
	width:90%;
	border:solid;
	border-width: 0px;
	flex-direction: row;
	text-align: center;
	margin: 0 auto;
	padding: 0 0 0 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 1px;

}

.mn-posts {
	vertical-align: baseline;
	padding: 20px 10px 10px 10px;
	text-align: center;
	word-wrap: break-word;
	box-sizing: border-box;
    overflow: hidden;
}

.mn-posts h3{
	background: URL(img/paper.jpg) repeat center;
	min-width: 90px;
	width: 70%;
	max-width: 300px;
	margin: 10px auto;
	padding: 8px;
	border:solid;
	border-width: 0px;
	font-family: 'Centaurr';
	font-size: 28px;
	font-weight: lighter;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-posts hr {
	display:none;
}

.mn-posts:only-child {
	grid-column: 1 / -1;
}

.mn-posts img{
	max-height:600px;
	max-width: 95%;
-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-posts-big {
	margin: 5px 0 20px 0;
	padding: 0 auto;
	text-align: center;
	grid-column: 1 / -1;
}

.mn-posts-big .author{
	display: none;
}

.mn-posts-big[data-author="author6"] .author{
	display:block;
}

.mn-posts-big[data-author="author6"] sale, a{
	text-decoration: none;
	color: #70593d;
}

.mn-posts-big[data-author="author6"] sale, a:hover{
	text-decoration: none;
	color: #947857;
}

.mn-posts-big[data-author="author6"] sale{
	color: #000;
	font-size: 24px;
	background: URL(img/paper.jpg) repeat center;
	min-width: 90px;
	width: 30%;
	max-width: 200px;
	padding: 4px 8px 4px 8px;
	font-family: 'Centaurr';
	font-weight: lighter;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-posts-big h2{
	background: URL(img/paper.jpg) repeat center;
	min-width: 90px;
	width: 50%;
	max-width: 300px;
	margin: 10px auto;
	padding: 8px;
	border:solid;
	border-width: 0px;
	font-family: 'Centaurr';
	font-size: 34px;
	font-weight: lighter;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-posts-big h3{
	background: URL(img/paper.jpg) repeat center;
	min-width: 50px;
	max-width: 280px;
	margin: 10px auto 25px auto;
	padding: 8px;
	border:solid;
	border-width: 0px;
	font-family: 'Centaurr';
	font-size: 32px;
	font-weight: lighter;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-posts-big h4{
	background: URL(img/paper.jpg) repeat center;
	width: 70%;
	margin: 10px auto;
	padding: 8px;
	border:solid;
	border-width: 0px;
	font-family: 'Centaurr';
    font-size: clamp(18px, 2.3vw, 24px);
	font-weight: lighter;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-posts-big h6{
display: none;
}

.mn-posts-big img{
	max-height:93vh;
	max-width: 98%;
	width: auto;
-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-posts-big p{
	margin: auto;
}

.mn-posts-big p img{
	margin: 6px 8px 6px 8px;
-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-post-info {
	text-align: right;
	margin: 0 3% 3% 0;
	position: absolute;
}

.mn-page {
	margin: 5px 0 20px 0;
	padding: 0 auto;
	text-align: center;
	grid-column: 1 / -1;
}

.mn-page table {
	float: left;
	margin: 0 auto;
	border-collapse: collapse;
}

.mn-page h2{
	background: URL(img/paper.jpg) repeat center;
	min-width: 90px;
	width: 50%;
	max-width: 300px;
	margin: 10px auto;
	padding: 8px;
	border:solid;
	border-width: 0px;
	font-family: 'Centaurr';
	font-size: 34px;
	font-weight: lighter;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
	-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
	box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-page h3{
	background: URL(img/paper.jpg) repeat center;
	min-width: 90px;
	width: 80%;
	max-width: 350px;
	margin: 10px auto 25px auto;
	padding: 8px;
	border:solid;
	border-width: 0px;
	font-family: 'Centaurr';
	font-size: 34px;
	font-weight: lighter;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
	-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
	box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-page h4{
	background: URL(img/paper.jpg) repeat center;
	width: 70%;
	margin: 10px auto;
	padding: 8px;
	border:solid;
	border-width: 0px;
	font-family: 'Centaurr';
    font-size: clamp(18px, 2.3vw, 24px);
	font-weight: lighter;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
	-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
	box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

.mn-page img{
	max-height:93vh;
	max-width: 98%;
	width: auto;
	-webkit-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
	-moz-box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
	box-shadow: 1px 1px 4px 1px rgba(69,67,69,1);
}

/*.img-frame {
			border: 10px solid transparent; 
			border-image: url('img/wooden-frame.jpg') 20% round; 
			box-sizing: border-box; 
        }
	*/	

.mn-info {
	
}

.mn-pagination {
	width: 100%;
	height: 20px;
	border:solid;
	border-width:0px;
	text-align: center;
	color: #000; 
	font-size: 15px;
	grid-column: 1 / -1;
	font-size: 25px;
	padding: 5px 0 15px 0;

}

.mn-pagination a {
	text-decoration: none;
	color: #C8A47A;
}

.mn-pagination a:visited {
	color: #917a4b; 
}

.mn-pagination a:hover {
	color: white; 
}

#footer {
	width: 100%;
	min-height: 58px;
	background-color: #3B3C29;
	border:solid;
	border-width:0px;
	text-align: center;
	color: #C8A47A; 
	font-size: 15px;
	margin: 0 auto;
/*	margin: 0 0 1px 0;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
*/
}

#footer p {
margin: 2px 0 2px 40px;
padding: 0 auto;
}

#footer a {
	font-size: 20px;
	text-decoration: none;
	color: #C8A47A;
}

#footer a:visited {
	color: #C8A47A; 
}

#footer a:hover {
	color: C8A47A; 
}

#footer .contact {
	text-align: left;
}

#footer .contact a {
	font-size: 15px;
	text-decoration: none;
	color: #C8A47A;
}

#footer .contact a:hover {
	color: #fff;
}

@media (max-width: 700px){
	#main {
	grid-template-columns: repeat(auto-fill, minmax(90%, 1fr));
	gap: 0px;
	}
	
	#header {
	height: 135px;
	}

	#header img{
		max-height: 100px;
	}
	
	#menu {
	min-height: 20px;
	max-height: 50px;
	}
	
	#menu a {
	}

	.mn-menu {
		padding: 0 0 0 0px;
	}

	#center {
	max-width: 100%;
	min-width: 280px;
	}
	
	.mn-posts{
	grid-column: 1 / -1;
	}

	.mn-posts-big {
	}

	.mn-posts-big p img {
		height: auto;
		width: auto;
		max-width: 95%;
		max-height:auto;
		margin: 6px 8px 6px 8px;
	}
	
	.mn-page h3{
	min-width: 90px;
	width: 70%;
	max-width: 90%;
	}

	.mn-page h4{
		width: 95%;
	}

	.mn-page p img {
		height: auto;
		width: auto;
		max-width: 95%;
		max-height:auto;
	}

	.mn-page table img {
		height: auto;
		width: auto;
		max-width: 95%;
		max-height:auto;
	}
	
	#video {
  width: 100%;
	}
		
	#footer {
		margin: 0 0 0 0;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}
}

@media (max-height: 1080px) and (max-width: 1080px) and (min-width: 720px){
	#main {
		grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
		gap: 2px;
	}

	#center {
		max-width: 100%;
		min-width: 380px;
	}
	
	#header {
		height: 50px;
	}

	#header img{
		max-height: 90px;
	}
	
	#menu {
		min-height: 10px;
		max-height: 50px;
		position: relative;
	}
	
	#menu a {
	}
	
	.mn-posts {
	}
	
	.mn-posts img {
		max-height: 100vh;
	}
	
	.mn-posts h3{
		font-size: 20px;
	}

	.mn-posts hr {
		display:none;
	}
	
	.mn-page h3{
	font-size: 24px;
	min-width: 100px;
	width: auto;
	}

	.mn-page h4{
		width: 90%;
	}

	.mn-page table img {
		height: auto;
		width: auto;
		max-width: 50%;
		max-height:auto;
	}
	
	.mn-page #video {
  width: 70%;
	}
		
	#footer {
		margin: 0 0 0 0;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}
}