:root {
	--light-background: #fff;
	--dark-background: black;
	--purple: #38035d;
	--orange: #ffa501;
}
body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.game-header {
	margin-top: 10px;
	padding: 10px;
	display: flex;
	justify-content: space-between;
}

.help-items {
	display: flex;
}

.help-items__btn {
	border-radius: 80px;
	height: 30px;
	width: 30px;
	font-size: 23px;
	background: #38035d;
	color: var(--light-background);
	margin-right: 5px;
	border: 1px solid white;
}

.help-items__text {
	font-size: 20px;
	color: #000;
}

.help-items__btn:hover {
	cursor: pointer;
	background-color: rgb(125, 21, 169);
}

.link-items {
	display: flex;
}

.link-items button {
	background: none;
	border: none;
	width: 40px;
}

.link-items button img {
	max-width: 40px;
	width: 100%;
}

.link-items button:hover {
	cursor: pointer;
}
.main-block {
	display: flex;
	justify-content: center;
	margin-top: 10px;
	flex-direction: column;
	align-items: center;
	position: relative;
}
.dialogGame{
	width: 280px;
	height: 50px;
	position: absolute;
	top:40px;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;

	z-index: 100;
}
.dialogGamediv{
	
	color:white;
	font-size: 22px;
	text-align: center;

	font-weight: bold;
}
.dialogGamedivTwo{
	font-size: 18px;
	color:white;
	text-align: center;

	font-weight: bold;
}

.main-block-row {
	display: flex;
	gap: 5px;
	margin-bottom: 5px;
	width: 100%;
	justify-content: center;
}

.main-block-row__item {
	max-width: 50px;
	width: 100%;
	height: 50px;
	background-color: var(--orange);
	border-radius: 5px;
	border: solid 2px #6d5151;
	display: flex;
	justify-content: center;
}

.main-block-row__item span {
	font-size: 45px;
	line-height: 1.2;
	color: var(--light-background);
}

.section-keyboard {
	margin-top: 15px;
}

.section-keyboard-row {
	display: flex;
	gap: 5px;
	justify-content: center;
	margin-bottom: 5px;
	width: 100%;
}

.section-keyboard-row__key {
	max-width: 43px;
	width: 100%;
	height: 65px;
	border-radius: 5px;
	border: none;
	background-color: #d3d6da;
	font-size: 1.0em;
	font-weight: bold;
}
.section-keyboard-row__key:hover {
	cursor:pointer;
	background-color: rgb(196 203 213)!important;
}

.section-keyboard-row__key span {
	font-size: 1.5em;
	font-weight: bold;
}

.enter {
	max-width: 70px !important;
	width: 100%;
}

.enter span {
	font-size: 15px;
}

.enter img {
	width: 30px;
}

/*setting*/
.overlay-setting {
	position: fixed;
	top: 0;
	width: 100%;
	display: none;
	background-color: rgba(0, 0, 0, 0.5);
	height: 100vh;
	z-index:250;
	left:0;
}

.overlay-setting-container {
	margin: 0 auto;
	max-width: 500px;
	width: 100%;
	height: 500px;
	background: #ffffff;
	position: relative;
	top: 10%;
	border-radius: 10px;
	animation-duration: 1s;
}

.overlay-setting-item {
	padding: 10px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.overlay-setting-item__title {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.overlay-setting-item__title button {
	background: none;
	border: none;
	font-size: 32px;
}

.overlay-setting-item__title button:hover {
	cursor: pointer;
}

.overlay-setting-item__h5 {
	color: #000000;
	font-size: 19px;
	margin: 10px;
	margin-left: 150px;
}

@keyframes overlay-show {
	0% {
		opacity: 0.1;
		top: 90%;
	}

	100% {
		opacity: 1;
		top: 10%;
	}
}

@keyframes overlay-hide {
	0% {
		opacity: 1;
		top: 10%;
	}

	100% {
		opacity: 0.1;
		top: 90%;
	}
}

.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.slider {
	background-color: #2196F3;
}

input:focus+.slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.setting-items__element {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.setting-items__darkText {
	font-size: 20px;
	margin: 0;
	font-weight: 300;
}

hr {
	width: 100%;
}

svg {
	color: rgb(0, 0, 0)
}
.overlay-help-game{
	width: 100%;
	height: 100%;
	background-color: #fff;
	position: fixed;
	z-index: 100;
	top:0;
	left:0;
	
}
.overlay-help-game__header{
	display: flex;
	height: 100px;
	max-width: 520px;
	width: 100%;
	align-items: center;
	justify-content: end;
	
}
.overlay-help-game__h5{
	font-size: 20px;
	height: 10px;
	padding: 0;
	margin: 0;
	max-width: 280px;
		width: 100%;
}
.overlay-help-game__close{
		height: 15px;
		padding: 10px;
		display: flex;
		justify-content: center;
		align-items: center;
		border: 0;
		background-color: #fff;
		font-size: 25px;
		margin-top: 20px;
}
.overlay-help-game__close:hover{
	cursor: pointer;
}
.help-hr{
	width: auto; /* ან კონკრეტული სიგანე */
  flex-grow: 0; /* არ გაწელოს */
}

.help-container{
	margin: 0 auto;
	max-width: 520px;
	width: 100%;
	padding-left: 10px;
	padding-right: 10px;

}
.help-text-h3{
	font-weight: 300;
	font-size: 15px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.text-position{
	text-align: center;
}
.margin-text{
	margin-top: 20px;
	margin-bottom: 20px;
}
.errorRow{
	
	animation: erroranimate ease-in-out 1s;
}
.growUp{
	animation: grow ease-in 1s;
}
@keyframes grow {
	from { transform: scale(1); }
	to { transform: scale(1.2); }
}

@keyframes erroranimate {
0% {
	transform: translate(1px);
}
10% {
	transform: translate(-2px);
}
20% {
	transform: translate(2px);
}
30% {
	transform: translate(-2px);
}
40% {
	transform: translate(2px);
}
50% {
	transform: translate(-2px);
}
60% {
	transform: translate(2px);
}
70% {
	transform: translate(-2px);
}
80% {
	transform: translate(2px);
}
90% {
	transform: translate(-2px);
}
100% {
	transform: translate(1px);
}}