@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: radial-gradient(circle at top left, #888787, #000);
    color: white;
}

h1 {
    text-align: center;
    margin: 80px auto 80px;
    font-weight: 500;
    font-size: 80px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
}

form {
    width: 100%;
    max-width: 800px;
    margin: auto;
    align-items: center;
    height: 80px;
    display: flex;
    background-color: rgb(53, 48, 48);
    border-radius: 8px;
}

form input {
    flex: 1;
    height: 100%;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    font-size: 20px;
    padding: 0 20px;
}

form input:focus {
    box-shadow: rgb(174, 176, 176);
}

form button {
    padding: 0 20px;
    height: 100%;
    background: #444;
    border: none;
    border-radius: 0 10px 10px 0;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-size: 25px;
}

form button:hover {
    background: rgb(174, 176, 176);
    color: #000;
    transform: scale(1.05);
}

::placeholder {
    font-size: 20px;
    color: rgb(124, 108, 108);
}

#show-more-button {
    background: rgb(117, 111, 111);
    color: white;
    border: 0;
    outline: 0;
    padding: 10px 20px;
    border-radius: 4px;
    margin: 10px auto 100px;
    cursor: pointer;
    display: none;
    font-size: 15px;
}

#search-result {
    width: 80%;
    margin: 80px auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px;
}

#search-result img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

a:hover img {
    transform: scale(1.1);
}