html {
	height: 100%;}

body {
	min-height: 100%;
	margin: 0;
	padding: 0;
	background-color: #19732E;}

header h1 { color: lime; }

.kopf { 
display: flex; 
justify-content: space-between; 
align-items: center;
margin: 10px;
}

.obwu { 
padding-left: 15%;
width: 10%;
max-width: 60px;
height: 10%;
max-height: 60px;
}

.zentral { 
display: flex; 
justify-content: center; 
align-items: center;
}

.reihe { 
display: flex;
margin: 10px;
justify-content: center;

}

#wanz1 {
	margin: 10px;
	}
#wurf1 {
	 border-radius: 0.5em;
	}
	
#wanz2 {
	margin: 10px;
	 border-radius: 0.3em;
	}
#wurf2 {
	 border-radius: 0.5em;
	}

#bildklick {
	width: 20%;
	max-width: 100px;
	height: 20%;
	max-height: 100px;
	border-radius: 0.3em;
}

/*klicklack steine grid*/
#steine { 
	display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); 
	grid-gap: 10px 0; 
	justify-items: center;
}
/*schalter form und farbe*/

.onoffswitch-checkbox {

display: none;

}

.onoffswitch-label {

display: block; overflow: hidden; cursor: pointer;

border: 1px solid #999999; border-radius: 4px;

}

.onoffswitch-inner {

display: block; width: 200%; margin-left: -100%;

transition: margin 0.3s ease-in 0s;

}

.onoffswitch-inner:before, 
.onoffswitch-inner:after {

display: block; float: left; width: 50%; height: 40px; padding: 0; line-height: 100%;

font-size: 1.4em; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;

box-sizing: border-box;

}

.onoffswitch-inner:before {

content: attr(data-off);

padding-left: 2px;
padding-top: 10px;

background-color: #CF7B00; color: #000000;

}

.onoffswitch-inner:after {

content: attr(data-on);

padding-right: 2px;
padding-top: 10px;

background-color: #CF7B00; color: #BEE8E8;

text-align: right;
}

.onoffswitch-switch {

display: block; width: 40%; margin: 3px;

background: #BEE8E8;

position: absolute; top: 0; bottom: 0;

right: 25px;

border: 1px solid #999999; border-radius: 4px;

transition: all 0.3s ease-in 0s; 

}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {

margin-left: 0;

}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {

right: 0px; 

background-color: #CF7B00; 

}

.onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-switch {

right: 0px; 

background-color: #BEE8E8; 

}

/*schalter 1*/
.stein1 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

/*schalter 2*/
.stein2 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

/*schalter 3*/
.stein3 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

/*schalter 4*/
.stein4 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

/*schalter 5*/
.stein5 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

/*schalter 6*/
.stein6 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

/*schalter 7*/
.stein7 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

/*schalter 8*/
.stein8 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

/*schalter 9*/
.stein9 {
position: relative; width: 90%;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}


/* pop ups kontrolle klickklacksteine*/

/* pop up 1 steinzahl zu groß - 
Pop up 2 steinzahl zu klein*/
.pop1 {
				font-size: 15px; 
				color: black; 
				font-family: Trebuchet, Arial, sans-serif; 
				font-weight: normal;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.pop2  {
				font-size: 15px; 
				color: black; 
				font-family: Trebuchet, Arial, sans-serif; 
				font-weight: normal;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.pop3 {
    position: fixed;
   	 left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  /* background-color: rgba(0, 0, 0, 0.5);*/
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

#wupop { 
			position: absolute;
    top: 10%;
    left: 10%;
			 width: 80%;
			 height: 80%;
			 border-radius: 0.3rem;
}

.pop-content1 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ADEEDC;
    padding: 1rem 1.5rem;
    width: 14rem;
    border-radius: 0.5rem;
}

.pop-content2 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #EED266;
    padding: 1rem 1.5rem;
    width: 14rem;
    border-radius: 0.5rem;
}

.pop-content3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);;
  /*  padding: 0em;*/
    width: 7em;
    height: 7em;
    border-radius: 0.3rem;
}

.close-pop1 {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}

.close-pop2 {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}

.show-pop1 {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 1s;
}

.show-pop2 {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 1s;
}

.show-pop3 {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.5s 0s, transform 1.5s;
}

/* pop up 1 würfelkönig - 
Pop up 2 Ende*/
.vpop1 {
				font-size: 15px; 
				color: black; 
				font-family: Trebuchet, Arial, sans-serif; 
				font-weight: bold;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.vpop2  {
				font-size: 15px; 
				color: black; 
				font-family: Trebuchet, Arial, sans-serif; 
				font-weight: normal;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.vpop-content1 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #E6F094;
    padding: 1rem 1.5rem;
    width: 14rem;
    border-radius: 0.5rem;
}

.vpop-content2 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #A2F4F6;
    padding: 1rem 1.5rem;
    width: 14rem;
    border-radius: 0.5rem;
}

.close-vpop1 {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}

.close-vpop2 {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}

.show-vpop1 {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 1s;
}

.show-vpop2 {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 1s;
}
