body {
	margin: 40px;
	font-family: 'averia libre', sans-serif;
}

* {
	box-sizing: border-box;
}

#gryffindor {
	position: relative;
	background: #ad0709;
	margin-bottom: 3px;
	width: 400px;
	text-align: justify;
	border-color: #000;
	border-width: 3px;
	border-style: none;
	box-shadow: 0 0 5px #DF0101;
}

#hufflepuff {
	position: relative;
	background: #FFbf00;
	margin-bottom: 3px;
	width: 400px;
	text-align: justify;
	border-color: #000;
	border-width: 3px;
	border-style: none;
	box-shadow: 0 0 5px #FACC2E;
}
#ravenclaw {
	position: relative;
	background: #08298A;
	margin-bottom: 3px;
	width: 400px;
	text-align: justify;
	border-color: #000;
	border-width: 3px;
	border-style: none;
	box-shadow: 0 0 5px #0000FF;
}	

#slytherin {
	position: relative;
	background: #0B7D0B;
	margin-bottom: 3px;
	width: 400px;
	text-align: justify;
	border-color: #000;
	border-width: 3px;
	border-style: none;
	box-shadow: 0 0 5px #15D615;
}

input[type=checkbox] {
	display: none;
}

label {
	position: relative;
	display: inline-block;
	width: 300px;
	padding-left: 20px;
	color: #000000;
	font-weight: 700;
	font-size: 1em;
	border-radius: 0px;
	cursor: pointer;
}

label:hover {
	font-weight: bold;
	color: #ffffff;
}

label:before {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	top: 50%;
	left: 0px;
	margin-top: -12px;
	border-left: 8px solid transparent;
	border-top: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid transparent;
}

input[type=checkbox]:checked ~ label:before {
	margin-left: -4px;
	margin-top: -4px;
	border-left: 4px solid transparent;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-right: 4px solid transparent;
}

label2 {
	position: relative;
	display: inline-block;
	width: 50px;
	padding-right: 20px;
	text-align: right;
	color: #000000;
	font-weight: 700;
	font-size: 1em;
	border-radius: 0px;
	cursor: default;
}

label2:hover {
	font-weight: bold;
	color: #ffffff;
}

input[type=checkbox]:checked ~ label2:before {
	margin-left: -4px;
	margin-top: -4px;
	border-left: 4px solid transparent;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-right: 4px solid transparent;
}


p1 {
	width: 410px;
	display: none;
	margin-top: 2px;
	margin-left: -5px;
	margin-right: -5px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	background: #A50808;
	color: #ffffff;
	text-align: justify;
	font-weight: 400;
	font-size: 1em;
	border-radius: 5px;
	box-shadow: 0 0 20px #DF0101;
}

input[type=checkbox]:checked ~ p1 {
	display: block;
}

p2 {
	width: 410px;
	display: none;
	margin-top: 2px;
	margin-left: -5px;
	margin-right: -5px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	background: #dba901;
	color: #ffffff;
	text-align: justify;
	font-weight: 400;
	font-size: 1em;
	border-radius: 5px;
	box-shadow: 0 0 20px #FACC2E;
}

input[type=checkbox]:checked ~ p2 {
	display: block;
}
p3 {
	width: 410px;
	display: none;
	margin-top: 2px;
	margin-left: -5px;
	margin-right: -5px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	background: #082681;
	color: #ffffff;
	text-align: justify;
	font-weight: 400;
	font-size: 1em;
	border-radius: 5px;
	box-shadow: 0 0 20px #0000FF;
}

input[type=checkbox]:checked ~ p3 {
	display: block;
}

p4 {
	width: 410px;
	display: none;
	margin-top: 2px;
	margin-left: -5px;
	margin-right: -5px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	background: #0B710B;
	color: #ffffff;
	text-align: justify;
	font-weight: 400;
	font-size: 1em;
	border-radius: 5px;
	box-shadow: 0 0 20px #15D615;
}

input[type=checkbox]:checked ~ p4 {
	display: block;
}