:root {
    height:100%;
    width: 100%;
    background-size: cover;
}

body {
    font-family: 'Sen', sans-serif;
  
    display: flex;
    flex-direction: column;
    place-items: center;
    place-content: center;
    height: 100vh;
}
.btn {
    color: navy;
    padding: 6px 12px;
    background-color: white;
    cursor: pointer;
    border: none;
    border-radius: 8px;
}
.btn:hover {
    font-weight: bold;
}
body {
    color: white;
    background-color: darkgreen;
    display: flex;
    justify-content: center;
    align-items: center;
}

#viewport {
    width: 95%;
    height: 200px;
    margin-top: 5px;
    position: relative;
    overflow-x: auto;
    background-image: url('../images/water0.png');
}
#ports {
    
    /* width: 100%; */
    color: white;
    font-weight: bold;
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
}

#ports > .port {
    position: relative;
    width: 64px;
    height: 32px;
    background-image: url("../images/port.png");
}
.portName {
    position: absolute;
    top: -25px;
    left: -43px;
    width: 150px;
    height: 32px;
    font-size: 10px;
    text-align: center;
    overflow-wrap: break-word;
}
#ship {
    width: 128px;
    height: 64px;
    position: absolute;
    background-image: url("../images/ship.png")
}

#sailbutton {
    border: 5px solid white;
    color: white;
    background-color: blue;
    border-bottom: 5px solid white;
    padding: 10px, 20px;
    font-size: 30px;
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 100%;
}

#sailbutton:hover {
background-color: navy;
font-weight: bold;
}

#message {
    padding: 16px;
    border: 5px solid white;
    padding: 10px, 20px;
    font-family: inherit;
    font-size: 30px;
    position: absolute;
    width: 100%;
    bottom: 0;
    border: 3px solid blue;
    color: blue;
    background-color: white;
    text-align: center;

};

#headsUpBoard {
    position: absolute;
    color: blue;
    font-family: inherit;
    padding: 16px;
    white-space: pre-wrap;
    text-align: right;
}

.header {
    display: flex;
    width: 100%;
    
}
form {
    top: 16px;
    left: 16px;
    text-align: center;
    position: absolute;
    border: 5px solid white;
    justify-content: center;
    padding: 10px;
    width: 200px;
    background-color: navy;
}
.header-column li {
    color: white;
}

.header-column:last-child div:first-child {
    top: 16px;
    left: auto;
    right: 16px;
    text-align: center;
    position: absolute;
    border: 5px solid white;
    justify-content: center;
    padding: 10px;
    width: 200px;
    background-color: navy;
}
.header-column:last-child p {
font-size: 14px;
color: white;
}
label {
    color: white;
    font-family: inherit;
}

#newPortName {
    width: 200px;
}
/* @media screen and (min-width: 768px) {
    #mainContainer{
        padding-bottom: 150px;
    }
    
} */
#addPort.btn:disabled {
    background-color: gray;
    color: white;
    cursor: not-allowed;
  }