* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --scale: 0.4;
    --darkblue: #212950;
    --blue: #1a4b91;
    --darkred: #ad172d;
    --red: #ad172d;
    --c1: #7f98ae;
    --c2: #8eabd0;
    --c3: #586f85;
    --c4: #adc3dd;
    --r1: #b73644;
    --r2: #ad192d;
    --r3: #b22838;
}

.hidden {
    display: none !important;
}
html {
    position: relative;
}

body {
    font-family: "Roboto", sans-serif;
    position: relative;
    user-select: none;
}

*:focus,
*:active {
    outline: none;
}

img {
    user-drag: none;
}

#spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    z-index: 9999;
    animation: rotation 2s infinite ease;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.bg-svg {
    position: absolute;
    cursor: pointer;
    transform-origin: 0 0;
}
section {
    position: relative;
}

.website-container {
    max-width: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* INDEX */

.top {
    height: 550px;
    padding-left: 20px;
    padding-top: 40px;
}

.top-flex {
    display: flex;
    justify-content: space-between;
}
.bottom {
    height: 200px;
    min-height: calc(100vh - 550px);
    background-color: var(--darkblue);
}

h1 {
    color: var(--red);
    font-size: 40px;
    font-weight: 100;
    line-height: 1.2em;
}
h1 span {
    font-weight: bold;
    font-size: 55px;
}

.label {
    height: 100px;
    background-color: var(--darkblue);
    color: #fff;
    padding: 10px;
    border-radius: 40px 0 0 40px;
    width: 400px;
    position: relative;
}

.label h2 {
    display: inline-block;
    position: relative;
    left: 70%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    line-height: 0.95em;
    letter-spacing: 0.15em;
}

.date {
    text-align: right;
    font-size: 18px;
    color: var(--darkblue);
}

.date span {
    font-size: 26px;
    text-decoration: underline;
    position: relative;
    top: 5px;
}

img.globuli {
    width: 1200px;
    position: absolute;
    top: -195px;
    right: -280px;
}
img.world {
    width: 400px;
    position: absolute;
    z-index: 5;
    right: 260px;
    top: 35px;
}

button.btn-blue {
    background-color: var(--darkblue) !important;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 6px 10px;
    padding-left: 40px;
    cursor: pointer;
    z-index: 20;
}

#start-1 {
    position: absolute;
    left: 50%;
    bottom: 150px;
    transform: translateX(-50%);
}

#footer {
    display: flex;
    justify-content: space-between;
    align-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
}

.logo-left,
.logo-right {
    display: flex;
    align-items: center;
}

#footer .logo-left img {
    height: 60px;
}
#footer .logo-right img {
    height: 40px;
}

#instructions {
    position: relative;
    display: none;
    width: 600px;
    max-width: 95%;
    color: var(--darkblue);
    font-weight: 100;
    margin: 0 auto;

    margin-top: 150px;
    /* border: 1px solid rebeccapurple; */
    padding-right: 20px;
    padding-bottom: 20px;
}

#instructions p {
    margin-bottom: 8px;
    font-weight: 400;
    text-align: justify;
}

#start-2 {
    position: relative;
    min-width: 200px;
}
#instructions h5 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.2em;
    font-size: 18px;
}

/* SURVEY PAGE  */

#surveypage .website-container {
    position: relative;
    background: linear-gradient(to bottom right, #656f89, #2f3c60);
    padding-bottom: 20px;
}

.bottom-right-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.bottom-right-logo img {
    height: 35px;
}

.map-wrapper {
    width: 897px;
    flex-basis: 897px;
    flex-grow: 0;
    flex-shrink: 0;
    height: fit-content;
    height: -moz-max-content;
    position: relative;
    padding: 0px;
    border-radius: 0 0 0 20px;
    background-color: rgb(240, 240, 240);
    transition: flex 0.5s ease;
    -webkit-transition: all 500ms;
    letter-spacing: 1px;
    color: var(--darkblue);
    margin-top: 40px;
    z-index: 8;
}

.map-wrapper.mobile {
    width: 370px;
    flex-basis: 370px;
    flex-grow: 0;
    flex-shrink: 0;
    border-radius: 0 0 20px 20px;
    margin-top: 80px;
}

.map-wrapper img {
    width: 100%;
    height: auto;
}

.progress {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 40px;
    font-weight: 600;
}

.progress .text-light {
    font-weight: 300;
}

.progress p {
    margin-bottom: 10px;
    padding-left: 4px;
    color: var(--blue);
}
.bar {
    width: 100%;
    height: 20px;
    background: linear-gradient(
        90deg,
        rgba(219, 229, 240, 1) 0%,
        rgba(158, 184, 215, 1) 100%
    );
    border-radius: 500px;
}

.bar-completed {
    height: 100%;
    background-color: var(--darkred);
    border-radius: 500px;
    transition: width 0.5s ease-in-out;
}

.done,
.sel {
    position: absolute;
    left: 0;
    top: 0;
}

.survey-container {
    display: flex;
    padding-top: 30px;
    justify-content: space-between;
    align-content: start;
}
.survey-wrapper {
    padding: 0 20px;
    flex: auto 1 1;
    position: relative;
}

.btn {
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 500px;
    color: var(--darkblue);
    border: none;
    margin: 20px auto;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    position: relative;
    left: 100%;
    transform: translateX(-100%);
    box-shadow: 0 0 10px rgba(10, 10, 10, 0.2);
}

.btn-no-bg {
    margin-top: 0;
    background-color: transparent;
    box-shadow: none !important;
    left: 0;
    transform: translate(-20px, 0);
}

.btn:active {
    box-shadow: inset 0 0 5px rgba(10, 10, 10, 0.4);
}

.text-and-btns {
    width: 100%;
    max-width: 600px;
    position: relative;
}

.btn img {
    height: 30px;
    width: auto;
    margin-left: 10px;
}

.btn img.revert {
    margin-left: 0;
    margin-right: 10px;
    transform: rotate(180deg);
}

.btn.return-to-intro {
    left: 0;
    transform: translateX(0);
    text-align: left;
}

.btn#confirm-answer {
    position: absolute;
    right: 0;
    bottom: 0px;
    width: fit-content;
    min-width: 200px;
}

#answers li {
    list-style: none;
    margin: 8px 0;
    padding: 0 20px;
    display: flex;
    /* justify-content: space-between; */
    border: 1px solid #fff;
    border-left: none;
    align-items: center;
    background-color: #fff;
    color: rgb(8, 8, 8);
    border-radius: 0 20px 20px 0;
    height: 80px;
    width: 100%;
    position: relative;
    left: -20px;
    cursor: pointer;
}

.map-wrapper.small-map {
    flex: 0 0 600px;
    width: 600px;
}
.map-wrapper.small-map area,
.map-wrapper area.c-done {
    cursor: default;
    pointer-events: none;
}

#answers li.answer.selected {
    background-color: var(--darkred);
    color: #fff;
}

.a-letter {
    font-size: 3em;
    color: var(--darkred);
    margin-right: 15px;
}

#answers li.answer.selected .a-letter {
    color: #fff;
}

#error-no-answer {
    margin-top: 20px;
    background-color: var(--darkred);
    color: #fff;
    padding: 5px 2px;
    font-weight: bold;
}

img.done,
img.sel {
    pointer-events: none;
}

.answer.open input {
    width: 70%;
    border: none;
    border-bottom: 1px solid rgb(8, 8, 8);
    color: rgb(8, 8, 8);
    font-size: 16px;
    position: relative;
    top: 4px;
}

.answer.open input.small-input {
    width: 50px;
}
.answer.open input::placeholder {
    color: rgb(8, 8, 8);
}

.answer.open.selected input::placeholder {
    color: rgb(201, 201, 201);
}
.answer.open input:focus::placeholder {
    color: rgb(201, 201, 201);
}

.answer.open.selected input {
    border-bottom: 1px solid rgb(236, 236, 236);
    background-color: var(--darkred);
    color: #fff;
}

.survey-wrapper {
    color: #fff;
}

.intro-title {
    margin-bottom: 20px;
    font-weight: 100;
    font-size: 18px;
    padding-left: 2px;
}

.intro-text,
.text-question {
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    max-width: 600px;
    margin-bottom: 20px;
}

.text-question {
    font-style: normal;
}

.map-header {
    position: absolute;
    top: -50px;
    width: 100%;
    color: var(--blue);
    text-align: center;
    font-weight: 400;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(240, 240, 240);
    border-radius: 20px 0 0 0;
    z-index: 10;
}

.map-wrapper.mobile .map-header {
    top: -60px;
    height: 80px;
    border-radius: 20px 20px 0 0;
}

.text-bold {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
}

.cta {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    font-weight: 600;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    max-width: 240px;
    font-size: 18px;
}

.cta img {
    width: 20px;
    height: auto;
    margin-left: 10px;
}

/* ------------------ */
.map-wrapper .done-icon {
    width: 30px;
    height: auto;
    position: absolute;
    transition: 0.5s ease;
}
.map-wrapper.small-map .done-icon {
    width: 15px;
    transform: translate(0, -30%);
}

#done-icon-1 {
    left: 32%;
    top: 12%;
}
#done-icon-2 {
    left: 18%;
    top: 32%;
}
#done-icon-3 {
    left: 20%;
    top: 45%;
}
#done-icon-4 {
    left: 28%;
    top: 55%;
}
#done-icon-5 {
    left: 28%;
    top: 65%;
}
#done-icon-6 {
    left: 48%;
    top: 28%;
}
#done-icon-7 {
    left: 55%;
    top: 30%;
}
#done-icon-8 {
    left: 68%;
    top: 22%;
}
#done-icon-9 {
    left: 85%;
    top: 20%;
}
#done-icon-10 {
    left: 50%;
    top: 45%;
}
#done-icon-11 {
    left: 63%;
    top: 38%;
}
#done-icon-12 {
    left: 72%;
    top: 35%;
}
#done-icon-13 {
    left: 53%;
    top: 56%;
}
#done-icon-14 {
    left: 82%;
    top: 60%;
}

@media screen and (max-width: 1180px) {
    .cta {
        font-size: 15px;
    }
}

@media screen and (max-width: 1070px) {
    .survey-container {
        justify-content: center;
    }
}
@media screen and (max-width: 980px) {
    body {
        background-color: #545d85;
    }

    #indexpage #top-flex {
        flex-direction: column;
    }
    #indexpage .website-container {
        background-color: #fff;
        border-radius: 50px 50px 0 0;
        margin-top: 40px;
        margin-right: 10px;
        margin-left: 10px;
    }

    #indexpage .right {
        position: relative;
        display: flex;
    }

    #indexpage .right {
        justify-content: center;
        margin-top: 40px;
    }

    #indexpage .label {
        background-color: transparent;
        color: var(--darkblue);
        margin: 0;
        padding: 0;
        height: auto;
        width: auto;
    }
    h2 {
        font-size: 24px;
    }
    #indexpage img.world {
        width: 300px;
        position: relative;
        right: 0;
        top: 0;
    }

    img.globuli {
        height: 180px;
        width: auto;
        top: -120px;
    }
    .date {
        text-align: left;
        margin-left: 14px;
    }
    h1 {
        margin-left: 10px;
    }

    #start-1 {
        top: 150px;
        height: 60px;
        width: 240px;
    }

    #start-2 {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);
        height: 60px;
        width: 240px;
    }

    #instructions {
        margin: 0 auto;
        margin-top: 40px;
        padding: 0 20px;
        transform: translateX(-8px);
    }
}

@media screen and (max-width: 650px) {
    section {
        padding-left: 8px !important;
    }

    #indexpage img.world {
        width: 150px;
    }
    h2 {
        font-size: 18px;
        letter-spacing: normal !important;
    }
    #indexpage .label {
        transform: translateX(-25px);
    }
    img.globuli {
        right: -350px;
    }
    #start-1 {
        top: 80px;
    }

    #footer {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    #footer .logo-left img {
        height: 50px;
        width: auto;
        margin-bottom: 31px;
    }
    #footer .logo-right img {
        height: 30px;
    }

    #indexpage .website-container {
        min-height: calc(100vh - 40px) !important;
    }

    .bottom {
        min-height: calc(100vh - 590px);
    }
    #answers li {
        height: 100px;
        font-size: 15px;
    }
}

@media screen and (max-width: 374px) {
    #answers li {
        height: 115px;
        font-size: 14px;
    }
}

/* -------------------- */

.invisible {
    visibility: hidden;
}

/* ------------------- */

#thankyou {
    background-color: #fff;
}

#thankyou #top {
    height: 300px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
}
#thankyou #top-flex {
    height: 300px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
}

#thankyou .top {
    position: relative;
}

.thanks {
    text-align: center;
    font-size: 48px;
    color: var(--darkblue);
    font-weight: bold;
    padding: 30px;
    padding-left: 30px !important;
}

@media screen and (max-width: 650px) {
    .thanks {
        font-size: 28px;
    }
    #thankyou .label {
        transform: translateX(50px);
    }
    #thankyou img.world {
        width: 320px;
        height: auto;
        transform: translateX(100px);
    }
}

@media screen and (max-width: 450px) {
    .thanks {
        font-size: 28px;
    }
    #thankyou .label {
        transform: translateX(50px);
    }
    #thankyou img.world {
        width: 220px;
        height: auto;
        transform: translateX(100px);
    }
}

@media screen and (max-width: 374px) {
    .thanks {
        font-size: 28px;
    }
    #thankyou .label {
        transform: translateX(50px);
    }
    #thankyou img.world {
        width: 190px;
        height: auto;
        transform: translateX(120px);
    }
}
