* {
	font-family: 'Open Sans', sans-serif;
	font-weight: 800;
}

body{
	height: 100vh;
	margin: 0;
	padding: 0;
}

.title--container{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
}

h1 {
	font-size: 70px;
	margin: 0 0 10px 0;
}


.subtitle--container{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 20px;
	
}

.play--button{
	margin: 15px;
	padding: 15px;
	border: 4px solid black;
	border-radius: 10px;
}

.play--button:hover{
	cursor: pointer;
}


/*Play Online (matchmaking)*/

.content--container{
	margin: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	gap: 30px;
}


#player--name{
	resize: none;
	white-space: nowrap;
	overflow-x: hidden;
	height: 50px;
	width: 250px;



	border: 4px solid black;
	border-radius: 20px;


	display: flex;
	justify-content: end;
	align-items: center;

	padding: 10px 10px 3px 10px;

	font-size: 30px;
	
}


#rooms--container{
	width: 600px;
	height: auto;

	border:4px dashed black;

	display: block;
	gap: 10px;
}

.room--element{
	margin: 5px;
	border: 2px solid black;
}

.room--element:hover{
	cursor: pointer;
}




#game--canvas{
	height: auto;
	margin: 10px min(200px, 5vw);
	display: flex;
	justify-content: space-evenly;
	
	--s: min(calc(100vh / 12),calc(100vw/24)); /* size */
	--m: min(2px,0.2vw); /* margin */
	--f: calc(var(--s) * 1.732 + 4 * var(--m) - 1px);

	--p1: white;
	--p2: black;

	--cell-color: rgb(92, 92, 255);

}



#board{
	width: max-content;
	height: auto;
	padding: 0 20px 20px 20px;
	font-size: 0;
	border-left: var(--p2) solid 10px;
	border-right: var(--p2) solid 10px;
	border-top: var(--p1) solid 10px;
	border-bottom: var(--p1) solid 10px;
}

.panel{
	width:100px;

	display: flex;
	flex-direction: column;
	justify-content: start	;
}

#infoText{
	text-align: center;
}

/* #board::before {
	content: "";
	width: 240px;
	border: black dotted 2px;
	float: left;
	height: 100%;
	background-color: yellow;
	shape-outside: polygon(0 0, 0% 100%, 100% 100%);
} */

.hexagon{
	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%);
	background-color: var(--cell-color);
	margin-bottom: calc(var(--m) - var(--s) * 0.2886); /* some negative margin to create overlap */

}

.anotherDiv{
	font-size: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.iconDiv{
	border: var(--cell-color) solid 3px;
	border-radius: 50%;
	height: calc(50% / 1.1547);
	width: 50%;
}

.infoP{
	color: black;
	font-size: 7px;
	z-index: 9999;
	position: absolute;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	

	width: var(--s);
	height: calc(var(--s)*0.85);
}




#wait--panel{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	background-color: rgba(0, 0, 0, 0.941);
}

#wait--panel p{
	font-size: 60px;
	color: white;
}

#wait--panel i{
	font-size: 60px;
	color: white;
}

.options{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.size{
	width: 50px;
	height: 30px;
}

#boardSizeIndicator{
	width: 50px;
	height: 30px;
	font-size: 20px;
	font-weight:900;
	text-align: center;
	padding: 5px;
	border-radius: 10px;
	border: 3px solid black;
}

.difficulties{
	display: flex;
	justify-content: center;
	gap: 40px;
}
.difficulty{
	border: 4px solid black;
	padding: 0 10px;
	border-radius: 10px;

}

.difficulty:hover{
	cursor: pointer;
}


footer{
	position: absolute;
	bottom: 0%;

	width: 100%;

	display: flex;
	justify-content: center;
	align-items: center;
}

.help--container{
	position: absolute;

	top: 0;
	right: 2%;

}

.help--container:hover{
	cursor: pointer;
}