html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width:50%;
    padding:20px;
    border: 1px solid black;
}

.container>form>fieldset>div>label {
    border-color: rgba(0,0,0,0.5);
    border-width: 2px;
    border-style:groove;
    margin:4px;
    padding: 2px;
    padding-right:5px;
}

.container>form>fieldset>div {
    display: flex;
    flex-wrap: wrap;
}

.json-section {
    width: 100%; /* Take up full width of container */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Adds space between the two input groups */
}

/* The wrapper div for each input */
.json-section > div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* The inputs themselves */
.json-section textarea,
.json-section input[type="text"] {
    width: 100%; 
    /* Because of box-sizing: border-box, this won't overflow anymore */
    display: block; 
    resize: vertical;
}

#text-json {
    height: 200px; /* Set a default height for the textarea */
}

.json-section label {
    margin-bottom: 5px;
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

.textboxwithbutton {
    display: flex;
    gap: 5px;
}