#box { /*position: absolute;*/ /*background-color: rgba(0, 0, 0, 0.5);*/ /*display: flex;*/ /*height: 100%;*/ /*top: 0;*/ /*left: 0;*/ /*right: 0;*/ /*z-index: 5;*/ /*justify-content: center;*/ padding: 10px; border-style: solid; border-width: 1px; border-color: var(--secondary-color); background-color: var(--tertiary-color); border-radius: 5px; position: relative; width: 500px; } #create-form, #delete-form, #update-form { /*margin-top: 50px;*/ /*padding: 10px 20px 20px 20px;*/ /*border: 2px solid #000;*/ /*border-radius: 5px;*/ /*visibility: visible;*/ /*position: absolute;*/ display: flex; flex-direction: column; gap: 10px; div { display: flex; flex-direction: column; } } #closeButton { position: absolute; width: 35px; right: 10px; } textarea { height: 200px; } label { padding: 3px; } .red { color: red; }