.image_form{
    margin: 20px auto;
    border-radius: 20px;
    background: #ffffffcd;
    padding: 20px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 40%;
}

.image_form .hidden{
    display: none;
}

.image_form #form_header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0px 10px;
    align-items: center;
}

.image_form #image_form_title{
    color: #3b3b3b;
}

.image_form #form_header .btn{
    margin: 0px 10px 0px 10px;;
    padding: 8px 16px;
}

.image_form input{
    width: 50%;
    border: none;
    margin: 10px 20px;
}

.image_form textarea{
    width: 80%;
    height: 22px;;
    margin: 10px 20px;
    border: none;
}

.form_input{
    background: rgba(170, 170, 170, 0.615);
    margin: 10px 0px;
    padding: 10px 5px;
    border-radius: 10px;
    font-size: 16px;
}

.form_input::placeholder{
    color: rgb(72, 72, 72);
}

/* hiding second upload button logic: https://stackoverflow.com/questions/572768/styling-an-input-type-file-button */
.file-upload input[type="file"] {
  display: none;
}

.file-upload {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 10px 20px;
}

.file-btn {
  background-color: #a0a0a0 !important; 
  color: white;
  border: none;
  padding: 10px 20px !important;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin: 0 !important;
  width: auto !important;
}

.file-upload #file-name {
  margin: 0;
  padding: 10px 15px;
  flex: 1;
}

.btn{
    margin: 10px 0px 0px 65%;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 20px;
    width: 30%;
    border: none;
    background: #ea96d983;
}

.comment_form {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    box-sizing: border-box;
    justify-content: space-between;
}

.comment_form #comment_author{
    background: #d7d7d778;
    border: none;
    width: 40%;
}

.comment_form #comment_content{
    flex-shrink: 0;
    min-width: 60%;
    background: #d7d7d778;
    border: none;
    resize: none
}

.comment_form .btn{
    margin: 0 auto 0 10%;
    padding: auto 0px;
}

#enter-comment{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.complex_form {
  margin-top: 20px;
  border-radius: 10px;
  border: 2px #3c3d3f solid;
  padding: 20px 10px 10px 10px;
  display: flex;
  flex-direction: column;
}

.complex_form .form_title {
  font-size: 20px;
  font-weight: bold;
  margin: -20px -10px 20px -10px;
  padding: 10px 0px 10px 25px;
  color: white;
  background-color: #3c3d3f;
  border-radius: 7px 7px 0px 0px;
}

.complex_form .form_radio {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.complex_form .form_element {
  margin-bottom: 10px;
  font-size: 20px;
  border-radius: 10px;
  padding: 5px 10px 5px 10px;
}