#aboutPopUp {
    width: 75%;
}

.aboutText {
    margin-top: 1.5em;
    margin-right: 1em;
    margin-left: 1em;
    margin-bottom: 1em;
}

.aboutWeightsTable {
    border: 1px solid black;
    border-radius: 0.25em;
    margin: auto;
    max-width: 80%;
}

.aboutWeightsTableHeader > th {
    border-bottom: 1px solid black;
}

#addButton {
    font-size: 1.6em;
    margin-top: 2px;
}

#addButton:hover {
    color: #444444;
}

body {
    margin: 0;
    height: 100%;
}

.content {
    flex: 1 0 auto;
}

.dollarSign {
    color: #444444;
}

#eggTable {
    width: 95%;
    margin: auto;
}

#eggTable th {
    padding-bottom: 0.7em;
}

#eggTable td {
    padding-bottom: 1.3em;
}

#eggTable .col1{
    width: auto;
}

#eggTable .col2{
    width: auto;
}

#eggTable .col3{
    width: auto;
}

#eggTable .col4{
    width: 5%;
}

#eggTable .col5{
    width: auto;
}

#eggTable .col6{
    width: auto;
}

.footerButton {
    text-decoration: underline;
}

.footerButton:hover, 
#hideUnitsPopUp:hover, 
#hideAboutPopUp:hover {
    color: #444444;
}

.flexContainer {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer {
    font-size: 0.9em;
    padding-right: 0.6em;
    padding-bottom: 0.2em;
    text-align: right;
    flex-shrink: 0;
    color: #878787;
}

h1 {
    font-size: 8vw;
}

#hideUnitsPopUp {
    font-size: 1.3em;
    float: right;
    margin-right: 1em;
    margin-left: -1.5em;
}

#hideAboutPopUp {
    font-size: 1.3em;
    float: right;
    margin-right: 1em;
}

html {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 16px;
    text-align: center;
    background-color: whitesmoke;
    height: 100%;
}

input {
    text-align: center;
    font-size: 1em;
    border: 1px solid #ced4da;
    border-radius: 0.25em;
    outline: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.num {
    width: 4ch;
}

.popUp {
    font-size: 0.9em;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    border: 1px solid #98caff;
    border-radius: 0.25em;
    background-color: white;
}

.prc {
    width: 5ch;
}

.removeButton {
    font-size: 1.1em;
    color: #760000;
}

.removeButton:hover {
    color: #A40000;
}

select {
    font-size: 1em;
    border: 1px solid #ced4da;
    border-radius: 0.25em;
    outline: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

select:focus, input:focus{
    box-shadow: 0 0 2px #98caff;
    border: 1px solid #98caff;
}

th {
    white-space: nowrap;
}

#weightUnitTable {
    padding: 0.4em 0.5em;
    margin-left: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    margin-right: 1.5em;
    font-size: 1.3em;
}

@media only screen and (min-width: 500px) {
    #aboutPopUp {
        width: 50%;
    }
    h1 {
        font-size: 2em;
    }
    #eggTable {
        width: 65%;
    }
    .removeButton {
        font-size: 1.3em;
        color: #760000;
    }
}

@media only screen and (min-width: 768px) {
    #aboutPopUp {
        width: 40%;
    }
    html {
        font-size: 16px;
    }
    h1 {
        font-size: 1.5em;
    }
    #eggTable {
        width: 50%;
    }
    .removeButton {
        font-size: 1.4em;
        color: #760000;
    }
}

@media only screen and (min-width: 1440px) {
    #aboutPopUp {
        width: 15%;
    }
    #eggTable {
        width: 35%;
    }
}

@media only screen and (min-width: 1600px) {
    #eggTable {
        width: 27%;
    }
}