/*
mint: #9ad3bc
light brown: #f3eac2
orange: #f5b461


red: #ec524b rgb(236,82,75)
grey: #787878 rgb(120, 120, 120)
purple: #c152d2 rgb(193, 82, 210)
green: #3bc146 rgb(59, 193, 70)

blue: #1d9edc rgb(29, 158, 220)
blue (transparent): rgba(29, 158, 220, 0.5);
*/

body {
	background-color: #ffffff;
	color: black;
	font-family: 'Archivo Black', sans-serif;
	font-size: 16pt;
	line-height: 16pt;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 700;
	position: relative;
}

h1 {
	color: #c152d2;
}

h2 {
	color: #000000;
}

h1::after {
	content: '';
	position: absolute;
	top: 200%;
	height: 8px;
	width: 35%;
	left: 35%;
	background-color: rgba(29, 158, 220, 0.5);
}

span {
	display: inline;
}

main {
	min-height: 300px;
	text-align: center;
}

#container {
	width: 100%;
	max-width: 500px;
	margin: auto;
}

nav {
	display: flex;
	width: 100%;
	margin-bottom: 25px;
	line-height: 40pt;
}

#nav_logo, #nav_options {
	display: inline-block;
}

#nav_logo {
	flex-grow: 1;
}

#nav_option {
	text-align: right;
}

.show {
	display: block !important;
}

.hide, .hide_submit {
	display: none !important;
}

footer {
	text-align: center;
	font-size: 12pt;
	font-weight: 300;
	color: #787878;
}

.heart {
	color: #ffffff;
	font-size: 35px;
	display: inline-block;
	height: 50px;
	width: 50px;
	background-color: #000000;
	border-radius: 50%;
	text-align: center;
	margin-right: 10px;
}

.logotext {
	position: relative;
	color: #787878;
	font-size: 40px;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 900;
}

.logotext::after {
	content: '';
	position: absolute;
	top: 85%;
	height: 8px;
	width: 90%;
	left: 5%;
	background-color: rgba(29, 158, 220, 0.5);
}

#alert_box_container {
	position: absolute;
	z-index: 5;
	height: 200px;
	width: 500px;
	top: 150px;
}

#alert_greyout {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 4;
	background: rgba(120, 120, 120, 50);
	opacity: 0.6;
}

#alert_box {
	position: relative;
	width: 300px;
	height: 150px;
	background: #ffffff;
	border: 1px solid rgba(29, 158, 220, 0.5);
	border-radius: 3px;
	text-align: center;
	font-family: Tahoma,Verdana,Segoe,sans-serif;
	padding: 10px;
	margin: auto;
}

#alert_box_buttons {
	position: absolute;
	bottom: 10px;
	width: 100%;
	margin: auto;
}

input[type=text] {
	width: 90%;
	margin-bottom: 25px;
	border: 2px solid #787878;
	border-radius: 3px;
}

input[type=text]:hover {
	border-color: #1d9edc;
}

input[type=text]:focus {
	border-color: #1d9edc;
	outline: 3px solid rgba(29, 158, 220, 0.5);
}

input {
	background-color: #ffffff;
	border: 1px solid #000000;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 700;
	font-size: 16pt;
}

#frontpage_name, #frontpage_otp {
	font-family: 'Archivo Black', serif;
	text-transform: uppercase;
	text-align: center;
}

.example {
	color: #787878;
}

.submit_button {
	display: block;
	background: rgba(29, 158, 220, 0.9);
	border-radius: 3px;
	text-decoration: none;
	text-align: center;
	width: 150px;
	height: 40px;
	line-height: 40px;
	color: #ffffff;
	margin: auto;
	transition: background 0.3s ease-in;
}

.submit_button:hover {
	cursor: pointer;
	background: #1d9edc;
}

.cancel_button {
	display: block;
	background: rgba(236,82,75, 0.9);
	border-radius: 3px;
	text-decoration: none;
	text-align: center;
	width: 150px;
	height: 40px;
	line-height: 40px;
	color: #ffffff;
	margin: auto;
	transition: background 0.3s ease-in;
}

.cancel_button:hover {
	cursor: pointer;
	background: #ec524b;
}

.alert_button {
	display: inline-block;
	width: 100px;
}

.error_message {
	margin-top: 20px;
	display: none;
	color: #ec524b;
	font-weight: 200;
	font-size: 12pt;
}

.content_box {
	border: 1px solid rgba(29, 158, 220, 0.5);
	border-radius: 3px;
	width: 90%;
	min-height: 200px;
	margin: auto;
	text-align: center;
	font-family: Tahoma,Verdana,Segoe,sans-serif;
	padding: 10px;
}

span.instructions, span.content_box_top, span.formatted_question {
	display: block;
	margin-top: 10px;
	margin-bottom: 25px;
}

.first_answer {
	margin-top: 25px;
}

span.answered {
	display: block;
	width: 90%;
	text-align: left;
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 700;
	font-size: 16pt;
	color: #787878;
	border: 2px solid rgba(29, 158, 220, 0.5);
	border-radius: 3px;
	margin: auto;
	margin-top: 25px;
	margin-bottom: 25px;
	padding: 4px 2px;
	min-height: 1em;
}

/* Iris */
img.photo {
	width: 300px;
	border-radius: 100%;
}

/*@media only screen and (max-width: 1024px) {*/
@media (max-width: 600px){
	body {
		font-size: 32pt;
		line-height: 24pt;
	}
	
	#container {
		max-width: 100%;
	}

	.heart {
		font-size: 70px;
		height: 100px;
		width: 100px;
		margin-right: 20px;
		line-height: 100px;
	}

	.logotext {
		font-size: 80px;
	}

	.logotext::after {
		height: 16px;
	}

	nav {
		width: 100%;
	}
	
	input[type=text] {
		width: 70%;
	}

	input {
		font-size: 40pt;
	}
	
	.error_message {
		font-size: 22pt;
	}

	.submit_button {
		width: 250px;
		height: 60px;
		line-height: 60px;
	}

}
