#lobbyPanel {
    margin: auto;
    display: flex;
    /* text-align: center; */
    /* 
    justify-content: center;
    align-items: center; */

    min-width: 800px;
    max-width: 1600px;
    /* border: 3px solid var(--light); */
    padding: 0;
}

/* #lobbyBottomSpace {
    height: 100%;
} */



.column {
    /* display: flex; */
    /* flex-direction: column; */
    /* flex: 50%; */
    flex-basis: 100%;
}

#lobbyIdentifier span {
    background-color: var(--dark);
    font-family: monospace;
}

#lobbyState #lobbyInit{
    background-color: var(--dark);
    font-family: monospace;
    margin: 10px;

}

#lobbyIdentifier{
    margin: 10px;
}


/* CENTER COLUMN */

#lobbyCenter {
    /* border-left: 3px solid red; */
    /* border-right: 3px solid blue; */
    border-top: 3px solid var(--light);
    border-bottom: 3px solid var(--light);
    text-align: center;
    min-width: 400px;
    display: flex;
    flex-direction: column;
}

/* STATUS */

#lobbyTimer {
    font-family: monospace;
    font-size: 30px;
    font-weight: bold;
    /* margin: auto; */
    /* text-align: center; */
    /* flex-grow: 0; */
    margin-top: 10px;
    margin-bottom: 10px;
}

#lobbyStatus {
    flex-grow: 0;
    list-style: none;
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
}
#lobbyStatus li {
    color: grey;
}
#lobbyStatus li.active {
    font-weight: bold;
    color: white;
}
#lobbyStatus li.active:before {
    content: "🠖 ";
}
#lobbyStatus li.active:after {
    content: " 🠔";
}
#lobbyStatus li.done {
    text-decoration: line-through;
}

/* MODERATION */

.lobbyBottomSpace {
    flex-grow: 1;
    min-height: 200px;
}

.lobbyBottomSpace:not(:last-child) {
    border-bottom: solid 3px var(--light);
}

#lobbyModeratorPanel button{
    width: 60px;
    height: 60px;
    margin: 4px;
    padding: 0px;
}

/* BANNING */

#lobbyBans {
    flex-grow: 0;
    /* margin: auto; */
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    display: flex;
}

#lobbyBans > .column {
    border: 3px solid var(--light);
    min-height: 100px;
}

#lobbyBans img {
    height: 60px;
    width: 60px;
    margin: 10px;
    /* border: 2px solid var(--border); */
    outline: 2px solid var(--border);
    outline-offset: -2px;
}

#lobbyBans img.blue {
    outline-color: var(--blue);
}

#lobbyBans img.red {
    outline-color: var(--red);
}

.BanElement > div{
    display: flex;
    align-items: center;
    justify-content: center;

}
.BanElement button {
    width: 60px;
    height: 60px;
    margin: 3px;
    padding: 0px;
}

/* SIDES */

#lobbyRedTeam {
    border: 3px solid var(--red);
    padding: 0;
}
#lobbyBlueTeam {
    border: 3px solid var(--blue);
    padding: 0;
}

.LobbyShipItem{
    /* border-bottom: 2px solid var(--light); */
    padding: 10px;
    height: 420px;
    width: 580px;
    /* display: table; */
    display: flex;
    flex-flow: row;
}

.LobbyShipItem.active{
    background-color: var(--light);
}

.LobbyShipItem.isMine.active{
    background: repeating-linear-gradient(
        45deg,
        var(--light),
        var(--light) 30px,
        var(--medium) 30px,
        var(--medium) 60px
    );
}

/* .LobbyShipItem > div{ */
    /* display: inline-block; */
    /* height: 100%; */
    /* display: table-cell; */
/* } */



.LobbyShipItem > div:nth-of-type(1){
    /* width: 270px; */
    /* flex-grow: 1; */
    order: 2;
    /* position: relative; */
    /* padding-top: 100%; */
    /* background-color: red; */
    /* background-color: rgba(255, 0, 0, 0.3); */
    /* background-color: var(--light); */

    display: flex;
    justify-content: center;
    align-items: center;

}
.LobbyShipItem > div:nth-of-type(2){
    flex-grow: 1;
    /* width: 450px; */
    /* order: 3; */
}

/* Change order so that the canvas will be on the outside always. */
#lobbyBlueTeam > .LobbyShipItem > div:nth-of-type(2) {
    order: 1;
}

#lobbyRedTeam > .LobbyShipItem > div:nth-of-type(2) {
    order: 3;
}

canvas {
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* bottom: 0; */
    /* right: 0; */
    /* width: 90%; */
    width: 250px;
    /* margin: auto; */
    margin-right: 10px;
    margin-left: 0px;
    height: 400px;
    /* margin-left: 10px; */
    /* background-color: rgba(0, 255, 0, 0.3); */
}

.LobbyShipItem.active > div:nth-of-type(2) > div:first-child{
    font-weight: bold;
}

/* .LobbyShipItem.picking{
} */



.LobbyShipItem > div > button{
    display: none;
}
.LobbyShipItem.isMine.picking > div > button{
    display: block;
}



.LobbyShipItem:not(:last-child){
    border-bottom: 2px solid var(--light);
    /* padding: 10px; */
}

/* 
.picking {
    transition: background-color
} */

/* .picking {
    animation-name: flash;
    animation-timing-function: ease-out;
    animation-duration: 2s;
  }
  @keyframes flash {
    0% { background: green; }
    100% { background: repeating-linear-gradient(
        45deg,
        var(--light),
        var(--light) 30px,
        var(--medium) 30px,
        var(--medium) 60px
    ); }
  } */