@font-face {
    font-family: Nunito-SemiBold;
    src: url(../fonts/Nunito/static/Nunito-SemiBold.ttf);
}

@font-face {
    font-family: Nunito-Bold;
    src: url(../fonts/Nunito/static/Nunito-Bold.ttf);
}

body {
    margin: 0;
    padding: 0;
}

.searchbox {
    width: 100%;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}


.search-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    width: 100%;
    max-width: 900px;
    padding: 10px;
}

.search-form input {
    padding: 10px 15px;
    border: 1px solid #9a9a9a;
    border-radius: 10px;
    font-size: medium;
    font-weight: 500;
    min-width: 400px;
}

.search-form input:focus {
    outline: none;
    border-color: none;
}

.search-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}


.search-results {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
    font-family: Nunito-SemiBold;
}

.search-results-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}

.search-results h2 {
    margin-bottom: 20px;
    color: #333;
    width: 100%;
    padding: 0 15px;
    font-family: Nunito-Bold;
}

.no-results {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    border-radius: 8px;
    width: 100%;
}

.rental_building-card,
.home-card {
    height: auto;
    max-width: 300px;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #9696968b;
    margin: 15px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #fff;
}



.rental_building-card img,
.home-card img {
    width: 100%;
    min-height: 300px;
    max-height: 300px;
    object-fit: fill;
    border-radius: 10px;
}

.rental_building-card .title {
    margin: 0;
    padding: 10px 15px;
    color: rgb(0, 0, 0);
    font-weight: 600;
    border-bottom: 1px solid rgb(148, 148, 148);
    font-family: Nunito-Bold;
    margin: 0;
}

.rental_building-card p {
    margin: 8px 0;
    padding: 0 15px;
    color: #666;
    font-size: 0.9rem;
}

.rental_building-card strong {
    color: #333;
}