:root {
    --light-bg-color: #e9cac1;
    --light-box-shadow-1: #c6aca4;
    --light-box-shadow-2: #ffe8de;
    --light-bg-focus-color: #ebdbd6;
    --light-text-color: #744130;
}

body {
    justify-content: center;
    background-color: var(--light-bg-color);
    color: var(--light-text-color);
    font-family: 'Nunito Sans', sans-serif;
    align-items: center;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

label {
    font-weight: bold;
    padding: 10px;
    font-size: 16px;
    opacity: 0.8;
}

.keypairinput {
    padding: 8px;
    display: flex;
    align-items: center;
}

input {
    border: none;
    outline: none;
    border-radius: 15px;
    padding: 1em;
    background: var(--light-bg-color);
    box-shadow: inset 9px 9px 17px var(--light-box-shadow-1),
        inset -9px -9px 17px var(--light-box-shadow-2);
    transition: 300ms ease-in-out;
}

input:focus {
    /* background-color: var(--light-bg-focus-color); */
    transform: scale(1.05);
    border-radius: 25px;
    box-shadow: 13px 13px 100px var(--light-box-shadow-2),
        -13px -13px 100px var(--light-box-shadow-2);
}

textarea {
    overflow: auto;
    resize: vertical;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

textarea.form-control {
    height: auto;
}

input[type="submit"] {
    display: block;
    font-weight: 400;
    text-align: center;
    /* background-color: var(--light-text-color); */
    border: 1px transparent;
    padding: 5.5px 15px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    border-radius: 12px;
    color: var(--light-text-color);
    box-shadow: 7px 7px 11px var(--light-box-shadow-1),
        -7px -7px 11px var(--light-box-shadow-2);
    transition: color 150ms ease-in-out, background-color 150ms ease-in-out, border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}

input[type="submit"]:hover {
    /* transform: translateY(-5px); */
    /* color: white; */
    /* background: #e9cac1; */
    box-shadow: -2px -2px 5px #baa29a, 2px 2px 5px #baa29a;


}


.form-control {
    display: block;
    width: auto;
    height: auto;
    padding: 1em;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    background-color: var(--light-bg-color);
    background-clip: padding-box;
    /* border: 0.0625rem solid #D1D9E6; */
    border: none;
    border-radius: 25px;
    box-shadow: inset 9px 9px 17px var(--light-box-shadow-1),
        inset -9px -9px 17px var(--light-box-shadow-2);
    transition: all 0.3s ease-in-out;
}

.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-control:focus {
    color: var(--light-text-color);
    background-color: var(--light-bg-focus-color);
    outline: 0;
    box-shadow: inset 2px 2px 5px var(--light-box-shadow-1),
        inset -3px -3px 7px var(--light-box-shadow-2), none;
}

button.remove-btn {
    border-radius: 8px;
    line-height: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 8px;
    font-size: 19.2px;
}

button.remove-btn .icon {
    margin-right: 0;
}

button {
    font-weight: bold;
    border-radius: 12px;
    background: #e9cac1;
    border: none;
    box-shadow:  6px 6px 11px #baa29a,
                 -6px -6px 11px #fff2e8;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    box-shadow: -2px -2px 5px #baa29a, 2px 2px 5px #baa29a;
}

button:active {
    box-shadow: inset 1px 1px 2px #babecc, inset -1px -1px 2px #fff;
}

ion-icon {
    color: var(--light-text-color);
  }
#json-form, #json-output{
    width: 600px;
    /* border: 2px solid black; */
    margin: auto;
    padding: 20px;
    border-radius: 18px;
    box-shadow:  -10px 10px 9px #d9bcb3,
                 10px -10px 9px #f9d8cf;
    margin-bottom: 20px;
}
.encode-btn-section{
    display: flex;
    justify-content: center;    
    margin-top: 15px;

}
#add-btn{
    margin-right: 10px;
    align-items: center;
    display: flex;
}
.add-kv-icon{
    margin-right: 5px;
    margin-top: -1px;
}
#decode-btn{
    margin: auto;
}