* {
    margin: 0;
    color: white;
}

#optionsCol {
    width: 50%;
    flex-direction: column;
    background: #555;
    min-height: 100vh
}
#optionsCol .foodContainer {
    background: green;
}

#selectedCol {
    width: 50%;
    flex-direction: column;
    background: #a2a2a2;
    min-height: 100vh
}
#selectedCol .foodContainer {
    background: red;
}
#displayTable {
    display: flex;
    flex-direction: row;
    width: 75%;
    margin-left: 12.5%;
    background: grey;
}
#colLabels,
#searchBars {
    display: flex;
    flex-direction: row;
    width: 75%;
    margin-left: 12.5%;
}
#colLabels > div,
#searchBars > div {
    width: 50%;
    text-align: center;
    font-size: 1.5em;
}

#searchBars input {
    width: 75%;
    font-size: 1.2em;
    margin-bottom: 5px;
    border: 0;
    color:black;
    background-color: rgb(236, 236, 236);
}

.foodContainer {
    color: white;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 5px;
    margin-top: 5px;
    width: 80%;
    margin-left: 8%;
}

.foodContainer > .foodLabel {
    font-size: 1.5em;
}
.foodContainer > .foodCalories {
    text-align: right;
}
#totalBar {
    width: 100%;
    font-size: 2em;
    text-align: center;
    background: #282828;
    color: white;
}

#homePage {
    background: grey;
}

.clearButton {
    border: 0;
    background: red;
    color: white;
    padding: 0px 10px;
    font-size: 1.2em
}

#buttons {
    bottom: 0;
    position: fixed;
    opacity: .5;
    border: 0;
    background: black;
    padding: 5px;
    font-size: 1.1em;
    display: flex;
    flex-direction: column;
}

#buttons > button {
    border: 0;
    background: black;
    padding: 15px;
    font-size: 1.1em;
}

#newFoodModal {
    position: absolute;
    top: 30vh;
    background: #737373;
    left: 42vw;
    padding: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
}

#newFoodModal > div > input {
    background-color: #313131;
    font-size: 1.5em;
    border: 0;
}

#newFoodModal > div > button {
    font-size: 1.5em;
    border: 0;
}

#newFoodModal{
    display:none;
}

#addButton{
    background-color: #34ea34;
}

#closeButton{
    background-color: #ea4934;
}

#newFoodModal > div {
    margin-bottom: 5px
}

#inputButtons {
    display: flex;
    flex-direction: row;
}

#inputButtons > button{
    flex-grow:1;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

@media screen and (max-width: 1000px) {
    #displayTable {
        width: 100%;
        margin-left: 0;
    }
    #colLabels,
    #searchBars {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-left: 0;
    }
    #searchBars input {
        width: 80%;
        border: 0;
    }
    .foodContainer > .foodLabel {
        font-size: 1.4em;
    }
    .foodContainer > div {
        font-size: 1.0em;
        margin-left:10px;
        margin-right:10px;
    }
    .foodContainer {
        border-radius: 0px;
        padding: 5px 0px;
        width: 100%;
        margin-left: 0px;
    }
    
    #newFoodModal {
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0
    }
    #newFoodModal > div,
    #newFoodModal > div > input {
        width: 95%
    }
    #searchBars input {
        width: 75%;
        font-size: 0.8em;
    }
    .clearButton {
        font-size: 0.8em;
        color: white;
    }
}