:root{
  --diag: 50px;
}

#hero{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-image: linear-gradient(to top, rgb(255, 213, 231), white);
  /* מקום לאלכסון */
  padding: 50px 0 calc(50px + var(--diag));
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--diag)),
    0 100%
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--diag)),
    0 100%
  );
  margin-bottom:-1px;
}

/* ------------------------------------------------------------- */
/* menu */
#menu {
  position: fixed;
  top: 0;
  right: -350px;
  width: 250px;
  height: 100%;
  background-image: linear-gradient(to top, white, rgb(255, 213, 231));
  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: 2001;
}

@media (max-width: 768px) {
    #menu {
        width: 50%;
     }
}

#menu.open {
  right: 0;
  opacity: 1;
}

#menu .menu-button {
  display: block;
  background-image: linear-gradient(to top, rgb(255, 213, 231), rgb(255, 213, 231));
  color: rgb(101, 12, 50);
  text-decoration: none;
  padding: 15px 18px;
  border-radius: 25px;
  text-align: center;
  font-size: clamp(12px, 3vw, 12px);
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: "Almog", sans-serif;
  font-weight: 400;
}

#menu .menu-button:hover {
  background: rgb(237, 30, 121);
  color: white;
  font-weight: 500;
  transform: scale(1.05);
}

#menu #closeBtn {
  background: transparent;
  color: rgb(237, 30, 121);
  font-size: 20px;
  font-weight: bold;
  align-self: flex-start;
  margin-bottom: 20px;
  cursor: pointer;
  border: none;
}

/* -------------------------------------------------------------- */

#mainHero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    margin-top: 50px;
}

@media (max-width: 1000px) {
    #mainHero {
        flex-direction: column-reverse;
        margin-top: 20px;
    }
}

#mainImg {
    width: 500px;
    z-index: 3;
    border-radius: 50%;
}

@media (max-width: 1300px) {
     #mainImg {
        width: 350px;
     }
}

#headers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 50%;
    font-family: "Assistant", sans-serif;
    padding: 30px;
    z-index: 3;
}

@media (max-width: 1300px) {
     #headers {
        max-width: 100%;
     }
}

#headers h1 {
    font-size: clamp(34px, 3vw, 44px);
    margin-bottom: 0;
    color: rgb(0, 180, 64);
    font-weight: 900;
}

#headers h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-top: 0;
    color: rgb(237, 30, 121);
    font-weight: 900;
}

#headers p {
    font-size: clamp(18px, 3vw, 20px);
}

#ctaA {
    display: block;
    text-align: center;
    border: none;
    border-radius: 50px;
    padding: 20px 130px;
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 900;
    cursor: pointer;
    color: white;
    margin-top: 20px;
    background-image: linear-gradient(to right, rgb(237, 30, 121), rgb(158, 0, 93));
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    width: 50%;
}

#ctaA:hover {
    background-image: linear-gradient(to right, rgb(237, 30, 121), rgb(237, 30, 121));
    transform: scale(1.07) translateY(-2px);
}

@media (max-width: 768px) {
      #ctaA {
        padding: 20px 20px;
        width: 80%;
     }
}
