body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.search-container {
    display: flex;
    justify-content: start;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 20px;
    flex-wrap: wrap;
}

.search-box {
    width: 35%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.search-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 20px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    margin-left: 1%;
}

.search-button:hover {
    background-color: #0056b3;
}

.results-container {
    margin-top: 20px;
    max-width: 60%;
    padding-left: 30px;
    flex-grow: 1; 
    min-height: 200px; 

}

.result-item {
    padding: 10px;
    text-align: justify;
}

.result-item a {
    text-decoration: none;
    color: #007bff;
}

.result-item a:hover {
    text-decoration: underline;
}

.icon {
    width: 130px;
    height: 130px;
}

.site-host {
    color: rgb(112, 191, 112);
    font-size: 13px;
}

.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.terms {
    text-align: center;
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9;
    position: relative;
    bottom: 0;
}

.terms ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.terms li {
    display: inline;
    margin: 0 10px;
}

.terms a {
    text-decoration: none;
    color: hsl(0, 0%, 0%, 0.6);
}

.terms a:hover {
    color: #086279;
}

.terms-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    text-align: center;
}

.terms-page p {
    text-align: justify;
}

.terms-page h4 {
    text-align: center;
    margin-bottom: 50px;
}

@media (max-width: 600px) {
    .search-container {
        flex-direction: column;
        align-items: center;
    }
    .search-box {
        width: 80%;
        margin-bottom: 10px;
    }
    .search-button {
        width: 50%;
    }
    .results-container {
        width: 100%;
        padding-left: 0;
        margin-top: 15px;
    }
}
