
* {
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	text-align: center;
}

h1 {
	font-size: 40px;
}

.submit {
	margin-top: 2em;
	font-size: 16px;
	padding: 1em 3em;
	background: #BADA55;
	color: #000;
}

.submit:disabled {
	background: #C5DA83;
	color: #666;
}

.wrapper {
	width: 1080px;
	margin: 0 auto;
}

.card {
	display: table-cell;
	width: 170px;
	height: 119px;
	border: 3px solid #ccc;
	background: #F5F5F5;


}

.card:hover {
	border-color: #e2e2e2;
}

.selected {
	background: lightgrey;
}

.game-board44 {
	margin-top: -16%;
	height: auto;
	width: auto;
	transform: rotate(90deg);
	position: center;
}

.game-board3 {

	margin-left: -15%;
	height: 1000px;
	width: 1700px;
	position: center;


}


.game-board4 {

	margin-left: -25%;
	height: 1000px;
	width: 1700px;
	position: center;


}



.game-board2 {
	margin-top: -1%;
	margin-left: 15%;
	height: 800px;
	width: 780px;
	transform: rotate(90deg);
	position: center;
}
.game-board {
	margin-top: -3%;
	margin-left: 16%;
	height: 700px;
	width: 600px;
	transform: rotate(90deg);
	position: center;
}
.game-board0 {
	margin-top: 5%;
	margin-left: 12%;
	height: 595px;
	width: 600px;
	transform: rotate(90deg);
	position: center;


}
.game-board1 {
	margin-top: -3%;
	height: 800px;
	width: 700px;
	margin-left: 25%;
	transform: rotate(90deg);
	position: center;
}

.game-boardHS0 {
	margin-top: -4%;
	margin-left: 19%;
	height: auto;
	width: auto;
	transform: rotate(90deg);
	position: center;

}

.game-boardHS {
	margin-left: 2%;
	height: 800px;
	width: 800px;
	transform: rotate(90deg);
	position: center;
}
.game-boardHS1 {
	margin-top: -0.5%;
	margin-left: 2%;
	height: 800px;
	width: 800px;
	transform: rotate(90deg);
	position: center;
}

.game-boardHS2 {
	margin-top: -0.5%;
	margin-left: 5%;
	height: 800px;
	width: 800px;
	transform: rotate(90deg);
	position: center;
}

.shape {
	display: inline-block;
	width: 30px;
	height: 68px;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: 15px;
	margin-top: 16%;
}



.diamond {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
}



.diamond.red.stripped {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, red, red 8px, white 8px, white 15px);
	border: 2px solid red;
}
.diamond.lightblue.stripped {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, #6495ED, #6495ED 8px, white 8px, white 15px);
	border: 2px solid #6495ED;
}
.diamond.yellow.stripped {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, saddlebrown, saddlebrown 8px, white 8px, white 15px);
	border: 2px solid saddlebrown;
}
.diamond.green.stripped {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, green, green 8px, white 8px, white 15px);
	border: 2px solid green;
}
.diamond.purple.stripped {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, purple, purple 8px, white 8px, white 15px);
	border: 2px solid purple;
}





.diamond.red.stripped.rond{
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, red, red 7px, white 8px, white 15px);
	border: 10px dotted black;


}

.diamond.lightblue.stripped.rond{
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, #6495ED, #6495ED 6px, white 7px, white 14px);
	border: 10px dotted black;

}

.diamond.yellow.stripped.rond{
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, saddlebrown, saddlebrown 6px, white 7px, white 14px);
	border: 10px dotted black;

}

.diamond.green.stripped.rond {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, green, green 6px, white 8px, white 14px);
	border: 10px dotted black;

}

.diamond.purple.stripped.rond {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, purple, purple 6px, white 8px, white 14px);
	border: 10px dotted black;
}










.diamond.red.stripped.point{
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, red, red 6px, white 7px, white 14px);
	border: 4px dashed black;

}

.diamond.lightblue.stripped.point{
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, #6495ED, #6495ED 6px, white 7px, white 14px);
	border: 4px dashed black;

}

.diamond.yellow.stripped.point{
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, saddlebrown, saddlebrown 6px, white 7px, white 14px);
	border: 4px dashed black;

}

.diamond.green.stripped.point {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, green, green 6px, white 7px, white 14px);
	border: 4px dashed black;

}

.diamond.purple.stripped.point {
	transform: rotate(-67deg) skewX(-45deg) scaleY( 0.40);
	width: 38px;
	background: repeating-linear-gradient(25deg, purple, purple 6px, white 7px, white 14px);
	border: 4px dashed black;
}


.diamond.solid.purple.point{

	border: 4px dashed black;
}

.diamond.solid.green.point{
	border: 4px dashed black;
}
.diamond.solid.red.point{
	border: 4px dashed black;
}
.diamond.solid.lightblue.point{
	border: 4px dashed black;
}
.diamond.solid.purple.point{
	border: 4px dashed black;
}
.diamond.solid.yellow.point{
	border: 4px dashed black;
}



.diamond.green.quadrillage{
	background-color: green;
	background-image:
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 20px 19px;
	background-position: 0 0, 10px 10px;
	border: 2px solid green;
}
.diamond.red.quadrillage{
	background-color: red;
	background-image:
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 20px 19px;
	background-position: 0 0, 10px 10px;
	border: 2px solid red;
}
.diamond.yellow.quadrillage{
	background-color: saddlebrown;
	background-image:
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 20px 19px;
	background-position: 0 0, 10px 10px;
	border: 2px solid brown;
}

.diamond.lightblue.quadrillage{
	background-color: #6495ED;
	background-image:
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 20px 19px;
	background-position: 0 0, 10px 10px;
	border: 2px solid #6495ED;
}
.diamond.purple.quadrillage{
	background-color: purple;
	background-image:
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(-35deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 20px 19px;
	background-position: 0 0, 10px 10px;
	border: 2px solid purple;
}












.wave {
	border-radius: 15px 180px 15px 180px;
	transform: rotate(1deg) skewX(0.5deg) scaleX(0.8);
	width: 38px;


}








.oval {
	border-radius: 40px / 50px;
	transform: rotate(0.5deg) skewX(1deg) scaleX(0.8);
	width: 38px;

}








.rectangle{
	transform: rotate(0.5deg) skewX(1deg) scaleX(0.8);
	width: 38px;

}







.triangle{
	clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
	width: 38px;

}


/*
$colors = array('green', 'red', 'purple', 'lightblue', 'yellow');
$shapes = array('oval', 'diamond', 'wave', 'rectangle','triangle');
$fills = array('solid', 'stripped', 'open', 'quadrillage','pointille');
$borders = array('plein', 'point', 'rond', 'zigzag','hachure');

*/








.green.pointille{
	background-image: radial-gradient(green 40%, #F5F5F5 40%),
	radial-gradient(green 20%, #F5F5F5 20%),
	radial-gradient(#fafafa 10%, transparent 10%);
	background-position: 0 0, 1px 1px;
	background-size: 15px 15px;
	border: 2px solid green;
}

.red.pointille{
	background-image: radial-gradient(red 40%, #F5F5F5 40%),
	radial-gradient(red 20%, #F5F5F5 20%),
	radial-gradient(#fafafa 10%, transparent 10%);
	background-position: 0 0, 1px 1px;
	background-size: 15px 15px;
	border: 2px solid red;

}
.yellow.pointille{
	background-image: radial-gradient(saddlebrown 40%, #F5F5F5 40%),
	radial-gradient(saddlebrown 20%, #F5F5F5 20%),
radial-gradient(#fafafa 10%, transparent 10%);
	background-position: 0 0, 1px 1px;
	background-size: 15px 15px;
	border: 2px solid saddlebrown;
}
.lightblue.pointille{
	 background-image: radial-gradient(#6495ED 40%, #F5F5F5 40%),
	 radial-gradient(#6495ED 20%, #F5F5F5 20%),
	 radial-gradient(#fafafa 10%, transparent 10%);
	background-position: 0 0, 1px 1px;
	background-size: 15px 15px;
	border: 2px solid #6495ED;


 }
.purple.pointille{
	background-image: radial-gradient(purple 40%, #F5F5F5 40%),
	radial-gradient(purple 20%, #F5F5F5 20%),
	radial-gradient(#fafafa 10%, transparent 10%);
	background-position: 0 0, 1px 1px;
	background-size: 15px 15px;
	border: 2px solid purple;


}







.green.quadrillage{
	background-color: green;
	background-image:
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 15px 15px;
	background-position: 0 0, 8px 8px;
	border: 2px solid green;
}
.red.quadrillage{
	background-color: red;
	background-image:
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 15px 15px;
	background-position: 0 0, 8px 8px;
	border: 2px solid red;
}
.yellow.quadrillage{
	background-color: saddlebrown;
	background-image:
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 15px 15px;
	background-position: 0 0, 8px 8px;
	border: 2px solid brown;
}

.lightblue.quadrillage{
	background-color: #6495ED;
	background-image:
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 15px 15px;
	background-position: 0 0, 8px 8px;
	border: 2px solid #6495ED;
}
.purple.quadrillage{
	background-color: purple;
	background-image:
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%),
			linear-gradient(45deg, white 25%, transparent 25%, transparent 75%, white 75%);
	background-size: 15px 15px;
	background-position: 0 0, 8px 8px;
	border: 2px solid purple;
}








.green.rond.open{
	border-style: dotted;
	border-color: green;
	border-width: 7px;

}
.lightblue.rond.open {
	border-style: dotted;
	border-color: #6495ED;
	border-width: 7px;
}

.purple.rond.open {
	border-style: dotted;
	border-color: purple;
	border-width: 7px;
}

.yellow.rond.open {
	border-style: dotted;
	border-color: saddlebrown;
	border-width: 7px;
}

.red.rond.open {
	border-style: dotted;
	border-color: red;
	border-width: 7px;
}










.green.point.open{
	border-style: dashed;
	border-color: green;
}
.red.point.open{
	border-style: dashed;
	border-color: red;
}
.lightblue.point.open{
	 border-style: dashed;
	 border-color: #6495ED;
 }
.purple.point.open{
	border-style: dashed;
	border-color: purple;
}
.yellow.point.open{
	border-style: dashed;
	border-color: saddlebrown;
}











.green.solid {
	background: green;
}


.lightblue.solid {
	background: #6495ED;
}

.red.solid {

	background: red;
}
.purple.solid {
	background: purple;
}

.yellow.solid {
	background: saddlebrown;
}












.solid.plein {
	border: 2px solid black;
}
.solid.rond {
	border-style: dotted;
	border-color: black;
	border-width: 7px;
}


.quadrillage.rond{
	border-style: dotted;
	border-color: black;
	border-width: 7px;
}
.quadrillage.plein{
	border: 2px solid black;
}


.pointille.rond{
	border-style: dotted;
	border-color: black;
	border-width: 7px;
}
.pointille.plein{
	border: 2px solid black;
}

.pointille.point{
	border-style: dashed;
	border-color: black;
	border-width: 2px;
}


.solid.point{
	border-style:  dashed;
	border-color: black;
	border-width: 2px;
}

.quadrillage.point{
	border-style: dashed;
	border-color: black;
	border-width: 2px;
}











.red.open{
	border: 2px solid red;
}


.green.open{
	border: 2px solid green;
}

.lightblue.open {
	border: 2px solid #6495ED;
}

.yellow.open {
	border: 2px solid saddlebrown;
}

.purple.open {
	border: 2px solid purple;
}





.red.stripped{
	background: repeating-linear-gradient(-45deg, red, red 5px, white 5px, white 10px);
	border: 2px solid red;

}

.lightblue.stripped{
	background: repeating-linear-gradient(-45deg, #6495ED, #6495ED 5px, white 5px, white 10px);
	border: 2px solid #6495ED;

}

.yellow.stripped{
	background: repeating-linear-gradient(-45deg, saddlebrown, saddlebrown 5px, white 5px, white 10px);
	border: 2px solid saddlebrown;

}

.green.stripped {
	background: repeating-linear-gradient(-45deg, green, green 5px, white 5px, white 10px);
	border: 2px solid green;

}

.purple.stripped {
	background: repeating-linear-gradient(-45deg, purple, purple 5px, white 5px, white 10px);
	border: 2px solid purple;
}











.red.stripped.rond{
	background: repeating-linear-gradient(-45deg, red, red 5px, white 5px, white 10px);
	border: 7px dotted black;


}

.lightblue.stripped.rond{
	background: repeating-linear-gradient(-45deg, #6495ED, #6495ED 5px, white 5px, white 10px);
	border: 7px dotted black;

}

.yellow.stripped.rond{
	background: repeating-linear-gradient(-45deg, saddlebrown, saddlebrown 5px, white 5px, white 10px);
	border: 7px dotted black;

}

.green.stripped.rond {
	background: repeating-linear-gradient(-45deg, green, green 5px, white 5px, white 10px);
	border: 7px dotted black;

}

.purple.stripped.rond {
	background: repeating-linear-gradient(-45deg, purple, purple 5px, white 5px, white 10px);
	border: 7px dotted black;
}










.red.stripped.point{
	background: repeating-linear-gradient(-45deg, red, red 5px, white 5px, white 10px);
	border: 2px dashed black;

}

.lightblue.stripped.point{
	background: repeating-linear-gradient(-45deg, #6495ED, #6495ED 5px, white 5px, white 10px);
	border: 2px dashed black;

}

.yellow.stripped.point{
	background: repeating-linear-gradient(-45deg, saddlebrown, saddlebrown 5px, white 5px, white 10px);
	border: 2px dashed black;

}

.green.stripped.point {
	background: repeating-linear-gradient(-45deg, green, green 5px, white 5px, white 10px);
	border: 2px dashed black;

}

.purple.stripped.point {
	background: repeating-linear-gradient(-45deg, purple, purple 5px, white 5px, white 10px);
	border: 2px dashed black;
}





.zigzag.solid{
	border: 8px double black;
}

.zigzag.quadrillage{
	border: 8px double black;
}
.zigzag.stripped{
	border: 8px double black;
}

.zigzag.green.open{
	border: 8px double green;
}
.zigzag.red.open{
	border: 8px double red;
}
.zigzag.purple.open{
	border: 8px double purple;
}
.zigzag.lightblue.open{
	border: 8px double lightblue;
}

.zigzag.yellow.open{
	border: 8px double saddlebrown;
}




.hachure.solid{
	border: 6px ridge #696969;
}

.hachure.quadrillage{
	border: 6px ridge #696969;
}
.hachure.stripped{
	border: 6px ridge #696969;
}

.hachure.green.open{
	border: 6px ridge green;
}
.hachure.red.open{
	border: 6px ridge red;
}
.hachure.purple.open{
	border: 6px ridge purple;
}
.hachure.lightblue.open{
	border: 6px ridge #6495ED;
}

.hachure.yellow.open{
	border: 6px ridge saddlebrown;
}



