body {
    font-family: "Trebuchet MS", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #dec5c3;
}

h1 {
  font-family: Georgia, serif;
  font-size: 36px;
  color: #dec5c3;
}
h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  color: #96140b;
}
h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #053e5e;
}
header {
    background-color: #96140b;
    color: #f2f6f7;
    text-align: center;
    padding: 1rem;
}
/* The nav bar */
nav {
    background-color: #b7d8eb;
    display: flex;
    justify-content: center;
    color: #96140b;
}
nav a {
    color: #96140b;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    background-color: #053e5e;
    color: #dec5c3;
}
.content {
    padding: 20px;
    max-width: 1080px;
    margin: auto;
    background-color: #f2f6f7;
}

/*card section*/

.card {
    border: 1px;
    padding: 15px;
}
.card img {
    width: 100%;
    height: auto;
}
.gallery {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;

}

/* search bar section */

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: #b7d8eb;
}

#search-form {
    width: 100%;
    max-width: 500px;
}

#search-button {
    padding: 10px 16px;
    cursor: pointer;
    background-color: #053e5e;
    font-family: "Trebuchet MS", sans-serif;
    color: #dec5c3;
    border: none;
}

#search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #053e5e;
    border-radius: 4px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 14px;
    color: #053e5e;
    box-sizing: border-box;
}

#search-input:focus {
    outline: none;
    border-color: #96140b;
    box-shadow: 0 0 0 2px rgba(150, 20, 11, 0.1);
}

#search-input::placeholder {
    color: #999;
}

.random-hidden {
    display: none !important;
}
