/* 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;
}

html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Real stuff */


.game {
	margin: 0 auto;
	background: url('../img/board.jpg') 50% 50% no-repeat;
	background-size: cover;
	color: #373737;
}

.canvas {
	width: 100%;
	padding-top: 100%;
	position: relative;
}

.canvas .dice {
	position: absolute;
	background: url('../img/dice-white-1.gif') 50% 50% no-repeat;
	background-size: cover;
}

.canvas .chip {
	position: absolute;
	background: url('../img/white.png') 50% 50% no-repeat;
	background-size: cover;
}

.canvas .chip.active {
	animation: blink 1s infinite;
	-webkit-animation: blink 1s infinite;
}

.canvas .move-zone {
	position: absolute;
	background: transparent;
}

.canvas .move-zone.active {
	background: rgba(0,0,0,0.2);
}

.canvas .chip.black {
	background-image: url('../img/black.png');
}

.player {
	padding: 5px 5px 20px 5px;
	position: relative;
}

.player:last-child {
	padding: 20px 5px 5px 5px;	
}

.player .avatar {
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
	border-radius: 50%;
	float: left;
	border: 5px solid white;
}

.player .bubble {
	height: 100%;
	float: left;
	background: #e9dac3;
}

.player .bubble h2 {
	font-size: 20px;
	font-weight: bold;
}

.player .bubble .speech {
	margin-top: 10px;
}

.player.female .avatar {
	border-color: #FFDFF8;
}

.player.male .avatar {
	border-color: #cfdcff;
}

.player.female .bubble {
	background: #FFDFF8;
	font-family: 'Bad Script', cursive;
}

.player.male .bubble {
	background: #cfdcff;
	font-family: 'Press Start 2P', cursive;
}


.player.female a {
	position: absolute;
	border-radius: 50%;
	background: green;
	bottom: 10%;
	right: 20%;
	color: white;
	text-align: center;
}

.player.female .out-zone {
	position: absolute;
	background: #84ff84;
	text-align: center;
	color: #373737;
	font-family: 'Bad Script', cursive;
	display: none;
}

.player.female .out-zone.active {
	display: block;
}

.player.female a.btn-reset {
	background: blue;
}

@keyframes blink {
  50% {
    opacity: 0.0;
  }
}
@-webkit-keyframes blink {
  50% {
    opacity: 0.0;
  }
}

.slider {
	background: black;
	text-align: center;
}

.slider a,
.slider h3,
.slider h2 {
	font-size: 2em;
	font-family: 'Bad Script', cursive;
	color: #dedede;
	text-align: center;
	margin-top: 2em;
	margin-bottom: 1em;
}

.slider h3 {
	font-size: 1em;
	margin-top: 0;
}

.slider .btn,
.slider a {
    padding: 0.5em 1em;
    border: 1px solid white;
    border-radius: 0.2em;
    text-decoration: none;
    display: block;
    margin: 1em auto;
    text-align: center;
    line-height: 1.3em;
}

.slider .slide {
	color: #dedede;
	font-family: 'Bad Script', cursive;
	padding: 2em;
	text-align: left;
    line-height: 1.3em;

}

.slider .slide .first-letter{
    font-size:300%;
    line-height: normal;
}

.slider .slide p {
	margin: 1em 0;
}

.st {
	text-decoration: line-through;
}