/*
color palette
	red:    rgb(152,5,9)
	orange: rgb(254,154,43)
	green:  rgb(13,153,33)
*/

body {
	background-color: rgb(152,5,9);
}

.content {
	background-color: rgb(254,154,43);
	border-radius: 12px;
	margin: 1rem auto;
	max-width: 910px;
	min-height: 300px;
	min-width: 300px;
	padding-bottom: 0.125rem;
	width: 90%;
}

button.btn-top,
button.btn-print {
	color: rgb(152,5,9);
	font-weight: bold;
	margin: 0.5em;
	width: 100%;
}

.nav-back {
	width: 100%;
	text-align: center;
	padding-bottom: 1em;
}
.nav-back button {
	background-color: rgb(13,153,33);
	color: rgb(246,228,73);
	font-weight: bold;
	width: 25%;
}

.nav-main {
	background-color: rgb(13,153,33);
	border-radius: 12px 12px 0 0;
	min-height: 4.5rem;
	padding-bottom: 0.5rem;
	text-align: center;
}
.nav-main h1 {
	border-radius: 12px 12px 0 0;
	color: white;
	font-family: 'Fredericka the Great', cursive;
	font-size: 2.5rem;
	padding: 0.75rem;
}
.nav-main ul,
ul.brincadeiras {
	min-height: 4.5rem;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}
.nav-main ul li,
ul.brincadeiras li {
	font-family: 'Acme', sans-serif;
	font-size: 1.125rem;
	margin: 0 auto;
	min-width: 300px;
	text-align: center;
}
ul.brincadeiras li {
	min-width: 200px;
	-webkit-order: 0;
	-ms-flex-order: 0;
	order: 0;
	-webkit-flex: 0 1 200px;
	-ms-flex: 0 1 200px;
	flex: 0 1 200px;
	-webkit-align-self: auto;
	-ms-flex-item-align: auto;
	align-self: auto;
}
.nav-main ul li a {
	border: 1px solid rgb(13,153,33);
	border-radius: 3px;
	color: rgb(246,228,73);
	display: block;
	height: 100%;
	padding: 0.25rem;
	letter-spacing: 1px;
	margin: 0 auto;
  text-shadow:
   -1px -1px 1px rgb(152,5,9),  
    1px -1px 1px rgb(152,5,9),
    -1px 1px 1px rgb(152,5,9),
     1px 1px 1px rgb(152,5,9);
	transition: all 0.3s;
	width: 96%;
}
.nav-main ul li a:hover {
	background-color: rgb(152,5,9);
	border: 1px solid rgba(0,0,0,.3);
  text-shadow: none;
}

ul.brincadeiras li {
	cursor: pointer;
	padding: 0.5em 0;
}

ul.brincadeiras li a {
	color: rgb(152,5,9);
}

section img {
	display: block;
  margin: 0.5rem auto;
}
section h1 {
	color: white;
	font-family: 'Acme', sans-serif;
	font-size: 1.5rem;
	letter-spacing: 1px;
	margin: 0.75rem 0.75rem 0 0.75rem;
  text-shadow:
   -2px -2px 2px rgb(152,5,9),  
    2px -2px 2px rgb(152,5,9),
   -2px  2px 2px rgb(152,5,9),
    2px  2px 2px rgb(152,5,9);
}
section p {
	font-weight: bold;
	margin: 0;
	padding: 1em;
}
section.card {
	background-color: white;
	border-top: 3px solid rgb(152,5,9);
	border-bottom: 3px solid rgb(152,5,9);
	border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
	margin: 0.5rem;
	padding: 1.5rem 1.5rem 1rem 1.5rem;
	position: relative;
}
section.card h1 {
	color: rgb(152,5,9);
	letter-spacing: 0;
	margin: 0;
	margin-bottom: 0.75rem;
	text-shadow: none;
}
section.card p {
	font-weight: normal;
	margin-bottom: 1rem;
	padding: 0;
}
section.card p strong {
	color: rgb(152,5,9);
	font-size: 1.125rem;
}
section.card a {
	color: rgb(13,153,33);
	font-weight: bold;
}
section.card div.print {
	color: rgb(13,153,33);
	cursor: pointer;
	font-size: 0.825rem;
	margin-bottom: 1rem;
	text-align: center;
	width: 100%:
}
section.card.jogos,
section.parlendas {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
	-webkit-align-items: flex-start;
	-ms-flex-align: start;
	align-items: flex-start;
}
section.card.jogos p,
section.parlendas .card {
	-webkit-order: 0;
	-ms-flex-order: 0;
	order: 0;
	-webkit-flex: 0 1 240px;
	-ms-flex: 0 1 240px;
	flex: 0 1 240px;
	-webkit-align-self: auto;
	-ms-flex-item-align: auto;
	align-self: auto;
}
section.card.jogos p {
	margin: 0 2em;
}
section.card.jogo {
	border: none;
	overflow: hidden;
	padding: 0;
	position: relative;
	z-index: 9999;
}
section.card div.flash{
	width: 100%;

}
section.card div.flash:before{
    content: "";
    display: block;
    padding-top: 75%;
}
section.card div.flash div {
	position: absolute;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
}

/* for personagens coloring pages */
div.printPage {
	display: none;
}

/* print setting for all pages */
@media print {
	body {
		background-color: white;
	}
	section h1 {
		color: black;
		text-shadow: none;
	}
	
	.pageBreak {
		page-break-after: always;
	}

	.nav-main,
	.nav-back,
	.noPrint,
	button.btn-top,
	button.btn-print {
		display: none;
	}
	
	.content {
		background-color: white;
		border: none;
		box-shadow: none;
	}
	section.card {
		background-color: white;
		border: 1px solid lightgray;
		box-shadow: none;
	}
	
	div.printPage {
		display: block;
		margin: 0;
		padding: 0;
		position: absolute;
			top: 0;
			left: 0;
		text-align: center;
		width: 100%;
	}
	div.printPage h1 {
		color: black;
		font-family: 'Acme', sans-serif;
		font-size: 3em;
		margin: 1em;
	}
	div.printPage img {
		width: 100%;
	}
}

/* settings for different screen sizes */
@media only screen and (min-width: 600px) {
	.personagens .card {
		min-height: 230px;
	}
	.personagens .print {
		float: left;
		margin: 0 1.5em 0 0;
	}
}

@media only screen and (min-width: 800px) {
	.nav-main h1 {
		float: left;
	}
	.nav-main ul {
		padding: 0.5em 0 0 0.5em;
	}
	.nav-main ul li {
		font-size: 1rem;
		min-width: 120px;
		margin: 0;
	}
	.nav-main ul li:nth-child(1),
	.nav-main ul li:nth-child(4) {
		min-width: 200px;
	}
	.nav-main ul li a:hover {
		background-color: rgb(13,153,33);
		border: 1px solid rgb(13,153,33);
		color: rgb(246,228,73);
	  text-shadow:
		 -1px -1px 1px rgb(152,5,9),  
			1px -1px 1px rgb(152,5,9),
		 -1px  1px 1px rgb(152,5,9),
			1px  1px 1px rgb(152,5,9);
	}
	.main {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-align-content: stretch;
		-ms-flex-line-pack: stretch;
		align-content: stretch;
		-webkit-align-items: flex-start;
		-ms-flex-align: start;
		align-items: flex-start;
	}
	.main img {
		margin-right: 1em;
	}
}

@media only screen and (min-width: 860px) {
	.nav-main ul li {
		font-size: 1.125rem;
	}
	.nav-main ul li {
		min-width: 130px;
	}
	.nav-main ul li:nth-child(1),
	.nav-main ul li:nth-child(4) {
		min-width: 230px;
	}
}

@media only screen and (min-width: 960px) {
	.nav-main ul li {
		font-size: 1.25rem;
	}
	.nav-main ul li {
		min-width: 160px;
	}
	.nav-main ul li:nth-child(1),
	.nav-main ul li:nth-child(4) {
		min-width: 260px;
	}
}
