* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block: 40px;
}

.container {
    background-color: #00008B; /* Dark blue background */
    padding: 20px; /* Add some padding */
    display: inline-block; /* Make the container fit the content */
    border-radius: 5px; /* Optional: Add rounded corners */
}

.container h1 {
    margin: 0; /* Remove default margin from h1 */
    color: white; /* Optional: Change text color to white for better contrast */
}

header {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

/* header h1{
    color: #767676;
} */

header form .search-container {
    margin-top: 20px;
    position: relative;
}

header form .search-container input{
    width: 100%;
    font-size: 18px;
    padding:12px 24px;
    border-radius: 20px;
    border: none;
    background:#eee;
}

header form .search-container .material-icons-outlined {
    position: absolute;
    right: 10px;
    bottom:12px;
    color: #777;
    cursor:pointer;
}

.images-container {
    margin-block: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 5px;
}

.images-container img{
    width: 300px;
    height: 280px;
}

.images-container .imageDiv{
    position: relative;
}

.imageDiv .overlay{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.7);
    transition: height 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imageDiv:hover .overlay{
    height: 100%;
}

.imageDiv .overlay h3 {
    color: #fff;
    display: none;
    text-align: center;
    font-size: 20px;
}

.imageDiv:hover .overlay h3 {
    display: block;
}

/* Adding style to LoadMoreBtn */
.loadMoreBtn {
    border: none;
    background-color: darkblue;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

main section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    margin: 20px 0 50px 0;
}

/* Responsive Code */
@media screen and (max-width: 920px) {
    header {
        width: 80%;
    }
}