/* main */
#main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    height: auto;
    font-family: 'Assistant', sans-serif;
    background-color: black;
    background-image: url("../images/bg.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    height: 900px;
}

   @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.5); /* שחור שקוף בעוצמה 50% */
  z-index: 1;
}

#headersWrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 20px;
  padding: 20px 50px;
  z-index: 1000;
  margin-top: 20px;
}

#headers h1 {
  font-size: clamp(40px, 5vw, 80px);
  color: white;
}

#headers h2 {
  font-size: clamp(32px, 5vw, 60px);
  color: rgb(181, 181, 181);
} 

#ctaMain {
    display: block;
    text-align: center;
    border: none;
    border-radius: 10px;
    padding: 20px 50px;
    font-size: clamp(18px, 3vw, 26px);
    font-family: 'Assistant', sans-serif;
    font-weight: 200;
    cursor: pointer;
    color: white;
    margin-bottom: 20px;
    background-image: linear-gradient(to right, rgb(111, 39, 13), rgb(160, 56, 19));
}

#ctaMain:hover {
    background-image: linear-gradient(to right, rgb(160, 56, 19), rgb(160, 56, 19));
}

.elAnimation {
    transform: translateY(-100px);
    opacity: 0;
     animation: drop 1.8s forwards; 
}

@keyframes drop {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  60% {
    transform: translateY(15px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1; /* חשוב לשמור opacity=1 בסוף */
  }
}