@charset "UTF-8";

/* Global */

* {       
	box-sizing: border-box;
}

html {
	margin: 0;
	background: #fff;
}

body {
	height: fit-content;
	margin: 0;
}

/* Typeography */

/* Small mobile */
h1 {
	font-size: 1.8em;
}

p {
	font-size: .8em;
}

a {
	font-size: 1em;
	color:#6B3374;
	text-decoration: underline;
}

.btn {
	font-size: 1.1em;
}

/* Medium/Large mobile */
@media only screen and (min-width: 321px) {
	h1 {
		font-size: 2.3rem;
	}
	
	p {
		font-size: 1em;
	}

	a {
		font-size: 1em;
	}
	
	.btn {
		font-size: 1.2em;
	}

	.icon {
		max-height: 60px;
	}

}

/* Iphone 6,7,8 */
@media only screen and (device-width : 375px) and (device-height : 667px) and (-webkit-device-pixel-ratio : 2) { 
	h1 {
		font-size: 1.8rem;
	}
	
	p {
		font-size: .8em;
	}

	a {
		font-size: .8em;
	}
	
	.btn {
		font-size: .9em;
	}

}

/* Tablet and above */
@media only screen and (min-width: 768px) {
	p {
		font-size: 1.05em;
	}

	.stories p, .stories a {
		font-size: .85em;
	}

	.storyHeading {
		font-size: 1em;
	}
}


/* Containers */

#dawTool {
	/* height: 100vh; */
}

.header {
  width:100%;
  display:flex;
  justify-content: center;
	align-items: center;
  margin: 0;
	padding: .5rem;
	background-color: #6B3374;
	height: 10%;
	min-height: 10%;
}

.header h1 {
	font-family: corbel, arial, sans-serif;
	color: white;
	margin: 0;
	font-weight: lighter;
}

.header h2 {
	font-family: corbel, arial, sans-serif;
	color: white;
	margin: 0;
	font-weight: lighter;
}

.mainContent {
	max-width: 600px;
	padding-top: .5em;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	position: relative;
	margin-left:auto;
	margin-right:auto;
	max-height: inherit;
  max-width: inherit;
}

.final-page {
	display: block;
	padding: 0;
}

.bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	width: 100%;
}


@media only screen and (min-width: 769px) {
	#dawTool {
	  max-height: 670px;
	  max-width: 600px;
		margin: 1em auto;
  }

	.mainContent {
		border-left: 2px solid #6B3374;
		border-right: 2px solid #6B3374;
		border-bottom: 2px solid #6B3374;
		border-radius: 0 0 10px 10px;
		/* min-height: 570px;
		height: 570px; */
	}

	.final-page {
		border: 2px solid #6B3374;
		border-radius: 10px;
		padding: 1em 2em 1em 2em;
	}	
}


/* Elements */

#logo{
  width: 160px;
  height: 63px;
  margin-left: 15px;
}

.instruction {  
	width: 90%;
	margin: 4%;
	margin-bottom: 0;
	margin-top: 0;
	font-family: arial;
	color: #6B3374;
}

/* Buttons */

.btn {
  cursor: pointer;
	color:#fff !important;
  font-family: arial, sans-serif;
  padding:0.5em;
  border-style: none;
  margin: 0 1em 1em 1em;
  font-weight: normal;
	text-decoration: none;
	border-radius: 2px;
}

.btn-o {
  background-color:#CC4C19;
}

.btn-o:hover {
  background: #f1865b;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
}

.btn-g {
  background-color:#333;
}

.btn-g:hover {
  background-color:#474747;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
}

.btn-sm {
  min-width:4.75em;
  margin: 0 10px;
  margin-bottom: .5em;
	padding: .5em 1.8em;
	font-weight: bold;
}

.btn-lg {
  display: block;
  width:100%;
  max-width: 12em;
  margin: auto;
  margin-bottom: 1em;
}

#restartbutton {
	margin-bottom: 1em;
	width:100%;
}

.get-help {
  margin-bottom: 0;
}

.btn-above {
	margin-top: 1em;
}

/* btn container sizes */

.storyBCont, .restart, .debtHelpFinalPage {
  width: 100%;
	margin: 0 auto;
}


/* Question Pages */

#q1,
#q2,
#q3,
#q4,
#q5,
#restart,
#storyBCont,
#results,
#result0,
#result1,
#result2,
#result3,
.stories,
.debtHelpFinalPage{   
	display:none;
}

.cloud {    
	display: none;
	align-items: center;
}

#cloud0 {   
	display: flex;
	align-items: center;
}

.cloudPic { 
	width: 70%;
	margin: 0 auto;
}

.debtmeter{ 
	padding: 1.3em 1.3em 0 1.3em;
}


/* Quiz */

.quiz {
	padding-bottom: .5em;
	height: 35vh;
	background-color: #eee;
}

.quiz, .stories {     
  padding: 1em .5em 0 .5em;
	width:100%;
	margin: 0;
}

.quiz .layoutbutton {
  position: absolute;
	bottom: 1.8em;
	left: 0;
}

@media only screen and (min-width: 321px) {
	.quiz {
		padding-bottom: .5em;
		padding-top: 2em;
		height: 35vh;
	}

	.quiz .layoutbutton {
		bottom: 2.1em;
	}
}

@media only screen and (min-width: 321px) and (min-height: 780px) {
	.quiz {
		height: 25vh;
	}
}

@media only screen and (min-width: 414px) {
  .quiz {
		border-radius: 0 0 10px 10px;
		height: 25vh;
	}
}



@media only screen and (min-width: 767px) {
	.quiz {
		border-radius: 0 0 10px 10px;
		height: 180px;
	}

	.quiz, .stories {
		border-radius: 0px 0px 10px 10px;
	}

	#stories {
		margin-bottom: 0;
		padding-bottom: .5em;
	}

	.quiz .layoutbutton {
		bottom: 1.2em;
	}

}


/* Stories */

.stories {  
	margin-bottom: 4%;
	padding-bottom: 2em;
	padding-top: 0;
	font-family: arial;
}

.storyHeading {
  font-family: corbel, arial, sans-serif;
  color: #6B3374;
	margin-bottom: -.1em;
}

.storyText {
	font-size: .9em;
}

.stories a {
	font-size: .9em;
	color: #6B3374;
	text-decoration: underline;
}

.client-stories-link {
	margin-bottom: 2em !important;
}


.q {
  display: flex;
  flex-direction:column;
}

.layoutq {
  display:flex;
  flex-direction: row;
	align-items: center;
	margin-left: 1em;
}

.qtext {
  margin-left: 10px;
  margin-top: 0px;
  font-family: arial;
  color: #333;
}

a {
  text-align: center;
}

.layoutbutton {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-around;
	width: 100%;
	margin: 0;
}

.results {      
	width:90%;
	padding: 1.5em;
	padding-bottom: 0;
	border-radius: 15px;
	margin: 4%;
	margin-top: 0px;
}

.result .resulttitle{   
	font-family: arial;
	color: #6b3374;
	margin-top: 0px;
}

.result p{              
	font-family: arial;
	color: #333333;
	line-height: 1.3
}

/* utils */
.hidden {
	display: none;
}

.icon {
  max-height: 50px;
	align-self: center;
	margin-bottom: 20px;
}
