body {
    background-color: #222; 
    margin: 0;
    user-select: none;
}

#banner-container {
    position: relative;
    top: 0;
    left: 1%;
    width: calc(98% - 2px);
    height: 101px;
    margin-bottom: 5px;
    border: 1px solid #000;
    background-color: #222;
    display: inline-flex;
}

#banner {
    height: 105px; 
}

#bannerImage {
    height: 100px;
    width: 100%;
    border: 1px solid #000;
}

#optionsImage {
    height: 100px;
    width: 100px;
    border: 1px solid #000;
}

#storyImage {
    height: 100px;
    width: 100px;
    border: 1px solid #000;
}

#resource-container {
    position: relative;
    top: 1px;
    left: 1%;
    width: calc(98% - 2px);
    height: 101px;
    margin-bottom: 5px;
    border: 1px solid #000;
    background-color: #444;
}

.resource-bar-container {
    height: 50px;
    width: 100%;
    overflow: hidden;
}

.resource-icon {
    float: left;
    width: 50px;
    height: 50px;
}

.percentage-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    float: left;
}

.percentage {
    text-align: center;
    font-size: 14px;
}

.resource-fill {
    margin-left: 100px;
    overflow: hidden;
}

.oxygen-bar {
    width: 100%;
    height: 48px;
    border: 1px solid #000;
    background-color: #ff0000;
    transition: width 0.7s linear;
    overflow: visible;
}

.food-bar {
    width: 100%;
    height: 48px;
    border: 1px solid #000;
    background-color: #00ff00;
    transition: width 0.7s linear;
    overflow: visible;
}

#all-container {
    position: absolute;
    top: 211px;
    left: 1%;
    height: 100%;
    width: 98%;
    display: inline-flex;
    background-color: #222;
}

#shipMap {
    position: relative;
    top: 0px;
    left: 0px;
    width: 302px; 
    height: 752px;
    border: 1px solid #000; 
    background-color: #000;
    flex: none;
}

#mapImage {
    width: 100%; 
}

.container,
.container-buttons {
    display: flex;
    height: 100%;
    width: 100%;
    top: 1px;
    left: 1px;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #000;
    background-color: #444; 
    margin-left: 5px;
}

button {
    margin-bottom: 10px;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.button-description {
    margin-left: 10px;
    flex: 1;
}

.roomHighlight1x2 {
    position: absolute;
    width: 50px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.roomHighlight1x2.highlighted {
    background-color: rgba(0, 255, 0, 0.5);
}

.roomHighlight1x2.available {
    background-color: rgba(255, 187, 0, 0.5);
}

.roomHighlight1x2.adjacent {
    background-color: rgba(255, 0, 0, 0.5);
}

.roomHighlight2x1 {
    position: absolute;
    width: 100px;
    height: 50px;
    background-color: rgba(0,0,0,0);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.roomHighlight2x1.highlighted {
    background-color: rgba(0, 255, 0, 0.5);
}

.roomHighlight2x1.available {
    background-color: rgba(255, 187, 0, 0.5);
}

.roomHighlight2x1.adjacent {
    background-color: rgba(255, 0, 0, 0.5);
}

.roomHighlight2x2 {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.roomHighlight2x2.highlighted {
    background-color: rgba(0, 255, 0, 0.5);
}

.roomHighlight2x2.available {
    background-color: rgba(255, 187, 0, 0.5);
}

.roomHighlight2x2.adjacent {
    background-color: rgba(255, 0, 0, 0.5);
}

.doorStatus {
    margin-bottom: 8px;
}
  
.roomId {
    display: inline-block;
    text-align: center;
    width: 100px;
}

.openStatus {
    color: green;
}
  
.closedStatus {
    color: red;
}

.display_status {
    display: inline-block;
    text-align: center;
    width: 70px;
}