/*-- reset --*/
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/*-- reset --*/
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%;
    vertical-align: baseline;
}
html,
body {
	height: 100%;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
select:active,
textarea:active {
    outline: none;
}
input[type=submit], button {
    cursor: pointer;
    padding: 0;
    margin: 0;
}
a {text-decoration: none;}
a:active
{
    outline: none;
    outline-style: none;}

a:focus
{   outline: none;
    outline-style: none;
}
a:visited {
    outline: none;
    outline-style: none;}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
* {
	box-sizing: border-box;
}

/*-----
OGÓLNE
-----*/
body {
	font-size: 18px;
	font-family: 'Eczar';
	line-height: 120%;
	color: rgba(70, 67, 58);
}

.content {
	width: 1190px;
	padding: 0 10px;
	margin: 0 auto;
}
.title p {
	font-weight: 800;
	font-size: 48px;
	text-align: center;
	margin-bottom: 10px;
	line-height: 130%;
}


/*
avatar
*/
.avatar:before {
	content: url(avatar.svg);
	display: block;
	position: absolute;
	width: 99px;
	height: 106px;
	z-index: 10;
	    bottom: 0;
    left: -35px;
}

/*---------
USER INTERFACE
---------*/
.move {
	margin-bottom: 20px;
	text-align: center;
}
.ui__button {
	font-size: 18px;
	font-family: 'Eczar';
	font-weight: 600;
	color: #fff;
	background-color: rgba(100, 182, 177, 1);
	border: 1px solid rgba(100, 182, 177, 1);
	text-align: center;
	padding: 8px 80px;
	border-radius: 10px;
	display: inline-block;
	vertical-align: middle;
}

/*---
move
---*/
.title {
	background-color: rgba(255, 255, 255, 0.6);
}

.card__event {
	display: none;
	background-color: rgba(70,67, 58, 0.5);
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 100;
	top: 0;
	
}

.card__event p {
	text-align: center;
	font-size: 38px;
	font-weight: 800;
	
	line-height: 40px;
	
}
.card__move p {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	margin: auto;
	    height: 70px;
    line-height: 70px;
	width: 70px;
}
.card__bg {
	width: 200px;
	margin: 0 auto;
	position: relative;
	transform: translateY(-50%);
	height: 300px;
	border-radius: 20px;
	background-color: rgba(222, 212, 185, 0.9);
	top: 50%;
	box-sizing: content-box;
	padding: 40px;
	border: 2px solid #000;
}
.card__event .button {
	font-size: 18px;
	font-family: 'Eczar';
	font-weight: 600;
	color: #fff;
	background-color: #333;
	border: 1px solid #000;
	text-align: center;
	padding: 8px 16px;
	border-radius: 10px;
	width: 250px;
	margin: auto;
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	display: inline-block;
    top: auto;
    line-height: 120%;
	cursor: pointer;
	height: auto;
}
.card__event--fight .normal {
	color: rgba(206, 83, 77, 1);
	position: static;
	transform: translateY(0);
	margin-bottom: 24px;
}
.card__event .arrayText {
	color: #222;
	font-size: 28px;
}
.card__event--buff .normal {
	color: rgba(100, 182, 177, 1);
	position: static;
	transform: translateY(0);
	margin-bottom: 24px;
}
 .card__event--nothing .normal{
	color: rgba(115, 186, 69, 1);
	position: static;
	transform: translateY(0);
	margin-bottom: 24px;
 }
 .card__kungfu .normal {
	margin-bottom: 40px;
 }
.card__bg{
	width: 50%;
}
.dice {
	border: 2px solid #333;
    border-radius: 8px;
	line-height: 70px;
	background-color: #333;
    color: #fff;
}
.card__move .card__bg {
	background-color: transparent;
	border: none;
}
.card__event .str {
	margin-bottom: 24px;
	font-weight: 600;
}
.enemy,
.hero,
.buff {
	text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #cc2200;
	line-height: 120%;
}
.stats {
	text-align: center;
}
.buff:before {
	content: '+';
	text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #cc2200;
	line-height: 120%;
	display: inline-block;
}
.hero,
.buff {
	display: inline-block;
	color: rgba(100, 182, 177, 1);
	
}
.card__fightplace {
	display: flex;
	justify-content: space-between;
}
.card__event--fight .arrayText {
	margin-bottom: 24px;
}
.stats {
	display: none;	
}


.start {
	position: relative;
}
.start:after {
	background-image: url(plotBg.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	content: '';
	width: 100%;
	height: 100%;
	opacity: 0.09;
	position: absolute;
	    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.plot {
	width: 1200px;
	margin: 0 auto;
	padding-top: 40px;
}
.plot p {
	font-size: 28px;
	line-height: 155%;
}
.content__start {
	text-align: center;
}
.plot p span {
	font-weight: 700;
	display: block;
}
.card__end .card__bg {
	height: auto;
	text-align: center;
	background-image: url(plotEnd.png);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100% auto;
}
p.small {
	font-size: 28px;
    line-height: 38px;
    font-weight: 400;
    margin-top: 20px;
	margin-bottom: 20px;
	background-color: rgba(255, 255, 255, 0.8);
}
.card__end .button {
	position: static;
	width: auto;
}
.card__end {
	
}

/*----
BEGIN
----*/
.begin {
	display: flex;
	justify-content: space-around;
	align-items: center; 
}
.begin .button {
	position: static;
	
}
.begin__button {
	text-align: center;
}
.begin__images {
	text-align: center;
	margin-bottom: 16px;
}
.begin__images .images {
	width: 300px;
}










.display__on {
	display: block;
}
.card__event .display__off,
.display__off {
	display: none;
}