* {
    /*margin: 0;*/
    /*padding: 0;*/
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: Arial;
    color: #231f20;
    font-size: 16px;
    padding: 40px 0 0 0;
    margin: 0;
    height: 100%;
}

a {
    color: #528CE0;
    text-decoration: none;
}

a.btn:hover {
    background: #ec4c66;
}

p {
    padding-bottom: 20px;
}

h1 {
    margin: 0;
    font-size: 30px;
}

h2 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

a.next {
    display: none;
}

#result {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
}

.q {
    /*display: none;*/
    margin-bottom: 20px;
}

.q:first-child {
    display: block;
}

.main {
    min-height: calc(100% - 90px);
}

a.btn {
    display: inline-block;
    background: #528CE0;
    color: #fff;
    line-height: 30px;
    border-radius: 2px;
    padding: 0 20px;
}
a.btn:hover {
    background: #f5ca00; 
}
.content {
    max-width: 1014px;
    margin: 0 auto;
    padding: 40px;
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

a.service {
    display: inline-block;
    border: solid 1px #000;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    color: #000;
    margin: 0 10px 20px;
    width: 200px;
    font-weight: bold;
}

a.service:hover {
    background: #f5ca00;
}

a.service img {
    display: block;
    margin: 0 auto 10px;
}

header {
    position: relative;
    text-align: center;
    padding: 20px 0;
    background: #f5ca00;
}

header .wrap {
    position: relative;
    padding: 10px;
    margin-bottom: 40px;
}

.menu {
    margin-top: 10px;
}

footer {
    background: #413f3f;
    color: #fff;
    position: relative;
    clear: both;
    padding: 20px;
    height: 90px;
}

footer .wrap {
    display: flex;
    max-width: 1014px;
    margin: 0 auto;
    font: normal 12px Roboto;
    text-align: right;
}

footer a {
    margin-right: 20px;
}

footer .service {
    width: 100%;
}

.answer {
    background: #ddd;
    padding: 5px;
    display: none;
}

.question {
    display: none;
    margin-bottom: 20px;
}

.result {
    width: 50%;
    padding-left: 20px;
}

li {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 10px;
}

li a {
    display: block;
    line-height: 30px;
    height: 30px;
    width: 30px;
    border: solid 1px #000;
    border-radius: 50%;
    text-align: center;
    background: #f5ca00;
    color: #000;
}

ul {
    list-style: none;
    display: none;
}