/* main */
#main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    height: 900px;
    width: 100%;
    background-image: url("../images/law_office_img.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

   @media (max-width: 1300px) {
    #main {
       height: 700px;
     }
   }
   
#main::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background-color: rgba(0, 0, 0, 0.3); /* שחור שקוף בעוצמה 50% */
  z-index: 1;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  /* background-color: rgba(0, 0, 0, 0.4); */
    background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.5),        /* ימין: שחור שקוף */
    rgba(255, 255, 255, 0.4)
  );
}

#headers {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  font-family: 'Assistant', sans-serif;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 50px;
  /* border-radius: 20px; */
  z-index: 1000;
}

#headers h1 {
  font-weight: 200;
  font-size: clamp(28px, 3vw, 48px);
  margin: 0;
  color: rgb(0, 27, 44);
}

#headers h1 span {
  color: rgb(165, 89, 42);
}

#headers h2 {
  font-weight: 100;
  font-size: clamp(20px, 3vw, 30px);
  color: rgb(0, 27, 44);
}

#ctaMain {
    display: block;
    text-align: center;
    border: none;
    border-radius: 10px;
    padding: clamp(8px, 3vw, 18px);
    font-size: clamp(12px, 3vw, 18px);
    font-family: 'Assistant', sans-serif;
    font-weight: 200;
    margin-top: 30px;
    cursor: pointer;
    color: white;
    width: 100%;
    background-color: rgb(0, 27, 44);
}

#ctaMain:hover {
    background-color: rgb(0, 42, 68);
}