/*GLOBAL--------------------------------------------------------------*/

html,
* {
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

:root {
	--dark-brown: #3a3129;
	--light-brown: #d1c6bd;
	--light-brown-nav: #c2b7ae;
	--ecru: #f9f7f4;
	--blue: #42527a;
	--blue-solid: #42527a;
	--yellow: #f9b540;
	--yellow-solid: #f9b540;
	--green-solid: #344028;
}

body {
	color: var(--dark-brown);
	background-color: var(--light-brown);
	-webkit-font-smoothing: subpixel-antialiased !important;
	text-rendering: optimizeLegibility !important;
	font-family: bookmania, serif;
	font-weight: 400;
	font-style: normal;
	text-transform: uppercase;
}

#bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	opacity: 0.5;
	mix-blend-mode: color-burn;
	background-image: url(../img/concrete2.jpg);
	background-size: contain;
	z-index: -1;
}

#lang .lang_highlight {
	opacity: 1;
	cursor: auto;
}

.lang_none {
	display: none;
}

#lang span {
	opacity: 0.5;
	-webkit-transition: 0.3s ease-out;
	-o-transition: 0.3s ease-out;
	transition: 0.3s ease-out;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: pointer;
}

h1 {
	font-family: bookmania, serif;
	font-weight: 400;
	font-style: normal;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: auto;
}

h2 {
	font-family: korolev, sans-serif;
	font-weight: 500;
	font-style: normal;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: auto;
}

h3 {
	font-family: korolev, sans-serif;
	font-weight: 500;
	font-style: normal;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: auto;
}

p {
	font-family: korolev, sans-serif;
	font-weight: 500;
	font-style: normal;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: auto;
}

/*UI FLEX-------------------------------------------------------------*/

#content_container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	height: 100vh;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

#title {
	font-size: 25px;
	margin: 10px 0;
	text-transform: initial;
}

#logo_title {
	width: calc(50% - 15px);
}

#main_container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-column-gap: 30px;
	-moz-column-gap: 30px;
	column-gap: 30px;
	margin-bottom: 50px;
}

#main_container main {
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	-ms-flex-preferred-size: calc(385px - 8vw);
	flex-basis: calc(385px - 8vw);
}

@media screen and (max-width: 1200px) {
	#title {
		font-size: 3vw;
	}
	#content_container {
		width: auto;
		margin: 0;
		padding: 0 8vw;
	}
	#main_container {
		-webkit-column-gap: 4vw;
		-moz-column-gap: 4vw;
		column-gap: 4vw;
	}
}

@media screen and (max-width: 800px) {
	#title {
		font-size: 4vw;
		margin: 1vw 0;
	}
	#content_container {
		width: auto;
		max-width: 1200px;
		margin: 50px auto 0 auto;
		height: auto;
	}
	#logo_title {
		width: 100%;
	}
}

/*FOOTER--------------------------------------------------------------*/

footer {
	height: 20px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}

#footer_content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

#footer_content p {
	font-size: 9px;
	letter-spacing: 0.5px;
}

#footer_content a {
	color: inherit;
}

#footer_content p:nth-child(2) {
	text-align: end;
}

@media screen and (max-width: 1200px) {
	#footer_content {
		padding: 0 8vw;
		margin: 0;
		width: auto;
	}
}

@media screen and (max-width: 800px) {
	footer {
		position: relative;
		margin-top: 50px;
	}
	#footer_content {
		padding: 0;
	}
	#footer_content p {
		font-size: 8px;
	}
}

/*THANK YOU--------------------------------------------------------------*/

#thank_you h3 {
	font-size: 25px;
	font-family: bookmania, serif;
	font-weight: 400;
	font-style: normal;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: auto;
}

#thank_you p {
	font-size: 20px;
	text-transform: initial;
	line-height: 1.3;
	font-family: bookmania, serif;
	font-weight: 400;
	font-style: normal;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: auto;
	max-width: 500px;
}

#thank_you button {
	background-color: var(--dark-brown);
	border: none;
	color: var(--ecru);
	padding: 13px 15px 10px 15px;
	margin-top: 10px;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 20px;
	font-family: korolev, sans-serif;
	font-weight: 500;
	font-style: normal;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: auto;
	border-radius: 4px;
}

@media screen and (max-width: 1200px) {
	#thank_you h3 {
		font-size: 2.4vw;
	}
	#thank_you p {
		font-size: 1.8vw;
	}
	#thank_you button {
		font-size: 1.5vw;
	}
}

@media screen and (max-width: 800px) {
	#thank_you h3 {
		font-size: 4.6vw;
	}
	#thank_you p {
		font-size: 4vw;
	}
	#thank_you button {
		font-size: 4vw;
	}
	#thank_you {
		margin-bottom: 10vw;
	}
}

/*AZ------------------------------------------------------------------*/

#az_canvas {
	background-color: var(--ecru);
	border-radius: 8px;
	width: 100%;
	display: -ms-grid;
	display: grid;
	overflow: hidden;
}

#az_frame_overlay {
	-webkit-box-shadow:
		-4px -4px 8px 0px rgba(0, 0, 0, 0.4) inset,
		6px 6px 6px 0px rgba(255, 255, 255, 0.6) inset;
	box-shadow:
		-4px -4px 8px 0px rgba(0, 0, 0, 0.4) inset,
		6px 6px 6px 0px rgba(255, 255, 255, 0.6) inset;
}

#az_frame_overlay_img {
	background-image: url(../img/paint_texture2.jpg);
	opacity: 0.8;
	mix-blend-mode: color-dodge;
}

#az_frame_overlay_gradient {
	background: -o-linear-gradient(290deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 80%);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 80%);
	mix-blend-mode: overlay;
}

.az_frame_overlays {
	position: relative;
	-ms-grid-column: 1;
	grid-column: 1;
	-ms-grid-row: 1;
	grid-row: 1;
	border-radius: 8px;
	padding-top: 100%;
}

#az_frame {
	display: -ms-grid;
	display: grid;
	-ms-grid-column: 1;
	grid-column: 1;
	-ms-grid-row: 1;
	grid-row: 1;
	overflow: hidden;
}

.az_inner_frame_class {
	width: 100%;
	position: relative;
	-ms-grid-column: 1;
	grid-column: 1;
	-ms-grid-row: 1;
	grid-row: 1;
	display: -ms-grid;
	display: grid;
	overflow: hidden;
	-webkit-clip-path: inset(0%);
	clip-path: inset(0%);
	-webkit-backface-visibility: visible;
	/* Safari */
	backface-visibility: visible;
}

.az_mirror {
	-webkit-clip-path: polygon(-0.1% 0%, 50.1% 50.2%, 50.1% 0%);
	clip-path: polygon(-0.1% 0%, 50.1% 50.2%, 50.1% 0%);
}

@media screen and (max-width: 800px) {
	#az_canvas {
		margin-bottom: 4vw;
	}
	#az_frame_overlay {
		-webkit-box-shadow:
			-4px -4px 7px 0px rgba(0, 0, 0, 0.4) inset,
			4px 4px 4px 0px rgba(255, 255, 255, 0.5) inset;
		box-shadow:
			-4px -4px 7px 0px rgba(0, 0, 0, 0.4) inset,
			4px 4px 4px 0px rgba(255, 255, 255, 0.5) inset;
	}
}

#az_frame svg circle,
#az_frame svg rect,
#az_frame svg path,
#az_frame svg polygon {
	-webkit-transform-origin: center;
	-ms-transform-origin: center;
	transform-origin: center;
	position: relative;
}

.az_svg {
	-ms-grid-column: 1;
	grid-column: 1;
	-ms-grid-row: 1;
	grid-row: 1;
}

#az_inner_frame {
	-webkit-transform: rotate(0);
	-ms-transform: rotate(0);
	transform: rotate(0);
}

#az_inner_frame_0 div:last-child svg div {
	stroke: var(--light-brown);
	stroke-width: 10px;
	stroke-linecap: round;
	stroke-dasharray: 0;
	-webkit-clip-path: inset(20px);
	clip-path: inset(20px);
}

#az_frame svg:nth-child(8n + 1) {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

#az_frame svg:nth-child(8n + 2) {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

#az_frame svg:nth-child(8n + 3) {
	-webkit-transform: rotate(270deg);
	-ms-transform: rotate(270deg);
	transform: rotate(270deg);
}

#az_frame svg:nth-child(8n + 4) {
	-webkit-transform: rotateY(180deg) rotate(0deg);
	transform: rotateY(180deg) rotate(0deg);
}

#az_frame svg:nth-child(8n + 5) {
	-webkit-transform: rotateY(180deg) rotate(90deg);
	transform: rotateY(180deg) rotate(90deg);
}

#az_frame svg:nth-child(8n + 6) {
	-webkit-transform: rotateY(180deg) rotate(180deg);
	transform: rotateY(180deg) rotate(180deg);
}

#az_frame svg:nth-child(8n + 7) {
	-webkit-transform: rotateY(180deg) rotate(270deg);
	transform: rotateY(180deg) rotate(270deg);
}

.az_frame_clone {
	position: absolute;
	background-color: var(--ecru);
	border-radius: 30px;
}

.az_frame_clone_overlay {
	border: 6px solid var(--light-brown);
	outline: 8px solid var(--light-brown);
	border-radius: 20px;
	z-index: 1;
	-webkit-box-shadow:
		-12px -12px 12px 0px rgba(0, 0, 0, 0.4) inset,
		12px 12px 12px 0px rgba(255, 255, 255, 0.6) inset;
	box-shadow:
		-12px -12px 12px 0px rgba(0, 0, 0, 0.4) inset,
		12px 12px 12px 0px rgba(255, 255, 255, 0.6) inset;
}

/*UI------------------------------------------------------------------*/

#ui_container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

/*PICKER*/

#ui_picker_container {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr 2px 1fr;
	grid-template-columns: repeat(7, 1fr);
	grid-column-gap: 2px;
}

.ui_picker {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-top: -3px;
	white-space: nowrap;
	overflow: hidden;
}

.ui_picker_title {
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.5px;
}

.ui_picker_icon_wrapper {
	background-color: var(--ecru);
	width: 100%;
	max-width: calc(585px / 7);
	height: 0;
	padding-bottom: 50%;
	padding-top: 50%;
	border-radius: 5px;
	cursor: pointer;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-box-shadow:
		-2px -2px 3px 0px rgba(0, 0, 0, 0.3) inset,
		3px 3px 3px 0px rgba(255, 255, 255, 1) inset;
	box-shadow:
		-2px -2px 3px 0px rgba(0, 0, 0, 0.3) inset,
		3px 3px 3px 0px rgba(255, 255, 255, 1) inset;
}

#ui_color_wrapper .ui_picker_color_bg_start {
	background-image: url(../svg/picker/color.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_start {
	background-image: url(../svg/picker/shape.svg);
}

#ui_creat_wrapper .ui_picker_creat_bg_start {
	background-image: url(../svg/picker/creat.svg);
}

#ui_color_wrapper .ui_picker_color_bg_0 {
	background-image: url(../svg/picker/color_blue.svg);
}

#ui_color_wrapper .ui_picker_color_bg_1 {
	background-image: url(../svg/picker/color_yellow.svg);
}

#ui_color_wrapper .ui_picker_color_bg_2 {
	background-image: url(../svg/picker/color_ecru.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_0 {
	background-image: url(../svg/picker/circle.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_1 {
	background-image: url(../svg/picker/square.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_2 {
	background-image: url(../svg/picker/triangle.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_3 {
	background-image: url(../svg/picker/drop.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_4 {
	background-image: url(../svg/picker/diamond.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_5 {
	background-image: url(../svg/picker/cutout.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_6 {
	background-image: url(../svg/picker/lily.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_7 {
	background-image: url(../svg/picker/leaf.svg);
}

#ui_shape_wrapper .ui_picker_shape_bg_8 {
	background-image: url(../svg/picker/heart.svg);
}

.ui_picker_icon {
	padding: 10px;
}

#ui_picker_icon_color {
	padding: 14px;
}

#ui_picker_icon_creat {
	padding: 20px;
}

@media screen and (max-width: 1200px) {
	.ui_picker_title {
		font-size: 1.2vw;
	}
	.ui_picker_icon {
		padding: 1vw;
	}
	#ui_picker_icon_color {
		padding: 1.4vw;
	}
	#ui_picker_icon_creat {
		padding: 2vw;
	}
	#ui_current_color {
		width: 40px;
		height: 40px;
	}
}

@media screen and (max-width: 800px) {
	.ui_picker_title {
		font-size: 2.7vw;
		letter-spacing: 0.06vw;
	}
	.ui_picker_icon {
		padding: 2vw;
	}
	#ui_picker_icon_color {
		padding: 2.8vw;
	}
	#ui_picker_icon_creat {
		padding: 3.4vw;
	}
}

/*DROPDOWN*/

#ui_container .hide {
	display: none;
}

.hide {
	display: none;
}

.hide_vis {
	visibility: hidden;
}

#ui_color_container {
	-webkit-transform: translate(-84px, 41px);
	-ms-transform: translate(-84px, 41px);
	transform: translate(-84px, 41px);
	position: absolute;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 82px 2px 82px 2px 82px;
	grid-template-columns: repeat(3, 82px);
	-webkit-column-gap: 2px;
	-moz-column-gap: 2px;
	column-gap: 2px;
	margin-top: 2px;
}

.ui_color {
	background-color: var(--ecru);
	border-radius: 4px;
	width: 82px;
	height: 82px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-shadow:
		-2px -2px 3px 0px rgba(0, 0, 0, 0.3) inset,
		3px 3px 3px 0px rgba(255, 255, 255, 1) inset;
	box-shadow:
		-2px -2px 3px 0px rgba(0, 0, 0, 0.3) inset,
		3px 3px 3px 0px rgba(255, 255, 255, 1) inset;
}

.ui_color div {
	width: 40px;
	height: 40px;
	border-radius: 4px;
}

.ui_color_0 {
	background-color: var(--blue-solid);
}

.ui_color_1 {
	background-color: var(--yellow-solid);
}

.ui_color_2 {
	background-color: var(--ecru);
	border: 2px solid var(--light-brown);
}

#ui_current_color {
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 4px;
}

#ui_shape_container {
	-webkit-transform: translate(-84px, 41px);
	-ms-transform: translate(-84px, 41px);
	transform: translate(-84px, 41px);
	position: absolute;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 82px 2px 82px 2px 82px;
	grid-template-columns: repeat(3, 82px);
	-webkit-column-gap: 2px;
	-moz-column-gap: 2px;
	column-gap: 2px;
	row-gap: 2px;
	margin-top: 2px;
}

.ui_shape {
	background-color: var(--ecru);
	border-radius: 4px;
	width: 82px;
	height: 82px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-shadow:
		-2px -2px 3px 0px rgba(0, 0, 0, 0.3) inset,
		3px 3px 3px 0px rgba(255, 255, 255, 1) inset;
	box-shadow:
		-2px -2px 3px 0px rgba(0, 0, 0, 0.3) inset,
		3px 3px 3px 0px rgba(255, 255, 255, 1) inset;
}

.ui_shape img {
	width: 60px;
	height: 60px;
}

@media screen and (max-width: 1200px) {
	#ui_color_container {
		-webkit-transform: translate(calc(-6vw - 2px), calc(3vw + 1px));
		-ms-transform: translate(calc(-6vw - 2px), calc(3vw + 1px));
		transform: translate(calc(-6vw - 2px), calc(3vw + 1px));
		grid-template-columns: repeat(3, 6vw);
	}
	.ui_color {
		width: 6vw;
		height: 6vw;
	}
	.ui_color div {
		width: 3vw;
		height: 3vw;
	}
	#ui_current_color {
		width: 3vw;
		height: 3vw;
	}
	#ui_shape_container {
		-webkit-transform: translate(calc(-6vw - 2px), calc(3vw + 1px));
		-ms-transform: translate(calc(-6vw - 2px), calc(3vw + 1px));
		transform: translate(calc(-6vw - 2px), calc(3vw + 1px));
		grid-template-columns: repeat(3, 6vw);
	}
	.ui_shape {
		width: 6vw;
		height: 6vw;
	}
	.ui_shape img {
		width: 4vw;
		height: 4vw;
	}
}

@media screen and (max-width: 800px) {
	#ui_color_container {
		-webkit-transform: translate(calc(-12.5vw - 3px), calc(6.25vw - 0px));
		-ms-transform: translate(calc(-12.5vw - 3px), calc(6.25vw - 0px));
		transform: translate(calc(-12.5vw - 3px), calc(6.25vw - 0px));
		grid-template-columns: repeat(3, 12.5vw);
	}
	.ui_color {
		width: 12.5vw;
		height: 12.5vw;
	}
	.ui_color div {
		width: 6.25vw;
		height: 6.25vw;
	}
	#ui_current_color {
		width: 6.25vw;
		height: 6.25vw;
	}
	#ui_shape_container {
		-webkit-transform: translate(calc(-12.5vw - 3px), calc(6.25vw - 0px));
		-ms-transform: translate(calc(-12.5vw - 3px), calc(6.25vw - 0px));
		transform: translate(calc(-12.5vw - 3px), calc(6.25vw - 0px));
		grid-template-columns: repeat(3, 12.5vw);
	}
	.ui_shape {
		width: 12.5vw;
		height: 12.5vw;
	}
	.ui_shape img {
		width: 9vw;
		height: 9vw;
	}
}

/*SLIDER*/

.ui_iconslider_container {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-column-gap: 10px;
	-moz-column-gap: 10px;
	column-gap: 10px;
	padding: 5px 0;
}

.ui_slider_icon {
	width: 50px;
	height: 50px;
}

input[type="range"] {
	-webkit-appearance: none;
	width: 100%;
	height: 2px;
	border-radius: 3px;
	background: var(--dark-brown);
	outline: none;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--light-brown);
	cursor: pointer;
	border: 2px solid var(--dark-brown);
}

input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--light-brown);
	cursor: pointer;
	border: 2px solid var(--dark-brown);
}

@media screen and (max-width: 1200px) {
	.ui_iconslider_container {
		padding: 0;
	}
	input[type="range"] {
		height: 2px;
	}
	input[type="range"]::-webkit-slider-thumb {
		width: 2vw;
		height: 2vw;
	}
	input[type="range"]::-moz-range-thumb {
		width: 2vw;
		height: 2vw;
	}
}

@media screen and (max-width: 800px) {
	#ui_slider_container {
		margin: 3vw 0 5vw 0;
	}
	.ui_iconslider_container {
		padding: 0.5vw 0;
	}
	input[type="range"] {
		height: 2px;
	}
	input[type="range"]::-webkit-slider-thumb {
		width: 5vw;
		height: 5vw;
	}
	input[type="range"]::-moz-range-thumb {
		width: 5vw;
		height: 5vw;
	}
	.ui_slider_icon {
		width: 10vw;
		height: 10vw;
	}
}

/*FUNCTION*/

#ui_function_container {
	display: -ms-grid;
	display: grid;
	grid-template-columns: repeat(9, 1fr);
}

.ui_function {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-top: -3px;
	width: calc(585px / 9);
}

.ui_function_title {
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.ui_function_icon_wrapper {
	background-color: var(--ecru);
	width: calc(585px / 9);
	height: calc(585px / 9);
	border-radius: 5px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	overflow: hidden;
	-webkit-box-shadow:
		-2px -2px 3px 0px rgba(0, 0, 0, 0.3) inset,
		3px 3px 3px 0px rgba(255, 255, 255, 1) inset;
	box-shadow:
		-2px -2px 3px 0px rgba(0, 0, 0, 0.3) inset,
		3px 3px 3px 0px rgba(255, 255, 255, 1) inset;
}

.ui_function_icon {
	padding: 3px;
	cursor: pointer;
}

@media screen and (max-width: 1200px) {
	.ui_function_title {
		font-size: 1.2vw;
		letter-spacing: 0.06vw;
	}
	#ui_function_container {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	.ui_function {
		width: 5vw;
	}
	.ui_function_icon_wrapper {
		width: 5vw;
		height: 5vw;
	}
	.ui_function_icon {
		padding: 0.1vw;
		cursor: pointer;
	}
}

@media screen and (max-width: 800px) {
	.ui_function_title {
		font-size: 2.3vw;
		letter-spacing: 0.06vw;
	}
	#ui_function_container {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		padding: 0;
	}
	.ui_function {
		width: 11vw;
	}
	.ui_function_icon_wrapper {
		width: 11vw;
		height: 11vw;
	}
	.ui_function_icon {
		padding: 0.5vw;
		cursor: pointer;
	}
}

/*NAV-----------------------------------------------------------------*/

header {
	width: 100%;
	height: 40px;
	background-color: rgba(58, 49, 41, 0.1);
	position: absolute;
	top: 0;
	left: 0;
}

nav {
	width: 100%;
	height: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

nav #logo {
	height: 14px;
	padding-bottom: 2px;
}

nav p {
	font-size: 12px;
	letter-spacing: 1px;
}

@media screen and (max-width: 1200px) {
	nav {
		padding: 0 8vw;
		margin: 0;
		width: auto;
	}
}

@media screen and (max-width: 800px) {
	header {
		height: 30px;
	}
	nav #logo {
		height: 12px;
		padding-bottom: 2px;
	}
	nav p {
		font-size: 12px;
	}
}
