.image-form-grid {
    display: grid;
    grid-template-columns: 1fr 3fr 3fr 1fr;
    gap: 10px;
    grid-template-areas:
    "box-1 box-1 box-1 box-2"
    "box-3 box-3 box-3 box-3"
    "box-5 box-5 box-5 box-5"
    "box-6 box-6 box-6 box-6";
}

.image-form-grid-item {
    padding: 5px;
}

#hide-button {
    width: 4rem;
    justify-self: end;
    align-self: center;
    color: black;
    background-color: transparent;
    border: 1px solid black;
    border-radius: 5px;
}

#hide-button:hover {
    color: white;
    background-color: black;
}

#image-form-image-file {
    padding-left: 0;
}

#image-form-image-file::file-selector-button {
    height: 2rem;
    padding-inline: 10px;
    margin-right: 10px;
    border: 1px solid black;
    border-radius: 5px;
    color: black;
    background-color: transparent;
    cursor: pointer;
}

#image-form-image-file::file-selector-button:hover {
    color: white;
    background-color: black;
}

#add-image-button {
    width: 10rem;
    background-color: rgb(203, 216, 228);
    border-radius: 5px;
    color:#2d314d;
}

#add-image-button:hover {
    background-color: rgb(101, 114, 128);
    color: white;
}

.image-form-to-hide {
    overflow: hidden;
    transition: opacity 0.2s ease, height 0.2s ease, margin 0.2s ease, padding 0.2s ease;
}

.image-form-to-hide.hidden {
    opacity: 0;
    height: 0;
    margin-block: 0;
    padding-block: 0;
    pointer-events: none;
}