/* public/styles.cs.s */


/*  colors  */
:root {
  --bg_ye:rgba(128, 74, 42, 0);
  --the_white: white;
  --bg: #0f172a;
  --panel: #111827;
  --text:black;
  --muted: #9ca3af;
  --accent: #22c55e;
  --accent-2: #3b82f6;
  --danger: #ef4444;
  --border: #1f2937;
}

/* ? 
* { box-sizing: border-box; }
*/

body {
  height: 100vh;
  overflow-x: hidden;
  text-align: center;
  padding: 0;
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  /*background: radial-gradient(1200px 800px at 20% -20%, rgba(34, 197, 94, 0.25), transparent),radial-gradient(1200px 800px at 120% 150%, rgba(59, 130, 246, 0.25), transparent),var(--bg);
    
  background-image:url('./woodbg2.jpg');
  */
  /*second bg-color
  background: linear-gradient(-40deg,rgb(7, 172, 238) -5%, rgba(87, 199, 133, 0.9) 50%, rgba(237, 221, 83, 1) 185%);
  */
}
@media only screen and (orientation: portrait) {
  #title1{
    font-size: 24px;
    margin: 0px;
    padding: 5px;
  }
  
}

.nav-links nav,.nav-links ul{
  padding:0;
  margin:0;
}

.nav-links {
  background: var(--bg_ye);
  margin: 0;
  overflow: hidden;
  width: 100vw;
  display: flex;
  align-items: center;
  padding: 1vmax;
}
.nav-links a:hover {
  color: rgb(97, 94, 94); 
}
header,footer{
  margin:0;
  padding:0;
}
header{
  border-bottom:1px solid rgba(98, 97, 97, 0.5);
}
footer {
  border-top:1px solid rgba(98, 97, 97, 0.5);
 
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  border: 0px;
  padding: 8px 12px;
}
.nav-links li{
  float: left;
  list-style-type: none;
  border: 1px solid black;
  background-color: var(--the_white);
  color: azure;
  padding: 8px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 12%;
  text-decoration: none;
  /*
  display: block;
  color: azure;
  padding: 10px 10px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 12%;
  */
  text-decoration: none;
}
.nav-links p{
  float: left;
  padding:0;
  margin:0;
}

#propertys_list {
  overflow-y: scroll;
  padding: 0;
}
#filter_form > div{
  max-width: 400px;
  text-align: right;
}
.property-card{
  /*
  max-width: 500px;
  max-height:600;
  */
  border:1px solid black;
  margin:5px;
  padding:5px;
  color:black;
  background-color: var(--the_white);
  border-radius: 8px;
}

@media screen and (orientation: landscape){
   #filter_form{
   width:80vw;
   display: grid;
   grid-template-columns:auto auto auto;
   padding: 5px;
   margin-bottom: 24px;
   }
   #propertys_list{
    display: grid;
    grid-template-columns:auto auto auto;
    padding: 5px;
   }
   #propertys_list>*>*{
    margin:3px;
   }
   #propertys_list>*{
    margin: 7px;
   }
}
@media screen and (orientation: landscape) and (max-width:1000px){
  #propertys_list{
     grid-template-columns:auto auto;
  } 
 
}

/*try this out for bg pic*/
.container {
  position: relative;
  background: url("woodbg2.jpg");
  min-height: 150vh; /* full screen height */
  min-width: 100vw;
}

/* the overlay */
.container::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top/right/bottom/left: 0 */
  /*background:  rgba(139, 69, 19, 0.3);*/
  background: linear-gradient(
   rgba(139, 69, 19, 0.1),
   rgba(139, 69, 19, 0.4)
  );
  filter: brightness(2);
  z-index: 1;
}

/* your actual content */
.container > * {
  position: relative;
  z-index: 2; /* ensures text sits above overlay */
}