body {
	font-family: "Play", serif;
}

.calc-container {
	padding: 10px;
	background: #f6f6f6;
}

.calc-stones {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 14px;
	margin-bottom: 16px;
}

.calc-stone {
	width: 102px;
	height: 102px;
	border-radius: 4px;
	box-shadow: 0px 0px 8px black;
	border: 1px solid transparent;
}

.calc-stone.active {
	box-shadow: 0 0 8px #ff333a;
	border: 1px solid #ff7277;
}

.calc-stone:hover {
	border: 1px solid #ff333a;
}

.calc-stone:active {
	transform: scale(98%);
}

.calc-stone img {
	height: 100px;
	width: 100px;
	border-radius: 4px;
}

.calc-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	gap: 8px;
	width: 100%;
}

.calc-form-section {
	padding: 4px 10px;
	border: 1px solid #cfcfcf;
	box-shadow: 2px 2px 8px black;
	border-radius: 8px;
	height: 32px;
	flex: 170px 1;
	margin-bottom: 16px;
}

input.calc-form-input {
	height: 23px;
	width: 100%;
	border: none;
	outline: none;
}

.calc-submit {
	display: block;
	max-width: max-content;
	margin: auto;
	font-size: 16px;
	font-weight: bold;
	color: white!important;
	line-height: normal;
	background-image: linear-gradient(to right, #FF3139, #FF8555);
	padding: 14px 75px;
	border-radius: 20px;
	user-select: none;
	cursor: pointer;
}

.calc-submit:hover {
	box-shadow: 2px 2px 8px black;
}

.calc-submit:active {
	transform: scale(98%);
}

.calc-result {
	padding: 10px 20px;
	border: 1px solid #cfcfcf;
	box-shadow: 2px 2px 8px black;
	border-radius: 8px;
	width: 100%;
	margin-bottom: 16px;
	font-size: 18px;
}

.calc-result > p > span {
	font-weight: bold;
	float: right;
}

.calc-result > p {
	margin-bottom: 8px;
	margin-top: 8px;
}

.calc-stone-title {
	position: relative;
	display: block;
	width: 100px;
	background: #00000045;
	top: -76px;
	border-radius: 4px 4px 0px 0px;
}

a.stone-page {
	display: block;
	position: relative;
	width: 92px;
	height: 44px;
	text-decoration: none;
	color: white;
	text-align: center;
	font-size: 18px;
	text-shadow: 2px 2px 2px black;
	padding-left: 4px;
	padding-right: 4px;
}

a.stone-page:hover {
	text-decoration: underline;
	text-shadow: 2px 2px 4px #00adff;
}

.calc-error {
	display: none;
	padding: 10px;
	color: white;
	background: #ff7070;
	box-shadow: 2px 2px 8px #ff5200;
	border-radius: 8px;
	width: calc(100% - 22px);
	margin-bottom: 16px;
	text-shadow: 1px 1px 2px black;
}

div.divider {
    height: 1px;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
}

.fon-video {
	z-index: 1;
}

