* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
#navbarright{
  padding-right: 650px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 25vh;
    text-align: center;
  }
  
  h1 {
    font-size: 20px;
    font-weight: bold;
  }
  
  p {
    font-size: 15px;
    margin-top: 5px;
    font-weight: bold;
  }
  



body {
    background: #f1f1f1;
    color: #333;
    padding-top: 100px;
}

h1 {
    text-align: center;
    margin: 15px auto;
    font-weight: 800;
    font-size: 36px;
}

form {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
}

form input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: #fff;
    color: #333;
    font-size: 16px;
    padding: 10px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

form button {
    height: 100%;
    padding: 10px 20px;
    background: #ff3929;
    color: #fff;
    font-size: 14px;
    border: none;
    outline: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
}

form button:hover {
    background: #e62c1f;
}

#search-result {
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
}

#search-result img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

#search-result img:hover {
    transform: scale(1.05);
}

#show-more-btn {
    background: #ff3929;
    color: #fff;
    border: 0;
    outline: none;
    padding: 10px 20px;
    font-size: 14px;
    display: block;
    margin: 0 auto;
    margin-top: 30px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#show-more-btn:hover {
    background: #e62c1f;
}

#image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#image-modal.show {
    opacity: 1;
    pointer-events: auto;
}

#modal-content {
    background: #fff;
    max-width: 800px;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    position: relative;
}

#modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

#modal-buttons {
    margin-top: 20px;
}

.view-btn,
.download-btn {
    padding: 10px 20px;
    font-size: 14px;
    border: 0;
    outline: none;
    background: #ff3929;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-btn:hover,
.download-btn:hover {
    background: #e62c1f;
}

.download-btn {
    margin-left: 10px;
}

/* Your existing non-responsive styles */

/* Responsive styles for screens up to 600px */
@media only screen and (max-width: 600px) {
    h1 {
      font-size: 24px;
    }
  
    #search-form {
      text-align: center;
    }
  
    #search-box {
      width: 80%;
      margin-bottom: 10px;
    }
  
    #show-more-btn {
      display: block;
      margin: 10px auto;
    }
  
    #image-modal {
      width: 90%;
    }
  
    #modal-content {
      padding: 10px;
    }
  
    .view-btn,
    .download-btn {
      display: block;
      width: 100%;
      margin-bottom: 10px;
    }
  }
  
 