@import url('https://fonts.googleapis.com/css2?family=MuseoModerno:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');

@font-face {
    font-family: 'Craft Gothic';
    src: local('Craft Gothic Semi Condensed'), local('Craft-Gothic-Semi-Condensed'),
        url('CraftGothic-SemiCondensed.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Futura Condenced';
	src: local('FuturaMediumC'),
		url('FuturaMediumC.woff') format('woff');
}

  :root {
	--border: solid white 2px;
	--font-family: 		
		"Craft Gothic",
		"Futura Condenced",
		sans-serif;
}

body {
	color: #f9f9f9; 
	background-color: #1d1f20; 
	font-family: 'Roboto', sans-serif;
	display: grid;
	grid-template-columns: 15% 20% auto 300px 15%;
	grid-template-areas: 
		". header header header ."
		". main main sidebar ."
		". main main sidebar .";
}

h2 {
	font-family: 'MuseoModerno';
}

.siteTitle { 
	font-weight: 600;
	grid-area: header;
	height: 80px;
	background: #523882;
	padding-left: 40px;
}

.mainBlock {
	grid-area: main;
}

.sideBlock { 
	grid-area: sidebar;
	background-color: #343536;
	padding-left: 15px;
}

form label {
	font-family: 'MuseoModerno';
	font-weight: bold;
	font-size: large;
	margin-right: 10px;
}

input#image-url {
	width: 300px;
	height: 1.5em;
	border: 1px solid gray;
	font: initial;
	font-family: sans-serif;
	text-shadow: none;
}

#imgForm button {
	background: #523882 !important;
	color: whitesmoke;
	font-family: 'Roboto', sans-serif;
	font-size: 0.9em;
	border: none;
	padding: 5px !important;
}

.templateContainer {
	display: flex;
	width: 1035px;
	height: 605px;
	margin: 15px;
	background-color: #ffa6ff;
	border: var(--border);
	text-align: center;
	color: white;
	text-shadow: #e27ece 3px 2px 0px;
	font-family: var(--font-family);
	vertical-align: middle;
}

.leftRow, .rightRow {
	width: 50%;
}	


input, textarea {
    background: none;
    border: none;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 40px;
    font-family: var(--font-family);
	color: white;
	text-shadow: #e27ece 3px 2px 0px;
}


#name {
	font-size: 55px;
}

	div#name {
		font-size: 55px;
		border-right: var(--border);
	}

#class {
	font-size: 30px;
}

	div#class {
		border-right: var(--border);
		border-bottom: var(--border);
	}

div#portrait {
		height: 80%;
		border-right: var(--border);
}

#portrait>img {
	height: 486px !important;
}

.rightRow {
	height: 100%;
}

.upperRightRow {
	display: flex;
	height: 60%;
}

.bottomRightRow {
	height: 45% !important;
	margin-top: -5%;
}

.leftSubrow, .rightSubrow {
	width: 50% !important;
}

.leftSubrow div {
	height: 18%;
	border-right: var(--border);
	border-bottom: var(--border);
}

.rightSubrow div {
	height: 18%;
	border-bottom: var(--border);
}

#infoTitle>input {
	height: 10% !important;
	font-size: 2em !important;
	border-bottom: var(--border);
}

#info {
	height: 80%;
}

#info textarea {
	line-height: 1 !important;
}

textarea {
	position: relative;
	display: block;
	margin: auto;
    overflow: hidden;
	resize: none;
}

#repInput {
	height: 10% !important;
	display: flex;
	flex-direction: column-reverse;
}

output { 
	font-size: 2em;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

input[type="range"] {
	height: 8px;
	appearance: none;
	background: transparent;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: -40px;
}

input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	border: 1px solid #000000;
	height: 30px;
	width: 10px;
	background: #ffffff;
	cursor: pointer;
	border: 2px solid graytext;
	box-shadow: inset -1px 0px 2px 0px graytext;
}

input[type="range"]::-webkit-slider-runnable-track {
	background: linear-gradient(90deg, #7f5b7f 0 33%, #bf9dbf 33% 66%, #ffdeff 66%);
}

::placeholder {
    color: white;
}

.why {
	width: 90%;
	color: rgba(255, 255, 255, 0.05);
}