html {
    background-color: #f3ebdb;
}

h1, h2, h3, p, button, table, li {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    padding-top: 128px;
}

nav {
    /* position: absolute; */
    display: flex;
    width: 100vw;
    justify-content: space-around;
}

#ultra-header {
    display: flex;
    justify-content: space-between;
}

#outer-header {
    position: fixed;
    display: inline;
    top: 0;
    width: 100vw;
    background-color: #f3ebdb;
    height: 128px;
    z-index: 999;
}

#ultra-header svg {
    margin: 15px;
}

h1, h2, h3, p, li {
    margin-left: 5px;
    margin-top: 5px;
}


h1 {
    font-size: 48pt;
    color: #8fa6b0;
}

h2 {
    font-size: 36pt;
    color: #485c62;
    border-bottom: solid;
    border-color: black;
    border-width: 2px;
}

h3 {
    font-size: 24pt;
    color: #485c62;
    border-bottom: solid;
    border-width: 1px;
    border-color: black;
    width: 100%;
}

b {
    font-weight: 700;
}

nav button {
    width: calc(100vw / 6);
    border-radius: 0;
}

table {
    min-width: 100vw;
}

li {
    list-style-type: none;
    font-size: 12pt;
    padding: auto;
    margin-top: 5px;
    margin-left: 40px;
}

li:before {
    content: '›';
    margin-left: -20px;
    margin-right: 10px;
}

td, th {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    vertical-align: middle;
}

#add-item {
    color: #8da683;
    height: 50px;
    width: 50px;
    font-size: 40px;
}

#object-display {
    overflow-x: auto;
}

button {
    background-color: #8b5d33;
    border-radius: 5px;
    border: 0;
    width: auto;
    height: 3rem;
    min-width: 50px;
}

#add-one-button {
    display: flex;
    justify-content: center;
}

table {
    background-color: #f2dcb1;
}

table > button {
    background-color: #be8f3c;
}

.add-btn-centered {
    color: #485c62;
    align-self: center;
    width: 100vw;
    height: 50px;
    justify-self: center;
}

.add-btn-centered :hover {
    color: black;
}

.popup {
    position: fixed;
    display: flex;
}

.popup h2 {
    margin: 0;
    width: 50vw;
    display: flex;
    align-self: center;
}

#popupbkg {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.247);
    align-items: center;
    justify-content: center;
}

#popup-window {
    width: fit-content;
    height: fit-content;
    max-width: fit-content;
    padding: 10px;
    margin-left: 25vw;
    max-height: 86vh;
    align-self: top;
    margin-top: 1vh;
    justify-self: center;
    background-color: white;
    border-radius: 15px;
    display: flex;
    overflow: auto;
}

#popup-content {
    display: flex;
    align-items: center;
    position: relative;
    flex-direction: column;
}

#popup-right {
    display: flex;
    position: relative;
    margin-top: 50px;
    flex-direction: column;
}

#submit-to-table {
    display: flex;
    position: relative;
    align-self: center;
    font-size: 2rem;
}

button:hover {
    background-color: #bd9757;
}

label {
    font-size: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    align-self: center;
}

select {
    height: 2rem;
    align-self: center;
    font-size: 1.75rem;
}

tr:hover {
    background-color: #f3e3c3;
}

td:hover, th:hover {
    background-color: #f3d69d;
}

.edit-btn-centered {
    display: flex;
    width: 100%;
    height: 75px;
    justify-content: center;
}

#popup-submit {
    margin-bottom: 10px;
}

/* For Mobile */

@media screen and (max-width: 450px) {
    #popup-window {
        margin-left: 0px;
    }
    #popup-right {
        width: 100vw;
    }
    #popup-submit {
        margin-bottom: 50px;
    }
}

@media screen and (min-width: 450px) and (max-width: 680px) {
    #popup-window {
        margin-left: 5vw;
    }
    #popup-right {
        width: 90vw;
    }
}

/* For Tablets */
@media screen and (min-width: 680px) and (max-width: 820px) {
    #popup-window {
        margin-left: 5vw;
    }
    #popup-right {
        width: 90vw;
    }
}