@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&family=Pixelify+Sans&family=Poppins:wght@700&family=Work+Sans:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&family=Pixelify+Sans&family=Poppins:wght@700&family=Work+Sans:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&family=Pixelify+Sans&family=Poppins:wght@700&family=Work+Sans:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  font-family: 'Work Sans', sans-serif;
}

body {
  /* background-image: linear-gradient(160deg, #52bfff 0%, #d3eeea 100%); */
  background-image: url("bg.jpg");
  background-size:     cover;                   
  background-repeat:   no-repeat;
  background-position: center center;
  background-attachment: fixed;
  
  /* background-color: #edcfb2; */
}

.main-body {
  margin-top: 10px;
  /* position: relative; */
}

.head {
  background-color: rgba(0, 0, 0, 0.6);
  /* background-color: #131921; */
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5px 0px;

  /* Keeps header fixed at the top of the page */
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 5;
}

.head h1 {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 5px;
  color: #f0f0f0;
}

.head span {
  color: whitesmoke;
  /* color: #131921; */
  font-size: 20px;
}

.nav ul {
  display: flex;
  gap: 20px;
}

.nav ul li {
  transition: transform 0.3s ease-in-out;
}

#hamburger {
  height: 20px;
  width: 25px;
  color: whitesmoke;
  display: none;
}

/* For small screen */
@media screen and (max-width: 800px) {
  
  #nav-list {
    display: block;
    flex-direction: column;
    position: fixed;
    right: -1000px;
    top: 55px;
    text-align: center;
    align-self: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.9);
    transition: transform 0.3s ease-in-out;
  } 

  #nav-list.active {
    display: block;
    transform: translateX(-1010px);
  }

  .nav-item {
    padding: 20px 100px;
  }

  #hamburger {
    display: block;
  }
}

/* For big screen */
@media screen and (min-width: 800px) {
  .nav ul li:hover {
    transform: scale(1.1);
  }
}

#logo {
  border-radius: 50%;
  border: 2px solid #f3f3f3;
}

li {
  list-style: none;
  padding-left: 20px;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  padding: 0px 10px;
}

.card {
  /* height: 250px;
  width: 200px; */
  height: 60vh;
  width: 25vw;
  padding: 5px;
  border-radius: 10px;
  background-color: #fafeff;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  transition: transform 0.2s ease-in-out; /* To apply zoom in effect */
  /* border: 5px solid #f3f3f3; */
  /* border: 2px solid #333333; */
  overflow: hidden;
}

@media screen and (min-width: 800px) {
  /* To apply zoom in effect upon hover */
  .card:hover {
    transform: scale(1.05);
  }
}

.card-link img {
  max-height: 50vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card a {
  display: flex;
  flex-direction: column;
  color: black;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  text-align: center;
}

/* For small screen */
@media screen and (max-width: 800px) {
  .product-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 70vw;
    height: auto;
  }

  .card-link img {
    max-height: 80%;
    width: auto;
  }
}

h3 {
  color: #02111B;
  /* border: 2px solid #292929; */
  /* border-radius: 5px; */
  padding: 5px 5px 5px 15px;
  margin-bottom: 5px;
  /* background-color: #edcfb2; */
  text-align: center;
  /* background-color: rgba(200, 200, 200, 0.5); */
}

/* + is adjacent sibling operator */
h3 + div, p + div {
  margin-bottom: 75px;
}

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

@media screen and (max-width: 800px) {
  p {
    font-size: 15px;
  }
}

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

.my-socials ul {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 5px; */
}

.socials-header {
  font-size: 15px;
}

.my-socials i {
  font-size: 24px;
  margin-right: 15px;
  color: black;
}

#foot {
  padding: 10px;
  text-align: center;
}

@media screen and (max-width: 800px) {
  #foot {
    position: static;
    text-align: center;
  }
}

#btnScrollTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 10;
  height: 60px;
  width: 60px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  outline: none;
  background-color: #555;
  color: white;
  cursor: pointer;
  /* padding: 15px; */
  border-radius: 50%;
  opacity: 0.5;
}

/* For big screen */
@media screen and (min-width: 800px) {
  #btnScrollTop:hover {
    background-color: gray;
  }
  
  #btnScrollTop:active {
    background-color: #555;
  }
}

.donate {
  position: sticky;
  bottom: 10px;
  margin-top: 10px;
  margin-left: 10px;
}