@font-face {
    font-family: 'Museo Sans Cyrl 700';
    src: url('fonts/MuseoSansCyrl-700.woff2') format('woff2'),
        url('fonts/MuseoSansCyrl-700.woff') format('woff'),
        url('fonts/MuseoSansCyrl-700.ttf') format('truetype'),
        url('fonts/MuseoSansCyrl-700.svg#MuseoSansCyrl-700') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Museo Sans Cyrl 300';
    src: url('fonts/MuseoSansCyrl-300.woff2') format('woff2'),
        url('fonts/MuseoSansCyrl-300.woff') format('woff'),
        url('fonts/MuseoSansCyrl-300.ttf') format('truetype'),
        url('fonts/MuseoSansCyrl-300.svg#MuseoSansCyrl-300') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'LeMurmure-Regular';
    src: url('fonts/LeMurmure-Regular.woff2') format('woff2'),
        url('fonts/LeMurmure-Regular.woff') format('woff'),
        url('fonts/LeMurmure-Regular.ttf') format('truetype'),
        url('fonts/LeMurmure-Regular.eot') format('embedded-opentype');
    font-weight: 600;
    font-style: normal;
}

html, body {
    background: #F9FDFF;
    margin: 0;
    height: 100%;
}

body {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

body, input, select {
    font-family: 'Museo Sans Cyrl 300';
    font-weight: 300;
    font-size: 16px;
    font-style: normal;
}

h1, h2, h3 { 
    margin: 0px;
}

h1 {
    text-transform: uppercase;
    font-family: 'Museo Sans Cyrl 700';
    font-weight: 600;
    font-style: normal;
    font-size: 1.75em;
}

main {
    padding: 1em 5%;
}

#love {
    background-image: url("icons/heart.svg");
}
#travel {
    background-image: url("icons/location.svg");
}
#extreme {
    background-image: url("icons/fire.svg");
}
#bike {
    background-image: url("icons/shopping-cart.svg");
}
#lifegoal {
    background-image: url("icons/checked-box.svg");
}

.question {
    padding: 1em 0;
}

.header {
    background-repeat: no-repeat;  
    background-position: 0% 0%;
    background-size: 100% 100%;
    padding: 1em 5%;
    color: #ffffff;
    position: relative;
    z-index: -1;
}
.header > h3 {
    margin-bottom: 10px;
}
.header-about {
    background-image: url("images/wave-about.svg");
}
.header-habits {
    background-image: url("images/wave-habits.svg");
}
.header-health {
    background-image: url("images/wave-health.svg");
}
.header-result {
    background-image: url("images/wave-result.svg");
}

.question-title {
    color: #19365E;
}

.background-vector {
    margin: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -2;
    max-width: 100%;
    max-height: 100%;
}

.background-image {
    margin: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
    max-width: 100%;
    max-height: 100%;
}

@media only screen and (max-width: 1025px) {
    .background-image {
        max-height: 60%;
    }
}

.homepage-background {
    background: linear-gradient(217.81deg, #FFCF58 21.85%, #FFE7A0 112.19%);
}

@media only screen and (min-width: 1025px) {
    .homepage-background {
        min-height: 100%;
    }
}

.homepage {
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    height: 100%;
    color: #19365E;
}
@media only screen and (min-width: 1025px) {
    .homepage {
        text-align: left;
        max-width: 460px;
        height: auto;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 70px;
        padding: 60px;
        box-shadow: inset 0px 39px 56px -36px rgba(255, 255, 255, 0.5), inset 0px 7px 11px -4px #FFFFFF, inset 0px -82px 68px -64px rgba(210, 192, 242, 0.3), inset 0px 98px 100px -48px rgba(202, 172, 255, 0.3), inset 0px 4px 18px rgba(154, 146, 210, 0.3), inset 0px 1px 40px rgba(227, 222, 255, 0.2);
    }
}
.homepage-main {
    height: 100%;
    padding: 0;
    display: flex;
}
.homepage-wrapper {
    padding: 5%
}

.homepage-image {
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    max-height: 100%;
    max-width: 100%;
}
@media only screen and (max-width: 1024px) {
    .homepage-image {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    .questionnaire {
        flex: 1 0 auto;
    }
}
@media only screen and (min-width: 1025px) {
    .questionnaire {
        max-width: 50%;
    }
}

.navigation {
    padding: 5%;
    max-width: 450px;
    display: flex;
    justify-content: space-between;
}

.main-title {
    margin: 15px 0;
    line-height: 0.9em;
    font-size: 96px;
    font-family: 'LeMurmure-Regular';
}
@media only screen and (max-width: 1024px) {
    .main-title {
        font-size: 6em;
        font-family: 'LeMurmure-Regular';
    }
}
.main-subtitle {
    line-height: 1.5em;
    font-weight: normal;
}

.result {
    background: linear-gradient(180deg, #5BA0CF 0%, #0053AA 100%);
    background-clip: border-box;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

#result-digit {
    font-size: 288px;
    margin: 0;
    display: inline;
}
#result-word {
    font-size: 64px;
    margin: 0;
    font-family: 'Museo Sans Cyrl 700';
    font-weight: 600;
    font-style: normal;
    display: inline;
}

@media only screen and (max-width: 768px) {
    #result-digit {
        font-size: 144px;
    }
    #result-word {
        font-size: 36px;
        padding-top: 17px;
    }
}


.clock-icon {
    vertical-align: bottom;
    margin-right: 8px;
}

#range-year, #range-age {
    margin: 0;
    font-size: 14px;
    font-family: 'Museo Sans Cyrl 700';
    font-weight: 600;
    padding: 0 5px;
}

#range-year {
    color: #19365E;
}

#range-percent {
    margin: 0;
    font-size: 24px;
    font-family: 'Museo Sans Cyrl 700';
    font-weight: 600;
    color: #19365E;
    padding: 0 5px;
}

#range-age {
    color: #96999C;
}

.range-left > #range-age,
.range-left > #range-year {
    border-left: dashed 1px #000;
}

.range-right > #range-age,
.range-right > #range-year {
    border-right: dashed 1px #000;
}

.range-right > p {
    text-align: right;
}

#tooltip {
    position: absolute;
}
#tooltip-wrapper {
    position: relative;
    margin-bottom: 40px;
}

@media only screen and (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

.team-item {
    flex: 0 1 calc(50% - 120px);
    padding-right: 40px;
    padding-bottom: 60px;
    max-width: 475px;
}

.team {
    display: flex;
    flex-wrap: wrap;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    background: #D7ECFF;
    max-width: 100%;
    padding: 15px;
    justify-content: space-around;
}

.footer-item {
    display: flex;
    flex-direction: column;
    margin: 0 15px;
    line-height: 2;
}

@media only screen and (max-width: 768px) {
    .footer-item {
        text-align: center;
    }
}

.footer-item > a {
    text-decoration: none;
    font-weight: 600;
}

.footer-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}