body {
  background-color: white;
  color: #333333;
  font-family: serif;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

div.field_label {
  
}

div.field_element {
  
}

div.field_help_text {
  
}

div.field_errors {
  
}

input#id_url, textarea#id_fragment_start, textarea#id_fragment_end, input[type="submit"] {
  border: 2px solid #339966;
  border-radius: 4px;
}

input[type="submit"] {
  background-color: #339966;
}

input#id_is_temporary {
}


form.create_form {
  display: flex;
  flex-direction: column;
}

div.field_label {
  font-weight: bold;
}

div.field_errors {
  margin-bottom: 4px;
}

@media screen and (max-width: 600px) {
  div.form_fields {
    display: flex;
    flex-direction: column;
  }

  form.create_form, div.form_fields {
    align-items: center;
  }

  #id_url, #id_fragment_start, #id_fragment_end {
    width: 90%;
  }
}

@media screen and (min-width: 601px) {
  form.create_form, div.form_fields {
    align-items: stretch;
  }

  div.form_fields {
    display: grid;
    grid-template-columns: 200px 400px;
  }

  #id_url, #id_fragment_start, #id_fragment_end {
    width: 390px;
  }
  
  div.field_element:has(#id_is_temporary) {
    text-align: center;
  }
  
  div.errors {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  
  div.button_create {
    grid-column-start: 2;
    grid-column-end: 3;
    margin-top: 4px;
  }

}
