@font-face {
	font-family: PlayRegular;
	src: url(../font/PlayRegular.ttf);
}

body {
	margin: 0;
	background-color: rgb(16, 68, 83);
	font-family: PlayRegular;
	overflow: hidden;
}

a,
a:visited {
	color: rgb(0, 170, 140);
	text-decoration: none;
}

#menu1 {
	left: 0px;
	top: 0px;
	display: none;
	user-select: none;
}

.menu_box {
	width: 50px;
	height: 100%;
	backdrop-filter: blur(2px);
	background-color: rgba(10, 30, 60, 0.3);
	position: absolute;
}

.menu_content {
	color: rgb(130, 184, 255);
	display: flexbox;
}

.menu_content>div {
	width: 50px;
	height: 50px;
}

.batton-m {
	width: 50px;
	height: 50px;
	border-top: solid 1px rgba(210, 222, 223, 0.3);
	border-bottom: solid 1px rgba(10, 20, 30, 0.2);
	text-align: center;
	display: block;
	transition: all 0.3s ease-out;
}



#infoboard,
#chat,
#cargobay,
#settings {
	display: none;
	opacity: 0;
	transition: display 0.15s, opacity 0.15s, all 0.15s ease-in;
}

#infoboard {
	left: 52px;
	top: 10px;
}

#chat {
	top: 10px;
	left: 500px;
}

#cargobay {
	top: 400px;
	left: 52px;
}

#settings {
	top: 200px;
	left: 52px;

}

@starting-style {
	#settings {
		opacity: 0;
		display: none;
		transition: display 0.15s, all 0.15s ease-in;
	}
}


/* === === === === */

.settings_btn_block {
	display: flex;
}

.settings_btn {
	height: 64px;
	width: 64px;
	margin-right: 5px;
	/* flex-basis: 64px; */
	border: 1px solid #000;
	background-color: rgba(20, 50, 90, 0.2);
	color: rgb(130, 184, 255);
	transition: all 0.3s ease-out;
}

.active {
	background-color: rgba(18, 102, 91, 0.5);
	color: rgb(8, 228, 107);
}

/* === === === === */


.box {
	min-width: 320px;
	user-select: none;
	position: absolute;
	backdrop-filter: blur(2px);
}

.box:hover .title-text {
	opacity: 1;
}

.titlebar {
	height: 17px;
	padding-left: 10px;
	color: cornflowerblue;
	font-size: 14px;
	background-color: rgba(2, 33, 80, 0.6);
	border: solid 1px rgb(30, 50, 60);
	border-bottom: none;
	z-index: -1;
	pointer-events: none;
	transition: all ease-in-out .3s;
}

.title-text {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.content {
	padding: 10px;
	border: solid 1px rgb(30, 50, 60);
	border-top: none;
	background-color: rgba(19, 50, 90, 0.5);
	color: aliceblue;
}

.scrolcont {
	max-height: 300px;
	overflow-y: auto;
}

.scrolcont ::-webkit-scrollbar-thumb {
	background-color: rgba(184, 184, 184, .5);
	border-radius: 20px;
	border: 1px solid rgba(37, 37, 37, .5);
}

.scrolcont ::-webkit-scrollbar-track {
	background: none
		/*background: rgba(45, 50, 53, 0.5); цвет зоны отслеживания */
	;
}

.flexcont {
	width: 280px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.cargo-slot {
	margin-bottom: 5px;
	flex-basis: 64px;
	height: 64px;
	border: 1px solid #000;
	background-color: rgba(20, 50, 90, 0.2);
	color: rgb(130, 184, 255);
	transition: all 0.3s ease-out;
}

.cargo-slot>div {
	width: 100%;
	height: 100%;
	text-align: right;
	/* font-family: Arial, Helvetica, sans-serif; */
}

.cargo-slot-span {
	display: inline-block;
	margin-top: 44px;
	margin-right: 3px;
	font-size: 16px;
	pointer-events: none;
}

#movedCargo {
	width: 52px;
	height: 52px;
	position: absolute;
	background-size: cover;
	border: solid 1px rgb(33, 87, 114);
	box-shadow: 2px 2px 4px rgb(20, 21, 22);
	pointer-events: none;
}


#divideСargo {
	width: 200px;
	height: 150px;
	padding: 15px;
	position: absolute;
	color: rgb(130, 184, 255);
	background-size: cover;
	background-color: rgba(19, 50, 90, 0.5);
	backdrop-filter: blur(2px);
	border: solid 1px rgb(33, 87, 114);
	box-shadow: 2px 2px 7px rgb(50, 54, 58);
	top: 0;
	left: 0;
	border: 1px solid black;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.img-val {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#value {
	width: 60px;
	padding: 2px;
	background-color: rgba(2, 33, 80, 0.6);
	color: rgb(130, 184, 255);
	border: none;
	border-radius: 5px;
	font-size: 20px;
	font-family: PlayRegular;
	text-align: center;
	box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.1);
}

#slider {
	margin: 15px 0px;
	width: 180px;
}

/* Скрываем стрелки для различных браузеров */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type=number] {
	-moz-appearance: textfield;
	-moz-appearance: none;
}

input[type="range"] {
	appearance: none;
	width: 153px;
	height: 4px;
	border-radius: 2px;
	background: rgb(148, 153, 255);
	outline: none;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 20px;
	border: solid 1px rgb(27, 74, 97);
	border-radius: 2px;
	background: rgb(148, 153, 255);
	cursor: pointer;
	transition: 0.2s;
}

input[type="range"]:hover::-webkit-slider-thumb {
	background: rgb(148, 153, 255);
}

input[type="range"]:active::-webkit-slider-thumb {
	background: rgba(148, 153, 255, 0.5);
}



#imgCargo {
	margin-bottom: 7px;
	padding: 1px;
	width: 64px;
	height: 64px;
	background-repeat: no-repeat;
	background-position: center;
	background-color: rgba(2, 33, 80, 0.6);
	border: none;
	border-radius: 5px;
	box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.1);
}

#divideСargo .buttons {
	display: flex;
	justify-content: space-around;
	width: 100%;
	margin-top: 10px;
	opacity: 0.5;
}

#divideСargo .buttons button {
	width: 70px;
	height: 30px;
}





.but {
	margin: 20px;
	padding: 10px;
	border: solid 1px rgb(30, 50, 60);
	transition: all ease-in-out .1s;

}

.but:hover {
	border: solid 1px rgb(60, 100, 120);
}

#chatCont {
	width: 35vw;
	max-width: 555px;
	box-sizing: content-box;
}

#status {
	height: 20px;
	color: rgba(250, 0, 70, 0.9);
}

#messageBox {
	width: 100%;
	font-size: 18px;
	overflow-x: hidden;
	height: 100px;
	border: solid 1px rgba(0, 101, 160, 0.5);
	background-color: rgba(0, 29, 67, 0.1);
	overflow-y: scroll;
	color: rgba(126, 184, 231, 0.9);
	text-shadow: 1px 1px 1px rgba(0, 19, 5, 0.5);
}


.scrolcont::-webkit-scrollbar,
#messageBox::-webkit-scrollbar {
	width: 12px;
}

.scrolcont::-webkit-scrollbar-track,
#messageBox::-webkit-scrollbar-track {
	background: none;
}

.scrolcont::-webkit-scrollbar-thumb,
#messageBox::-webkit-scrollbar-thumb {
	background-color: rgba(2, 33, 80, 0.3);
	border-radius: 20px;
	border: none;
}

#messageForm {
	margin: 5px 0 3px 0;
	width: 100%;
	height: 30px;
	display: flex;
	font-size: 18px;
}

#message {
	width: 90%;
	height: 30px;
	font-size: 20px;
	border: 0;
	margin-right: 5px;
	background-color: rgba(40, 43, 47, 0.4);
	color: rgba(126, 184, 231, 0.9);
	text-shadow: 1px 1px 1px rgba(0, 19, 5, 0.5);
}

#sendBat {
	width: 10%;
	border: none;
	height: 100%;
	font-size: 20px;
	box-sizing: content-box;
	background-color: rgba(185, 185, 185, 0.3);
}

#chat input,
#chat input:focus {
	background-color: rgba(0, 29, 67, 0.1);
}

input {
	outline: none;
}