* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/*Common*/
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.all-center {
    align-items: center;
    justify-content: center;
}

.shadow {
    box-shadow: 0 0 10px #00759f inset;
}

.icon {
    vertical-align: middle;
    width: 20px;
}

input[type=text] {
    border: 2px solid #0a9db4;
    border-radius: 5px;
}

/*menu*/
.top-menu {
    position: fixed;
    width: 100%;
    min-height: 60px;
    z-index: 100;
    top: 0;
    background-color: #003962;
    justify-content: space-between;
}

.home-icon{
    margin-left: 5%;
}

.logout {
    margin-right: 5%;
    cursor: pointer;
}
.logout-button {
    font-size: 20px !important;
}

.ffa-home {
    transform: scale(1.5);
}

.top-menu-icon {
    height: 50px;
}

/*scroll-up*/
.scroll-up {
    z-index: 99;
    top: 0;
    width: 5%;
    height: 100%;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.2);
    display: none;
    background-image: url("../top-arrow.png");
    background-repeat:no-repeat;
    background-position: center center;
    background-size: 25%;
    transition: 0.3s;
}

.scroll-up:hover {
    background-color: rgba(255, 255, 255, 0.3);
    filter: brightness(1.25);
    cursor: pointer;
}



/*glanz button*/
.bg-blue {
    background-color: #2bbdd5;
}
.bg-green {
    background-color: #2ec112;
}
.bg-red {
    background-color: #b51743;
}
.glanz-button {
    position: relative;
    padding: 0 10px;
    border: none;
    border-radius: 5px;
    color: aliceblue;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: 1s;
    overflow: hidden;
    box-shadow: 0 0 0.5em black inset;
    width: fit-content;
}

.glanz-button:hover,
.glanz-button:focus {
    filter: brightness(1.25);
    cursor: pointer;
    outline: none;

}

.glanz-button:before,
.glanz-button:after {
    content: '';
    position: absolute;
    top: 0;
    left: -200px;
    width: 100px;
    height: 100%;
    background-color: #fff;
    filter: blur(40px);
    transform: skewX(-30deg);
}

.glanz-button:hover:before,
.glanz-button:focus:before {
    left: calc(100% + 150px);
    transition: 1s;
}
.wider-btn {
    width: 50px;
}
/*.glanz-button:hover:after,*/
/*.glanz-button:focus:after {*/
/*    left: calc(100% + 150px);*/
/*    transition: 1s 0.5s;*/
/*}*/



/*spoilers*/
input[id^="spoiler"] {
    display: none;
}

input[id^="spoiler"] + label {
    display: block;
    text-align: center;
    cursor: pointer;
    transition: all .6s;
}

input[id^="spoiler"] ~ .spoiler {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .6s;
}

input[id^="spoiler"]:checked + label + .spoiler {
    height: auto;
    opacity: 1;
}


/**/

.page-container {
    margin-top: 100px;
}

.huge-text {
    font-size: 36px;
    font-weight: bold;
}

.inputs-list {

}

.input-item +  .input-item{
    margin-top: 10px;
}
.input-buttons {
    min-width: 200px;
    justify-content: space-between;
}
.depth {
    margin-top: 50px;
    font-size: 24px;
}
.input-scene {
    margin-top: 50px;
    align-items: flex-start;
    justify-content: space-evenly;
    min-width: 1000px;
}

.input-table {
    padding: 10px;
    border: 2px solid #2061b2;
    margin: 10px;
    border-radius: 20px;
    left: 15%;
}
.input-pieces {
    max-height: 600px;
    overflow: auto;
}
.input-table-cell {
    font-size: 24px;
    /*border: 2px solid aliceblue;*/
    margin: 5px;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-piece {
    padding: 10px;
    border: 2px solid #2061b2;
    margin: 10px;
    border-radius: 20px;
}

.cell-border {
    border-radius: 25px;
    border: 2px dashed #00000000;
}

.cell-outside {
    border: 2px dashed #8f2323;;
}

.cell-inside {
    border: 2px dashed #238f28;;
}

.cell-pointer {
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}