html {
	background-color: whitesmoke;
	background-image: url("images/background.webp");
	background-repeat: no-repeat;
      background-size: 100vw 100vh;
	font-family: Palatino,Palatino Linotype,Palatino LT STD,Book Antiqua,Georgia,serif; 
	color: whitesmoke;
      user-select: none;
}

* {
      z-index: 3;
}


.position {
	position: absolute;
}

.inventory {
	height: 15vh;
	width: 100%;
	top: -10vh;
	left: 0;
	display: flex;
	justify-content: center;
	gap: 5vw;
	z-index: 10;
	background-color: transparent;
      background-image: url(/images/inventoryBackground.webp);
      background-size: 100% 100%;
	opacity: 50%;
}


.pause {
      height: 70px;
      width: 70px;
      border-radius: 50%;
	background-color: transparent;
      background-image: url(/images/pause.webp);
      background-size: 100% 100%;
      top: calc(50% - 35px);
      right: calc(7.5vh - 35px);
      display: flex;
      justify-content: center;
      align-content: center;
      font-size: 40px;
      color: black;
}


.unpauseButt {
      bottom: 30%;
}

.saveButton {
      top: 30px;
      right: 50px;
      font-size: 40px !important;
}

.unpauseButton {
      border: none;
      background-color: transparent;
      font-size: 60px;
      color: rgb(255, 255, 255, 0.8);
      font-family: 'Passion One';
}

.unpauseButton:hover {
      color: rgb(255, 255, 255, 0.5);
}

.unpauseButton:active {
      color: rgb(255, 255, 255, 0.2);
}

.pauseOverlay {
      height: 100vh;
      width: 100vw;
      top: 0;
      left: 0;
      pointer-events: all;
      z-index: 100;
      background-color: rgba(0, 0, 0, 0.2);
      box-shadow: inset 0px 0px 500px 100px black;
      backdrop-filter: blur(20px);
      display: none;
}

.unpause {
      font-family: 'Passion One';
      font-size: 160px;
      color: rgb(255, 255, 255, 0.8);
      width: 1000px;
      height: 400px;
      top: calc(50% - 200px);
      left: calc(50% - 500px);
      z-index: 101;
      display: flex;
      justify-content: center;
      align-content: center;
}

@font-face {
      font-family: 'Passion One';
      font-style: normal;
      font-weight: 700;
      font-display: swap;
      src: url(https://fonts.gstatic.com/s/passionone/v18/Pby6FmL8HhTPqbjUzux3JEMq007vyJc.woff2) format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.inventoryItem {
	height: 80%;
	display: flex;
	justify-content: center;
	margin-top: 1vh;
	margin-bottom: auto;
      filter: drop-shadow(-1px 1px 1px rgba(50, 50, 0, 0.5));
}

.dragItem {
	position: absolute !important;
	z-index: 20;
}

.imgcontainer {
	/* position: absolute; */
/*    filter: drop-shadow(-1px 6px 3px rgba(50, 50, 0, 0.5));*/
}

.imgcontainer img {
  max-height: 100%;
  max-width: 100%;
  pointer-events: none;
}

.center {
	display: flex;
	width: 100%;
	height: 100%;
	margin: auto;
	justify-content: center;
}

.board {
	height: 60vh;
	width: 110vh;
	margin: auto;
	margin: 10px;
}

.halfSlipOfficeFront {
	visibility: hidden;
	overflow: hidden;
	position: absolute;
	top: 0px;
	height: 200px;
	max-width: 100%;
	max-height: 100%;
}

.lower {
	height: 13vh;
	width:100%;
}

.halfSlipHider {
	overflow: hidden;
	position: absolute;
	height: 200px;
	width: 800px;
	max-width: 100%;
	max-height: 100%;
      z-index: 1 !important;
}

.player {
	background-color: black;
	border-radius: 50%;
	width: 7vh;
	height: 7vh;
	position: absolute;
	font-size: 16px;
	text-align: center;
	text-justify: center;
/*	border-style: double;
	border-color: lightgray;*/
}

.board {
  display: flex; /* we will talk about this later ... */
  --s: 10vh;  /* size  */
  --m: 0px;   /* margin */
  --f: calc(var(--s) * 1.732 + 4 * var(--m) - 1px); 
}

.container {
	font-size: 0.0;
}

.container::before {
  content: "";
  width: calc(var(--s) / 2 + var(--m));
  float: left;
  height: 120%; 
  shape-outside: repeating-linear-gradient(#0000 0 calc(var(--f) - 3px), #000 0 var(--f));
}

.colorPanel {
	background-color: transparent;
	height: 300px;
	width: 300px;
	border-radius: 50%;
      left: 400px;
      top: 450px;
}

.colorHider {
	background-color: transparent;
      /* background: conic-gradient(black 0deg 5deg, transparent 5deg 60deg, black 60deg 360deg); */
      background-image: url(./images/case.webp);
	height: 300px;
	width: 300px;
	border-radius: 50%;
      left: 400px;
      top: 450px;
      transition: 1s all ease-in;
      clip-path: polygon(52% 0, 50% 50%, 100% 20%, 100% 100%, 0 100%, 0 0);
}

.perspective {
	-webkit-transform: perspective(600px) rotateX(60deg);
	-moz-transform: perspective(600px) rotateX(60deg);
	-ms-transform: perspective(600px) rotateX(60deg);
	-o-transform: perspective(600px) rotateX(60deg);
	transform: perspective(600px) rotateX(60deg);
}

.gridElement {
	background-color: transparent;
 	width: var(--s);
	margin: var(--m);
	height: calc(var(--s) * 1.1547);
	display: inline-block;
	font-size: initial; /* we reset the font-size if we want to add some content */
	clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
	margin-bottom: calc(var(--m) - var(--s) * 0.2886);
}

.title {
	padding: 10px;
	font-size: 32px;
	font-weight: bold;
}

.rules {
	padding-bottom: 10px;
	font-size: 18px;
	text-align: left;
	margin-left: 30px;
}

#backButton {
	position: absolute;
}

.button {
    background-color: whitesmoke;
    border: none;
    border-radius: 4px;
    color: #747474;
    font-weight: bold;
    padding: 4px 8px;
    text-align: center;
    font-size: 20px;
    font-family: Palatino,Palatino Linotype,Palatino LT STD,Book Antiqua,Georgia,serif; 
    margin: 5px 0px;
    opacity: 0.9;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    opacity: 1   
}

.button:active {
    background-color: white;
}

.colorKnob {
    background-color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.inputs {
	margin: auto;
	margin-top: 1px;
	display: inline-block;
	text-align: center;
	font-size: 14px;
	width: 60px;
}

.inputs:focus, .button:focus {
	outline: none;
}

.generator {
	background-color: #7aa8dc;
	margin: auto;
	width: 500px;
	padding-bottom: 20px;
	text-align: center;
}

.caseHolder {
      width: 1300px;
      top: 5vh;
      left: calc(50% - 650px);
      z-index: 2 !important;
}