html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

.gyrobutton {
    width: 65px;
    height: 65px;
    display: none;
    position: absolute;
    top: 90px;
    right: 15px;
    z-index: 10000;
    border-radius: 100%;
    background: white;
    background-position: left top;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.5s ease;
}

.hoverlabel {
    position: absolute;
    top: 0px;
    left: -500px;
    text-align: center;
    padding: 10px;
    margin-top: -90px;
    width: 200px;
    margin-left: -70px;
    color: #fff;
    background-color: #212529;
    transform: perspective(750px) translate3d(0px, 0px, -100px) rotateX(10deg) scale(1, 1);
    border-radius: 10px;
    box-shadow: rgba(33, 37, 41, 0.4) 5px 5px, rgba(33, 37, 41, 0.3) 10px 10px, rgba(33, 37, 41, 0.2) 15px 15px !important;
    transition: 0.4s ease-in-out transform;
}

.loading {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    z-index: 10001;
}

.loading-container {
    position: relative;
}

.loading-content {
    position: absolute;
    width: 300px;
    height: 40px;
    left: calc(50vw - 150px);
    top: calc(50vh - 20px);
    text-align: center;
}





/*Model Viewer Css*/

.Hotspot {
    background: #fff;
    border-radius: 32px;
    border: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    cursor: pointer;
    height: 24px;
    padding: 8px;
    position: relative;
    transition: opacity 0.3s;
    width: 24px;
}

    .Hotspot:not([data-visible]) {
        background: transparent;
        border: 4px solid #fff;
        box-shadow: none;
        height: 32px;
        pointer-events: none;
        width: 32px;
    }

    .Hotspot:focus {
        border: 4px solid rgb(0, 128, 200);
        height: 32px;
        outline: none;
        width: 32px;
    }

    .Hotspot > * {
        opacity: 1;
        transform: translateY(-50%);
    }

.HotspotAnnotation {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: 'MyFont';
    font-size: 18px;
    font-weight: 700;
    left: calc(100% + 1em);
    max-width: 128px;
    padding: 0.5em 1em;
    position: absolute;
    top: 50%;
    width: max-content;
}

.Hotspot:not([data-visible]) > * {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-50% + 4px));
    transition: transform 0.3s, opacity 0.3s;
}

/* This keeps child nodes hidden while the element loads */

:not(:defined) > * {
    display: none;
}

#ar-button {
    background-image: url(../assets/ic_view_in_ar_new_googblue_48dp.png);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 12px 50%;
    background-color: rgb(255, 255, 255);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    /* bottom: 132px; */
    bottom: 0px;
    padding: 0px 16px 0px 40px;
    font-family: "Roboto Regular", "Helvetica Neue", sans-serif;
    font-size: 14px;
    color: rgb(66, 133, 244);
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
    border: 1px solid rgb(218, 220, 224);
}

    #ar-button:focus {
        outline: none;
    }

    #ar-button:active {
        background-color: rgb(232, 234, 237);
    }

.hotspot {
    position: relative;
    background: #ddd;
    border-radius: 32px;
    box-sizing: border-box;
    border: 0;
    --min-hotspot-opacity: 0.5;
    width: 24px;
    height: 24px;
    padding: 8px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

    .hotspot:focus {
        border: 4px solid rgb(0, 128, 200);
        width: 32px;
        height: 32px;
        outline: none;
    }

    .hotspot > * {
        transform: translateY(-50%);
        opacity: 1;
    }

    .hotspot:not([data-visible]) > * {
        pointer-events: none;
        opacity: 0;
        transform: translateY(calc(-50% + 4px));
        transition: transform 0.3s, opacity 0.3s;
    }

.info {
    display: block;
    position: absolute;
    font-family: 'MyFont';
    color: rgba(0, 0, 0, 0.8);
    font-weight: 700;
    font-size: 18px;
    max-width: 128px;
    padding: 0.5em 1em;
    background: #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    left: calc(100% + 1em);
    top: 50%;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    model-viewer {
        width: 100%;
        height: 300px;
        top: 0px;
        position: sticky;
    }

    .arrowgf-icon-div {
        transition: opacity 0.3s;
        background: #0000006b;
        border-radius: 4px 4px 4px 4px;
        bottom: 50%;
        color: #FFF;
        display: none;
        height: 75px;
        /* opacity: 0; */
        padding: 10px 10px 35px;
        position: fixed;
        right: 30%;
        text-align: center;
        text-decoration: none;
        min-width: 50px;
        z-index: 1040;
        font-size: 0.8em;
    }

        .arrowgf-icon-div .arrowgf-img {
            width: 70px;
        }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    model-viewer {
        width: 100%;
        height: 300px;
        top: 0px;
        position: sticky;
    }

    .arrowgf-icon-div {
        transition: opacity 0.3s;
        background: #0000006b;
        border-radius: 4px 4px 4px 4px;
        bottom: 50%;
        color: #FFF;
        display: none;
        height: 75px;
        /* opacity: 0; */
        padding: 10px 10px 35px;
        position: fixed;
        right: 35%;
        text-align: center;
        text-decoration: none;
        min-width: 50px;
        z-index: 1040;
        font-size: 0.8em;
    }

        .arrowgf-icon-div .arrowgf-img {
            width: 70px;
        }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    model-viewer {
        width: 100%;
        height: 350px;
        top: 0px;
        position: sticky;
    }

    .arrowgf-icon-div {
        transition: opacity 0.3s;
        background: #0000006b;
        border-radius: 4px 4px 4px 4px;
        bottom: 50%;
        color: #FFF;
        display: none;
        height: 75px;
        /* opacity: 0; */
        padding: 10px 10px 35px;
        position: fixed;
        right: 44%;
        text-align: center;
        text-decoration: none;
        min-width: 50px;
        z-index: 1040;
        font-size: 0.8em;
    }

        .arrowgf-icon-div .arrowgf-img {
            width: 70px;
        }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    model-viewer {
        width: 100%;
        height: 350px;
        top: 0px;
        position: sticky;
    }

    .arrowgf-icon-div {
        transition: opacity 0.3s;
        background: #0000006b;
        border-radius: 4px 4px 4px 4px;
        bottom: 50%;
        color: #FFF;
        display: none;
        height: 75px;
        /* opacity: 0; */
        padding: 10px 10px 35px;
        position: fixed;
        right: 44%;
        text-align: center;
        text-decoration: none;
        min-width: 50px;
        z-index: 1040;
        font-size: 0.8em;
    }

        .arrowgf-icon-div .arrowgf-img {
            width: 70px;
        }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    model-viewer {
        width: 100%;
        height: 350px;
        top: 0px;
        position: sticky;
    }

    .arrowgf-icon-div {
        transition: opacity 0.3s;
        background: #0000006b;
        border-radius: 4px 4px 4px 4px;
        bottom: 50%;
        color: #FFF;
        display: none;
        height: 75px;
        /* opacity: 0; */
        padding: 10px 10px 35px;
        position: fixed;
        right: 44%;
        text-align: center;
        text-decoration: none;
        min-width: 50px;
        z-index: 1040;
        font-size: 0.8em;
    }

        .arrowgf-icon-div .arrowgf-img {
            width: 70px;
        }
}

model-viewer > #ar-prompt {
    position: absolute;
    left: 50%;
    bottom: 175px;
    animation: elongate 2s infinite ease-in-out alternate;
    display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
    display: block;
}

model-viewer > #ar-prompt > img {
    animation: circle 4s linear infinite;
}

model-viewer > #ar-failure {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 175px;
    display: none;
}

model-viewer[ar-tracking="not-tracking"] > #ar-failure {
    display: block;
}

p {
    text-align: justify;
    color: #d8d8d8 !important;
}



.degree-icon-div {
    transition: opacity 0.3s;
    background: #0000006b;
    border-radius: 4px 4px 0 0;
    bottom: 0;
    color: #FFF;
    display: block;
    height: 65px;
    /* opacity: 0; */
    padding: 10px 10px 35px;
    position: fixed;
    right: 3px;
    text-align: center;
    text-decoration: none;
    min-width: 50px;
    z-index: 1040;
    font-size: 0.8em;
}

    .degree-icon-div .degree-img {
        width: 50px;
        padding:5px;
    }

model-viewer#reveal {
    --poster-color: #212529;
}
/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #C7C8C9 #212529;
}

    /* Works on Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 12px;
    }

    *::-webkit-scrollbar-track {
        background: #212529;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #C7C8C9;
        border-radius: 20px;
        border: 3px solid #C7C8C9;
    }

#modalshwrmcontent {
    transform: perspective(750px) translate3d(0px, 0px, -100px) rotateX(10deg) scale(1, 1);
    border-radius: 20px;
    box-shadow: rgba(33, 37, 41, 0.4) 5px 5px, rgba(33, 37, 41, 0.3) 10px 10px, rgba(33, 37, 41, 0.2) 15px 15px, rgba(33, 37, 41, 0.1) 20px 20px, rgba(33, 37, 41, 0.05) 25px 25px !important;
    transition: 0.4s ease-in-out transform;
}

    #modalshwrmcontent:hover {
        transform: translate3d(0px, 0px, -250px);
    }
