form {
  max-width: 550px;
  margin: 0 auto;
  border-radius: 10px;
  padding: 15px;
  background: #d4af37;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="time"],
input[type="date"],
input[type="tel"],
textarea {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 5px;
  border: 2px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

#submitbutton{
  display: block;
  width: 100%;
  background-color: #0d0e0a;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}

#submitbutton:hover ,.form-button-cl:hover{
  color:#d4af37;
}

.error {
  color: #ff0000;
  font-size: 14px;
  margin-top: 5px;
}


#main{
  background: transparent;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

@media (max-width: 992px){
  #main{ background-size: contain;}
}

#form-class{
  position:left;
  flex: auto;
}

#imFot{
  max-width: 150px;
  margin-bottom: 15px;
}

#thank{
  font-size: xxx-large;
  color: #1c1c06;
  margin: 0 auto;
  text-align: center;
  font-weight: bold;
  display: block;
  padding: inherit;
}