* {
  margin: 0;
  padding: 0;

}

.header {
  position: relative;
}

/* Hamburger button */
.hamburger {
  display: block;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

/* Header buttons - overlay menu */
.header-buttons {
  display: none !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  flex-direction: column;
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  align-items: center;
  transition: all 0.3s ease;
opacity: 0;
pointer-events: none;
}


.header-buttons.show {
  display: flex !important;
   opacity: 1;
  pointer-events: auto;
}

 

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
}

#logo img{
  width: 100%;
  margin: auto;
}

/*.list-button{
  display: none;
}
.contact-info a {
  display: block;
  color: navy;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
   border-right: 2px solid navy;
  border-bottom: 2px solid navy;
  border-radius: 15px;
  width: 150px;
  margin: auto;
  margin: 0 60px;
}

.contact-info a:hover {
  border-right: 2px solid #007BFF;
  border-bottom: 2px solid #007BFF;
  border-radius: 15px;
  color: #007BFF;
}

.signIn a {
  display: block;
  color: navy;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
   border-right: 2px solid navy;
  border-bottom: 2px solid navy;
  border-radius: 15px;
  width: 150px;
  margin: auto;
}

.signIn a:hover {
  border-right: 2px solid #007BFF;
  border-bottom: 2px solid #007BFF;
  border-radius: 15px;
  color: #007BFF;
}*/


.city-section {
  margin-bottom: 60px;
  width: 100%;
}

.city-heading {
  font-size: 30px;
  margin: 20px 0px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  text-align: left;
}

header {
  background-color: rgb(249, 249, 249);
  width: 98%;
  padding: 0px 0px 25px 0px;
  margin: 0px auto;
  border-radius: 15px;
}



.search-bar {
  display: none;
}

#listings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.listing-row {
  width: 80%;
  margin: 10px auto;
}

.listing-row img {
  width: 100%;
}

.listing-card {
  margin-bottom: 15px;
  height: 400px;
  overflow: hidden;
}

.listing-row a {
  margin-bottom: 50px;
  height: 350px;
  width: 100%;
}
.listing-card img {
  border-radius: 8px;
  height: 285px;
  width: 100%;
  object-fit: cover;
}

.imgWrapper{
  width: 100%;
  height: 285px;
  overflow: hidden;
  background-color: #f2f2f2;
}


main {
  height: 250px;
  background-color: rgb(237, 250, 255);
  border-radius: 15px;
  margin: 75px 0px 75px 0px;
}

main h1 {
  text-align: center;
  padding: 35px 0px 25px 0px;
}

/*footer {
  height: 250px;
  background-color: rgb(243, 243, 243);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 98%;
  margin: auto;
  border-radius: 15px;
}*/

#email-suggestions {
  width: 100%;
  height: 75px;
}

#container {
  width: 95%;
  margin: auto;
}

#post-listing {
  padding: 50px;
  border-radius: 20px;
  margin-bottom: 50px;
}

#post-listing h1 {
  text-align: center;
}

#post-listing a {
  display: block;
  margin: auto;
  width: 40%;
}

.heading {
  color: rgb(58, 183, 255);
}

.city-heading {
  color: rgb(0, 132, 209);
}

#submit-listing {
  width: 50%;
  margin: auto;
  text-align: center;
   background-color: rgb(240, 240, 240);
   border-radius: 15px;
}

#submit-listing a {
  text-decoration: none;
  display: block;
  padding: 10px;
  color: black;
  
}

#submit-listing a:hover {
   background-color: rgb(145, 145, 145);
   border-radius: 15px;
}


footer{
  padding: 10px;
  background-color: rgb(243, 243, 243);
  width: 98%;
  margin: 15px auto;
  border-radius: 15px;

}

#contact-section{
  display: flex;

  flex-direction: column-reverse
}
#description{
  display: flex;
  flex-direction: column;
}


#email-phone{

  text-align: start;
  padding: 45px 0px;
 
}

#email-phone > div:first-child{
  text-align: center;
}

#email-phone a {
  color: gray;
  text-decoration: none;
}
.color-black{
  color: black;
}


@media screen and (min-width: 850px) {


.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

#logo img {
  width: 35%;
}

.header-buttons {
  display: flex !important;
  position: static;
  opacity: 1;
  pointer-events: auto;
  background: transparent;
  box-shadow: none;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

.header-buttons a {
  width: auto;
  max-width: none;
}

  /*.header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 5px 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-bottom: 2px solid #eee;
  margin-bottom: 25px;
 
}

/* Logo */


/* List Button */
.list-button {
  display: block;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 60px;
  color: navy;
   border-right: 2px solid navy;
  border-bottom: 2px solid navy;
  border-radius: 15px;

}

.list-button:hover {
   border-right: 2px solid #007BFF;
  border-bottom: 2px solid #007BFF;
  border-radius: 15px;
  color: #007BFF;
}

/* Contact Info */
.contact-info a {
  display: block;
  color: navy;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
   border-right: 2px solid navy;
  border-bottom: 2px solid navy;
  border-radius: 15px;
}

.contact-info a:hover {
  border-right: 2px solid #007BFF;
  border-bottom: 2px solid #007BFF;
  border-radius: 15px;
  color: #007BFF;
}*/

#container{
display: flex;

}

.search-bar{
  display: flex;
  flex-direction: column;
  width: 250px;
  padding: 35px;
   border-radius: 15px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#area-select{
  font-style: italic;
  font-weight: bold;
  color: #888;
  font-size: 18px;
}

  .listing-row {
    display: flex;
    flex-wrap: wrap;
  }

  .city-section {
    margin: 0px;
    width: 100%;
  }

  .listing-card {
    margin-bottom: 5px;
    width: 95%;
  }

  .city-heading {
    font-size: 30px;
    margin: 0px 0px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    text-align: left;
  }

  .city-heading {
    color: rgb(0, 132, 209);
  }
  #listings {
    width: 70%;
    margin: auto;
  }
  .listing img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  #post-listing a {
    display: block;
    margin: auto;
    width: 10%;
  }
  /*.search-bar {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    align-items: center;
    max-width: 905px;
    margin: 15px auto;
  }*/

  .search-bar input,
  .search-bar select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 999px;
    outline: none;
    font-size: 14px;
  }

  .search-bar button {
    background-color: rgba(51, 51, 253, 0.753);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
  }

  

  #submit-listing {
  width: 15%;
  margin: auto;
  text-align: center;
   background-color: rgb(240, 240, 240);
   border-radius: 15px;
}

#submit-listing a {
  text-decoration: none;
  display: block;
  padding: 10px;
  color: black;
}

#submit-listing a:hover {
   background-color: lightgray;
   border-radius: 15px;
}

footer{
  padding: 10px;
  background-color: rgb(243, 243, 243);
  width: 98%;
  margin: 15px auto;
  border-radius: 15px;

}

#contact-section{
  display: flex;
  flex-direction: row;
}
#description{
  width: 45%;
  display: flex;
  flex-direction: column;
}

.vertical-line {
  width: 2px;            
  height: 80%;           
  background-color: #cfcfcf; 
  margin: 40px;
}
#email-phone{
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 45%;
  padding: 100px;
 
}

.hamburger {
  display: none !important;
}

#email-phone a {
  color: gray;
  text-decoration: none;
}
.color-black{
  color: black;
}

}
