* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/*
---- Styling the body
*/
body {
    font-size: 100%;
    background: rgba(191, 64, 64, 0.85);
    font-family: Arial, Helvetica, sans-serif;
    background-color: #4db738;
    background-repeat: repeat, repeat;
    background-size: cover;
}

.header {
    width: 80%;
    margin: 30px auto 0px;
    color: white;
    background: #333;
    text-align: center;
    border: 1px solid #B0C4DE;
    border-bottom: none;
    border-radius: 10px 10px 10px 10px;
    padding: 20px;
}

a:link, a:visited {
    text-decoration: none;
    display: inline-block;
}

.navBtn, input[type=button], input[type=submit] {
    background-color: #06812b;
    color: white;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 6px;
    transition-duration: 0.2s;
}

.navBtn:hover, input[type=button]:hover, input[type=submit]:hover {
    background-color: #3e477d;
    color: white;
}

input[type=reset], #delBtn {
    background-color: #de0d0d;
    color: white;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 6px;
    transition-duration: 0.2s;
}

input[type=reset]:hover, #delBtn {
    background-color: #a85d5d;
    color: white;
}

h1 {
    font-size: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-family: 'Rosarivo', cursive;
}

h2 {
    font-size: 30px;
    margin-bottom: 5px;
    text-align: center;
    font-family: 'Rosarivo', cursive;
}

h3 {
    font-size: 20px;
    margin-bottom: 5px;
    text-align: center;
    font-family: 'Rosarivo', cursive;
}

.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
}

/* 
---- Style Table Form for "Current Products" & "List and Update Inventory Section"
*/
.curProd {
    width: 95%;
    margin: 0px auto;
    padding: 20px;
    border: 1px solid #B0C4DE;
    background: white;
    border-radius: 10px 10px 10px 10px;
    padding-top: 20px;
}

table, th, td {
    padding: 5px;
    
}

th, td {
    border-bottom: 1px solid #ddd;
}

table {
    width: 100%;
    border: 1px solid #ddd;
}

th {
    vertical-align: center;
    height: 40px;
    width: auto;
    background-color: #ddd;
}

td {
    vertical-align: center;
}

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

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* 
---- Style "Add New Product" form
*/
.newProd {
    width: 95%;
    margin: 0px auto;
    padding: 20px;
    border: 1px solid #B0C4DE;
    background: white;
    border-radius: 10px 10px 10px 10px;
    padding-top: 20px;
}

input[type=text], input[type=number] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

input[type=text]:focus,input[type=number]:focus {
    background-color: lightgrey;
}

label {
    padding: 12px 12px 12px 20px;
    display: inline-block;
}

.container1 {
    border-radius: 5px;
    padding: 20px;
    padding-left: 450px;
    padding-right: 450px;
}

.col-25 {
    float: left;
    width: 30%;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 70%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, 
make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .col-25, .col-75, input[type=submit] {
        width: 100%;
        margin-top: 0;
  }
}

/* 
---- Style "Update Inventory" results from PHP output
*/
.container2 {
    width: 40%;
    margin: 0px auto;
    padding: 20px;
    border: 1px solid #B0C4DE;
    background: white;
    border-radius: 10px 10px 10px 10px;
    padding-top: 20px;
}

/* 
---- Style "Main Menu" info on index.php page
*/
#indexParagraph {
    width: 55%;
    margin: 0px auto;
    padding: 50px;
    font-family: 'Rosarivo', cursive;
    font-size: 30px;
}
/*
----Style footer
*/
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
}