body {
    margin: 0;
    padding: 0;
    overflow: hidden;  /* Prevent scrollbars */
    height: 100vh;
}

/*Loading*/
.loading-page-container{
    margin: 0;
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #ffc98c;
    z-index: 200;
}

.loading-page{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.loading-text{
    animation: loading_text_animate 1s ease-in-out infinite alternate;
}

@keyframes loading_text_animate {
   from{
    opacity : 1;
   } 
   to{
    opacity: 0;
   }
}

.button-container{
    z-index: 99;
    position: absolute;
}

/* Font Style */
.special-elite-regular {
    font-family: "Special Elite", system-ui;
    
    font-style: normal;
}


/* Make canvas fill entire background */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;      /* Behind content */
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

canvas:active{
    cursor: grabbing;
}

/* Content ON TOP of canvas */
.container{
    position: absolute;
    width: 100%;
    height: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    margin-top: 0;
}

.heading-container{
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 2%;
}

.the-heading{
    font-weight: 900;
    color: rgb(139, 0, 0);
    position: absolute;
    z-index: 100;
    width: fit-content;
    height: fit-content;
    /* border: 1px solid black; */
    user-select: none;
}

.search-container{
    margin: 1%;
    position:absolute;
    z-index: 99;
    /* border: 1px solid black; */
}

.back-option-container{
    position: absolute;
    z-index: 101;
    right: 5px;
    top: 10px;
    display: none;
}

.drop-down-options, .drop-down-refresh-options{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: rgb(139, 0, 0); */
    min-width: 130px;
    max-width: 200px;
    padding: 12px 16px;
    gap: 2px;
    border: 1px solid black;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    background-color: #ff08004f;
    border-radius: 2%;
    margin-top: 2%;
}

.option{
    padding: 2%;
    margin: 2%;
    background-color: #93100b;
    color: white;
    border: 1px solid black;
    border-radius: 2px;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: start;
    user-select: none;
}

.option:hover{
    background-color: #cb2e29;
    cursor:pointer;
}

.flex-vertical-button {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    gap: 10px;
    z-index: 99;
    width: 100%;
    height: 100%;
    /* border: 1px solid black; */
}

.desktop-red-shelf{
    display : block;
}
.phone-red-shelf{
    display: none;
}

.drop-downs{
    /* border: 1px solid black; */
    
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
    width: 100%;
    height: 100%;
}

/************* Percentage Bar **************/
.percentage-bar-container{
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 3vw;
    top: 20vh;
    bottom: 20vh;
    width: 25px;
    height: 60vh;
    border: 1px solid black;
    z-index: 102;
    background-color: #ff080044;
}

.bookshelf-icon{
    width: auto;
    height: 5vh;
    /* border: 1px solid black; */
}

.percentage-bar-position{
    flex: 1;
    width: 100%;
    height: 55vh;
    /* background-color: #ff000050;
    border: 1px solid black; */
}

.percentage-bar{
    width: 100%;
    background-color: #ff0000;
    /* height: 100%;
    border: 1px solid black; */
}

.bookshelf-icon img {
    object-fit: fill;
    width: 100%;
    height: 100%;
}


.gsap-container{
    display: flex;
    flex-direction: column;
    position: absolute;
    /* left: 20px; */
    left: 3vw;
    top: 20vh;
    bottom: 20vh;
    width: 25px;
    border: 1px solid black;
    z-index: 103; /*z index is one more that the percentage bar to make it clickable*/
}

.destination-icon{
    cursor: pointer;
}

/*Outer GSAP*/
.outer-GSAP-icons-container{
    height: 22.22%; /*Outer GSAP locations will take 2/9 height of the bars*/
    width: 100%;
    /* border: 1px solid black; */
    display: flex;
    flex-direction: column;
}

.outer-gsap{
    width: 100%;
    height: 2vh;
    /* border: 1px solid black; */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.outer-gsap-image-position{
    width: 100%;
    height: 30px;
    /* border: 1px solid black; */
    /* background-color: #8018158a; */
}

.outer-gsap img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/*Inner GSAP*/
.inner-GSAP-icons-container{
    height: 77.77%;
    width: 100%;
    display: flex;
    flex-direction: column-reverse; /*Beacuse the javacsript made the html elements in the reverse order. So I will dispaly it in the reverse order to make it fixed.*/
    /* border: 1px solid black; */
}

.inner-gsap{
    width: 100%;
    height: 2vh;
    
    /* border: 1px solid black; */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.inner-gsap-image-position{
    width: 100%;
    height: 30px;
    display: flex;
    align-items: end;
    /* border: 1px solid black; */
    /* background-color: #0000008a; */
}

.inner-gsap img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/************* SEARCH BAR ***************/
#searchForm{
    /* border: 1px solid black; */
    display: flex;
    flex-direction: row;
    gap: 2%;
    justify-content: end;
    align-items: center;
}

.search-bar{ 
    max-width: 300px;
    min-width: 200px;
    height: 30px;
    display: flex;
    justify-content: center;
}

/**************** 2D FLOOR ******************/
.Floor-options-container{
    position: absolute;
    z-index: 101;
    right: 5px;
    top: 10px;
    display: none;
}

/************** REFRESH BUTTON ****************/

.refresh-button-container{
    margin-top: 1%;
    margin-right: 1%;
}

form{
    display: flex;
    flex-direction: column;
    align-items:end;
    
}

#fname{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 1%;
    background-color: rgb(192, 102, 102);
    color: #ffffff;
    border: 1px soild black;
    border-radius: 2%;
}
input{
    width: 100px;
}
input::placeholder{
    color: white;
    
}

.footer-container{
    position:absolute;
    bottom: 0;
    opacity: 0;
    z-index: 99;
    width: 100vw;
    height: 10vh;
    /* border: 1px solid black; */
    margin-right: 0;
    margin-left: 0;
}

.footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* border: 1px solid black; */
    height: 100%;
}
.item_dash{
    flex: 1;
    aspect-ratio: 1 / 1;   /* square */
    /* border: 1px solid white; */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.item_dash img {
    height: 100%;
    object-fit: contain;
    display: block;
}
.item_dash a{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CSS */
.button-24 {
    background: rgb(139, 0, 0);
    border-radius: 6px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    width: 100px;
    line-height: 16px;
    min-height: 10px;
    outline: 0;
    padding: 12px 14px;
    text-align: center;
    text-rendering: geometricprecision;
    text-transform: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
}

.button-24:active,
.button-24:focus {
    background: rgb(139, 0, 0);
}

/*Pop up Placement*/
.pop-up-container{
    position: absolute;
    display: block;
    width: fit-content;
    height: fit-content;
    z-index: 100;
    color: white;
    margin: 0;
    padding: 0;
    user-select: none;
}

.pop-up{
    position: absolute;
    border: 1px solid black;
    background-color: rgb(139, 0, 0);
    padding: 10%;
    border-radius: 2px;
    display: none;
    min-width: 150px;
    max-width: 300px;
}

/*Entrance GSAP*/
.heading-image{
    height: 150px;
}

.heading-image img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

*{
    margin: 0;
}

@media(width < 500px){

    .desktop-red-shelf{
        display : none;
    }

    .bookshelf-icon{
        /* border: 1px solid black; */
        width: 40px;
        height: 40px;
        transform: translate(-25%,0%);
    }
    .phone-red-shelf{
        position: absolute;
        display: block;
        z-index: 100;
        height: 50px;
        width: 50px;
        /* border: 1px solid black; */
        
        /* background-image: url(./Icon/bookstall-or-library-icon-in-red-and-blue-color-vector.png); */
    }

    .phone-red-shelf > img{
        object-fit: contain;
        width: 100%;
        height: 100%;
        transform: scale(1.7);
    }

    .search-bar{ 
        width: 100px;
        height: 20px;
    }

    /* CSS */
    .button-24 {
        background: rgb(139, 0, 0);
        border-radius: 6px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        box-sizing: border-box;
        color: #FFFFFF;
        cursor: pointer;
        display: inline-block;
        font-size: 16px;
        font-weight: 800;
        line-height: 16px;
        width: 100px;
        min-height: 10px;
        outline: 0;
        padding: 12px 14px;
        text-align: center;
        text-rendering: geometricprecision;
        text-transform: none;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        vertical-align: middle;
        transform: scale(0.8);
    }
    .button-24:active,
    .button-24:focus {
        background: rgb(139, 0, 0);
    }


    .book {
        display: flex;
        flex-direction: column;
        justify-content: end;
        align-items: end;
        gap: 10px;
        z-index: 99;
        width: 100%;
        height: 100%;
        /* border: 1px solid black; */
    }

    .drop-down-options, .drop-down-refresh-options{
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* border: white; */
        /* background: rgb(139, 0, 0); */
        min-width: 130px;
        max-width: 200px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        border: 1px solid black;
        background-color: #ff08004f;
        padding: 12px 16px;
        gap: 2px;
        margin-top: 2%;
    }

    .option{
        padding: 2%;
        margin: 2%;
        background-color: #93100b;
        color: white;
        border: 1px solid black;
        border-radius: 2px;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: start;
        user-select: none;
    }

    .option:hover{
        background-color: #cb2e29;
        cursor:pointer;
    }

    /*Percentage Bar*/
    .percentage-bar-container{
        display: flex;
        position: absolute;
        left: 10px;
        top: 20vh;
        bottom: 20vh;
        width: 10px;
        /* border: 1px solid black; */
        z-index: 99;
    }

    .gsap-container{
        display: flex;
        position: absolute;
        left: 10px;
        top: 20vh;
        bottom: 20vh;
        width: 10px;
        /* border: 1px solid black; */
        z-index: 100;
    }
    
}




