@font-face {
    font-family: 'Montserrat';
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 140% */
    letter-spacing: -0.4px;
    src: local(''), url('/public/fonts/Montserrat-VariableFont_wght.ttf') format('woff');
}

@font-face {
    font-family: "Montserrat-Light";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.28px;
    src: local(''), url('/public/fonts/Montserrat-Light.ttf') format('woff');
}

html, body 
{
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 0;
    margin: 0;
}

#loading-container {
    position: relative;
    align-items: center;
    justify-content: center;
}

#loading1{
    position: absolute;
    top: 28.5%;
    left: 40%;
    z-index: 99999;
    /*animation: rotate 1.5s linear infinite; */
}

#loading2 {
    position: absolute;
    top: 50%;
    left: 48%;
    z-index: 99998;
    animation: rotate 3s linear infinite;
}

#loading3{
    position: absolute;
    top: 28.5%;
    left: 40%;
    z-index: 99999;
    /*animation: rotate 1.5s linear infinite; */
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/*Fade-out animation */
@keyframes fadeOut {
    from {
        opacity: 1; /* Start with full opacity */
        visibility: visible;
    }
    to {
        opacity: 0; /* Fade to completely transparent */
        visibility: hidden;
    }
}

/* Apply the fade-out animation to an element */
.fade-out {
    animation: fadeOut 2s ease-out; /* Use the defined keyframes, set the duration, and specify the easing function */
}

/*Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0; /* Fade to completely transparent */
        visibility: hidden;
    }
    to {
        opacity: 1; /* Start with full opacity */
        visibility: visible;
    }
}

/* Apply the fade-in animation to an element */
.fade-in {
    animation: fadeIn .5s ease-in; /* Use the defined keyframes, set the duration, and specify the easing function */
}

#loading-bg{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.instructions {
    position: absolute;
    width: auto;
    top: 0;
    margin-top: 10%;

    height: 200px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#renderCanvas 
{
    width: 100%;
    height: 100%;
    cursor: grab;
}

.babylonVRDefaultCursor 
{
    cursor: none;
}