body, html {
  height: 100%;
  margin: 0;
  font-family: "Montserrat";
  max-width: 100%;
  overflow-x: hidden;
  background-color: #E6EBE0;



header {
  position: relative;
  opacity: 1;
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat;
  background-image: url("images/products/four-cosy-bags.jpeg");
  background-attachment: fixed;
  width: 100%;
  height: 80%;
}

.primary-nav {
  float: left;
  font-size: 1rem;
}

.primary-nav>h1 {
  font-family: Playwrite HR Lijeva, cursive;
  margin: 0px;
}

.primary-nav>a {
  letter-spacing: 5px;
}

.secondary-nav>a {
  letter-spacing: 1px;
  color: rgba(0, 0, 0, .6);
  font-size: 1rem;
  letter-spacing: 3px;
}

.secondary-nav {
  float: right;
  margin-right: 10px;
  margin-left: 10px;
  font-size: 1rem;
}

nav>ul>li>a {
  color: black;
  font-family: helvetica;
  text-decoration: none;
}

nav>ul>li>a:hover {
  color: #CB4335;
}

.card {
  max-width: 300px;
  margin: 15px;
}

.card>img {
  height: 200px;
  object-fit: contain;
  background-color: #fffff8;
  border-radius: 20px;
  padding: 8px;
  border-style: solid;
  border-color: #9BC1BC;
  border-width: 4px;
}

.card>h3 {
  margin: 0;
  padding: 0;
}

.card>p {
  margin: 0;
  padding: 5px;
  font-size: 15px;
}

.card a {
  padding: 6px 15px 6px 15px;
  color: white;
  background-color: #000;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  border-radius: 16px;
  text-decoration: none;

}

.card a:hover {
  background-color: white;
  color: #000;
  border: 1px solid black;
}

.price {
  color: grey;
  font-size: 20px;
}

.items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}


.overlay-image {
  position: relative;
  width: 100%;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
  border-radius: 7px;
}

/* Original image */

.overlay-image .image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: cover;
}

/* Original text overlay */

.overlay-image .text {
  color: #fff;
  font-size: 5vw;
  line-height: 1.5em;
  font-weight: bold;
  text-shadow: 2px 2px 2px #000;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.overlay-image .hover {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
}

/* New overlay appearance on hover */

.overlay-image:hover .hover {
  opacity: 1;
}

.overlay-image .normal {
  transition: 0.5s ease;
}

.overlay-image:hover .normal {
  opacity: 0;
}

.overlay-image .hover {
  background-color: rgba(0, 0, 0, 0.5);
}

#about-us {
  margin: 0 10% 0 10%;
}


section>h1 {
  text-align: center;
  font-size: 40px;
  margin-top: 30px;
  margin-bottom: 30px;
}

section>h2 {
  padding-top: 20px;
  margin-left: 50px;
}

section>h1, section>p {
  margin: 0 0 0 35px;
}



section p {
  color: #000;
  font-size: 1.4vw;
  line-height: 1.25em;
  padding: 0 0 1em 0;
}




.row {
  display: flex;
  flex-direction: row;
  
}

.foot {
  margin: 0 10% 0 10%;
}

footer {
  background-color: #3c6e68;
  color: #E6EBE0;
}

/* Columns in the footer */
.col {
  width: 50%;
  padding: 40px 20px 40px 20px;
}

.col>ul {
  margin: 0;
  padding: 0;
}

.col>ul>li {
  list-style-type: none;
}

.col>ul>li>a {
  color: white;
  text-decoration: none;
}

.col>ul>li>a:hover {
  color: brown;
}


a {
  color: cadetblue;
  text-decoration: none;
}

.store-description {
  margin-left: 50px;
  margin-right: 50px;
  display:flex;
  column-gap: 20px;
  background-color: #9BC1BC;
  border-radius: 15px 15px 0 0;
}

.store-desc-child{
  width: 80%;
  margin: 20px;
}

.store-desc-child-ul {
margin: 20px;
text-transform: capitalize;
line-height: 2rem;
width: 80%;
color:#124177;
font-weight: 600;
}

#footer-social {
  margin: 0;
  padding: 0;
}

.foot-icons {
  margin: 0 30% 0 30%;
}

.foot-icons>li {
  margin: 10px auto;
  padding-bottom: 40px;
  padding-top: 20px;
}

.foot-icons>li>a>i {
  color: white;
  transition: .2s ease;
  transition-timing-function: initial;
}

.foot-icons>li>a>i:hover {
  color: #38A1F3;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6);
  font-size: 70px;
  transition: .2s ease-out;
}

figcaption {
  text-align: center;
  color: #000;
  font-weight: bold;
  font-size: 20px;
}

.item>a>img {
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.6);
  border-radius: 7px;
}

.item:hover {
  filter: brightness(50%);
  transition: .5s ease;
}

/* Mid size */
@media (max-width: 900px) {
header {
  height: 80%;
  background-size:contain;
  background-position: center;

}

    nav ul {
      flex-direction: column;
      align-items: center;
    }
    .store-description{
      flex-direction: column;
    }
}

/* Mobile size */
@media (max-width: 600px) {
/* header and bg image */
  header {
  height: 80%;
  background-size:contain;
  background-position: center;
  }



section>h1 {
    text-align: center;
    font-size: 30px;
    }
section>h2 {
    text-align: center;
}

}
}




