@font-face {
    font-family: Gotham SSm;
    /* src: url('/fonts/Gotham-SSm/GothamSSm-Black.otf'); */
    src: url('../fonts/Gotham-SSm/GothamSSm-Light.otf');
    /* src: url('/fonts/Gotham-SSm/GothamSSm-BlackItalic.otf');
    src: url('/fonts/Gotham-SSm/GothamSSm-Bold.otf');
    src: url('/fonts/Gotham-SSm/GothamSSm-BoldItalic.otf'); 
    src: url('fonts/Gotham-SSm/GothamSSm-Book.otf'); */
    /* src: url('/fonts/Gotham-SSm/GothamSSm-BookItalic.otf');
    src: url('/fonts/Gotham-SSm/GothamSSm-LightItalic.otf');
    src: url('/fonts/Gotham-SSm/GothamSSm-Medium.otf');
    src: url('/fonts/Gotham-SSm/GothamSSm-MediumItalic.otf'); */
}

html {
    --vwidth: 100vw;
    --vheight: calc(16/9*var(--vwidth));
    font-size: calc(1/1080*var(--vwidth));
}

@media (min-aspect-ratio: 9/16) {
    html {
        --vheight: 100vh;
        --vwidth: calc(9/16*var(--vheight));
        font-size: calc(1/1920*var(--vheight));
    }
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* This part is for showing the slider animation */

.window {
    position: relative;
    height: 1920rem;
    width: 1080rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.movable_parent {
    position: absolute;
    top: 0rem;
    left: 0rem;
    --width: 1080rem;
    height: 1920rem;
    width: calc(var(--width)*3);
    display: flex;
    flex-direction: row;
    transition: left 0.5s linear;
}

.background {
    position: relative;
    width: 1080rem;
    height: 1920rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.background2 {
    position: relative;
    top: -10rem;
    width: 1080rem;
    height: 1920rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.bg {
    height: 100%;
    width: 100%;
}

.bg2 {
    height: 100%;
    width: 100%;
}

/* For the cross symbol */

.cross_symbol_container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 108rem;
    height: 108rem;
    left: 48rem;
    top: 102rem;
    opacity: 0.5;
    /* background: grey; */
    z-index: 1;
}

.cross_symbol_container .cross_oval {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    /* background-color: blue; */
}

.cross_oval .cross_hand {
    position: absolute;
    width: 54rem;
    height: 6rem;
    top: 50%;
    left: 50%;
    background-color: #9C88D8;
}

.cross_oval #hand1 {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.cross_oval #hand2 {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* For navigation bar. When selected the 'nav_selected' class is to be added in js. And the direction of the box shadow should be changed depending on the situation */

.navigation_bar {
    position: absolute;
    width: 55%;
    height: 5.6%;
    top: 5.3%;
    border-radius: 200rem;
    background: rgb(109, 42, 244);
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 36rem;
    text-align: center;
    font-family: Gotham SSm;
    font-weight: 325;
    line-height: 144.2%;
    cursor: pointer;
    color: white;
    z-index: 2;
}

.observation_bar {
    height: 100%;
    width: 50%;
    border-radius: 200rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.question_bar {
    height: 100%;
    width: 50%;
    border-radius: 200rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav_selected {
    background: white;
    color: rgb(54, 18, 175);
    box-shadow: 4rem 2rem 10rem 2rem rgba(0, 0, 0, 0.284);
    /*The direction needs to be changed by putting a 'minus' sign befer '4px'*/
}

.nav_selected2 {
    background: white;
    color: rgb(54, 18, 175);
    box-shadow: -4rem 2rem 10rem 2rem rgba(0, 0, 0, 0.284);
}

/* For the instruction area */

.instructino_area {
    position: absolute;
    width: 984rem;
    height: 114rem;
    top: 288rem;
    left: 48rem;
}

.instructino_area p {
    margin: 0;
    font-family: Gotham SSm;
    font-style: normal;
    font-weight: 300;
    font-size: 36rem;
    line-height: 60rem;
    /* or 154% */
    color: #FFFDFD;
}

/* For Visual area */

.visual_area {
    position: absolute;
    width: 984rem;
    height: 520rem;
    top: 440rem;
    background-image: radial-gradient(119.99% 62.42% at 50% 36.33%, #2d0457 0%, #000108 100%);
    border-radius: 20rem;
}

.visual_area P {
    font-family: Gotham SSm;
    font-weight: 80;
    font-size: 36rem;
}

.parent_canvas {
    position: absolute;
    width: 984rem;
    height: 520rem;
    top: 440rem;
    transform: scale(0.8);
}

#a {
    position: absolute;
    top: 360rem;
    left: 260rem;
    color: aliceblue;
    z-index: 1;
}

#b {
    position: absolute;
    top: 360rem;
    left: 660rem;
    color: aliceblue;
    z-index: 1;
}

#p {
    position: absolute;
    top: -20rem;
    left: 395rem;
    color: aliceblue;
    z-index: 1;
}

#q {
    position: absolute;
    top: -20rem;
    left: 535rem;
    color: aliceblue;
    z-index: 1;
}

/* For feedback bar */

.feedback_bar {
    position: absolute;
    border-radius: 20rem;
    width: 984rem;
    height: 180rem;
    top: 987rem;
    background: linear-gradient(180deg, #FFE601 0%, #E8882F 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.feedback_bar p {
    font-family: Gotham SSm;
    font-weight: 80;
    font-size: 36rem;
    margin: 10rem;
    width: 85%;
    text-align: center;
}

.bottom_slider {
    position: absolute;
    /* top: 76%;
    width: 90%;
    height: 5%; */
    /* outline: 1px solid white; */
    top: 1486rem;
    width: 90%;
    height: 70rem;
    display: flex;
    align-items: center;
    justify-content: center;

}

.top_slider {
    position: absolute;
    /* top: 63%;
    width: 90%;
    height: 5%; */
    top: 1255rem;
    width: 90%;
    height: 70rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_text {
    position: absolute;
    /* top: 67%; */
    top: 1331rem;
}

.bottom_text {
    position: absolute;
    /* top: 80%; */
    top: 1562rem;
}

/* For the markers */

.marker {
    position: absolute;
    width: 12rem;
    height: 38rem;
    background-color: white;
    border-radius: 5rem;
}

#marker1 {
    /* top: 64.3%;
    left: 5%; */
    position: absolute;
    /* top: 1270rem; */
    left: 0%;
}


#marker2 {
    /* top: 64.3%;
    right: 4%; */
    position: absolute;
    /* top: 1270rem; */
    right: 0%;
}

#marker3 {
    /* top: 74.2%;
    left: 5%; */
    position: absolute;
    /* top: 1500rem; */
    left: 0%;
}

#marker4 {
    /* top: 74.2%;
    right: 4%; */
    position: absolute;
    /* top: 1500rem; */
    right: 0%;
}

.input_slider {
    -webkit-appearance: none;
    outline: none;
    overflow: none;
    width: 100%;
    /* position: absolute;
    top: 50%;
    transform: translateY(-50%); */
    z-index: 1;
    height: 10%;
}

.input_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 60rem;
    height: 60rem;
    /* background: linear-gradient(#fb8d34, #f96074); */
    border: none;
    border-radius: 50%;
    z-index: 3;
}

.input_slider::-moz-range-thumb {
    -webkit-appearance: none;
    width: 60rem;
    height: 60rem;
    /* background: linear-gradient(#fb8d34, #f96074); */
    cursor: pointer;
    border: none;
    border-radius: 50%;
    z-index: 3;
}

.top::-webkit-slider-thumb {
    background: linear-gradient(#2FE8DD, #038B83);
}

.top::-moz-range-thumb {
    background: linear-gradient(#2FE8DD, #038B83);
}

.bottom::-webkit-slider-thumb {
    background: linear-gradient(#fb8d34, #f96074);
}

.bottom::-moz-range-thumb {
    background: linear-gradient(#fb8d34, #f96074);
}

.label {
    width: 60%;
    height: 128.64rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.label span {
    margin: 0;
    font-family: Gotham SSm;
    font-style: normal;
    font-weight: 300;
    font-size: 36rem;
    line-height: 60rem;
    color: #FFFDFD;
}

/* .interaction_area .movable span {
    position: absolute;
    bottom: 105%;
    width: 15%;
    height: 100%;
    border: 6px solid rgb(255, 255, 255);
    border-radius: 20px;
    background: linear-gradient(#fb8d34, #f96074);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Gotham SSm;
    font-size: 40px;
    color: rgb(241, 247, 246);
    transform: translateX(-50%);
}

.interaction_area .movable span::after {
    content: '';
    border-top: 20px solid #ffffff;
    border-left: 20px solid rgba(0, 0, 0, 0);
    border-right: 20px solid rgba(0, 0, 0, 0);
    position: absolute;
    bottom: -025%;
    left: 50%;
    transform: translateX(-50%);
} */

.next_button {
    position: absolute;
    /* top: 1717rem; */
    width: 45%;
    height: 128.64rem;
    border: none;
    border-radius: 200rem;
    background: linear-gradient(#10dca3, #3988fa);
    color: white;
    font-family: Gotham SSm;
    font-weight: 350;
    font-size: 39rem;
    cursor: pointer;
    top: 100%;
}

.context_button {
    position: absolute;
    left: 924rem;
    top: 102rem;
    height: 108rem;
    width: 108rem;
    z-index: 1;
}

.btn {
    height: 100%;
    width: 100%;
}

.angle {
    height: 50rem;
    width: 90rem; 
    background-color: #FF69E240;
    outline: rgba(184, 163, 163, 0.284);
    z-index: 2;
    font-family: Gotham SSm;
    font-style: normal;
    font-weight: 325;
    font-size: 39rem;
    color: #FFFFFF;
    line-height: 60rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anglep {
    position: absolute;
    top: 30%;
    left: 12%;
}

.angleq {
    position: absolute;
    top: 15%;
    left: 75%;
}

.diameter {
    position: absolute;
    height: 50rem;
    width: 90rem; 
    z-index: 2;
    font-family: Gotham SSm;
    font-style: normal;
    font-weight: 325;
    font-size: 36rem;
    color: #FFFFFF;
    line-height: 60rem;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 52%;
    left: 45%;
    opacity: 0;
}