* {
    margin: 0;
    padding : 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
}

h1 {
    text-align: center;
}

h1 a {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin: 40px 0 60px;
    text-decoration: none;
    color: black;
    margin: 0 auto;
}

h1 a:hover {
    color: grey;
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

#search-input {
    width: 60%;
    max-width: 400px;
    padding: 10px 20px;
    border: none;
    box-shadow: 0 0 6px black;
    border-radius: 5px;
    font-size: 18px;
    color: grey;
}

#search-button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    font-size: 18px;
    box-shadow: 0 0 6px black;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
}

.searchResults {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.result {
    margin-bottom: 60px;
    width: 30%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0 0 6px black;
    overflow: hidden;
}

.result img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.result img:hover {
    width: 100%;
    object-fit: cover;
    opacity: .8;
    transition: opacity 0.2s ease-in-out;
}

.result a {
    font-size: 20px;
    text-decoration: none;
    color: black;
    display: block;
    padding: 10px;
    text-transform: capitalize;
    text-align: center;
}

#showMoreButton {
    background-color: black;
    color: white;
    border: none;
    font-size: 18px;
    padding: 10px 20px;
    text-align: center;
    display: block;
    margin: 30px auto;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}



@media screen and (max-width: 768px) {
    .result{
        width: 45%;
    }

    .searchResults{
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .result{
        width: 90%;
        margin: 10px auto;
    }
}