h1 {
	color: rgb(59, 59, 59);
}
body {
	background: #ffffff;
	font-family: 'Inter', sans-serif;
}
.page {
	display: flex;
	flex-direction: column;
}

.page label {
}

header {
	text-align: center;
	font-size: 24px;
	background: #8eb4f023;
}
.header__content {
	padding: 15px;
}

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

.matrix-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	min-height: 200px;
	background: rgba(203, 154, 252, 0);
}

input[type='number'] {
	width: 44px;
	height: 18px;
	margin: 10px;
	color: rgb(44, 44, 44);
	background: rgb(246, 246, 255);
	border: none;
	border: 1px solid rgb(187, 187, 187);
	border-radius: 6px;
	padding: 2px;
}

table {
	border-collapse: collapse;
	margin-top: 20px;
}

td {
	text-align: center;
}

input[type='number'] {
	-moz-appearance: textfield;
}

input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

input[type='number']::-ms-clear {
	display: none;
}

input[type='number']::-webkit-contacts-auto-fill-button {
	display: none;
}

.matrix__size {
	margin: 0 auto;
	justify-content: center;
	height: 50px;
}
.matrix-size-form {
	display: flex;
	padding: 15px;
	gap: 20px;
}
.matrix__size div:first-child {
	display: flex;
	color: rgb(84, 68, 98);
}

.matrix__size label {
	display: flex;
	line-height: 22px;
	font-size: 16px;
}
.matrix__size select {
	font-size: 16px;
	width: 48px;
	border-radius: 8px;
	margin-left: 6px;
}

.matrix__size div:last-child {
	display: flex;
	color: rgb(61, 105, 89);
}

.matrix-add {
	margin: 0 auto;
	padding: 15px;
}

.matrix-add button {
	border-radius: 8px;
	width: 100px;
	height: 40px;
	border: 2px solid rgb(121, 187, 253);
	background: rgb(255, 248, 248);
	font-size: 12px;
	text-transform: uppercase;
	color: #6f6f6f;

	transition: all 0.2s ease;
}

.matrix-add button:hover {
	border: 1px solid rgb(255, 195, 195);
	font-size: 14px;
}

.operators {
	display: flex;
	margin: 0 auto;
	padding: 15px;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.operators button {
	display: flex;
	width: 40px;
	height: 40px;
	margin: 3px;
	padding: 2px;
	font-size: 24px;
	align-items: center;
	justify-content: space-around;

	border-radius: 8px;
	border: none;
	transition: all 0.2s ease;
}

.operators button:hover {
	background: rgb(255, 210, 151);
}

.resault {
}

.matrix--result {
	gap: 0px;
	align-items: center;
	text-transform: uppercase;
	color: #3c2a3e;
	font-weight: 400;
}
