* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    width: 90%;
    margin: 2rem auto;
}

.container h1 {
    text-align: center;
    font-weight: bold;
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.container form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

#search-input {
    max-width: 400px;
    width: 90%;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    color: #333;
}

#search-button {
    padding: 0.5rem 1.5rem;
    font-size: 18px;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    background-color: #4caf50;
    transition: background-color 0.3s ease-in-out;
}

#search-button:hover {
    background-color: #3e8e41;
}

.search-results {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.search-result {
    flex-basis: 24%;
    overflow: hidden;
    box-shadow: 5px 5px 10px -5px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.search-result img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.search-result img:hover {
    transform: scale(1.05);
}

.search-result a {
    display: flex;
    text-decoration: none;
    color: black;
    padding: 1rem;
}

.creator-details {
    display: flex;
    align-items: center;
    padding-bottom: 1rem;
    padding-left: 1rem;
}

.creator-details img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}


#show-more-button {
    padding: 0.5rem 1.5rem;
    background-color: #4caf50;
    border: none;
    cursor: pointer;
    display: block;
    margin: 3rem auto;
    text-align: center;
    border-radius: 5px;
    display: none;
}


@media screen and (max-width: 768px) {
    .search-result {
        flex-basis: 50%;
    }
}

@media screen and (max-width: 480px) {
    .search-result {
        flex-basis: 100%;
    }

    form {
        flex-direction: column;
    }

    #search-input {
        margin-bottom: 20px;
        width: 85%;
    }
}