*,
:after,
:before {
	box-sizing: border-box;
}

@font-face {
	font-family: MinecraftTenV2;
	src: url('Minecraft-Tenv2.woff');
}

/* wrapper to prevent strange 
border when rendering image */
body, #main {
	background: rgb(60, 133, 39);
}

#main {
	padding: 2rem;
	max-width: 55.5625rem;
	margin-left: auto;
	margin-right: auto;
}

section {
	background: #ede5e2;
	font-family: Noto Sans,sans-serif;
	line-height: 1.5;
	margin: 0;
	border-image-outset: 4px;
}


/* Normally box shadow would be used but only
inset shadows actually render in the final result */
section::after {
	content: '';
	height: 4px;
	width: 100%;
	background: rgba(0,0,0,.25);
	display: block;
	transform: translateY(4px);
}

.section-content {
	padding: 1.5rem;
}

/* Intro */
.card-view__title {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	letter-spacing: .04em;
	color: #262423;
	background: #d0c5c0;
	padding: .4375rem;
	box-shadow: inset 0 -.125rem 0 rgba(0,0,0,.2),inset 0 .125rem 0 hsla(0,0%,100%,.10196078431372549);
}
.card-view__title-header-text {
    font-family: MinecraftTenV2,Noto Sans,sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.75rem;
	margin: 0;
}
.change-cape__content-description {
	font-family: Noto Sans,sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 22px;
	text-align: center;
	align-items: center;
	letter-spacing: -.015em;
	color: #262423;
	padding-bottom: 24px;
}

/* Grid */
#row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
	text-align: center;
}

/* Grid item */
.cell {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	padding-bottom: 1rem;
	box-sizing: border-box;
	width: 243px;
	margin: 15px;
	flex-basis: 0px;
	flex-grow: 1;
}

/* Checkbox + label under image */
.radio .radio-icon {
	display: inline-block;
	background-color: #fff;
	border: 2px solid rgba(0,0,0,.5);
	border-radius: 50%;
	margin-right: .25em;
	padding: 2px;
	transition: .3s;
	line-height: 0;
	position: relative;
}
.radio .radio-icon:after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	transition: .3s;
}
.radio .radio-label {
	display: inline-flex;
	align-items: center;
	transition: .3s;
}
.text-truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.radio .text-truncate {
	padding: .3125rem;
}

/* General */
.w-100 {
	width: 100%!important;
}
.h-100 {
	height: 100%!important;
}
.mb-3 {
	margin-bottom: 1rem!important;
}
label {
	color: #5a5a5a;
	font-size: 14px;
	margin-bottom: 0;
}
input[type=checkbox], input[type=radio] {
	box-sizing: border-box;
	padding: 0;
}

/* Cape image */
.d-inline-block {
	min-height: 8.375rem;
	display: inline-block!important;
	image-rendering: pixelated;
}
.position-relative {
	position: relative!important;
}

/* Radio box */
.radio {
	display: inline-block;
	position: relative;
}
.radio .radio-selection {
	display: block;
	border: 3px solid rgba(0,0,0,.1);
	border-radius: 4px;
	padding: 1rem;
	transition: .3s;
}
.radio .radio-selection {
	background: #fff!important;
	border: 2px solid #aba09c!important;
	box-sizing: border-box!important;
	box-shadow: unset!important;
	border-radius: 0!important;
}

.radio input[type=radio] {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	height: 1.3em;
	width: 1.3em;
}

/* Selected */
.radio input[type=radio]:checked+label.radio-selection {
	border-color: #008542!important;
	background: #fff!important;
	box-shadow: unset!important;
	border-radius: 0!important;
}
.radio input[type=radio]:checked+label .radio-icon {
	border-color: #3c8527;
}
.radio input[type=radio]:checked+label .radio-icon:after {
	background-color: #3c8527;
}

/* Screenshot button */
#screenshotBtn {
	display: block;
	position: absolute;
	right: 30px;
	bottom: 30px;
	height: 50px;
	width: 50px;
	font-size: 30px;
	background: rgb(196, 68, 68);
	border-radius: 100%;
	text-align: center;
}