
/*Imported Fonts from Google Fonts*/ 
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');

				/* http://meyerweb.com/eric/tools/css/reset/ 
				   v2.0 | 20110126
				   License: none (public domain)
				*/

				html, body, div, span, applet, object, iframe,
				h1, h2, h3, h4, h5, h6, p, blockquote, pre,
				a, abbr, acronym, address, big, cite, code,
				del, dfn, em, img, ins, kbd, q, s, samp,
				small, strike, strong, sub, sup, tt, var,
				b, u, i, center,
				dl, dt, dd, ol, ul, li,
				fieldset, form, label, legend,
				table, caption, tbody, tfoot, thead, tr, th, td,
				article, aside, canvas, details, embed, 
				figure, figcaption, footer, header, hgroup, 
				menu, nav, output, ruby, section, summary,
				time, mark, audio, video {
					margin: 0;
					padding: 0;
					border: 0;
					font-size: 100%;
					font: inherit;
					vertical-align: baseline;
				}
				/* HTML5 display-role reset for older browsers */
				article, aside, details, figcaption, figure, 
				footer, header, hgroup, menu, nav, section {
					display: block;
				}
				body {
					line-height: 1;
				}
				ol, ul {
					list-style: none;
				}
				blockquote, q {
					quotes: none;
				}
				blockquote:before, blockquote:after,
				q:before, q:after {
					content: '';
					content: none;
				}
				table {
					border-collapse: collapse;
					border-spacing: 0;
				}

/*Default Styles*/

/** {
	border: 1px red solid;
}*/

html,
body {
	font-size: 22px;
}

body {
	color: #261B15;
	font-family: "Courier New";
	background-color: #F2E6D0;
}

a {
	color: #261B15;
	text-decoration: none;
}

img {
	width: 100%;
	border: 4px solid #39402A;
}

h2 {
	font-size: 2em;
	text-align: center;
}

h3 {
	font-size: 1.2em;
}

.secret h3{
	padding: 5% 2% 2%;
}

span {
	display: block;
	font-weight: bold;
	font-size: 2em;
}

header {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	position: fixed;
	top: 0;
	left: 0;
	padding-top: 1%;
	background-color: #A69281;
	border-bottom: 4px solid #39402A;
}

.case {
	padding: 1% 0 0 2%;
	font-size: 2em;
	font-family: "Brush Script MT";
}

nav {
	text-align: center;
	font-family: "Brush Script MT";
}

nav ul {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

nav li {
	font-family: "Courier New";
	padding: 10%;
	background-image: url("img/files.png");
	background-size: cover;
	background-repeat: no-repeat;
	transition: color 0.3s ease-in-out;
}

nav li {
	color: #BF1F1F;
}


header nav li{
	transition: height 0.3s ease-in-out;

}

header nav li:hover {
	height: 100%;
}

nav a {
	color: #261B15;
}

nav a:hover,
nav a:focus {
	/*color: #D99441;*/
}

footer {
	text-align: center;
	padding: 1%;
	background-color: #A69281;
}

.title {
	padding: 5% 1% 4% 1%;
	/*margin-bottom: 5%;*/
	border-bottom: 2px dashed #261B15;
}

.wrapper {
	margin: auto;
	padding: 5%;
	width: 90%;
	max-width: 1000px;
}

.container {
	padding-top: 9%;
}

.container span {
	padding-bottom: 2%;
}

.container p {
	padding: 0 3% 3%;
}

.container a,
.written a {
	color: #261B15;
	text-shadow: 1px 0px rgba(38, 27, 21, 50%);
	transition: color 0.3s ease-in-out, font-size 2.5s ease-in-out;
}

.container a:hover,
.written a:hover {
	font-size: 150%;
	color: #BF1F1F;
}

#index {
	padding-top: 5%;
	width: 95%;
}

.letter {
	width: 95%;
	height: 95%;
	margin: 5% auto;
	padding: 10% 1.5%;
	background-image: url("img/letter.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.written {
	padding: 1%;
	margin: auto;
	width: 60%;
}

.written span {
	font-size: 22px;
}

#hsecrets,    /*Body of the secrets.html*/
#bsecrets {
	height: 100%;
	overflow: hidden;
}

#crumbled .letter {
	height: 90%;
	padding: 5%;
	margin: 3% 1%;
	font-family: 'Caveat', cursive;
}

#crumbled .letter span {
	padding: 2%;
	font-weight: revert;
	font-size: 24px;
}

#baby {
	padding: 5% 5% 0;
	display: block;
	margin: auto;
	text-align: center;
}

#baby nav {
	padding: 2% 20% 0;
}

#baby nav ul{
	grid-template-columns: 1fr 1fr 1fr;
	border-bottom: 4px solid #734014;
}

#ripped {
	height: 95%;
	padding: 1%;
	margin: auto;
	font-family: 'Caveat', cursive;
	background-color: #8C4F2B;
}

#ripped span {
	font-size: 20px;
}

/*Tablet Styles*/

	@media only screen and (width: 768px) {
		#letter {
			width: 85%;
			background-repeat: no-repeat;
			background-position: center;
		}
		.written {
			margin: auto;
			font-size: 18px;
		}
	}

/*Laptop Styles*/
	
	@media only screen and (min-width:1024px) {
		.container {
			display: grid;
			grid-template-columns: 1fr 1fr;
			gap: 1%;
		}

		#letter {
			width: 95%;
			background-size: contain;
			background-repeat: no-repeat;
			background-position: center;
		}

		.written {
			margin: auto;
			width: 60%;
		}


		}
