
#history{
	padding:6px;
    min-height: 210px;
    background: white;
    border: 2px solid #6f6f6f;
    border-radius: 25px;
	overflow-y: scroll;
    max-height: 210px;
	margin-top: 50px;
	float: left;
	color:black;
	transition-duration: 5s;
}

#historytext p{
	font-size: 14;
	transition-duration: 5s;
}

#historytext .story{
	animation-name: historyText;
	animation-duration: 5s;
}

#historytext .schaden{
	font-size:20;
	animation-name: historyText;
	animation-duration: 5s;
	background-color: red;
	transition-duration: 5s;
	position: relative;
	background-color:unset;
}

@keyframes historyText{
	from {opacity:0; transform: scale(0.5);}
	to {opacity:1; transform: scale(1.0);}
}

/* Scrollbar */

#history {
	-scrollbarBG: none;
    --thumbBG: #010101;
}
#history::-webkit-scrollbar {
  width: 11px;
}
#history {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
#history::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
#history::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG) ;
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}

/* Ende Scrollbar */

#history button{
	padding: 5px 20px;
    border-radius: 10px;
    background: grey;
    color: white;
    font-weight: 800;
}

#history .hide{
	display:none;
}

#history .endStory{
	text-align: center;
	margin-bottom:160px;
}

#historytext{
	text-align: center;
}

#historytext .story{
	color:black;
}

#historytext .round{
	font-weight:500;
	margin-bottom: 5px;
}

#historytext .story.schaden{
	font-weight: 600;
	color:red;
}

#historytext .story.dead{
	color:red;
	font-size: 15px;
    font-weight: 700;
}

#historytext .story.hit{
    font-weight: 600;
}

#historytext .story.attack{
    background-image: linear-gradient(89deg,red 38%,black 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ff000000;
    font-weight: 600;
}

#historytext .story.rest{
	color: green;
}
#historytext .story.error{
	color: white;
	background: red;
}

#gamescreen .pic{
	border: solid 1px black;
	height:100px;
	border-radius: 5px;
}

#gamescreen{
	width: 90%;
	margin: 0 auto;
	display: grid;
	width: 90%;
    margin: 0 auto;
    display: grid;
    background: #80808061;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 5px 4px 15px black;
}

#gamescreen .sword-character{
	width: 100px;
    background: grey;
    padding: 5px;
	border: solid 2px transparent;
	border-radius: 5px;
    box-shadow: 2px 2px 8px black;
}

#gamescreen .sword-character.target{
	border: solid 2px yellow;
}

#gamescreen .sword-character.damage{
		animation-name: gothit;
		animation-duration: 1s;
}

@keyframes gothit{
	0% {transform: rotate(0deg); background:red;}
	10% {transform: rotate(5deg); background:grey;}
	50% {transform: rotate(0deg); background:grey;}
	90% {transform: rotate(-5deg); background:red;}
	100% {transform: rotate(0deg); background:red;}
}


#gamescreen .sword-hp{
	width: 100%;
/*    background: green;*/
    height: 10px;
	text-align: center;
	font-size: 10px;
	transition-duration: 2s;
	color:black;
	border-radius: 5px;
	margin-bottom: 1px;
}

#gamescreen .sword-ausdauer{
	width: 100%;
/*    background: green;*/
    height: 10px;
	text-align: center;
	font-size: 10px;
	transition-duration: 2s;
	color:black;
	border-radius: 5px;
	margin-bottom: 1px;
}

#gamescreen .sword-hp.red{
	background: red;
}


#enemy1.dead{
	animation-duration: 10ms;
	transition-duration: 5s;
	transform: rotate3d(2.5, 0, 0.5,90deg);
	opacity: 0;
}

#enemy1.out{
	display:none;
}


.rolldice{
	display: block;
	margin: 0 auto;
	padding: 2px 5px;
}

@media only screen and (min-width: 600px) {
#dice-ground{
	width: 500px;
	/* height: 500px; */
    background: darkgray;
    border-radius: 50%;
	margin: 0 auto;
	padding: 50px;
}
}

@media only screen and (max-width: 600px) {
#dice-ground{
	width: 100%;
	/* height: 500px; */
    background: darkgray;
    border-radius: 50%;
	margin: 0 auto;
	padding: 5px;
}
}


.dice{
	text-align: center;
	margin: 0 auto;
    color: white;
    height: 50px;
    width: 50px;
    font-size: 50px;
    border: solid;
    border-radius: 5px;
	box-shadow: 2px -2px 5px 1px black;
	transition-duration: 1s;
}

.dice-position{
	width:50%;
	height:50%;
	display: inline-block;
	background-color:grey;
	overflow: hidden;
    text-align: center;
}

.würfel.wurf1{
	content: "\F114A";
}

.würfel.wurf2{
	content: "\F114B";
}

.würfel.wurf3{
	content: "\F114C";
}

.würfel.wurf4{
	content: "\F114D";
}

.würfel.wurf5{
	content: "\F114E";
}

.würfel.wurf6{
	content: "\F114F";
}

