body {
    background-color: #333;
    overflow: hidden;
}

.ff-raleway {
    font-family: 'Raleway', sans-serif !important;
}

.font-question {
    font-family: 'Raleway', sans-serif !important;
    font-size: 18px;
}

.font-option {
    font-family: 'Raleway', sans-serif !important;
    font-size: 14px;
}

.btn {
    font-size: 11px;
}

.header {
    z-index: 2;
}

.header a:first-child {
    color: #2c2c22;
}

.header a:first-child span {
    font-size: 11px;
}

.header-bg {
    background-color: #333333;
}

.header-back {
    color: #ffffff;
}

.begin img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top left;
       object-position: top left;
}

.begin-btn {
    top: 10rem !important;
}

.module {
    display: block;
    height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    margin: 0 auto;
    max-width: 100%;
}

.module-item {
    align-items: center;
    display: flex;
    height: 27%;
    justify-content: center;
    overflow: hidden;
}

.module-item::after {
    position: absolute;
    content: "";
    display: block;
    inset: 0;
    background-color: #2c2c22;
    opacity: 0.4;
    transition: all 250ms;
    cursor: pointer;
}

.module-item:hover::after {
    opacity: 1;
}

.module-item-header {
    height: 19% !important;
    min-height: 50px !important;
    z-index: 1;
}

.flip-image {
    height: 100%;
    width: 100%;
    transform-style: preserve-3d;
    transition: all 1s;
}

.flip-image img {
    -o-object-fit: cover;
       object-fit: cover;
}

.face-image {
    position: absolute;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
}

.face-image.back-image {
    display: block;
    transform: rotateY(180deg);
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    background-color: #2C2C22;
}

.back-title {
    z-index: 2;
}

.title-mobile {
    z-index: 1;
}

.title-mobile::after {
    position: absolute;
    content: "";
    display: block;
    inset: 0;
    background-color: #2c2c22;
    z-index: -1;
    opacity: 0.5;
}

.age-slider {
    width: 80%;
}

.age-slider .form-range {
    margin-top: 3rem;
    margin-bottom: 5rem;
    --icon: "";
}

.age-slider .form-range::-webkit-slider-thumb {
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    background-color: transparent;
    background-image: var(--icon);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: none !important;
}

.age-slider .form-range::-moz-range-thumb {
    width: 50px !important;
    height: 50px !important;
    background-color: transparent;
    background-image: var(--icon);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: none !important;
    cursor: pointer;
}

.age-text {
    font-size: 30px;
}

.age-type {
    font-size: 11px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.quiz-question {
    width: 80%;
}

.quiz-question-info {
    font-size: 9px;
}

#progressBar {
    width: 100%;
}

.progress {
    height: 1px;
}

.progress-bar {
    width: 0;
}

.progress-pin {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 4.5px;
}

.progress-bar {
    background-color: #c19788;
}

.progress-pin.active::after {
    position: absolute;
    content: "";
    display: block;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.progress-pin.done {
    background-color: #a66a55 !important;
    border-color: #c19788 !important;
    color: #ffffff !important;
}

#progressBarLargeContainer {
    width: 50%;
    bottom: 100px !important;
    z-index: 1;
    background-color: #333333 !important;
    opacity: 0;
}

#progressBarLarge::after {
    position: absolute;
    content: "";
    display: block;
    top: -1.5rem;
    right: -2rem;
    bottom: -2.4rem;
    left: -2rem;
    background-color: #3c3c33;
    z-index: -1;
    opacity: 0.7;
    border-radius: 5px;
}

#revealMyResultForm {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.form-alert {
    font-size: 12px;
}

@media (min-width: 992px) {

    .brand {
        width: 60px;
        height: 60px;
    }

    .begin-btn {
        top: 6rem !important;
    }

    .font-question {
        font-size: 24px;
    }

    .font-option {
        font-size: 20px;
    }

    .header-bg {
        background-color: transparent;
    }

    .header-back {
        color: #2c2c22 !important;
    }

    .module {
        display: flex;
    }

    .module-item {
        height: 100vh;

        transition: all 1s;
    }

    .module-item:hover .flip-image {
        transform: rotateY(180deg);
    }

    .module-item:hover::after {
        opacity: 0;
    }

    .module-item-header {
        position: absolute !important;
        inset: 0;
    }

    .age-slider {
        width: 50%;
    }

    .age-slider .form-range {
        margin-top: 4rem;
    }

    .age-slider .form-range::-webkit-slider-thumb {
        width: 80px !important;
        height: 80px !important;
        margin-top: -40px !important;
    }

    .age-slider .form-range::-moz-range-thumb {
        width: 80px !important;
        height: 80px !important;
    }

    .age-text {
        font-size: 40px;
    }

    .progress-pin {
        width: 0.75rem;
        height: 0.75rem;
    }

    .progress-pin-name {
        bottom: -20px !important;
        font-size: 9px;
    }

    .quiz-question-info {
        font-size: 10px;
    }

    #resultForm {
        height: 100vh;
    }

    #resultForm .form-container {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #resultForm .result-title {
        font-size: 24px;
    }

    .form-alert {
        font-size: 13px;
    }

    #progressBar {
        opacity: 0;
    }

    #progressBarLargeContainer {
        opacity: 1;
    }
}

@media (max-height: 600px) {
    #progressBarLargeContainer {
        bottom: 50px !important;
    }
}

@media (max-width: 991px) {
    .data-gender-male {
        -o-object-position: center -150px;
           object-position: center -150px;
    }

    .data-gender-female {
        -o-object-position: center -50px;
           object-position: center -50px;
    }

    .quiz-city-lights {
        -o-object-position: center -199px;
           object-position: center -199px;
    }

    .quiz-suburbs {
        -o-object-position: center -289px;
           object-position: center -289px;
    }

    .quiz-countryside {
        -o-object-position: center -150px;
           object-position: center -150px;
    }

    .quiz-coffee {
        -o-object-position: center -250px;
           object-position: center -250px;
    }

    .quiz-autumn {
        -o-object-position: center -115px;
           object-position: center -115px;
    }

    .quiz-winter {
        -o-object-position: center -115px;
           object-position: center -115px;
    }

    .quiz-happy {
        -o-object-position: center -170px;
           object-position: center -170px;
    }

    .quiz-classic {
        -o-object-position: center -270px;
           object-position: center -270px;
    }

    .quiz-flirty {
        -o-object-position: center -150px;
           object-position: center -150px;
    }

    .quiz-shopping {
        -o-object-position: center -150px;
           object-position: center -150px;
    }

    .quiz-hiking-mountain {
        -o-object-position: center -180px;
           object-position: center -180px;
    }

    .quiz-skiing {
        -o-object-position: center -225px;
           object-position: center -225px;
    }

    .quiz-cookie {
        -o-object-position: center -110px;
           object-position: center -110px;
    }

    .quiz-mulled-wine {
        -o-object-position: center -200px;
           object-position: center -200px;
    }
}






