/*	in HTML the :root element is always the <html> element ...					*/

:root {
}

body {
	background-color: #ffcc00;
	font-family: 	"Candara",
			"Avanta Garde",
			"Geneva",
			"Futara",
			"Lucida Sans",
			"Calibri",
			"Verdana",
			sans-serif;
	text-align: center;
	overflow-x: hidden;
	overflow-y: auto;
}

#ruler {
	visibility: hidden;
	white-space: no-wrap;
}

#penrose {
	display: block;
	position: absolute;	
	left: 0;
	top: 0;
	z-index: 1;
}

.pagegrid {
	justify-content: space-around;
	display: grid;
/*	grid-template-colums: repeat(9,minmax(0,1fr));							*/
	grid-template-colums: repeat(9,1fr);
	grid-column-gap: 0.0rem;
	grid-row-gap: 0.15rem;
	padding: 0.25rem 0.1rem 0rem 0.1rem;
	justify-items: center;
	align-self: center;
	
}

.back  {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid silver;
	border-radius: 5px;
	padding: 0 0.1rem 0 0.1rem;
	width: 83%;
	background-color: rgba(255,204,0,1);
}

.decoration {
	z-index: 2;
}

.title {
	justify-content: space-around;
	word-wrap: break-word;
	word-break: keep-all;
	font-size: 0.4rem;
	font-weight: bold;
	color: blue;
	z-index: 2;
}

.fortune {
	justify-content: space-around;
	word-wrap: break-word;
	word-break: keep-all;
	font-size: 0.5rem;
	font-weight: bold;
	color: darkred;
	z-index: 2;
}

.dir-file-link {
	justify-content: space-between;
	padding: 0 0.1rem 0 0.1rem;
	text-indent: 0.4rem;
	word-wrap: break-word;
	word-break: keep-all;
	font-size: 0.5rem;
	font-weight: normal;
	color: blue;
	z-index: 2;
}

.dir-file-link > a:hover {
	color: cyan;
}

.dir-file-link > a:visited {
	color: darkblue;
}

.dir-file-link > a:visited:hover {
	color: cyan;
}

/*
.pagegrid .dir-file-type {
	justify-content: end;
	padding: 0 0.4rem 0 0;
	word-wrap: break-word;
	word-break: keep-all;
	font-size: 0.35rem;
	font-weight: normal;
	color: red;
	z-index: 2;
}
													*/

/* media types												*/


@media only screen and (max-width: 299px) {
	.pagegrid {
		display: none;
	}
}

@media only screen and (min-width: 300px) and (max-width: 449px) {

	:root {
		font-size: 50px;
	}

	.pagegrid {
	}

	.back {
		width: 75%;
	}

	.decoration {
		justify-content: center;
		width: 75%;
		border: 0px;
		grid-column: 4 / 7; 
	}

	.title {
		font-size: 0.25rem;
		grid-column: 1 / 10;
	}

	.fortune {
		font-size: 0.4rem;
		grid-column: 1 / 10;
	}

	.dir-file-link {
		justify-content: center;
		text-indent: 0;
		font-size: 0.425rem;
		grid-column: 1 / 10;
	}
/*
	.dir-file-type {
		font-size: 0.3rem;
		grid-column: 9 / 10;
	}												*/
}

@media only screen and (min-width: 450px) and (max-width: 599px) {

	:root {
		font-size: 50px;
	}

	.pagegrid {
	}

	.decoration {
		justify-content: center;
		width: 75%;
		border: 0px;
		grid-column: 4 / 7; 
	}

	.title {
		font-size: 0.35rem;
		grid-column: 1 / 10;
	}

	.fortune {
		font-size: 0.45rem;
		grid-column: 5 / 6;
	}

	.dir-file-link {
		justify-content: center;
		text-indent: 0;
		font-size: 0.5rem;
		grid-column: 4 / 7;
	}
/*
	.dir-file-type {
		grid-column: 6 / 7;
	}												*/
}

@media only screen and (min-width: 600px) and (max-width: 767px) {

	:root {
		font-size: 50px;
	}

	.pagegrid {
	}

	.decoration {
		justify-content: center;
		width: 50%;
		border: 0px;
		grid-column: 4 / 7; 
	}

	.title {
		font-size: 0.4rem;
		grid-column: 1 / 10;
	}

	.fortune {
		font-size: 0.5rem;
		grid-column: 5 / 6;
	}

	.dir-file-link {
		justify-content: center;
		text-indent: 0;
		font-size: 0.525rem;
		grid-column: 4 / 7;
	}
/*
	.dir-file-type {
		grid-column: 7 / 9;
		text-indent: 26px;
		font-size: 10px;
	}												*/
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

	:root {
		font-size: 50px;
	}

	.pagegrid {
	}

	.decoration {
		justify-content: center;
		width: 50%;
		border: 0px;
		grid-column: 4 / 7; 
	}

	.title {
		font-size: 0.5rem;
		grid-column: 1 / 10;
	}

	.fortune {
		font-size: 0.55rem;
		grid-column: 5 / 6;
	}

	.dir-file-link {
		justify-content: center;
		text-indent: 0;
		font-size: 0.6rem;
		grid-column: 4 / 7;
	}
/*
	.dir-file-type {
		grid-column: 7 / 9;
		text-indent: 32px;
		font-size: 12px;
	}												*/
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {

	:root {
		font-size: 50px;
	}

	.pagegrid {
	}

	.decoration {
		justify-content: center;
		width: 50%;
		border: 0px;
		grid-column: 4 / 7; 
	}

	.title {
		font-size: 0.55rem;
		grid-column: 1 / 10;
	}

	.fortune {
		font-size: 0.6rem;
		grid-column: 5 / 6;
	}

	.dir-file-link {
		justify-content: center;
		text-indent: 0;
		font-size: 0.625rem;
		grid-column: 4 / 7;
	}
/*
	.dir-file-type {
		grid-column: 7 / 9;
		text-indent: 39px;
		font-size: 15px;
	}												*/
}

@media only screen and (min-width: 1200px) {

	:root {
		font-size: 50px;
	}

	.pagegrid {
	}

	.decoration {
		justify-content: center;
		width: 50%;
		border: 0px;
		grid-column: 4 / 7; 
	}

	.title {
		font-size: 0.6rem;
		grid-column: 1 / 10;
	}

	.fortune {
		font-size: 0.625rem;
		grid-column: 5 / 6;
	}

	.dir-file-link{
		justify-content: center;
		text-indent: 0;
		font-size: 0.65rem;
		grid-column: 4 / 7;
	}
/*
	.dir-file-type {
		grid-column: 8 / 9;
		text-indent: 50px;
		font-size: 17px;
	}												*/
}
