

h1 {
  text-align: center;
  margin: 20px 0;
}

.filters {
  text-align: center;
  margin-bottom: 50px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
  grid-gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 5px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  max-width: 5000px;
  padding: 9px;
  transition: transform 0.3s ease;
  border-radius: 20px;
  box-shadow: 1px 0 5px rgba(0, 0, 0, 0.85);
}


.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.developer-info p {
  margin: 5px 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.modal-content img {
  max-width: 80%;
  max-height: 80%;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#category-select,
#search-input {
  padding: 5px;
  font-size: 20px;
  border-radius: 10px;
  border: 2px solid #ffbf00;;
  margin-right: 10px;
  transition: border-color 0.3s ease;
}

#category-select:focus,
#search-input:focus {
  outline: none;
  border-color: #ffbf00;;
}

#search-button {
  width: 40px;
  height: 40px;
  border: 1px solid #ffbf00;;
  background: #ffbf00;
  text-align: center;
  color: #fff;
  border-radius: 15px 15px;
  cursor: pointer;
  font-size: 20px;
}



.author a {
  color: #ff0000;
  text-decoration: underline;
}

.author a:hover {
  color: #ffbf00;
}

.category{
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgb(255, 162, 0);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: bold;
}




.download-btn {
  background-color: #fff;
  border-radius: 100px;
  box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset, rgba(44, 187, 99, .15) 0 1px 2px, rgba(44, 187, 99, .15) 0 2px 4px, rgba(44, 187, 99, .15) 0 4px 8px, rgba(44, 187, 99, .15) 0 8px 16px, rgba(44, 187, 99, .15) 0 16px 32px;
  color: green;
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.download2-btn {
  background-color: #fff;
  border-radius: 100px;
  box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset, rgba(44, 187, 99, .15) 0 1px 2px, rgba(44, 187, 99, .15) 0 2px 4px, rgba(44, 187, 99, .15) 0 4px 8px, rgba(44, 187, 99, .15) 0 8px 16px, rgba(44, 187, 99, .15) 0 16px 32px;
  color: rgb(128, 0, 0);
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

h1 {
  font-size: 2rem;
  font-weight: bolder;
  margin-bottom: 1rem;
}

p2 {
  margin-bottom: 1rem;
  color: tomato;
  font-weight: bolder;
}

.button {
  background-color: #ff0000;
  border-radius: 100px;
  color: rgb(248, 248, 248);
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
  padding: 10px 30px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}