#main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    width: 100%;
    border-radius: 30px;
    gap: 30px;
    padding: 50px 0;
    background-image: linear-gradient(to top, rgb(27, 20, 100), black);
}

@media (max-width: 1300px) {
      #main {
        flex-direction: column;
     }
}

@media (max-width: 768px) {
      #main {
        border-radius: 0;
     }
}

#mainWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 30px;
}

@media (max-width: 1300px) {
      #mainWrapper {
        margin-top: 50px;
     }
}

#topBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 2000;
    padding: 20px 50px;
}
@media (max-width: 768px) {
      #topBar {
        padding: 20px 30px;
     }
}
#topBar.scrolled {
    background-image: linear-gradient(to top, rgb(27, 20, 100), black);
    /* backdrop-filter: blur(10px); */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
    /* padding: 10px 30px; */
    /* border-bottom: 1px solid rgb(0, 160, 184); */
    /* box-shadow: rgba(255, 255, 255, .2) 0 3px 20px inset, rgb(255, 255, 255) 0 3px 30px, rgb(255, 255, 255) 0 5px 13px; */
}

#logoTopBar {
    width: 200px;
}
@media (max-width: 768px) {
      #logoTopBar {
        width: 150px;
     }
}

#menuIcon {
    width: 50px;
    height: 40px;
    cursor: pointer;
    margin-top: 20px;
}

#headers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 40px;
}

#main h1 {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 5vw, 70px);
    color: rgb(27, 196, 5);
}

#main h2 {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(24px, 3vw, 36px);
    color: white;
    border-radius: 10px;
}

#main h3 {
    font-family: 'Heebo', sans-serif;
    font-weight: 900;
    font-size: clamp(24px, 3vw, 36px);
    color: white;
    border-radius: 10px;
    margin-bottom: 0;
}

#mainImg {
    width: 600px;
}

@media (max-width: 1300px) {
      #mainImg {
        width: 400px;
     }
}

@media (max-width: 768px) {
      #mainImg {
        width: 320px;
     }
}

#ctaMain {
    display: block;
    text-align: center;
    border: none;
    border-radius: 50px;
    padding: 20px 20px;
    font-size: clamp(20px, 3vw, 30px);
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    color: white;
    margin-bottom: 20px;
    margin-top: 20px;
    background-image: linear-gradient(to top, rgb(27, 196, 5), rgb(13, 85, 3));
}

#ctaMain:hover {
    background-image: linear-gradient(to top, rgb(27, 196, 5), rgb(27, 196, 5));
}

/* ------------------------------------------------------------- */
/* menu */
#menu {
  position: fixed;
  top: 0;
  right: -350px;         /* מוסתר בהתחלה */
  width: 250px;
  height: 100%;
  background-image: linear-gradient(to right, rgb(225, 221, 255), rgb(182, 172, 255));
  box-shadow: 5px 0 20px rgba(0,0,0,0.2);
  font-family: 'assistant', sans-serif;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.4s ease , opacity 0.4s ease;
  opacity: 0;
  z-index: 2000;
  margin-top: 8px;
}

@media (max-width: 768px) {
    #menu {
        width: 50%;
        margin-top: 0;
     }
   }

#menu.open {
  right: 0; /* נכנס פנימה */
  opacity: 1;
}

/* כפתור התפריט והלינקים בפנים */
#menu .menu-button {
  display: block;
  /* background-color: rgb(13, 85, 3); */
  color: rgb(27, 20, 100);
  text-decoration: none;
  padding: 15px 18px;
  border-radius: 25px;
  text-align: center;
  font-size: clamp(16px, 3vw, 18px);
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: "Heebo", sans-serif;
}

#menu .menu-button:hover {
  background: rgb(27, 20, 100);
  color: white;
  font-weight: 500;
  transform: scale(1.05);
}

/* כפתור הסגירה */
#menu #closeBtn {
  background: transparent;
  color: rgb(27, 20, 100);
  font-size: 20px;
  font-weight: bold;
  align-self: flex-start;
  margin-bottom: 20px;
  cursor: pointer;
}