body, html {
	background: #f79f79;
	min-width: 850px;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	margin-bottom: -1%;
	overflow-x: hidden
}

h1 {
	width: 100%;
	text-align: center;
	margin-bottom: 2%;
	margin-top: 1%;
	letter-spacing: 0.05em;
	font-family: 'Lato', sans-serif;
	font-size: 400%;
	color: #333333;
	text-shadow: 1px 3px 2px white;
}

.main-area {
	width: 70%;
	min-width: 850px;
	height: 50%;
	margin: auto;
}

.left-input {
	width: 47.5%;
	float: left;
	margin-bottom: 3%;
}

.right-output {
	width: 47.5%;
	float: right;
	margin-bottom: 3%;
}

#input, #output {
	box-shadow: 4px 8px 6px #333333;
	border: none;
	resize: none;
	outline: none;
	font: xx-large sans-serif;
	font-weight: normal;
	width: 100%;
	height: 8em;
	padding: 2% 3% 3%;
	box-sizing: border-box;
	background-color: #ffffff;
	overflow-y: scroll;
	display: flex;
	flex-wrap: wrap;
	white-space: pre-wrap;
	align-items: flex-start;
	align-content: flex-start;
}

#output {
	overflow-y: hidden;
	resize: vertical;
	min-height: 8em;
}

.hlight {
	background-color: #ffe279;
}

[data-tooltip]:before {
	content: attr(data-tooltip);
	position: absolute;
	opacity: 0;
	display: inline-block;
	pointer-events: none;
	z-index: 1;

	border-radius: 4px;
	background: #f79f79;
	box-shadow: 4px 8px 6px #333333;

	transition: all 0.1s;
	padding: 8px;
	color: #222222;
	box-sizing: border-box;
	font-family: 'Lato', sans-serif;
	font-size: large;
	font-weight: 700;
	text-align: center;
	white-space: pre-wrap;
}

[data-tooltip]:after {
	display: block;
	position: absolute;
	opacity: 0;
	height: 0;
	width: 0;
	border: 10px solid transparent;
	border-bottom-color: #f79f79;
	transition: all 0.1s;
	content: "";
}

[data-tooltip]:hover:before {
	opacity: 1;
	margin-top: 45px;
	margin-left: -5px;
}

[data-tooltip]:hover:after {
	opacity: 1;

	margin-top: -10px;
	margin-left: 5px;
}

[data-placeholder-tooltip]:before {
	content: attr(data-placeholder-tooltip);
	position: absolute;
	display: inline-block;
	pointer-events: none;
	z-index: 1;

	border-radius: 4px;
	background: #f79f79;
	box-shadow: 4px 8px 6px #333333;

	transition: all 0.1s;
	padding: 8px;
	margin-top: 45px;
	margin-left: -5px;
	color: #222222;
	box-sizing: border-box;
	font-family: 'Lato', sans-serif;
	font-size: large;
	font-weight: 700;
	text-align: center;
	white-space: pre-wrap;
}

[data-placeholder-tooltip]:after {
	display: block;
	position: absolute;
	height: 0;
	width: 0;
	border: 10px solid transparent;
	border-bottom-color: #f79f79;
	content: "";
	margin-top: -10px;
	margin-left: 5px;
}

.ad {
	background: white;
	height: 100px;
	width: 100%;
	position: relative;
	display: inline-block;
	box-shadow: 4px 8px 6px #333333;
	margin-bottom: 3%;
}

.explanation {
	max-height: 170px;
	height: 170px;
	margin-bottom: 3%;
	padding-bottom: 1%;
	position: relative;
	overflow: hidden;
	width: 100%;
	align-self: center;
}

.example-img-div {
	width: 100%;
	position: relative;
	margin-bottom: 3%;
	box-sizing: border-box;
}

#example-img {
	margin: auto;
	width: 40%;
	min-width: 400px;
	display: block;
	box-shadow: 0 0 3px #333333;
}

#explanation-content {
	position: relative;
	width: 70%;
	margin: auto;
	margin-bottom: 3%;
	padding: 1% 3% 1%;
	background-color: white;
	box-sizing: border-box;
	box-shadow: 4px 8px 6px #333333;
}

#explanation-content p{
	font-family: Lato, sans-serif;
	font-weight: 400;
	font-size: large;
	text-align: justify;
}

#explanation-content .warning{
	color: #e00404;
	text-align: center;
	font-weight: 700;
}

#explanation-content h3{
	margin: 2px;
	font-family: Lato, sans-serif;
	font-weight: 700;
	font-size: x-large;
	text-align: center;
}

#explanation-content ol{
	font-family: Lato, sans-serif;
	font-weight: 400;
	font-size: large;
	text-align: justify;
}

#explanation-content a{
	text-decoration: none;
	color: blue;
}

#read-more {
	z-index: 4;
	position: absolute;
	bottom: 0;
	width: 97%;
	text-align: center;
	margin: 0; padding: 30px 0;
	background-image: linear-gradient(to bottom, rgba(247,159,121,0), #f79f79);
}

#read-more-button {
	background-color: #f79f79;
	border: white solid;
	box-shadow: 5px 10px 5px #333333;
	color: #333333;
	text-decoration: none;
	font-family: Lato, sans-serif;
	font-size: small;
	font-weight: 400;
	padding: 10px;
}

.fb-comments-background {
	display: inline-block;
	background-color: white;
	position: static;
	width: 100%;
	box-shadow: 4px 8px 6px #333333;
}

.footer {
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
	margin-top: 5%;
	padding-bottom: 1%;
	background-color: #333333;
	font-family: Lato, sans-serif;
	font-weight: 300;
	text-align: center;
	color: white;
}

.row {
	width: 60%;
	min-width: 850px;
	margin: auto;
	box-sizing: border-box;
	display: flex;
}

.row p {
	text-align: justify;
	width: 100%;
}

.col-left {
	box-sizing: border-box;
	flex: 70%;
	padding: 3%;
}

.col-right {
	box-sizing: border-box;
	flex: 30%;
	min-width: 200px;
	padding: 3%;
	margin: auto;
}

.footer #copyright {
	text-align: center;
}

@media (max-device-width: 600px)  {
	body, html {
		min-width: 0;
	}

	h1 {
		font-size: 250%;
	}

	.main-area {
		width: 90%;
		min-width: 0;
	}

	.left-input {
		display: block;
		width: 100%;
		height: 40%;
	}

	.right-output {
		display: block;
		width: 100%;
		height: 40%;
		margin-bottom: 5%;
	}

	#input, #output {
		font: x-large sans-serif;
		height: 7em;
		box-shadow: 3px 7px 5px #333333;
	}

	#output {
		min-height: 7em;
	}

	[data-placeholder-tooltip]:before {
		max-width: 70%;
		margin-top: 65px;
	}

	[data-placeholder-tooltip]:after {
		margin-top: -8px;
	}

	[data-tooltip]:hover:before {
		margin-top: 40px;
	}
	[data-tooltip]:hover:after {
		margin-top: -5px;
	}

	.ad {
		box-shadow: 3px 7px 5px #333333;
		margin-bottom: 5%;
	}

	.explanation {
		width: 103%;
		padding-bottom: 3%;
	}

	.example-img-div {
		margin-bottom: 1%;
	}

	#example-img {
		width: 100%;
		min-width: 0;
		box-shadow: 0 0 2px #333333;
	}

	#explanation-content {
		width: 97%;
		padding: 2%;
		margin-left: 0;
		box-shadow: 3px 7px 5px #333333;
	}

	#explanation-content p {
		font-size: medium;
		text-align: justify;
	}

	#explanation-content ol{
		padding-right: 10%;
	}

	#read-more {
		width: 100%;
	}

	.fb-comments-background {
		box-shadow: 3px 7px 5px #333333;
	}

	.footer {
		margin-top: 8%;
		padding-bottom: 15%;
	}

	.row {
		padding: 3%;
		width: 100%;
		min-width: 100%;
		text-align: center;
		flex-direction: column;
	}

	.row p {
		text-align: center;
	}

	.col-left {
		flex: 100%;
		width: 100%;
		padding: 2%;
	}

	.col-right {
		flex: 100%;
		width: 100%;
		padding: 2%;
	}
}
