fieldset {
  background: #ffffff;
  border: 1px solid #1565c0;
  border-radius: 20px;
  padding: 10px 30px 10px 30px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

  .image-button {
      padding: 5px 25px 5px 25px;
      border: 2px solid #000; /* черный контур */
      border-radius: 20px;
      background-color: transparent;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .image-button img {
      max-width: 100%;
      max-height: 100%;
      border-radius: 20px; /* опционально — немного скругляет само изображение */
    }

   .image-button:hover {
      background-color: white;
    }

/*

fieldset {
  margin-bottom: 15px;
  padding:0px 30px 10px 30px;
  width: 285px;

   border: 2px solid #1d2124;

}

legend {
  padding: 0px 7px;
 // font-weight: bold;
  //font-variant: small-caps;
}

*/