body{
    background-color: #1d1a1a;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;
}
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
h1{
    color: #d87070;
}
h2{
    color: #d87070;
}
button{
    margin: 2px;
    color: white;
    border: #d87070 solid 2px;
    background: #1d1a1a;
}
button:hover{
    color: black;
    background: white;
}
input{
    margin: 2px;
    color: white;
    border: #d87070 solid 2px;
    background: #1d1a1a;
}
.overflowManager{
    overflow: auto;
}
#main{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#CurrentTransitionsList{
    height: 692px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.grid{
    outline: solid 1px white;
}

.State{
    display : inline-flex;
    vertical-align: top;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width : 20px;
    height : 20px;
    border : white solid 2px;
    margin: 2.5px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; ;
}
.State.MarkedTo{
    border : red solid 2px;
}
.State.MarkedFrom{
    border : green solid 2px;
}
.StateList{
    display: inline;
    margin: 2px;
}

#RulesetCreation{
    border: salmon solid 10px;
    padding: 10px;
}

#TransitionAddition{
    display: flex;
    justify-content: center;
}

.TransitionBox{
    margin-top: 5px;
}
#CurrentGridController{
    display:inline-table;
    
}
#GridSelection{
    display: inline;
}