/* MODAL */
.modal{
    z-index: 3;
    display: none;
    padding-top: 4rem;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-content{
    display: grid;
    position: relative;
    max-width: 50rem;
    margin:auto;
    background-color: var(--background-color);
    outline: 1px solid var(--main-font-color);
}    
.modal-row{
    display: flex;
}
.close{
    display: grid;
    place-items: center;

    /* height:2rem;
    line-height: 2rem;
    width: 2rem; */
    font-size: 2rem;
    font-weight: 700;
    color: red;
    /* position: absolute;
    right: 0;
    top: 0; */
    /* outline: 1px solid blue; */
    margin:0;
    /* margin-top: -.25rem; */
    cursor: pointer;
    padding: 0;
}
.input{
    display: block;
}
.modal-row-close{
    justify-content: flex-end;
    gap:.125rem;
}
.form-input-horizontal{
    gap: .5rem;
    /* max-height: 4rem; */
    /* padding: 0 1rem; */
    /* flex-grow:1; */
}
#add-snippet-form{
    padding: 1rem;
}
.text-input{
    width: 100%;
    resize: none;
}
#form-description{
    display: none;
}
#edit-submit{
    float:right; 
}
#delete-submit{
    background-color: salmon;
    color: maroon;
    border-color: firebrick; 
}
#delete-submit:hover{
    outline: 3px solid firebrick
}
#snippet-title-wrapper{flex-grow: 5;}
/* #snippet-category-wrapper{flex-grow: 2;} */
    
/* #snippet-title-wrapper > .input,
#snippet-category-wrapper > .input */
.form-input > .input{
    width: 100%;
    font-size: 1rem;
    padding: .25rem 0;
}
.form-input > textarea{
    padding: .25rem .5rem;
}
.modal-buttons-wrapper{
    display: flex;
    justify-content: space-between;
}
.modal label{
    color: var(--main-font-color);
}