  html {
  scroll-behavior: smooth;
}

 
  body {
  background-color: #e9f7ef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

  a {
  text-decoration: none;
  color: inherit;
}
  
  /* התפריט */
  .menu {
    display: flex;           
    justify-content: center;
    background-color: transparent;
    transition: background-color 0.3s ease;
    margin: 2rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .menu.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 1.25rem;
  }

  .menu a {
    padding: 0.625em 1.75em;
    font-size: 1.4rem;
    cursor: pointer;
    border: 0.0625em solid transparent;
    background-color: transparent;
    transition: background-color 0.3s;
    white-space: nowrap;
  }

  .menu a:hover {
    background-color: #ddd;
  }

  .menu a.buy_kit{
  background-color: #28a745;
  color: white;
  border-radius: 0.9375em;
  font-weight: bold;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.menu a.buy_kit:hover,
.menu a.buy_kit:focus {
  background-color: #218838;
  box-shadow: 0 0 8px rgba(33, 136, 56, 0.6);
  outline: none;
  cursor: pointer;
}

/* כפתור תפריט למובייל */
.mobile_menu {
    display: none;
    cursor: pointer;
    position: fixed;
    right: 1.25em;
}

.mobile_menu i {
    font-size: 2rem;
    color: #28a745;
}

@media screen and (max-width: 768px) {

  .menu a {
      display: none;
    }

  .mobile_menu {
      display: block;
    }

  .menu.open a {
      display: block;
      text-align: right;
    }

    .menu.open {
        display: flex;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.9);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 2rem;
        gap: 1rem;
        z-index: 9999;
    }
}

[id] {
  scroll-margin-top: 100px;
}

/* כותרת */
header {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 2em;
    text-decoration: underline;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    margin: 2rem;
}

/* הטופס */
form {
    margin: 1rem;
    direction: rtl;
    max-width: 37.5rem;
    width: 90%;
    font-size: 1.125em;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 0.0625em solid #ccc;
  border-radius: 0.25rem;
  box-sizing: border-box;
  margin-top: 0.375em;
  margin-bottom: 1.875em;
  resize: vertical;
  font-size: 1.125em;
  font-weight: bold;
  line-height: 1.6;
  font-family: 'M PLUS Rounded 1c', Arial, sans-serif;
  background-color: white;
  color: black;
}

textarea {
  height: 12em;
  resize: vertical;
}


input[type=submit] {
  background-color: #04AA6D;
  color: white;
  font-size: 1.25em;
  font-weight: bold;
  padding: 0.625em 2.5em;
  border: none;
  border-radius: 0.9375em;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: lightblue;
}