body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fffbe6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}


body:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background-image: url("images/pattern.png");
  background-repeat: repeat;
  background-position: center top;
  z-index: -1;
}

.dots-pattern {
  content: "";
  display: block;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background-image: url("images/pattern.png");
  background-repeat: repeat;
  background-position: center;
  z-index: 1;
  margin-bottom: -1px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-gap: 10px;
  padding: 10px;
  width: 70%; /* Adjust the width to 80% to create a margin left and right */
  margin: 0 auto; /* Center the gallery with auto margins */
}

.grid-item {
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.grid-item svg {
  max-height: 100%;
  max-width: 100%;
}

.grid-item:hover {
  transform: scale(1.15);
  /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
}


.header {
  text-align: center;
  margin-bottom: 3rem;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  margin-left: 10%;
  margin-right: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-svg {
  width: 65vw; /* Change this value to match the width of your grid */
  max-height: 100%;
  margin-top: 10vh;
}

.header p {
  font-size:18px;
  width: 70vw; 
  margin-left: 10%;
  margin-right: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin:10vh auto;
}





/* For tablets and larger devices */
/*@media screen and (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .grid-item {
    height: 150px;
  }
}*/
  
  /* For tablets and larger devices */
  @media screen and (min-width: 768px) {
    .gallery {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  
    .grid-item {
      height: 150px;
    }
    .header p {
      font-size:24px;
      width: 40vw;
    }
    .download-section p {
      width: 50vw; 
      font-size:24px;
    }
    
  }
  
  /* For desktop and larger devices */
  @media screen and (min-width: 1024px) {
    .gallery {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
  
    .grid-item {
      height: 200px;
    }
  }
  

  /* For desktop and larger devices */
  /*
@media screen and (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .grid-item {
    height: 200px;
  }
}*/

/* Limit the number of columns to 5 */
@media screen and (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, calc(100% / 5 - 10px)));
  }
}
