@charset "utf-8";
/* CSS Document */



html {
  font-family: Futura, Helvetica, Arial, sans-serif;
	font-weight: 500;
	margin: 0;
	padding: 0;
	min-height: 100vh;
	width: 100%;
	position: relative;
}

body {
	color: #323232;
	background: #EFEFEF;
	text-align: center;
	margin: 0;
	min-height: 100vh;
	width: 100%;
	  justify-content: center;
  align-items: center;
  /*overflow: hidden;*/
	position: relative;
	oveflow: scroll;
	webkit-touch-callout: none; /* Safari */
        -webkit-user-select: none; /* Chrome */     
           -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; 
}

#card-front-a {
  background-color: #323232;
  color: #fff;
}


#card-back-a {
  background-color: #fff;
  color: #323232;
}


.flip-card-back {
	transform-origin: 115px 0px;
  transform: rotateY(180deg);
	/*text-transform: uppercase;*/
}
	
.container {
  height: 100%;
  position: relative;
  /*border: 3px solid green;*/
}

#flipper {
	cursor: pointer;
	margin: 50px 0 100px 0;
	display: inline;
}


.hidden {
	opacity: 0;
}

.unhidden {
	opacity: 100;
}

.unhidden, .hidden {
	transition: opacity 0.5s;
}



.float-left {
	float: left;
	width: 50%;
}

.float-right {
	float: left;
}




/*added for header*/

/* Style the header with a grey background and some padding */
header {
  overflow: hidden;
  background-color: #323232;
  /*padding: 20px 10px;*/
	color: white;
}

/* Style the header links */
header a {
  float: left;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}




/* Float the link section to the right */
.header-right {
  float: right;
}

/* Float the link section to the left */
.header-left {
  float: left;
}

.player-name {
	padding: 20px;
}

.active {
	opacity: 1;
	transition: transform ease 0.5s; 
}

.inactive {
	opacity: 0.4;
	transition: transform ease 0.5s; 
}

#timer-container {
	position: fixed;
	top: 0px;
	right: 0px;
	background: #323232;
	color: white;
	border-bottom-left-radius: 20px;
	padding: 10px;
	width: 400px;
	height: 80px;
}

#timer {
	/*font-size: 2em;*/
	font-weight: bold;
	/*margin: 20px;*/
}

.guide-button {
	padding: 40px 20px;
	cursor: pointer;
}

#guide-container {
	position: absolute;
	width: 500px;
	height: 100%;
	background-color: #323232;
	transition:left 0.5s ease;
	z-index: 0;
	top: 0;
	cursor: pointer;
	color: white;
	padding: 40px;
}

#guide-container.unopen {
	left: -600px;
	
}

#guide-container.open {
	left: 0px;
	
}

.ilb {
	width: 150px;
	display: inline-block;
}

#question-number {
	text-transform: uppercase;
	/*font-size: 1.5em;*/
	margin: auto;
}

.guide-icon {
	width: 40px;
	margin: 10px;
}

.icon-guide {
	text-align: left;
}

.x-button {
position: absolute;
	top: 10px;
	right: 10px;
	font-weight: 900;
}

.guide-icon-text {
	margin: auto;
	padding: 1em; 
	height: auto;
}

#whiteout {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #EFEFEF;
	transition: opacity 0.5s;
	overflow: auto;
}

#whiteout.unopen {
	opacity: 0;
	pointer-events: none;
}

#whiteout.open {
	opacity: 0.8;
}

/* FROM OTHER DOC*/



.flip-card {
  background-color: transparent;
	width: 220px;
  height: 343px;
  perspective: 1000px;
	display: inline-block;
	margin: 0px 40px 60px 20px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  /*transition: transform 0.6s;*/
  transform-style: preserve-3d;
  /*box-shadow: 0 6px 10px 0 rgba(0,0,0,0.2);*/
	border-radius: 20px;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
	transition: transform 0.6s;
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
	border-radius: 20px;
	border:solid white 12px;
	padding: 10px;
	box-shadow: 0 6px 10px 0 rgba(0,0,0,0.2);
}

.flip-card-front {
		/*background-image: linear-gradient(#006BAD, #00A8E4);*/
  color: #fff;
}

.flip-card-back {
  transform: rotateY(180deg);
	/*text-transform: uppercase;*/
	background-color: #fff;
  color: #323232;
}

.drawn {
	transform: translate(0px,200px);
	opacity: 0;
	transition: transform 0.6s, opacity 0.6s;
}

.predeal {
	transform: translate(0px,-200px);
	opacity: 0;
	transition: transform 0s, opacity 0s;
}
.dealt {
	transform: translate(0px,0px);
	opacity: 1;
	transition: transform 0.6s, opacity 0.6s;
}


.container {
  height: 100%;
  position: relative;
  /*border: 3px solid green;*/
}

.center {
	width: 100%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.prompt {
	text-align: left;
}


.hidden {
	opacity: 0;
}

.unhidden {
	opacity: 100;
}

.unhidden, .hidden {
	transition: opacity 0.5s;
}

.float-left {
	float: left;
	width: 50%;
}

.float-right {
	float: left;
}

#game-container {
	margin: 120px 0 0 0;
	height: 550px;
}

.icon {
	width: 50px;
	height: 50px;
}



.button:hover {
	opacity: 0.8;
}

.button:active {
	/*box-shadow: 0 5px 20px rgba(0,0,0,0.0);*/
	transform: scale(0.97);
}

}

.ilb {
	width: 150px;
	display: inline-block;
}

#question-number {
	text-transform: uppercase;
	/*font-size: 1.5em;*/
	margin: auto;
}

.guide-icon {
	width: 40px;
	margin: 10px;
}

.icon-guide {
	text-align: left;
}

.x-button {
position: absolute;
	top: 10px;
	right: 10px;
	font-weight: 900;
}

.guide-icon-text {
	margin: auto;
	padding: 1em; 
	height: auto;
}

#whiteout {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #EFEFEF;
	transition: opacity 0.5s;
	overflow: auto;
}

#whiteout.unopen {
	opacity: 0;
	pointer-events: none;
}

#whiteout.open {
	opacity: 0.8;
}


.inline {
	display: inline-block;
}

.selection {
	width: 2em;
	height: 2em;
	border-radius: 1em;
	cursor: pointer;
	margin: 0 0.1em;
}

.deselected {
	outline: white solid 2px;
	opacity: 0.2;
}

.invalid {
	color: red;
}

#play-pause, #timer-adjust {
	padding: 0 0.5em;
}

#timer {
	width: 3em;
	text-align: left;
}
#selection-container {
	margin: -0.5em 0 0 0;
}



.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
	transform: translateY(2px);
}

#game-board {
	margin: 100px auto;
	width: 100%;
	max-width: 700px;
	height: 100%;
	/*outline: solid red;*/
	display: inline-flex;
	flex-wrap: wrap;
	border: solid #323232 20px;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0,0,0,0.2);
	transform: translate(50px, -400px)
}

.game-board-square {
	width: 130px;
	height: 100px;
	padding: 5px;
	outline: solid #323232 2px;
	background-color: #EFEFEF;
	color: #323232;
	display: flex;
	align-items: center;
	text-align: center;
	justify-content: center;
	transition-duration: 1s;
	cursor: pointer;
}

.game-board-square:hover, .game-board-square.selected {
	background-color: #6ABF4B;
	color: white;
}

.joker {
		background-color: #7C7C7C;
	color: #efefef;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}