body {
    background-color: #161616;
    margin: 0;
    padding: 0;
}

* {
    overflow: auto;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

button {
    min-width: 100px;
    min-height: 60px;
}

#cache {
    visibility: hidden;
}

.end {
    padding-top: 10vh;
}

.panel {
    position: absolute;
    width: 100%;
    min-height: 100vh;
    left: 0%;
    top: 0%;
    transition: left 0.5s ease, right 0.5s ease, top 0.5s ease, bottom 0.5s ease;
}

.center {
    display: block;
    object-fit: contain;
    min-height: 80%;
    max-width: 80%;
    max-height: 80%;
}

#touchprotector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    pointer-events: all;
    visibility: hidden;
}

#panel-main {
    background-color: #161616;
}

#panel-factions {
    background-color: #161616;
}

.hide {
    visibility: none;
}

/* START - totop button */

#to-top {
    position: fixed;
    bottom: -16vh;
    right: 1vw;
    z-index: 1000;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #b62b2b;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: bottom 0.3s ease-out;
}
  
#to-top:hover {
    background-color: #ddd;
    color: black;
}
  
#to-top.show {
    bottom: -2vh;
}

/* END - totop button */

