html, body {
    height: 100%;
    width: 100%;
    margin: 0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
}

.container {
    display: flex;
    width: 100%;
}

.myButton {
    border: 0;
    border-radius: 5px;
    background-color: rgb(2, 155, 222);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    margin-bottom: auto;
    width: 100px;
    height: 3rem;
    text-decoration: none;
}

.planelist {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 100%;
}

.planelist > .plane {
    width: calc(100% - 2rem);
    margin: 0 1rem;
    padding: 5px;
    border-radius: 5px;
    background-color: rgb(231, 231, 231);
    cursor: pointer;
}

#pgtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.button:hover{
    background-color: rgb(90, 180, 220);
}

@media (max-width: 768px) {
    img {
        height: 70px;
        margin: auto;
        padding: 10px;
        grid-row: 1;
        grid-column-start: span 3;
    }

    #header {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 1fr;
        align-content: center;
    }

    #login {
        margin-left: auto;
        margin-right: 1rem;
        grid-column: 3;
        grid-row: 2;
    }
    
    .modifyBtns {
        display: flex;
        align-items: center;
        grid-column: 1;
        grid-row: 2;
    }
}

@media (min-width: 768px) {
    img {
        width: 100%;
        max-width: 250px;
        margin: auto;
        padding: 10px;
        grid-column: 2;
        grid-row: 1;
    }

    #header {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        height: 5rem;
        align-content: center;
    }

    #login {
        margin-left: auto;
        margin-right: 1rem;
        grid-column: 3;
    }

    .modifyBtns {
        display: flex;
        align-items: center;
        grid-column: 1;
        grid-row: 1;
    }
    
}

#filter {
    margin: 0 1rem;
}

#filterSearch {
    margin-left: 1rem;
    margin-bottom: 1rem;
    width: 10rem;
    height: 2rem;
}

#addPlane {
    margin: 0 !important;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
 
.modal-wrapper {
    width: 30%;
    height: min-content;
    background: ghostwhite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
}

.hide {
    display: none;
}

.close-modal-btn {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    border: none;
    background-color: transparent;
}

.progressbar {
    display: flex;
    align-items: center;
    border: 1px solid grey;
    border-radius: 3px;
    padding: 0;
    width: 100%;
    height: 2rem;
  }

.progressbar>* {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 1.5rem;
    border-radius: 2px;
    margin: 3px;
    padding: 0 3px;
    overflow: visible;
    text-wrap: nowrap;
    min-width: min-content;
}
  
.inProcessing {
    width: 20%;
    background-color: red;
}

.waitingOnParts {
    width: 40%;
    background-color: orange;
}

.beingWorkedOn {
    width: 60%;
    background-color: yellowgreen;
}

.finished {
    width: 80%;
    background-color: green;
}

.readyForPickup {
    width: 100%;
    background-color: blue;
}

#addPlaneInput {
    display: block;
    padding: 10px;
    margin-top: 10px;
    margin: auto;
    width: 90%;
    border: 1px solid lightgray;
    border-radius: 5px;
    box-sizing:border-box;
}

#addPlaneSubmit {
    display: block;
    border: 0;
    border-radius: 5px;
    background-color: rgb(2, 155, 222);
    color: white;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 10px;
    width: 90%;
    height: 50%;
    max-height: 200px;
}

#addPlaneForm {
    display:flex;
    flex-direction: column;
    justify-content: center;
}

.planeName {
    margin: 0;
    font-size: 1.75em;
    font-weight: bold;
}

.addPlaneTitle {
    margin: auto;
    margin-bottom: 10px;
}

a {
    color: black;
    text-decoration: none; /* no underline */
}

.planeNameContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 3px;
    padding: 1px;
}

.time {
    margin-left: auto;
    font-size: 1.25rem;
}

#AJAXResponse {
    gap: 10px;
    display: flex;
}
  