/* Sticy Mechanism */

.three-sticky-parent{
    width: 100%; 
    height: 340vh
}

.three-sticky-child {
    position: sticky;
    top: 0;
    left: 0;
    outline: none;
    /* width: 100vw; */
    height: min(100%, 100vh);
}

/* Three Canvas */

canvas.three-canvas {
    outline: none;
    height: 100% !important;
    width: 100% !important;
    padding: 0;
    position: absolute;
    top:0;
}

/* Loading Screen */

.three-loading-container{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    position: absolute;
    opacity: 1;
    z-index: 1;
}

.three-loadingScreen{
    max-width: 20%;
    max-height: 20%;
}

.loadingBar{
    min-width: 20vw;
    height: 5px;
    border-radius: 2.5px;
    background-color: #F7F8FC;
    overflow: hidden;
}

.loadingBar.inner{
    width: 5px;
    min-width: 5px;
    background-color: #009AB2;
}

/* Button Styles */
.buttons{
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 1;

    display: flex;
    gap: 12px;
    width: min-content;
}

.three-nav-button{
    background: #fff0;
    border: 3px #009AB2 solid;
    border-radius: 8px;
    font-weight: 700 !important;
    font-family: "Quicksand";
    color: #009AB2;
    font-size: 20px;
    width: 2.4em;
    aspect-ratio: 1;
    box-sizing: border-box;
    cursor: pointer;
}

.three-nav-button:hover{
    border: 3px #01adc8 solid;
    color: #01adc8;
}

.three-nav-button:active{
    border: 3px #006a8d solid;
    color: #006a8d;
}

.three-nav-button.active{
    border: 3px #164D7E solid;
    color: #164D7E;
}

/* Touch Devices */

@media (pointer: coarse) {
    .three-sticky-parent {
        height: 70vh;
    }
    
    .buttons{
        left: 0;
        right: 0;
        margin: 0 auto;
    }
}
@media (pointer: coarse) and (orientation: landscape) {
    .three-sticky-parent {
        height: 85vh;
    }
    .buttons{
        position: absolute;
        width: unset;
        height: min-content;
        bottom: 0;
        top: 0;
        margin: auto 0;
        left: unset;
        right: 20px;
        flex-direction: column;
    }
}

/*# sourceMappingURL=main.css.map*/