/* RESETS */
html {
    font-size: 12px;
}
body {
    color: white;
	background: black;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 200;
	margin: 0;
    font-size: 2rem;
}
:root {
    --result-container-height: 700px;
    --bar-color: black;
    --bar-length: 43%;
    --bar-multiplier: 1;
    --light: #ecac4a;
    --medium: #c08e4f;
    --dark: #836354;
}

#main {
	max-width: 100%;
	max-height: 100%;
	margin: auto;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 0px) and (max-width: 600px) {
    #mobile-slider-label {
        display: block;
    }
    #slider-label {
        display: none !important;
    }
    .results-right::-webkit-scrollbar {
        display: none;
    }
    .results-screen .results-right {
        padding: 4% 0 2% 4%;
    }
    .mural-images {
        width: 60%;
    }
    .question {
        padding: 2% 0 0 5%;
    }
    .background-star{
        top: 5px;
        right: 30px;
    }
    .slider-wrapper {
        transform: scale(0.5);
    }
    /* show it on small screens */
}
@media screen and (min-width: 601px) and (max-width: 2048px) {
    #mobile-slider-label {
        display: none !important;
    }
    #slider-label {
        display: block;
    }
    /* hide it elsewhere */
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Global */
.view-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: auto;
}
.route-container {
    width: 100%;
    height: 100%;
}
.screen {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000033;
    overflow: auto;
}
.question {
    width: 80%;
    padding: 4% 0 0 5%;
    font-size: 160%;
}
.choice {
    display: block;
    position: relative;
    cursor: pointer;
    color: #010032;
    background-color: #CECCF0;
    border: 0.375rem solid #705D31;
    border-radius: 1.875rem;
    box-shadow: 0px 0.9375rem #000233;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.background-star {
    position: absolute;
    top: 25px;
    right: 5%;
    width: 10%;
    height: auto;
}
.audio-button-container {
  position: absolute;
  top: calc(var(--vh, 1vh) * 2);
  right: calc(var(--vh, 1vh) * 2);
  height: 5vmin;
  align-self: baseline;
  z-index: 3;
}
.audio-button-container input{
  height: 100%;
}

/* Buttons */
.btn {
    color: #1B1B5E;
    background-color: white;
    font-size: 1.25em;
    border-style: none;
    border-radius: 1.875rem;
    padding: 0.75% 7%;
    cursor: pointer;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
}
.activity-title {
    color: white;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 600;
    font-size: 4em;
    padding: 2% 3%;
    background-color: #000833;
    border: 0.2em solid #dcbe55;
    border-radius: 3.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    position: absolute;
    z-index: 2;

    top: 34%;
    left: 5%;
}
.nav-buttons {
    margin: 1.5em 5em;
}
.start-btn {
    cursor: pointer;
    color: white;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 550;
    font-size: 2.5em;
    padding: 1.7% 4%;
    background-color: #3d3d8d;
    border: 0.2em solid #ffdf4a;
    border-radius: 2.5rem;
    box-shadow: 0px 0.9375rem #000233;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    z-index: 2;
    cursor: pointer;
}

.continue-btn {
    float: right;
}

.prev-btn {
    float: left;
    right: initial !important;
}

.next-btn {
    float: right;
}

/* Intro */
.splash-screen {
    background: linear-gradient(to bottom, #020048 50%, #473088 50%);
    overflow: hidden;
}
.title-wrapper {
    position: absolute;
    top: 34%;
    left: 56%;
    text-align: center;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
}

.intro-screen {
    background-image: url("../assets/bg_historicalfigure.png");
    background-size: contain;
}
.intro-box {
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: #000233;
    border: 0.375rem solid #705D31;
    border-radius: 0.9375rem;
    width: 68.69%;
    min-height: 60%;
    margin: 0 auto;
    padding: 6% 3% 3%;
    margin-top: 8%;

    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.intro-box-closing {
    display: flex;
    flex-direction: column;
    position: absolute;
    border: 0.375rem solid #705D31;
    border-radius: 0.9375rem;
    width: 68.69%;
    min-height: 60%;
    margin: 0 auto;
    background: linear-gradient(to bottom, #000233 48%, #3d3d8d 0%);

    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.intro-box-closing .intro-text {
    background: #000233;
    padding-bottom: 2rem;
    padding-left: 2em;
    padding-right: 2em;
}
.intro-images-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.intro-images {
    position: absolute;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 16.07%; 
}
.intro-images.doubleImage {
    width: 35.55%;
}
.intro-images img {
    border-radius: 50%;
    width: 100%;
}
.intro-images.doubleImage img {
    width: 45.20%;
}
.intro-images img:first-child {
    margin-right: 9.59%;
}
.left-image {
    width: 38%;
    margin-left: 3%;
    height: auto;
    float: left;
}
.right-text {
    width: 55%;
    float: right;
}

.iyer-container {
    flex-grow: 1;
}

.bio-label {
    text-align: center;
    display: block;
    margin-left: 22%;
    margin-right: 22%;
}
.label-container {
    padding: 20px 0 0 0;
}
.label-text {
    flex-grow: 1;
    font-weight: 200;
    border-bottom: 3px solid #705D31;
    padding-bottom: 12px;
}
.label-stacked {
    font-weight: 200;
    margin-block:unset;
}
.intro-text {
    flex-grow: 1;   
}
.button-wrapper {
    text-align: center;
}
.button-wrapper .btn {
    display: inline-block;
}
.intro-screen .btn {
    bottom: 0.5em;
}

/* Contellation */
.constellation-screen {
    overflow: hidden;
}

.constellation-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
}
.constellation-wrapper .step-button {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 6.77%;
    cursor: pointer;
}
#step-button-0 { top: 20.27%; left: 3.85%; }
#step-button-1 { top: 18.98%; left: 20.78%; }
#step-button-2 { top: 32.12%; left: 35.98%; }
#step-button-3 { top: 54.07%; left: 47.34%; }
#step-button-4 { top: 79.62%; left: 55.20%; }
#step-button-5 { top: 81.57%; left: 73.95%; }
#step-button-6 { top: 55.46%; left: 81.77%; }
#step-button-7 {
    /* invis.png */
    top: 10.64%;
    left: 57.29%;
    width: 22.91%;
    height: 42.59%;
}

.constellation-wrapper .step-background {
    width: 100%;
    height: auto;
    z-index: 1;
}

/*code from https://salferrarello.com/css-pulse-animation/*/
@keyframes pulse {
  from { transform: scale(1); }
  50% { transform: scale(0.85); }
  to { transform: scale(1); }
}

.fe-pulse-w-pause {
  animation-name: pulse;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}
.fe-pulse-w-pause:hover,
.fe-pulse-w-pause:focus {
  animation-name: unset;
}
/* Checklist */
.checklist-screen {
    background: linear-gradient(#000033 35%, #1C1B5E 35% 100%);
    display: flex;
    flex-direction: column;
}
.checklist-items {
    padding: 4.5% 1% 1% 6.13%;
    column-count: 2;
    flex-grow: 1;
}
.checkItem {
    width: 80%;
    padding: 1.2% 2%;
    margin-bottom: 3%;
    font-weight: 500;
    display: inline-block;
    line-height: 200%;
}
.checkItem.selected {
    border-color: #FFDF4A;
}
.checkmark {
    position: absolute;
    display: none;
    top: 50%;
    right: 2.5%; /* 50px; */
    -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    padding-top: 1rem;
    width: 7.5%;
}
.checkmark img {
    width: 100%;
    height: auto;
}
.checkItem.selected .checkmark {
    display: block;
}


/* end checklist */

/* Multiple Choice */
.multiple-choice-screen {
    background: linear-gradient(#380D54 35%, #4C2A8C 35% 100%);
    display: flex;
    flex-direction: column;
}
.multiple-choice-question {
    font-size: 3rem;
}
.multiple-choice-answers {
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-column-gap: 3%;
    padding: 3rem 4.6% 6% 4.6%;
    flex-grow: 1;
}
.multiple-choice-answers .choice {
    padding: 4% 6%; 
    line-height: 180%;
    font-weight: 500;
    height: fit-content;
}
.multiple-choice-screen .btn {
    margin-left: 5%;
    margin-bottom: 3%;
    position: absolute;
    bottom: 0;
    left: 0;
    width: fit-content;
}
/* end multiple choice */

/* Slider */
.slider-screen {
    background: linear-gradient(#330033 35%, #561446 35% 100%);
}
.slider-screen .button-wrapper {
    margin: 0 0 0 5.6%;
    width: 85%;
    bottom: 1em;
    position: absolute;
}
.slider-screen .btn {
    margin-top: 2%;
    float: right;
}
#slider-prev-btn {
    float: left;
}
.slider-items {
    width: 85%; 
    padding: 2%;
    background-color: rgba(255,255,255,0.05);
    border-radius: 1.875rem; 

    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.slider-labels {
    width: 30%;
    height: 30px;
    float: right;
}
.slider-label-container {
    width: 100%;
    display: inline-table;
    margin-bottom: 1em;
}
.slider-labels .slider-label-least {
    position: relative;
    float: left;
}
.slider-labels .slider-label-most {
    position: relative;
    float: right;
}
.mobile-slider-labels {
    width: 100%;
    height: 30px;
    padding-top: 15px;
    font-size: unset;
}
.mobile-slider-labels .mobile-slider-label-least {
    position: absolute;
}
.mobile-slider-labels .mobile-slider-label-most {
    position: absolute;
    right: 20%;
}
.slider-item {
    margin-bottom: 3.5%;
}
.slider-title {
    display: inline-block;
}
.slider-wrapper {
    width: 30%;
    position: absolute;
    display: flex;
    align-items: center;
    float: right;
    right: 1em;
    display: inline-flex;  
}

/* actual slider component */
.slider {
    -webkit-appearance: none;
    position: absolute;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #A384A3;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10%; 
    height: 3em; 
    border: 6px solid #C3B375;
    border-radius: 40%;
    background: #A17732;
    cursor: pointer;
}
.slider::-moz-range-thumb {
    width: 50px;
    height: 40px;
    border: 6px solid #C3B375;
    border-radius: 40%;
    background: #A17732;
    cursor: pointer;
}
/* https://codeconvey.com/html-range-slider-with-ticks-and-values/ */
.range-tick {
  fill: #A384A3;
}
.range-tick:first-child {
    -webkit-transform: translateX(10px);
    -moz-transform: translateX(10px);
    -ms-transform: translateX(10px);
    -o-transform: translateX(10px);
    transform: translateX(10px);
}
.range-tick:last-child {
    -webkit-transform: translateX(-9px);
    -moz-transform: translateX(-9px);
    -ms-transform: translateX(-9px);
    -o-transform: translateX(-9px);
    transform: translateX(-9px);
}

/* end slider */

/* Mural Screen */
.mural-screen {
    position: relative;
}
.mural-screen .nav-buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: unset;
}
.mural-screen .question {
    width: 90%;
    padding: 3% 5%; 
    background-color: #1D1B52;
    font-size: 148%; 
    text-align: center;
}
.mural-screen .label {
    width: 100%;
    padding: 0.3em 0%;
    background-color: #3d3d8d;
    font-size: 120%;
    text-align: center;
}
.mural-images {
    position: relative;
    display: block;
    width: 65%;
    margin: 2em auto 0; 
    overflow: hidden;
    border: 0.375rem solid #705D31;
    border-radius: 1.875rem; 
}
.mural-images-wrapper {
    width: 600%; /* calc based on number of images */
    transition: margin 1000ms;
}
.mural-img {
    width: 16.66%; /* calc based on number of images */
    float: left;
}
.mural-images-wrapper img {
    width: 100%;
    height: auto;
}
.mural-slider {
    padding: 2em 0; 
    text-align: center;
}
.mural-slider-wrapper {
    position: relative;
    display: inline-block;
    width: 35%;
    left: 34%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.mural-slider .slider {
    -webkit-appearance: none;
    position: absolute;
    width: 100%;
    height: 0.6em;
    border-radius: 4px;
    background: #A384A3;
}
.mural-slider .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 3em; 
    height: 3em; 
    border: 0;
    background: url('../assets/mural-slider-handle.png');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 10;
}
.mural-slider .slider::-moz-range-thumb {
    width: 3em; 
    height: 3em; 
    border: 0;
    background: url('../assets/mural-slider-handle.png');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 10;
}
.mural-btn {
    text-align: center;
    margin-bottom: 40px;
}
.mural-screen .btn {
    float: right;
    margin-right: 1em;
    margin-bottom: 1em;
}
#mural-prev-btn{
    color: #734e11; 
    background-color: #c7baba;
    float: left;
    margin-left: 1em;
}
/* end mural screen */

/* Results Screen */
.results-wrapper {
    width: 100%;
}

.results-screen {
    display: flex;
	min-height: unset;
}

.results-screen .results-left {
    float: left;
    width: 44%;
    padding: 2% 3%;
    flex-direction: column;
}
.results-left p {
    text-align: center;
}
.results-screen .results-right {
    flex-direction: column;
    float: left;
    width: 40%;
    margin-top: 5%; 
    padding: 2% 3%;
    background-color: #1c1b5e;
    border-right: 20px solid transparent;
    border-radius: 3rem;
    height: 77%; 
    overflow: auto;
    position: relative;
    box-shadow: 0 0 0 3px #3031b7;
    z-index: 2;
}
.results-screen h1 {
    font-size: 2.938em;
    margin-block: unset;
    color: #ffdd47;
}
.results-screen .topThree {
    font-size: 1.5em;
    font-weight: 500;
    color: #000733;
    background-color: #ffdd47;
    padding: 1rem;
    border-radius: 0.3125rem;
    margin-right: 1em;
}
.results-screen .topThree-bullets {
    margin-left: 3.125em; 
    margin-left: 3.125em;
    margin-right: 2em;
}
.results-screen .orange {
    color: #EAAC4B;
    font-weight: 700;
}
.results-screen .white {
    font-weight: 600;
}
.results-screen .pop-link {
    cursor: pointer;
}
.results-screen .btn {
    padding: 1% 6%;
	position: relative;
    top: 0;
	left: 35%;
    margin-top: 0.8em;
}

#result-items{
    list-style: none; 
    margin-block-start: 20px; 
    margin-block-end: 20px; 
    padding-inline-start: 7%;
}
.results-right::-webkit-scrollbar-track {
    margin-top: 100px;
    margin-bottom: 60px;
    padding-right: 100px;
    background-color: #3d3d8d;
    border-radius: 20px;
    height: 500px;
}

.results-right::-webkit-scrollbar-thumb {
    background-color: #000d46;
    border-radius: 20px;
    background-clip: padding-box;
}

.results-right::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
}

.results-right::-webkit-scrollbar {
    width: 20px;
}

.results-right .btn {
    /*bottom: 10px;
    right: 10px;
    position: absolute;*/
}
#rays {
    z-index:1;
    position: absolute;
    left: -9%;
    top: -10%;
	width: 60%;
	max-height: 100%;
}
.role-list {
    border-radius: 8px;
    background: #3e3d8d;
    padding: 5px;
    text-align: center;
    min-width: 40%;
    font-size: 1.5em;
    display: inline-block;
}

.percentage-bar {
    margin-left: 15px;
    background: var(--bar-color);
    width: var(--bar-length);
    height: 15px;
    display: inline-block;
}

.scroll-content {
    /*width: 800px;*/
    /*padding-bottom: 100px;*/
}

.pop-up {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 4;
}
.pop-up-inner {
    position: relative;
    width: 60%;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: #181A5F;
    background-image: url("../assets/background-constellation-2.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 0 3% 2%;
    border: 0.375rem solid #705D31;
    border-radius: 1.875rem;
}
.pop-up h2 {
    color: #EBAC4B;
    text-align: center;
}
.pop-up p {
    font-weight: 300;
}
.yellow {
    color: #EBAC4B;
}
.pop-up .btn {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.pop-up .pop-list {
    font-weight: 700;
}
/* end results screen */

/* closing screen */
.closing-screen {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 2em;
}
.closing-screen .orange {
    color: #EAAC4B;
    font-weight: 700;
}
.closing-screen .white {
    font-weight: 700;
}
.closing-screen .pop-link {
    cursor: pointer;
}
#outer
{
    width:100%;
    text-align: center;
}
.inner
{
    display: inline-block;
}
.closing-screen .btn {
    color: #1B1B5E;
    background-color: white;
    border-style: none;
    border-radius: 1.875rem; 
    padding: 0.75% 5.7%;
    cursor: pointer;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500;
    margin: 0.5em;
    right:unset;
}
/* end closing screen */

/* gallery screen */
.grid { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15%, 1fr));
    grid-gap: 50px;
    align-items: stretch;
    padding: 2% 10%;
}
.grid img {
    max-width: 100%;
    margin: 5%;
    border-radius: 10%;
    object-fit: cover;
    box-shadow: 0px 0.9375rem #000233;
}
.gallery-screen {
    background-image: url("../assets/bg_historicalfigure.png");
    background-size: contain;
}
.gallery-screen .activity-title{
    margin: 50px 20px 20px 20px;
    position: relative;
    text-align: center;
    border: 6px solid #705D31;
    top: unset;
    left: unset;
}
.gallery-screen .btn {
    position: relative;
    right: initial;
    bottom: initial;
}
.gallery-screen .button-wrapper {
    text-align: left;
}

@media screen and (min-width: 0px) and (max-width: 600px) {
    .results-screen .results-right {
        border-right:none;
    }
    #result-items {
        padding-inline-start: 0%;
    }
}