/* This keeps child nodes hidden while the element loads */
:not(:defined) > * {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    padding-right: 1em;
    font-family: 'Rubik', sans-serif;
    color: #4d4e50;
}

.model-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    height: 100vh;
}

h1{
    font-size: 20px;
}

.model-container model-viewer {
    width: 100%;
    flex-grow: inherit;
    box-sizing: border-box;
}

#trackingOverlay{
    position:fixed;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99;
}

#buttonContainer{
    margin:0;
    position:absolute;
    top:50%;
    left:50%;
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

#trackingButton{
    height: 64px;
    font-size: 24px;
    padding: 8px 8px;
    color: white;
    background-color: #009835;
    border: 2px solid #121819;
    border-radius: 8px;
}
