body {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Tahoma', sans-serif;
}

.header {
    background-image: url(images/bg.png);
    background-size: 520px 260px;
    color: #ffffff;
    margin-top: 0px;
    margin-right: 0px;
    margin-left: 0px;
    padding: 0px 10px 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header form {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: 0;
}

.header div{
    display: flex;
    align-items: center;
}

.header ion-icon {
    color: white;
    padding-right: 10px;
  }

#search-bar {
    width: 50%;
    font-size: 16px;
}

.home-heading {
    width: 100%;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    height: 500px;
    color: white;
    background-color: black;
    background-image: url(images/banner.jpg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 800px;
}

.home-heading h1,
.home-heading h4 {
    padding-left: 50px;
}

/*************** Nav Bar ***************/

.nav {
    font-weight: bold;
    font-size: 16;
    background-color: #020349;
    text-align: center;
    padding: 2px;
    border-bottom: 2px solid #080817;
}

.nav a {
    text-decoration: none;
    display: block;
    color: #ffffff;
}

.nav a:hover {
    color: beige;
}

.nav li {
    display: inline-block;
    text-align: center;
    margin-right: 50px;
}

.main {
    background-color: #e8e9fa;
    flex-grow: 1;
    color: #000000;
    padding: 3em;
    text-align:left;
}

.footer {
    background-color: #020349;
    color: #ffffff;
    text-align: center;
    padding: 8px;
    font-style: italic;
    padding: 0.5em;
}

/*************** Dropdown ***************/

.dropdown {
    position: relative;
    display: block;
    color: #ffffff;
    margin-right: 1px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #020349;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 2px 4px;
    z-index: 1;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*************** Default Buttons ***************/

.button {
    background-color: #dfe8ff;
    color: black;
    font-size: 14;
    padding: 8px 14px;
    border: 2px solid #0e0f10;
    border-radius: 4px;
}

.button:hover {
    background-color: #c9d1e8
}

/*************** Product Cards ***************/

.card {
    height: auto;
    display: flex;
    flex-direction: row;
    flex: 1 1 304px;
    background: #ffffff;
    border: 2px solid #f2f2f2;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 16px;
    min-width: 280px;
    min-height: 150px;
    max-height: auto;
    align-items: center;
    overflow: hidden;
    transition: 0.3s;
    box-sizing: border-box;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.card img {
    display: inline-flex;
    flex-shrink: 1;
    max-width: 144px;
    min-width: 130px;
    height: auto;
    object-fit: contain;
}

.card-info {
    padding-left: 16px;
    max-width: 60%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-info h3,
.card-info h2 {
    margin: 0;
}

.card-info p {
    margin: 0;
    white-space: nowrap;
}

.card-container {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
    min-width: 260px;
    justify-content: flex-start;
    padding: 16px;
}

.card-container a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    min-width: 280px;
    min-height: 150px;
    max-height: auto;
    flex: 1 1 304px;
}

/*************** Input Prompts ***************/
.input-container {
    border-radius: 5px;
    background-color: #b4afc9;
    padding: 20px;
    margin-left: 30%;
    margin-right: 30%;
}

.button-container {
    display: flex;
    justify-content: space-between;
}

input[type=text], input[type=int], input[type=password], input[type=email], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.update-button {
    width: 20%;
    background-color: #2e3595;
    color: white;
    padding: 14px 20px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
  
.update-button:hover {
    background-color: #202678;
}

.delete-button {
    background-color: #df1616;
    color: white;
    padding: 14px 20px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.delete-button:hover {
    background-color: #aa1313;
}

/*************** Individual Product Display ***************/
.product-container {
    display: flex;
    flex-flow: row wrap;
    min-width: 260px;
    justify-content: space-around;
}

.product-container img {
    display: inline-flex;
    flex-shrink: 1;
    max-width: 400px;
    min-width: 250px;
    max-height: 400;
    min-height: 250px;
    height: auto;
    object-fit: contain;
}

.product-info {
    padding-left: 16px;
    max-width: 60%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/*************** Cart Display ***************/
table.cart-item {
    margin-left: auto;
    margin-right: auto;
    float: left;
    width: 45%;
    border-collapse: collapse;
}

table.cart-item td{
    padding: 10px;
}

table.cart-item tr {
    border-bottom: 1px solid #7a72a1;
}

table.cart-item img{
    max-width: 200px;
    min-width: 150px;
    max-height: 300px;
    min-height: 250px;
    height: auto;
    object-fit: contain;
}

.quantity-button {
    width: 30%;
    background-color: #2e3595;
    color: white;
    padding: 14px 20px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

table.purchase {
    width: 45%;
    float: right;
    background-color: #333774;
    border: 3px solid #000000;
    border-radius: 5px;
    color: white;
    padding: 5px;
}