
* { box-sizing: border-box;}
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color:#993300;
}

#wrapper {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border: thin solid #162431;
    background-color: #fae989;
}
header {
    margin: 10px;
    padding: 10px;
    display: flex;
    background-color: #c7bb13 ;
    color: #162431;
    text-align: left;
    font-size: 30px;
}
header > img {
    width: 60%;
    height: auto;
    float: right;
}
.navbar {
  position: sticky;
  top: 0;
  background: #fae989; 
}
h4 {
    font-size: 20px;
}
.clearright {
    clear: right;
}

nav {
    display: flex;
    justify-content: left;
    text-align: center;
    flex: 1;
}

nav > div {
    background-color:#162431   ;
    margin: 10px;
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 8px;
}

nav > div > a {
    color: #c7bb13;
    font-weight: bold;
    text-decoration: none;
}

nav > div > a:hover {
    color: #fbfafa;
    text-decoration: underline;
}
.cart {
  margin-left: auto;
  position: relative;
  font-size: 50px;
  text-decoration: none;
  color: #333;
  padding-right: 50px;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: 35px;
  background: red;
  color: white;
  font-size: 15px;
  padding: 2px 5px;
  border-radius: 60%;
}
main {
    display: grid;
    gap: 2.5px;
}
.full {
    grid-column: span 2;
}

main > div {
    background-color: #faf9f8;
    justify-content: center;
    margin: 10px;
    padding: 10px;
}
.top {
    flex: 1;
}
.top > p{
    font-size: 18px;
}
.full > img {
    width: 50%;
    height: auto;
    float: left;
    margin: 10px;
}
.full > h4 {
    font-size: 25px;
    margin-bottom: 0%;
    margin-top: 5px;
    text-align: center;
}
.full > p {
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 5px;
    text-align: center;
}
.full > p1 {
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 5px;
    text-align:left;
}
.full> nav > div {
    background-color:#c7bb13 ;
    margin: 10px;
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 8px;
}
.full > nav > div > a {
    color: #070707;
    font-weight: bold;
    text-decoration: none;
}

.top > nav > div > a:hover {
    color: #fbfafa;
    text-decoration: underline;
}
.left {
    flex: 1.5;
    text-align: center; 
}
.left > p {
    font-size: 18px;

}
.left > img {
    border-radius: 25px;
    box-shadow: 1px 1px 4px grey;
    width: 40%;
    height: auto;
    margin: 20px;
}
.right {
    flex: 2.5;
    text-align: center; 
    background-color: white;
}
.right > p {
    font-size: 18px;
}
.right > img {
    box-shadow: 1px 1px 4px grey;
    width: 30%;
    height: auto;
    margin: 10px;
}
.bottom {
    flex: 2;
    text-align: center;
    background-color: white;
}
.bottom1 {
    flex: 1;
    flex-direction: row;
    text-align: center;
    background-color: white;
}
.bottom1 > img {
    flex-direction: row;
    border-radius: 25px;
    box-shadow: 1px 1px 4px grey;
    width: 20%;
    height: auto;
    margin: 20px;
}
.bottom2 {
    flex-direction: row;
    text-align: center;
    background-color: white;
}
.bottom2 > img {
    border-radius: 25px;
    flex-direction: row;
    box-shadow: 1px 1px 4px grey;
    width: 20%;
    height: auto;
    margin: 20px;
}
.bottom3 {
    flex-direction: row;
    text-align: center;
    background-color: white;
}
.bottom3 > img {
    flex-direction: row;
    border-radius: 25px;
    box-shadow: 1px 1px 4px grey;
    width: 20%;
    height: auto;
    margin: 20px;
}
.bottom4 {
    flex-direction: row;
    text-align: center;
    background-color: white;
}
.bottom4 > img {
    flex-direction: row;
    border-radius: 25px;
    box-shadow: 1px 1px 4px grey;
    width: 20%;
    height: auto;
    margin: 20px;
}
.bottom > img {
    box-shadow: 1px 1px 4px grey;
    width: 20%;
    height: auto;
    margin: 10px;
}
.parent {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 20px;
  flex-wrap: wrap; 
}
.parent > a {
    text-decoration: none;
}
.parent > a:hover {
    color: #c7bb13 ;
    text-decoration: underline;
}

.product-card {
  width: 220px;
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-card img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-card h3 {
  margin: 10px 0 5px;
  font-size: 1.1rem;
  text-decoration: none;
}

.product-card p {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
}

.shadow {
    color: #fae989;
    text-shadow: 2px 2px 4px #000000;
}
.container {
  max-width: 100%;
  margin: 10px;
}

.diagram {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
}
td {
  margin: 1rem;
}
td > ul > li {
  text-align: left;
  margin: .5rem;
  padding: 1px;
}
.meta {
  font-size: 0.95rem;
  color: #444;
}
table {
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
    margin: auto;
}
td, th {
    border: 1.5px solid #162431;
    text-align: left;
    padding: 8px;
}
tr:nth-child(even) {
    background-color: #fae989;
}
input {
    width: 400px;
    height: 50px;
}
textarea {
    width: 400px;
    height: 150px;
}
label {
    display: block;
    text-align: left;
    width: 40em;
    padding-right: 1em;
}
input, textarea {
    display: block;
    margin-bottom: 1em;
    font-size: larger;
}
input[type="submit"] {
    background-color: #fae989;
    width: 15em;
    height: 3em;
}
.grad {
    background-image: linear-gradient(#7a8d62, #993300);
}

.shad {
    box-shadow: 10px 10px 5px grey;
    margin: 15px;
}

.roundcorner {
    border-radius: 25px;
}

.whitetext {
    color: #fae989;
    padding: 20px;
    font-size: 1.3em;
}
.recommended-products {
  text-align: center;
  padding: 40px 20px;
}



.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-card h3 {
  font-size: 1.1rem;
  margin-top: 10px;
}

.product-card p {
  font-size: 0.9rem;
  margin-top: 8px;
  color: #555;
}

footer {
    background-color:#c7bb13 ;
    margin: 10px;
    padding: 5px;
    font-weight: bold;
}

footer p {
    text-align: center;
    color:#162431;
}

/* Responsive */
@media only screen and (max-width: 900px) {
    #wrapper {
        width: 100%;
        border: none;
    }
    header > img {
        width: 25%;
        height: auto;
        float: right;
    }
}

@media only screen and (max-width: 510px) {

    nav {
        flex-direction: column;
    }   
    main {
        flex-direction: column;
    }   
    nav > div {
        width: auto;
        margin: 5px;
    }
    main > div {
        margin: 5px;
    }
    header > img {
        width: 40%;
        height: auto;
        float: right;
    }
}
