html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

#builds {
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.37);
    position: absolute;
    top: 0;
    left: 0;
    overflow: scroll;
}

#buildElements {
    margin: 0 0 10px 60px;
    display: flex;
    flex-wrap: wrap;
}

.buildElement {
    min-width: 100px;
    transition: 0.3s;
    background-color: rgb(232,237,233);
    border: 1px solid black;
    margin: 10px;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    overflow-wrap: break-word;
}

.buildElement:hover {
    box-shadow:inset 0 0 5px 1px black;
}

#close {
    transition: 0.3s;
    position: fixed;
    top: 10px;
    left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 50px;
    height: 50px;
}

#searchWrap {
    position: fixed;
    top: 15px;
    left: 70px;
    display: flex;
    align-items: center;
}

#input {
    min-height: 35px;
    width: 150px;
    background-color: rgb(232,237,233);
    border-radius: 5px;
    font-size: 20px;
    margin-right: 10px;
}


#close:hover {
    width: 60px;
    height: 60px;
}

#search {
    min-width: 50px;
    background-color: rgb(232,237,233);
    color: rgb(23, 57, 61);
}

#info {
    margin: 70px 0 10px 70px;
    display: flex;
    align-items: center;
}

#controlPanel {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    position: fixed;
    box-sizing: border-box;
    top: 0;
    left: 0;
    padding: 30px;
    overflow-x: auto;
    z-index: 50;
}

.controlItem {
    margin-right: 10px;
}

button {
    min-width: 120px;
    min-height: 35px;
    transition: 0.3s;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    border: none;
    background-color: rgb(23, 57, 61);
    color: rgb(232,237,233);
    padding: 5px 10px;
    border-radius: 5px;
}

.zoom {
    display: flex;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 35px;
    height: 70px;
    flex-wrap: wrap;
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
}

#chooseBuild {
    position: fixed;
    bottom: 30px;
    left: 30px;
}

#zoomIn, #zoomOut {
    font-size: 30px;
    width: 35px;
    height: 35px;
    background-color: rgb(232,237,233);
    display: flex;
    cursor: pointer;
    justify-content: center;
}

#zoomIn {
    margin-bottom: 2px;
}

button:hover {
    transition: 0.1s;
    box-shadow: 0 0 3px 0 black;
}

button:active {
    transition: 0.1s;
    box-shadow:0 0 3px 0 black, inset 0 0 3px 0 white;
}

#checkbox {
    display: inline-block;
    width: 15px;
    height: 15px;
    min-width: 15px;
    border: 1px solid rgb(232,237,233);
    cursor: pointer;
    border-radius: 3px;
}

.checkbox-text, #currentBuild {
    font-size: 20px;
    color: rgb(232,237,233);
}

.checkbox-text {
    min-width: 100px;
}

.checkbox-active {
    background-color: rgb(232,237,233);
    border: none;
}

#start img, #clear img, #chooseBuild img{
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.loader {
    transition: 0.5s;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    position: absolute;
    background-color: rgb(36,92,96);
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: 30px;
    color: rgb(232,237,233);
    flex-wrap: wrap;
    z-index: 200;
}

.loader_info {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgb(232,237,233);
    font-family: 'Lato', sans-serif;
    align-items: center;
}

#root {
    transition: 0.2s ease-out;
    background-color: rgb(36,92,96);
    image-rendering: pixelated;
}

.d-none {
    display: none;
}

.v-hidden {
    transition: 0.5s;
    visibility: hidden;
    opacity: 0;
}

.canvasWrap {
    overflow: hidden;
}

