* {
    box-sizing: border-box;
}

#homelogo {  
    position: absolute;
    object-fit:contain;
    display: inline-block;
    width:20%;
    height:150px;
    left:40%;
    right:50%;
    margin-top:-80px;
    padding-bottom:20px;
}

#logo {  
    position: absolute;
    object-fit:contain;
    display: inline-block;
    left:40%;
    right:50%;
    width:20%;
    height:82px;
    top: 0px;
    padding-bottom:20px;
    
}

#footerlogo {  
    position: absolute;
    object-fit:contain;
    display: inline-block;
    width:20%;
    height:30%;
    left:40%;
    right:50%;
    margin-top:15px;
}

#emailimage{
    position:relative;
    display: inline-block;
    width: 35px;
    height: 25px; 
    object-fit: fit;
}

#phoneNumber{
    position:relative;
    display: inline-block;
    width: 35px;
    height: 26px; 
    object-fit: fit;
}


body {     
    background-color:#DAD2BC;
    margin: 0;
}

/* For the dropdown bar */
.navbar{
    font-weight:bold;
    background-color:#F5F1ED;
    overflow: hidden;
    font-family:'Open Sans', sans-serif;
    padding-top:15px;
    padding-bottom: 5px;
    display: flex;
    align-items: middle;
    justify-content: space-between;
    border-bottom: 1px solid #70798C;
    
}

.navbar-left .navbar-right{
    display:flex;
    gap: 20px;
}

.navbar-left{
    padding-left: 100px
}

.navbar-right{
    padding-right: 100px
}

.navbar a{
    font-family: 'Open Sans';
    float:left;
    overflow:hidden;
    font-size: 16px;
    border:none;
    outline:none;
    color:#252323;
    padding: 12px 14px 16px;
    background-color: inherit;
    font: inherit;
    margin: 0;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.navbar a:hover{
    border-radius:10%;
    background-color: #e4dfda;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 25px;
}

.menu-icon div {
    background-color: #252323;
    height: 3px;
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1.1em;
}

@media (max-width: 1200px) {
    .navbar-left,
    .navbar-right {
        display: none;
        flex-direction: column;
        background-color: #F5F1ED;
        width: 100%;
        text-align: center;
    }

    .navbar-left.active,
    .navbar-right.active {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }

    .navbar {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
    }
}

.navbar a {
    padding: 10px;
}

.navbar-left.active a,
.navbar-right.active a {
    padding: 10px;
}

/*
.dropdown{   
    float: left;
    overflow: hidden;

}

.dropdown .dropbtn {
   font-size: 16px;
   border:none;
   outline:none;
   color:black;
   padding: 12px 14px;
   background-color: inherit;
   font: inherit;
   margin: 0
}

.dropdown:hover .dropdown-content {
    visibility: visible;    
    opacity: 1;
    transition-delay: 0s;
}

.dropdown-content {
    position: absolute;
    left:0;
    background-color:white;
    width:100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,.2);
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.5s, opacity 0.5s ease-in-out;
}

.dropdown-content .header{
    background:white;
    padding:16px;
    color:black;
}

.dropdown-content a{
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content p{
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display:block;
}

.column{
    float:left;
    width:16%;
    padding:12px;
    background-color:white;
    height:100%;

}

.column a{
    float: none;
    color: black;
    text-decoration: none;
    display: block;
    text-align:left;
    
}

.column a:hover{
    background-color: whitesmoke;
}

.dropdown-content a:hover {background-color: #ddd;}
.dropdown:hover .dropbtn {background-color: whitesmoke;}

/*This is for the image in the middle (hero section)*/

.hero {
    position: relative;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/heroimage.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(4px); /* Adjust the blur amount as needed */
    z-index: -1;
}

.hero-text, .hero-subtext {
    position: relative;
    z-index: 1;
}

.hero-text {
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    color: white;
    padding: 20px;
    font-size: 4em;
    text-align: center;
    border-radius: 10px;
    margin-top: 40px;
}

.hero-subtext {
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    color: white;
    padding: 10px;
    font-size: 1.5em;
    text-align: center;
    border-radius: 5px;
}

.trending {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    margin: 0;
}

.trending h1{
    font-family: 'Open Sans', sans-serif;
    text-align: center;
}

.flex-wrapper {
    display: flex;
    min-height: 50vh;
    flex-direction: column;
    justify-content: space-between;
}

.footer{
    display:flex;   
    background-color:#F5F1ED;
    font-family: 'Open Sans', sans-serif;
    color:#252323;
    padding: 10px 0; 
    margin-top: auto;
    margin-bottom: 50px;
    position:relative;
    border-top: 1px solid #70798C;
    border-bottom: 1px solid #70798C;
    justify-content: space-between;
}

.footer-left{
    padding-left: 100px;
    text-align: left;
}

.footer-middle{
    text-align: center;
    
}

.footer-right{
   padding-right: 100px;
   text-align: right;
    
}

/*
.grid-container-trending {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    padding: 20px;
    padding-bottom: 100px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} 

.grid-item-trending {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
}

.grid-item-trending img{
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: fill;

}

.grid-item-trending .price{
    font-family: 'Open Sans', sans-serif;
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    float:left;
}

.grid-item-trending .information{
    font-family: 'Open Sans', sans-serif;
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
} 
*/

.listing-start {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    margin: 0;
    padding-top:100px;
}

.listing-container {
    display:flex;
    justify-content:center;
    align-items: center;
    flex-wrap:wrap;
    gap:20px;

}

.listing-item {
    text-decoration: none;
    background-color: #F5F1ED;
    border: 1px solid #F5F1ED;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 450px; 
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.listing-item img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
}

.listing-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.listing-info .price {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.listing-info .description{
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
}

.listing-info .address {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
}

.listing-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.grid-container {
    background-color:#DAD2BC;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    padding: 20px;
    padding-bottom: 100px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.grid-item {
    background-color: #F5F1ED;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.grid-item img{
    margin-top:10px;
    max-width: 30%;
    height: 90px;
    border-radius: 5px;

}

.grid-item h1{
    font-family: 'Open Sans', sans-serif;
    margin-top: 10px;
    font-size: 2em;
    font-weight: bold;
    color: #333;

}

.grid-item .text{
    font-family: 'Open Sans', sans-serif;
    margin-top: 10px;
    padding-bottom:20px;
    font-size: 1.2em;
    color: #333;
    padding-left: 80px;
    padding-right:80px;

}

.grid-item .features{
    font-family: 'Open Sans', sans-serif;
    margin-top: 10px;
    padding-bottom:20px;
    font-size: 1.2em;
    color: #333;
    padding-left: 10px;
    padding-right:10px;

}

.grid-item .button{
    font-family: 'Open Sans', sans-serif;
    border-radius: 10%;
    border: 1px solid #252323;
    color: #252323;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.grid-item .button:hover{
    background-color: #DAD2BC;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.button{
    font-family: 'Open Sans', sans-serif;
    border-radius: 10%;
    
    color: #252323;
    padding: 20px;
    text-align: center;
    text-decoration: underline;
    display: inline-block;
    font-size:1em;
    margin: 4px 2px;
    
    transition: background-color 0.3s, box-shadow 0.3s;

}

.button:hover{
    background-color: #DAD2BC;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}