
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

main {
    background-color: #f0f5fa;
}

.view {
    width: 100%;
    height: 100%;
}


.topbar {
    padding: 1rem;
    background-image: url('/pics/test\ pic\ segment.jpg');
    height: 150%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.navbar {
    background-color: #004bff3b;
    position: fixed;
    z-index: 10000;
    top: 0;
    height:fit-content;
    padding: 1em;
    text-align: center;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

nav {
    padding: 1rem;
    border: solid 1px white;
    border-radius: 5rem;

}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1em;
    transition: background 0.3s ease;

}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 1rem;
}

nav ul li :hover {
    border-radius: 5rem;
    background-color: white;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    color: black;

}


.hero {

    padding: 2em;
    text-align: center;
    z-index: 10000;
}

form {

    display: flex;
    gap: 1rem;
}

.search-form {
    background: rgb(255, 255, 255);
    padding: 20px;
    position: absolute;
    top: 20%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.form-group select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.form-group i {
    margin-right: 8px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 22px 0px 10px 0px;
    height: 10%;
}

.listings {
    padding: 2em;
    padding-top: 5rem;
}

.grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    padding: 10px;
    align-items: center;

}

.property {
    cursor: pointer;
    border: 1px solid #a4a3a3;
    border-radius: 2rem;
    padding: 1em;
    margin-bottom: 1em;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;

}

.property:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


img {
    height: 30%;
    width: 100%;
    border-radius: 1rem;

}


.footer {
    background: #3e6082;
    color: #FFFFFF;
    padding: 20px 0;
    font-family: Arial, sans-serif;
   /* position: sticky;
    bottom: 0;*/
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


.footer-section {
    flex: 1 1 250px;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 24px;
    color: #00CC66;
    margin-bottom: 10px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FFD700;

}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 1.5;
}

.footer-section a:hover {
    color: #ccc900;

}


.social-icons a {
    margin-right: 10px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 24px;
    display: inline-block;
}

.social-icons a:hover {
    color: #FFD700;

}


.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #004466;
    padding-top: 10px;
    font-size: 14px;
    color: #AAAAAA;
}




main {

    background-color: #f0f5fa;

}

@media (max-width: 660px) {

    .navbar {

        display: flex;
        flex-direction: column;

    }

    .grid {

        display: flex;
        flex-direction: column;

    }

    body {

        font-size: 18px;
    }
    .hero{

        padding: 7rem;
    }

    .hero h2 {
        display: none;
    }
    .hero p {
        display: none;
    }

    header {}

    nav ul li {
        margin: 0 0.1em;
    }

    nav ul li a {
        padding: 5px;


    }

    .search-form {

        position: static;

    }

    .footer {
        position: unset;
        bottom: ;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }


}

