* {box-sizing: content-box;}

ul.picture-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.picture-list li {
    /* Optional: if you want each item to not stretch weirdly */
    display: flex;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.topnav {
  overflow: hidden;
  background-color: #FFFFFFD6;
  text-align: center;
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #98FB98;
  color: black;
}

.topnav .active {
  background-color: #006400;
  color: white;
}

.topnav .search-container {
  float: right;
  border: 1px;
}

.topnav input[type=text] {
  padding: 6px;
  margin-top: 8px;
  font-size: 17px;
  box-sizing: border-box;
}

.topnav .search-container button {
  float: right;
  padding: 6px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.topnav .search-container button:hover {
  background: #98FB98;
}

.search-container {
    float: right;
    border: 5px;
    align-items: right;
    justify-content: center;
    padding: 20px 0 20px 50px;
}

.login-form {
    float: right;
    border: 5px;
    width: 100%;
    align-items: right;
    justify-content: center;
    padding: 20px 0 20px 50px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-link {
    color: blue;
    text-decoration-line: underline;
    font-weight: bold;
}

.error {
    color: red;
    font-weight: bold;
}

.nav-item a {
    object-fit: contain; 
    width: 80%;
    height: 80%;
    padding: 20px 0 20px 50px;
}

.feedback-form-container {
    border: 2px solid black; /* Medium black border */
    background-color: lightgray; /* Light gray background */
    padding: 20px; /* Add some padding for spacing inside the border */
    border-radius: 5px; /* Optional: rounded corners */
    width: fit-content; /* Ensure the container wraps neatly around the form */
    margin: 20px auto; /* Center the container on the page */
}
@media screen and (max-width: 600px) {
  .topnav .search-container {
    float: none;
  }
  .topnav a, .topnav input[type=text], .topnav .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 80%;
    margin: 0;
    padding: 14px;
  }
  .topnav input[type=text] {
    border: 1px solid #ccc;  
  }
}