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

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on June 10, 2024 */

@font-face {
    font-family: 'alatsiregular';
    src: url(../font/alatsi-regular-webfont.woff) format('woff'),
         url(../font/alatsi-regular-webfont.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;

}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on June 10, 2024 */



@font-face {
    font-family: 'alataregular';
    src: url(../font/alata-regular-webfont.woff) format('woff'),
         url(../font/alata-regular-webfont.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;

}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    background:#735229;
}

div#wrapper { 
    width: 940px;
    margin: 20px auto;
    background: rgb(240, 240, 240, .7);
    padding: 20px;
}

header img {
 height: auto;
 width: auto;
 border: none;
}

#primary {
    background:#A69B03;
    height: 50px;
    line-height: 50px;
}

#primary  li {
    list-style-type: none;
    float: left;
    width: 25%;
    text-align: center;
    font-size: 1.5em;
    /* font-family:'alatsiregular'; */
}

#primary  a {
    text-decoration: none;
    color: #eee;
}

#primary  a:hover {
    background: #D97904;
    color: #eee;
    display: block;
}

/* this for the a:hover to appear the same color when the page is on i.e. the homepage
.index #primary li:nth-child(1) a,
.products #primary li:nth-child(2) a,
.locations #primary li:nth-child(3) a,
.contact #primary li:nth-child(4) a {
background: #D97904;
} */

/* adding this since the other one didn't work and this one looks prettier */
nav#primary ul li a.active {
    box-shadow: 0 4px 2px -2px black; 
}


img {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 740px;
    height: auto;
    /* border: #F2E4C9 solid 1px; */
}

main#contact {
    float: left;
    width: 60%;
}

#thx h2 {
    text-decoration:dotted;
}

main p {
    color: #262223;
    margin-top: 8px;
    font-family:sans-serif;
   font-weight: lighter;
   font-style: italic;
   margin-bottom: 8px;
   line-height: 1.4;
   text-align: justify;
}

main h4 {
   text-align: right;
}


h1 {
    margin-top:15px;
  color: #262223;  
  font-family: 'alatsiregular';
}

h2, h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    text-decoration: underline;
}

#products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Adjust the gap between products as needed */
    margin: 20px 0;
}

.product {
    /* display: flex; */
    background: #fff;
    padding: 20px;
    border: 2px solid #ccc;
    text-align: center;
}

.img-container {
    display: flex;
    justify-content: center;
    width: 160px; 
    height: 160px;
    /* border: #F2E4C9 solid 2px; */
}

.product img {
    margin: 0;
    width: 100%; 
    height: auto;
}

.product p {
    margin-top: 10px;
    font-size: 14px;
    font-style: normal;
    text-align: center;
}

form {
    max-width: 480px;
    margin-bottom: 20px;
    margin-top: 20px;
}

fieldset {
    padding: 10px;
    border-radius: 5px;
    border: 1px dotted #735229;
}

legend {
    font-size: 1.5em;
    font-style: italic;
    padding: 0 5px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 1.1em;
}

input, textarea {
    margin-bottom: 10px;
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;

}

textarea {
    /* fix this at the end, to see if works */
    resize: vertical;
}

/* Styling the send it button */
input[type="submit"] {
    width: auto;
    background-color: #D97904;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1em;
}

aside {
    width: 40%;
    margin-top: 35px;
    background: #BF8C6F;
    float: right;
    height: 400px;
 
    
}

aside h3 {
    margin-top: 30%;
    font-size: 1.5em;
    text-align: center;
    font-family: 'alatsiregular';
    
}

aside p {
    text-align: center;
    margin-top: 5px;
}

aside h4 {
    margin-top: 5px;
    text-decoration: none;
    text-align: center;
    font-size: 1.1em;

}


footer {
    /* background:plum; */
    height: 50px;
    margin-top: 20px;
    clear: both;
    line-height: 50px;
    font-size: 1em;
    text-align: center;
    border-top: 1px dotted #262223;
}

footer li {
    list-style-type: none;
    float: left;
    margin-right: 30px;
    color: #262223;
    text-align: center;
    width: 15%;
}

footer a {
    color: #262223;
   
}
 