/* Karen Kelly */

/*--------------------------------------GLOBAL STYLES ---*/
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px; /* 1rem*/
  margin: 0;
  color: #494949;
  background-image: url('../images/fabric-pattern.png');
  background-color: #eee;
}

.wrapper {
  width: 1024px;
  margin: 2.5rem auto 0 auto;
  background-color: #fff;
}

.left {
  float: left;
}
.right {
  float: right;
}
.clear {
  clear: both;
}

.row {
  width: 100%;
}
.row::after {
  content: '';
  clear: both;
  display: block;
}

header {
  background-color: #3b4044;
  padding: 20px;
  color: #fff;
  border-top: solid 4px #e22121;
}

header h1,
header h2 {
  margin: 0;
}

header h2 {
  font-weight: normal;
}
/*-----------------------------Navigation----*/
nav {
  padding: 20px; /*1.5em*/
  color: #fff;
  background-color: #e22121;
  background: linear-gradient(#e22121, #ed7878);
  font-size: 1.2em;
  text-transform: uppercase;
}

nav ul {
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
  width: 70%;
}

nav ul li {
  display: inline-block;
  padding: 0.5em 0.5em;
}

nav ul li:hover {
  background-color: #ed7878;
}

nav a:link {
  color: #fff;
  text-decoration: none;
}
nav a:visited {
  color: #fff;
}
nav a:hover {
  color: #000;
  text-decoration: underline;
}
nav a:active {
  color: gray;
}

/*-------------------------------Page----*/
main {
  /* border: 1px solid red;*/
  padding: 20px;
  background-color: white;
  line-height: 1.5em;
}

main h2 {
  color: #e22121;
}
/* ------------------------------Home Page ----*/
section.specials {
  min-height: 265px;
  padding: 20px;
}
section.specials p {
  width: 810px;
  margin-top: 75px;
}

section.specials img {
  margin-right: 20px;
}

/* ------------------------------Products Page ----*/

section.products {
 padding:0;
}
.flex-row{
  display:flex;
  flex-direction:row;
  justify-content:space-around;
}
figure {
  flex-basis: 30%;
  margin:0 0 20px 0;
  border: 1px solid red;
  border-radius: 20%;

}

figcaption {
  text-align: center;
  font-weight: bold;
}

figure img {
  width:100%;

}
/* ------------------------------Footer ----*/

footer {
  background-color: rgb(221, 217, 217);
  font-size: 0.9em;
  color: black;
  margin-bottom: 50px;
}

.top-footer aside {
  width: 20.22%;
  float: left;
  margin-right: 1%;
  padding: 2%;
}

.top-footer aside.last {
  float: right;
  margin: 0;
}
.top-footer {
  padding: 0 20px;
}
.top-footer nav {
  background: none;
  padding: 0;
}

.top-footer nav ul {
  margin: 0;
  padding: 0;
  width: 100%;
}

.top-footer nav ul li {
  display: block;
  text-align: left;
  font-size: 0.8em;
  padding: 0.8em 0.2em;
  text-transform: capitalize;
  color: black;
}

.top-footer ul li:hover {
  background-color: rgba(255, 255, 249, 0.5);
}

.bottom-footer {
  text-align: center;
  padding: 10px 0;
  background-color: rgb(177, 175, 175);
}

/*--------------------------------SOCIAL ICONS*/
.fab.fa-twitter-square,
.fab.fa-google-plus-square,
.fab.fa-facebook-square,
.fab.fa-reddit-square {
  font-size: 35px;
}

.fab.fa-twitter-square {
  color: #1da1f2;
}

.fab.fa-google-plus-square {
  color: #ea4335;
}
.fab.fa-facebook-square {
  color: #3b5998;
}

.fab.fa-reddit-square {
  color: #ff4500;
}
/*--------------FORM STYLES*/
input {
  padding: 10px;
}

#contact input,
#contact label {
  display: inline-block;
  text-align: right;
}

#contact input {
  padding: 10px;
  /* width: 135px;*/
  text-align: left;
  margin: 0 0 5px 0;
}
#contact label {
  width: 110px;
}
#contact {
  /* background-color: #ed7878;*/
  width: 780px;
  margin: 20px auto;
}

#contact.button {
  text-align: center;
}

#contact fieldset {
  border: 1px solid #eee;
  border-radius: 15px;
  width: 40%;

  margin: 0 0 20px 0;
}
