body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
}

h1 {
    color: #1a0dab;
}

.results {
    list-style: none;
    padding: 0;
}

.result-item {
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
    display: flex; /* Use flexbox to arrange thumbnail and content in a row */
}

.result-item:hover {
    background-color: rgba(244, 244, 244, 0.928);
    transition: 0.3s;
}

.thumbnail {
    max-width: 20px; /* Adjust the max-width as needed */
    max-height: 20px; /* Adjust the max-height as needed */
    width: auto;
    height: auto;
    margin-right: 10px; /* Add margin between thumbnail and content */
    /* background-image: linear-gradient(0deg, rgb(0, 0, 0) 0.00%, rgba(26, 129, 189, 0.92) 100.00%); */
    border-radius: 1rem;
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
}

.content {
    display: flex;
    flex-direction: column; /* Stack title, snippet, and URL vertically */
}

.title {
    color: #1a0dab;
    text-decoration: none;
}

.title:hover {
    text-decoration: underline;
}

.snippet {
    color: #545454;
}

.url {
    color: #006621;
}

/* Add styles for the "Read More" button */
.read-more-button {
    color: #1a0dab;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    text-decoration: underline;
    font-size: inherit;
}

/* Style for the full text */
.snippet span {
    display: inline;
}

/* Media query for screens with a width of 600 pixels or less */
@media only screen and (max-width: 600px) {
    .result-item {
        flex-direction: column; /* Stack thumbnail and content vertically on small screens */
    }

    .thumbnail {
        margin-bottom: 1rem; /* Remove margin between thumbnail and content on small screens */
    }
}
