* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block: 30px;
}

.container h2 {
    color: #767676;
    font-size: 4vmax;
    display: flex;
    justify-content: center;
}

.input-box {
    width: 70vw;
    display: flex;
    margin-block: 30px;
}

.input-box input {
    width: 100%;
    font-size: 1.2rem;
    padding: 10px;
    border-radius: 1rem 0 0 1rem;
    border: none;
    outline: none;
    background-color: #c6c5c5;
}

.input-box input::placeholder {
    color: #000;
}

.input-box i {
    font-size: 20px;
    display: flex;
    align-items: center;
    padding: 5px 10px 5px 0;
    border-radius: 0 1rem 1rem 0;
    background-color: #c6c5c5;
    cursor: pointer;
}

.input-box i:hover {
    color: #e6e3e3
}

.image-container p {
    font-size: 3vmax;
    font-weight: 700;
}

.image-container {
    margin-block: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.image-container img {
    object-fit: cover;
    height: 300px;
    width: 320px;
}

.image-container .imageDiv {
    position: relative;
}

.imageDiv .overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    transition: heigth 3s ease;
}

.imageDiv:hover .overlay {
    height: 100%;
    cursor: pointer;
}

.overlay h3 {
    color: #fff;
    display: none;
    text-align: center;
}

.imageDiv:hover h3 {
    display: block;
}


/* style for load more nutton */
.loadMoreBtn {
    border: none;
    background-color: lightseagreen;
    font-size: 1.1rem;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-block: 20px;
    font-weight: 600;
    display: none;
}

.loadMoreBtn:hover {
    opacity: 0.6;
}

main section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*  for  responsive  website*/
@media (min-width: 600px) {
    .container h2 {
        font-size: 35px;
    }

    .input-box {
        display: flex;
        justify-content: center;
    }

    .input-box input {
        width: 800px;
    }

    .image-container p {
        font-size: 30px;
    }
}