* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  color: #4b3f3f;
}

html{
  scroll-behavior: smooth;

}

body {
  position: relative;
  background-color: #cde8d5; /* fallback color */
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/bg.png');
  background-repeat: repeat;  
  background-size: auto;       
  opacity: 0.5;             
  z-index: -1;            
}



a {
  text-decoration: none;
}



.container{
    background-color:#CCE1DA;
    width:90%;
    height:100%;
    max-width: 1100px;
    min-width: 305px;
    min-height: 100vh;
    margin:auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1em;

    padding: 15px;
    padding-bottom: 75px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

}

.child{
    width: 300px;
    height: 300px;
    background-color: #FBFBFB;

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-content: center;


    border-style: solid;
    border-color: #E9EDC9;
    border-width: 0.25em;
    border-radius: 15px;



    text-align: center;

    gap: 0.25em;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.child:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}




.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #B4CDC9;
  color: white;
  padding: 0.5rem;

  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #B4CDC9;
  color: white;
  padding: 0.5rem;

  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
}

.site-title{
  margin-left: 5px;
}

.header-buttons button{
  background-color: rgba(0, 0, 0, 0);     
  font-family: 'Quicksand', sans-serif;
  color: #4b3f3f;
  font-size: 1rem;
  padding: 0.6em 1.2em;              
  cursor: pointer;
  transition: all 0.2s ease;
}




.thumbnail { 
  width: 100%; height: 100%;
}

.thumbnail-link{
  width: 80%; height: 80%;
}

.fa {
  padding: 20px;
  font-size: 20px;
  width: 55px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.7;
}


.fa-instagram {
  background: #2b428b;
  color: white;
}

.fa-pinterest {
  background: #cb2027;
  color: white;
}



@media screen and (min-width: 320px) {
  .fa {
    width: calc(35px + 20 * ((100vw - 320px) / 680));
    height: calc(35px + 20 * ((100vw - 320px) / 680));
    padding: calc(10px + 10 * ((100vw - 320px) / 680));

  }
  .child{
    width: calc(230px + 95 * ((100vw - 320px) / 680));
    height: calc(230px + 95 * ((100vw - 320px) / 680));
  }
  .email{
    font-size: calc(12px + 10 * ((100vw - 320px) / 680));
  }
  .site-title {
    width: calc(200px + 100 * ((100vw - 320px) / 680));
    height: auto;
  }
  .header-buttons button {
    font-size: calc(10px + 6 * ((100vw - 320px) / 680));
  }
  p {
    font-size: calc(14px + 8 * ((100vw - 320px) / 680));
  }
  .desc{
    font-size: calc(14px + 8 * ((100vw - 320px) / 680));
  }
  .title {
      font-size: calc(35px + 15 * ((100vw - 320px) / 680));
  }
  .policy-title {
    font-size: calc(20px + 15 * ((100vw - 320px) / 680));
  }
  #about-us-img {
    width: calc(125px + 150 * ((100vw - 320px) / 680));
    height: auto;
  }
}


@media screen and (min-width: 1000px) {
  .fa {
    width: 55px;
    height: 55px;
    padding: 20px;
  }
  .child{
    width: 325px;
    height: 325px;
  }
  .email{
    font-size: 22px;
  }
  .site-title {
    width: 300px;
    height: auto;
  }
  .header-buttons button {
    font-size: 16px;
  }
  p{
    font-size: 22px;
  }
  .desc{
    font-size: 22px;
  }
  .title {
    font-size: 50px;
  }
  .policy-title {
    font-size: 35px;
  }
  #about-us-img {
    width: 275px;
    height: auto;
  }

}




#email {
  align-self: center;
}




/* Sidebar styling */
.sidebar {
  z-index: 3;
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #FBFBFB;
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 60px;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
}

.sidebar button {
  display: block;
  margin: 15px auto;
  padding: 10px 20px;
  width: 90%;
  height: 75px;
  font-size: 18px;
  font-family: 'Quicksand', sans-serif;
  color: #4b3f3f;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: none;
  border-right: none;
  cursor: pointer;
}

.sidebar button:hover {
  background-color: #b1afaf;
}

.close-btn {
  width: 35px;
  height: 35px;

  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 40px;
  cursor: pointer;
  text-align: center;


}

.menu-icon {
  cursor: pointer;
  padding: 15px;
  display: inline-block;
  border-radius: 50%;
}


.menu-icon div {
  width: 30px;
  height: 3px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.viewCartButtonContainer{
  position: absolute;
  top: 18px;
  right: 70px;
}

#cart-btn_icon {
  width: 1.5rem;
  height: 1.5rem;
}

#cart-btn, #pp-view-cart, #cart-btn_icon:hover,
#viewCartButtonContainert:hover {
  background-color: transparent !important;    /* override paypal styling on basket*/
}


.policy-container {
  padding: 30px;
}



#policies-link {
  position: absolute; 
  bottom: 40px; 
  left: 90px;
  text-decoration: underline;
}


.divider {
  width: 95%;
}

.divider svg {
  width: 100%;
  height: 60px; /* adjust thickness of area it takes up */
  display: block;
}

#about-us-img {
  float: left; 
  padding: 20px; 
  margin: 20px;
  background-color: #FBFBFB; 
  border: 5px solid #E9EDC9;
  border-radius: 20px; 
}