h1, h2, h3, h4, h5 {
    margin-bottom: 20px;
    line-height: 1.25em;
}

body {
    position: relative;
    height: auto;
    min-height: 100%;
    background: url(images/universebg.jpg) no-repeat top center fixed;
    background-size: cover;
}

p + p {
    margin-top: 20px;
}

img {
    display: block;
    max-width: 100%;
    width: auto;
}

.wrap {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 100vh;
    padding: 50px 15px;
}

.container {
    width: 100%;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    padding: 50px;
    background-color: #fff;
    border-radius: 10px;
}

.profile {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.profile > .pic {
    width: 100%;
    max-width: 145px;
    margin-bottom: 20px;
    padding-right: 15px;
}

.profile > .text {
    width: 100%;
    margin-bottom: 20px;
}

.profile > .text p {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.25em;
}

.quiz-desc {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.quiz-desc > .pic {
    width: 100%;
    max-width: 274px;
    margin-bottom: 20px;
    padding-left: 15px;
}

.quiz-desc > .text {
    width: 100%;
    margin-bottom: 20px;
}


.checklist-red {
    padding: 10px 0;
    list-style: none;
}

.checklist-red li {
    list-style-type: none;
    padding: 0 0 0 45px;
    position: relative;
}

.checklist-red li:before {
    content: "\00a0";
    display: block;
    border: solid 9px #d50911;
    border-radius: 9px;
    -moz-border-radius: 9px;
    -webkit-border-radius: 9px;
    height: 0;
    width: 0;
    position: absolute;
    left: 7px;
    top: 40%;
    margin-top: -8px;
}

.checklist-red li:after {
    content: "\00a0";
    display: block;
    width: 3px;
    height: 6px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    position: absolute;
    left: 14px;
    top: 40%;
    margin-top: -4px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    width: auto;
    margin: 20px auto 0;
}

.quiz-btn {
    background-color: #983be0;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    position: relative;
    padding: 10px 20px;
    padding-right: 50px;
    background-image: linear-gradient(bottom, rgb(174,44,202) 0%, rgb(188,62,229) 100%);
    background-image: -o-linear-gradient(bottom, rgb(174,44,202) 0%, rgb(188,62,229) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(174,44,202) 0%, rgb(188,62,229) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(174,44,202) 0%, rgb(188,62,229) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(174,44,202) 0%, rgb(188,62,229) 100%);
    background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(44,160,202)), color-stop(1, rgb(62,184,229)) );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0px 1px 0px #a52aec, 0px 5px 0px 0px #541585, 0px 10px 5px #999;
    -moz-box-shadow: inset 0px 1px 0px #a52aec, 0px 5px 0px 0px #541585, 0px 10px 5px #999;
    -o-box-shadow: inset 0px 1px 0px #a52aec, 0px 5px 0px 0px #541585, 0px 10px 5px #999;
    box-shadow: inset 0px 1px 0px #a52aec, 0px 5px 0px 0px #541585, 0px 10px 5px #999;
}

.quiz-btn:active {
	top:3px;
	background-image: linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
	background-image: -o-linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
	background-image: -moz-linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
	background-image: -webkit-linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
	background-image: -ms-linear-gradient(bottom, rgb(62,184,229) 0%, rgb(44,160,202) 100%);
	background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0, rgb(62,184,229)),
	color-stop(1, rgb(44,160,202))
	);
	-webkit-box-shadow: inset 0px 1px 0px #2ab7ec, 0px 2px 0px 0px #541585, 0px 5px 3px #999;
	-moz-box-shadow: inset 0px 1px 0px #2ab7ec, 0px 2px 0px 0px #541585, 0px 5px 3px #999;
	-o-box-shadow: inset 0px 1px 0px #2ab7ec, 0px 2px 0px 0px #541585, 0px 5px 3px #999;
	box-shadow: inset 0px 1px 0px #2ab7ec, 0px 2px 0px 0px #541585, 0px 5px 3px #999;
}

.quiz-btn::before {
    background-color: #7625b4;
    background-image: url(images/right_arrow.png);
    background-repeat: no-repeat;
    background-position: center center;
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -9px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: inset 0px 1px 0px #2b0556, 0px 1px 0px #bf60f0;
    -moz-box-shadow: inset 0px 1px 0px #2b0556, 0px 1px 0px #bf60f0;
    -o-box-shadow: inset 0px 1px 0px #2b0556, 0px 1px 0px #bf60f0;
    box-shadow: inset 0px 1px 0px #2b0556, 0px 1px 0px #bf60f0;
}

.quiz-btn:active::before {
	top:50%;
	margin-top:-12px;
	-webkit-box-shadow: inset 0px 1px 0px #60c9f0, 0px 3px 0px #540e71, 0px 6px 3px #761aa6;
	-moz-box-shadow: inset 0px 1px 0px #60c9f0, 0px 3px 0px #540e71, 0px 6px 3px #761aa6;
	-o-box-shadow: inset 0px 1px 0px #60c9f0, 0px 3px 0px #540e71, 0px 6px 3px #761aa6;
	box-shadow: inset 0px 1px 0px #60c9f0, 0px 3px 0px #540e71, 0px 6px 3px #761aa6;
}

/* QUIZ */
.progress-title {
    margin-bottom: 20px;
}

.quiz {
    margin-bottom: 20px;
}

.choices {
    padding-left: 15px;
    list-style: none;
}

.question {
    font-size: 18px;
    font-weight: bold;
}

input[type=radio] {
    width: 100%;
    max-width: 20px;
}

.choices {
    list-style: none;
}

.choices li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
}

.choices li label {
    padding: 5px 10px;
}

.quiz-progress {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    list-style: none;
}

.quiz-progress li {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 60px;
}

.quiz-progress li .number {
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid #cbcbcb;
    color: #cbcbcb;
}
.quiz-progress li .number.done {
    background-color: #498cc8;
    border: 2px solid #498cc8;
    color: #fff;
}

.quiz-progress li .status {
    position: absolute;
    width: 100%;
    top: -15px;
    left: 0;
    font-size: 10px;
    text-align: center;
}

.color-red {
    color: #C00;
}

.signup .inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0;
}

.signup .inputs input{
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.result_profile {
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
}

.brain {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
}

.brain > div {
    width: 50%;
}

.brain  img {
    margin: 0 auto 10px;
}

.bg-yellow {
    background: #FF0;
}
.results h1 {
    line-height: 1.15em;
    text-align: center;
}

@media all and (max-width: 767px) {
    h1 {
        font-size: 20px;
    }
    .container {
        padding: 25px;
    }
    .brain,
    .profile {
        flex-direction: column;
        margin-bottom: 10px;
    }
    
    .brain > div {
        width: 100%;
    }
    
    .profile > .text {
        font-size: 0.9em;
    }

    .quiz-desc {
        flex-direction: column-reverse;
    }

    .profile > .pic,
    .quiz-desc > .pic{
        padding: 0;
    }

    .quiz-progress li .status {
        top: -30px;
    }

    .result_profile {
        float: none;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 15px;
    }
}