/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */

@font-face {
    font-family: 'Montserrat-Regular';
    /* font-weight: 400; */
    /* font-style: normal; */
    src: url('Montserrat-Medium.woff2') format('woff2');
}

#main-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat-Regular', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
}

#main-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
}

body {
    margin: 0px;
    overflow: hidden;
    font-family: 'Montserrat-Regular';
}

.v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.legend {
    width: 7.5rem;
    padding: 1.3rem;
}

.fullscreen-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
}

.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }

.button-container {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reset-view {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 100000;
}

#controls {
    display: flex;
    flex-direction: column;
    background: white;
    height: 100%;
    max-height: 100vh;
    overflow: scroll;
    width: clamp(100px, 25%, 500px);
    padding: 1rem;
    gap: 0.5rem;
}

#controls .sidebar-loading {
    text-align: center;
}

#controls .item {
    background: #eee;
    padding: 0.5rem 1.2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#controls .top-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-weight: 300;
    font-size: 0.9rem;
    gap: 1rem
}

#controls .meta {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
}

#controls .buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#controls .btn {
    flex: 1;
}

.btn {
    padding: 7px 40px 5px 40px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: 2px #e38c0c solid;
    border-radius: 30px 30px 30px 30px;
    background-color: white !important;
    text-transform: uppercase;
}

.btn:hover {
    border-color: #E38C0C !important;
}