@import url(https://fonts.googleapis.com/css2?family=Muli:ital,wght@0,300;0,700;1,300&display=swap);

html {
    font-family: 'Muli', sans-serif;
    font-weight: 300;
    font-size: 16px;
}

html,
body {
    margin: 0;
    padding: 0;
}

.model-container {
    display: flex;
    margin: 2rem auto;
    padding: 1rem;
    justify-content: center;
}

.model-card {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.25rem;
    text-decoration: none;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-out;
}

.model-card:hover {
    box-shadow: 0 0.25px 1rem rgba(0, 0, 0, 0.3);
}

.card-image {
    display: block;
    width: 100%;
    border: none;
}

.card-title {
    color: #464a4c;
}

.viewer-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

#model-structure {
    height: 100%;
    width: 25%;
    min-width: 250px;
    max-width: 400px;
    overflow-y: auto;
    border-right: 1px solid #aaaaaa;
}

#model-viewer {
    height: 100%;
    flex: 1 1 auto;
}

.viewer-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 25%;
    right: 30px;
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    outline: 0;
    z-index: 1;
}

.viewer-button:hover {
    background-color: #ececec;
}

.viewer-button:active {
    background-color: #e6e6e6;
}

.viewer-button:active,
.viewer-button:focus {
    box-shadow: 0 0 0 2px rgba(33,108,170,.25);
}

.jstree-container-ul {
    padding: 0.5rem;
}

.icon-file {
    background-image: url("assembly.ico") !important;
    background-position: center !important;
    background-size: unset !important;
}

.icon-assembly {
    background-image: url("assembly.ico") !important;
    background-position: center !important;
    background-size: unset !important;
}

.icon-part {
    background-image: url("part.ico") !important;
    background-position: center !important;
    background-size: unset !important;
}
