      body {
          font-family: sans-serif;
          display: flex;
          flex-direction: column;
          align-items: center;
          margin-top: 50px;
          background-color: #fff;
          color: #333;
      }
      
      body.dark-mode {
          background-color: #333;
          color: #fff;
      }

      h1 {
         color: inherit;
     }
     
     #generator-btn {
         padding: 10px 20px;
         font-size: 16px;
         border: none;
         border-radius: 5px;
         background-color: #4CAF50;
         color: white;
         cursor: pointer;
         margin-bottom: 20px;
     }
     
     #generator-btn:hover {
         background-color: #45a049;
     }

     #theme-toggle-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f0f0f0;
        color: #333;
        cursor: pointer;
     }

     body.dark-mode #theme-toggle-btn {
        background-color: #555;
        color: #fff;
        border-color: #777;
     }

     #contact-form {
        margin-top: 30px;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        width: 300px;
    }

    #contact-form h2 {
        text-align: center;
        margin-bottom: 20px;
    }

    #contact-form label {
        display: block;
        margin-bottom: 5px;
    }

    #contact-form input,
    #contact-form textarea {
        width: 100%;
        padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 3px;
        box-sizing: border-box;
    }

    #contact-form button {
        width: 100%;
        padding: 10px;
        background-color: #007BFF;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    #contact-form button:hover {
        background-color: #0056b3;
    }

    body.dark-mode #contact-form {
        border-color: #777;
    }

    body.dark-mode #contact-form input,
    body.dark-mode #contact-form textarea {
        background-color: #444;
        color: #fff;
        border-color: #777;
    }
