
    * {
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      background-color: #f2f9fc;
      margin: 0;
      padding: 0;
    }

    nav {
      background-color: #0099cc;
      padding: 10px 0;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .menu {
      list-style-type: none;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin: 0;
      padding: 0;
    }

    .menu > li {
      position: relative;
      margin: 5px 10px;
    }

    .menu a {
      color: white;
      text-decoration: none;
      font-weight: bold;
      padding: 10px 15px;
      display: block;
      border-radius: 5px;
    }

    .menu a:hover {
      background-color: #007ba7;
    }

    .submenu-options {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: white;
      min-width: 180px;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      z-index: 1000;
      border-radius: 4px;
      overflow: hidden;
    }

    .submenu:hover .submenu-options {
      display: block;
    }

    .submenu-options li a {
      color: #333;
      background-color: #f9f9f9;
      padding: 10px 15px;
      text-decoration: none;
      display: block;
    }

    .submenu-options li a:hover {
      background-color: #e0f7ff;
    }

    h1 {
      text-align: center;
      text-shadow: 2px 2px lightblue;
      margin: 20px;
      font-size: 28px;
    }

    form {
      max-width: 800px;
      margin: 0 auto 30px auto;
      background-color: #A2F4FD;
      padding: 20px;
      border: 3px solid #000;
      border-radius: 10px;
    }

    fieldset {
      border: none;
      margin-bottom: 20px;
    }

    label {
      font-weight: bold;
      margin-bottom: 5px;
      display: block;
    }

    input, select, textarea, button {
      width: 100%;
      padding: 8px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 16px;
    }

    button {
      background-color: #0099cc;
      color: white;
      font-weight: bold;
      cursor: pointer;
    }

    button:hover {
      background-color: #007ba7;
    }

    .form-row {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .form-group {
      flex: 1;
      min-width: 250px;
    }

    #missatge {
      text-align: center;
      font-weight: bold;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .form-row {
        flex-direction: column;
      }

      .form-group {
        width: 100%;
        min-width: unset;
      }

      form {
        margin: 20px;
        padding: 15px;
      }

      h1 {
        font-size: 22px;
      }
    }

    @media (max-width: 480px) {
      nav .menu {
        flex-direction: column;
        align-items: center;
      }

      .menu > li {
        margin: 5px 0;
      }

      .submenu-options {
        position: static;
        width: 100%;
        box-shadow: none;
      }

      h1 {
        font-size: 20px;
      }
    }
