:root {
	--header-bg-color: #fff;
	--header-fg-color: #d4072a;
	
	--highlighted-bg-color: #522583;
	--highlighted-fg-color: #fff;
	
	--highlighted-text-color: var(--highlighted-bg-color);
	--highlighted-text-dark-color: #23085c;
	--highlighted-secondary-text-color: #d4072a;
	
	--main-bg-color: #eeeaf5;
	
	--button-bg-color: var(--highlighted-secondary-text-color);
	--button-bg-hover-color: #aa0019;
	--button-fg-color: #fff;
}

html, body {
	padding: 0;
	margin: 0;
	font-family: "proxima-nova", sans-serif;
}

header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	
	max-width: 1200px;
	height: 90px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 40px;
	
	background: var(--header-bg-color);
	color: var(--header-fg-color);
}

#header-logo {
	height: 70%;
}

#header-logo img {
	height: 100%;
}

#header-description {
	display: flex;
	align-items: center;
	
	height: 85px;
	border-top: 5px solid var(--header-fg-color);
	
	font-weight: 900;
	font-size: 21px;
}

main {
	background: var(--main-bg-color);
	min-height: calc(100vh - 90px);
}

#content {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	
	padding: 60px 40px 20px 40px;
}

main h1 {
	margin: 0;
	
	color: var(--highlighted-text-color);
	
	font-weight: 900;
	font-size: 47px;
	
	text-transform: uppercase;
	
	line-height: 45px;
}

#profile-canvas-wrapper {
	display: grid;
	grid-template-columns: 500px 1fr;
	grid-template-rows: 1fr;
	gap: 0 20px;
	grid-template-areas:
		"canvas controls";
	
	margin-top: 60px;
	
	object-fit: contain;
}

#profile-canvas {
	grid-area: canvas;
	width: 100%;
	
	border-radius: 3px 40px;
	
	box-shadow: 0 0 20px -8px rgba(0,0,0,0.75);
}

#profile-controls {
	grid-area: controls;
	
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#profile-controls-top-wrapper {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: stretch;
	
	padding-bottom: 10px;
}

.profile-controls-top-wrapper-border {
	border-bottom: 1px solid var(--button-bg-color);
}

#profile-controls-upload-button, #profile-controls-download {
	flex: 1;
}

button {
	padding: 16px 8px;
	border: 0;
	border-radius: 6px;
	
	background: var(--button-bg-color);
	color: var(--button-fg-color);
	
	cursor: pointer;
	
	transition: .15s;
	
	font-size: 16px;
	font-weight: 700;
}

button:hover {
	background: var(--button-bg-hover-color);
}

.button-small {
	padding: 8px 8px;
	font-size: 13px;
	font-weight: 700;
	
	background: var(--highlighted-text-color);
}

.button-small:hover {
	background: var(--highlighted-text-dark-color);
}

#profile-controls-middle-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#profile-controls-overlay-type-label,
#profile-controls-zoom-input-label,
#profile-controls-move-label {
	font-weight: 700;
	color: var(--highlighted-text-color);
	margin-left: auto;
	margin-right: auto;
}

.select2-container--default .select2-selection--single {
	height: max-content;
}

.select2-image-wrapper {
	display: flex;
	overflow: hidden;
	padding: 5px;
	gap: 10px;
}

.select2-container-medium-images .select2-image {
	max-height: 80px;
	max-width: 160px;
}

.select2-text {
	display: flex;
	align-items: center;
	color: var(--highlighted-bg-color);
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-search--dropdown .select2-search__field,
.select2-dropdown {
	border: 1px solid var(--highlighted-bg-color);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: var(--highlighted-bg-color) transparent transparent transparent;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__option--selected {
	background-color: var(--main-bg-color);
}

#profile-controls-bottom-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	
	padding-left: 35px;
}

#profile-controls-zoom-wrapper,
#position-controls-top-wrapper {
	display: flex;
	align-items: center;
	gap: 15px;
}

#profile-controls-move-desc {
	color: var(--highlighted-text-color);
	display: block;
	text-align: right;
}

@media screen and (max-width: 1200px) {
	#header-description {
		display: none;
	}
	
	#profile-canvas-wrapper {
		grid-template-columns: 1fr;
		grid-template-rows: max-content 1fr;
		gap: 20px 0;
		grid-template-areas:
			"canvas"
			"controls";
	}
	
	.select2-container-medium-images .select2-image {
		max-height: 60px;
		max-width: 80px;
	}
	
	#profile-controls-bottom-wrapper {
		flex-direction: column;
		padding-left: 0;
	}
}

footer {
	padding-bottom: 20px;
	
	background: var(--main-bg-color);
	color: #666;
	
	font-size: 13px;
	text-align: center;
}
