body {
    min-height: 100vh;
    font-family: "Source Sans Pro", sans-serif;
    color: #333;
    font-size: 1.125rem;
    background-image: url("../img/bg-quiz.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
}
a:hover {
    text-decoration: none;
}
img {
    max-width: 100%;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: "Alice", serif;
    line-height: 1.6;
    font-weight: 400;
}
section {
    padding: 1.5rem 0;
}

header {
    padding: 1rem 0;
    box-shadow: 0px 6px 30px rgba(217, 217, 217, 0.4);
}
.logo {
    width: 200px;
    z-index: 1;
}
.card-wrap {
    margin-top: 13vh;
}
.card {
    border-radius: 6px;
    box-shadow: 0px 0px 40px 0px rgba(248, 248, 248, 0.004);
    border: 1px solid rgb(242, 242, 242);
}
.card-body {
    padding: 2rem 5rem;
}
.card-body-quiz {
    padding: 1rem 1.5rem;
}
.tab-pane-testi {
    background: url("../img/quote.png") right top no-repeat;
}
.card-body-testi,
.quote-bg {
    background: url("../img/quote.png") no-repeat;
    background-position-x: 90%;
    background-position-y: 1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.quote-bg {
    background-position-x: right;
    background-position-y: 0rem;
}
.arrow-ctrl {
    color: #333;
    font-size: 1.125rem;
}
.arrow-ctrl img {
    width: 30px;
    margin-right: 0.25rem;
}
.arrow-ctrl-cont img {
    margin-right: 0;
    margin-left: 0.25rem;
    transform: scaleX(-1);
}
.q-item {
    margin-bottom: 0.75rem !important;
    text-align: center;
}
.q-item input {
    display: none;
}
.q-item label {
    cursor: pointer;
    margin-bottom: 0;
    display: block;
    border-radius: 6rem;
    border: 2px solid #dee8f9;
    padding: 0.75rem 1rem;
    font-size: 1.45rem;
    background-color: #fff;
}
.q-item label:hover {
    border-color: #4e6ef4;
}
.q-item input:checked + label {
    border-color: #4e6ef4;
}
.q-progress-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #a4b2c8;
}
.progress {
    height: 0.75rem;
    border-radius: 1rem;
}
.progress-bar {
    background-color: #4f0192;
}
.form-control {
    border: 0;
    background-color: #f5f8fe;
    height: calc(2.25rem + 0.75rem + 2px);
    padding: 0.375rem 1.5rem;
    font-size: 1.125rem;
}
.form-control-label {
    font-size: 0.85rem;
    color: #555;
    font-weight: 700;
    text-transform: uppercase;
}

.gathering-list {
    padding: 0;
    margin: 0 0 2rem 0;
}
.gathering-list li {
    list-style-type: none;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: none;
    animation-duration: 1s;
    animation-fill-mode: both;
}
.gathering-list li img {
    width: 30px;
    margin-right: 15px;
}
@keyframes fadeInRightSmall {
    0% {
        opacity: 0;
        transform: translate3d(10%, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.fadeInRightSmall {
    display: block !important;
    animation-name: fadeInRightSmall;
    position: relative;
}
.loading-dots:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4, end) 600ms infinite;
    animation: ellipsis steps(4, end) 600ms infinite;
    content: "…";
    width: 0;
    position: absolute;
    margin-left: 2px;
}
#nextPg {
    transition: all 0.3s ease;
}
@keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

.text-highlight {
    background: url("../img/text-highlight.png") left center no-repeat;
    background-size: 100% 85%;
    padding: 0.75rem 1.5rem;
    line-height: normal;
}

.bg-result {
    background-image: url("../img/bg-hero-tsl.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: top;
    background-color: #f7f7f7;
    min-height: 40vh;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

footer {
    color: #fff;
    background-color: #140914;
    padding: 1.5rem 0;
}
footer p {
    color: #fff;
}
.footer-menu {
    padding: 0;
    margin: 0 0 1.8rem 0;
}
.footer-menu li {
    list-style-type: none;
    display: inline-block;
    border-right: 1px solid #fff;
    line-height: 12px;
}
.footer-menu li:last-child {
    border-right: none;
}
.footer-menu li a {
    font-size: 14px;
    padding: 0 10px;
    color: #fff;
    line-height: 20px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.text-primary {
    color: #4f0192 !important;
}
.btn-primary {
    background: linear-gradient(270deg, #60b2f0, #6e60f0, #cf60f0);
    background-size: 600% 600%;
    -webkit-animation: BgAnimate 3s ease infinite;
    -moz-animation: BgAnimate 3s ease infinite;
    animation: BgAnimate 3s ease infinite;
    border: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.625rem 2rem;
    border-radius: 6rem;
    box-shadow: 0 5px 0 #45338b;
    line-height: normal;
}
.btn-primary:hover {
    background-color: #45338b;
}
@-webkit-keyframes BgAnimate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@-moz-keyframes BgAnimate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes BgAnimate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fw-300 {
    font-weight: 300;
}
.fs-default {
    font-size: 1rem;
}
.fs-12 {
    font-size: 0.75rem;
}
.fs-14 {
    font-size: 0.875rem;
}
.fs-22 {
    font-size: 1.375rem;
}
.fs-24 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.fs-30 {
    font-size: 1.875rem;
    line-height: 1.6;
}
.fs-40 {
    font-size: 2.6rem;
    line-height: 1.6;
}
.mb-6 {
    margin-bottom: 4rem !important;
}
.text-normal {
    text-transform: none;
}
.lh-normal {
    line-height: normal !important;
}
.lh-1 {
    line-height: 1 !important;
}
.lh-2 {
    line-height: 1.4 !important;
}

@media (max-width: 767px) {
    section {
        padding: 0.5rem 0;
    }
    h1 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .logo {
        width: 160px;
    }
    .card-body-quiz h3 {
        font-size: 1.25rem;
        line-height: normal;
    }
    h4 {
        font-size: 1.25rem;
    }
    .tab-pane-testi p,
    .card-body-testi p {
        font-size: 1rem;
    }
    .fs-default {
        font-size: 0.75rem;
    }
    .fs-22,
    .fs-24 {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    .fs-14 {
        font-size: 0.75rem;
    }
    .fs-30 {
        font-size: 1.25rem;
    }
    .fs-40 {
        font-size: 1.5rem;
    }
    .card-body,
    .card-body-quiz {
        padding: 1.5rem 0;
    }
    .card-body-quiz-gather {
        background: none;
    }
    .q-item label {
        font-size: 1rem;
    }
    .btn {
        font-size: 1rem;
        padding: 0.75rem 2rem !important;
    }
    .arrow-ctrl {
        font-size: 1rem;
        display: block;
    }
    .gathering-list li {
        font-size: 1.125rem;
    }
    .gathering-list li img {
        margin-right: 10px;
        width: 24px;
    }
    footer {
        font-size: 0.75rem;
        padding: 1rem 0;
    }
    footer a {
        display: block;
    }
    .text-highlight {
        line-height: 1.8;
    }
    .mb-5,
    .mb-6 {
        margin-bottom: 2rem !important;
    }
    .mb-6 {
        margin-bottom: 2.5rem !important;
    }
    .no-xs-br br {
        display: none;
    }
    .card-wrap {
        margin-top: 65px;
    }
    footer .fs-default {
        font-size: 0.65rem;
    }
    .main-content {
        padding: 6rem 0;
    }
    .main-content-question {
        padding-bottom: 4rem !important;
    }
}
