*{
	margin: 0;
	padding: 0;

}
body {
		font-size: 14px;
		width: 100%;
		height: 100%;
		font-family: 'Roboto', sans-serif;

		display: flex;
		flex-direction: column;

}
.contenedor{
	width: 100%;
	height: 100%;
	background: #ffffe8;

	display: flex;
	flex-direction: column;

}
.cabezera {
		width: 100%;
		height: 160px;
		background: #F9B233;
		padding: 0 5%;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;

		display: flex;
		justify-content: space-between;
		align-items: center;
}
h1 {
		color: darkblue;
		font-weight: 500;
}
h3 {
		color: #fff;
		font-weight: 300;
}

h2 {
		color: forestgreen;
}

.cerrar {
		font-weight: 700;
		text-decoration: none;
		font-size: 20px;
		padding-top: 20px;
		color: darkblue;
}
.container {
		width: 100%;
		height: 600px;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-flow: column nowrap;
		flex-flow: column nowrap;
		-webkit-align-content: space-between;
		align-content: space-between;
		background: #ffffd1;
}

.containerb {
		width: 100%;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-flow: row wrap;
		flex-flow: row wrap;
}

.titulo {
		margin-top: 10px;
		flex: 1;
		width: 100%;
		text-align: center;
}

.centro {
		flex: 2;
		width: 100%;
		height: 600px;
		text-align: center;

}

.pie-pagina {

		bottom: 0;
		width: 100%;
		height: 40px;
		background: #1E3D87;
/*		position: absolute;*/
		display: flex;
		align-items: center;
		justify-content: center;
}
.pie-pagina p {
		color: #fff;
}

.left {
		flex: 1 1 600px;
}

.right {
		flex: 1 1 150px;
		margin-bottom: 250px;
}

.box {
		width: 100%;
		height: 50px;
}

.table-fill {
		background: #9377c9;
		border-radius: 3px;
		border-collapse: collapse;
		margin: 50px auto;
		max-width: 300px;
		padding: 5px;
		width: 100%;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		animation: float 5s infinite;
}

.table-fill th {
		color: #D5DDE5;|
		;
		background: #1c58d0;
		border-bottom: 4px solid #59a2e3;
		border-right: 1px solid #27a8b9;
		padding: 24px;
		text-align: left;
		text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
		vertical-align: middle;
		text-align: center;
		font-size: 16px;
}

.table-fill th:first-child {
		border-top-left-radius: 3px;

}

.table-fill th:last-child {
		border-top-right-radius: 3px;
		border-right: none;

}

.table-fill tr {
		border-top: 1px solid #C1C3D1;
		border-bottom: 1px solid #C1C3D1;
		color: #0f2ed4;
		font-size: 16px;
		font-weight: 800;
		font-weight: normal;
		text-shadow: 0 1px 1px rgba(256, 256, 256, 0.1);
}

.table-fill tr:first-child {
		border-top: none;
}

.table-fill tr:last-child {
		border-bottom: none;
}

.table-fill tr:last-child td:first-child {
		border-bottom-left-radius: 3px;
}

.table-fill tr:last-child td:last-child {
		border-bottom-right-radius: 3px;
}

.table-fill td {
		background: #dbe56a;
		padding: 20px;
		margin: 0 auto;
		vertical-align: middle;
		font-weight: 300;
		text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.1);
		border-right: 1px solid #C1C3D1;
}

.table-fill td:last-child {
		border-right: 0px;
}

.table-fill th.text-left {
		text-align: left;

}

.table-fill th.text-center {
		text-align: center;

}

.table-fill th.text-right {
		text-align: right;
}

.table-fill td.text-left {
		text-align: left;
}

.table-fill td.text-center {
		text-align: center;
}

.table-fill td.text-right {
		text-align: right;
}

#tabla {
		width: 100%;
		height: 100%;

		padding: 40px 20px;
}

#tabla img {
		width: 150px;
		cursor: pointer;
}

#gif {
		width: 40%;
		height: 40%;
}

.ghost-button {
		display: inline-block;
		width: 300px;
		height: 100px;
		padding: 8px;
		color: #2DA956;
		background-color: #C1F8D3;
		border: 2px solid #C1F8D3;
		text-align: center;
		outline: none;
		text-decoration: none;
		transition: color 0.3s ease-out, background-color 0.3s ease-out, border-color 0.3s ease-out;
		border-radius: 5px;
		margin: 10px;
		font-size: 20px;
}

.ghost-button:hover,
.ghost-button:active {
		background-color: #03E74F;
		border-color: #03E74F;
		color: #fff;
		transition: color 0.3s ease-in, background-color 0.3s ease-in, border-color 0.3s ease-in;
}

.inst {
		color: #F78E61;
		background-color: #F7F761;
		border: 2px solid #F7F761;
}

.inst:hover,
.inst:active {
		background-color: #F78E61;
		border-color: #F78E61;
}

.restart {
		width: 80%;
		height: 100px;
		color: #443EFF;
		background-color: #9E9BFF;
		border: 2px solid #9E9BFF;
}

.restart:hover,
.restart:active {
		background-color: #352FD9;
		border-color: #352FD9;
}

.ocultar{
		display: none;
}

/* Figuras */
.cuadrado {
	width: 100px;
	height: 100px;
	background: #E289FA;
		margin: 0 auto;
}

.rectangulo {
	width: 150px;
	height: 100px;
	background: #E289FA;
		margin: 0 auto;
}

.circulo {
	width: 100px;
	height: 100px;
	background: #E289FA;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
		margin: 0 auto;
}

.triangulo {
	width: 0;
	height: 0;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-bottom: 100px solid #E289FA;
		margin: 0 auto;
}

.trapecio {
		margin: 0 auto;
	border-bottom: 100px solid #E289FA;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	height: 0;
	width: 100px;
}

.pentagono {
		position: relative;
		width: 54px;
		border-width: 50px 18px 0;
		border-style: solid;
		border-color: #E289FA transparent;
		margin: 30px auto 0;
}
.pentagono:before {
		content: "";
		position: absolute;
		height: 0;
		width: 0;
		top: -85px;
		left: -18px;
		border-width: 0 45px 35px;
		border-style: solid;
		border-color: transparent transparent #E289FA;
}

.hexagono {
		margin: 20px auto;
	width: 100px;
	height: 55px;
	background: #E289FA;
	position: relative;
}
.hexagono:before {
	content: "";
	position: absolute;
	top: -25px;
	left: 0;
	width: 0;
	height: 0;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-bottom: 25px solid #E289FA;
}
.hexagono:after {
	content: "";
	position: absolute;
	bottom: -25px;
	left: 0;
	width: 0;
	height: 0;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-top: 25px solid #E289FA;
}

.octagono {
	width: 100px;
	height: 100px;
	background: #E289FA;
	position: relative;
		margin: 0 auto;
}

.octagono:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	border-bottom: 29px solid #E289FA;
	border-left: 29px solid #FFFFFF;
	border-right: 29px solid #FFFFFF;
	width: 42px;
	height: 0;
}

.octagono:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	border-top: 29px solid #E289FA;
	border-left: 29px solid #FFFFFF;
	border-right: 29px solid #FFFFFF;
	width: 42px;
	height: 0;
}

.rombo {
	width: 0;
	height: 0;
	border: 50px solid transparent;
	border-bottom-color: #E289FA;
	position: relative;
	top: -50px;
		margin: 0 auto;
}
.rombo:after {
	content: '';
	position: absolute;
	left: -50px;
	top: 50px;
	width: 0;
	height: 0;
	border: 50px solid transparent;
	border-top-color: #E289FA;
}
