marma-onboarding:not(:defined) {
    opacity: 0;
}

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

#main-app {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: max(0px, 100vh);
}

video { 
    max-width: unset;
}
#this-video {
    vertical-align: middle;
}
#this-video {
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.a-canvas {
    z-index: 1;
}

#link-button {
    text-decoration: none;
}
#link-button-text {
    position: fixed;
    top: 17px;
    left: 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
     text-align: center;
    font-family: Montserrat;
    font-size: 15.5px;
    min-width: 126px;
    padding: 0 10px 0 10px;
    height: 36px;
    border-radius: 6px;
    color: white;
    border-radius: 6px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(90, 90, 90, 0.6);
    z-index: 100;
}

#link-button-text:hover {
    background-color: rgba(88, 23, 122, 0.6);
}

@media (min-width:768px) and (min-height: 768px) {   
    #link-button-text {
        font-size: 19.5px;
        min-width: 158px;
        height: 46px;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-overlay.visible {
    display: flex;
}

.modal-overlay video {
    max-width: 90%;
    max-height: 70%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.modal-close {
    margin-top: 20px;
    padding: 10px 24px;
    background: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

.hidden-preview {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.hidden-preview #ar-button {
    display: none;
}