#contact {
  line-height: 1.5;
  width: 80%;
  margin: 75px auto;
  max-width: 1000px;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  flex-grow: 1;
}

#contact-logo {
  display: flex;
  justify-content: center;
  margin: 32px;
}

#contact-logo img {
  max-width: 350px;
  max-height: 300px;
}

#contact-text {
  font-size: 22px;
  display: flex;
  max-width: 775px;
  text-align: center;
  flex-direction: column;
}

#contact-number {
  margin-top: 32px;
}

#submitted-text {
  font-size: 22px;
  margin-top: 80px;
  display: none;
  text-align: center;
}

#submitted-text.show {
  display: flex;
}

#contact-form {
  font-size: 18px;
  line-height: 1.5;
  margin-top: 20px;
  width: 100%;
}

#error-message {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 16px;
  border-radius: 4px;
  display: none;
  justify-content: center;
  opacity: 0;
  transition: opacity 500ms linear;
}

#error-message.visible {
  display: flex;
}

#error-message.fade-in {
  opacity: 1;
}

#contact-form h2 {
  font-family: 'Bree Serif', serif;
  text-align: center;
  margin: 16px 0;
  font-size: 34px;
}

#contact-first-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.required-input-wrapper,
.input-wrapper {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
}

.required-input-wrapper select,
.required-input-wrapper input,
.input-wrapper select,
.input-wrapper input {
  padding: 6px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  font-size: 18px;
}

.required-input-wrapper select:focus,
.required-input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper input:focus {
  outline: none !important;
  border: 1px solid var(--light-blue);
  border-radius: 4px;
}

.required-input-wrapper label::before {
  content: "*";
  color: red;
  margin-right: 3px;
}

#submit-btn {
  transition: all 0.3s ease;
  padding: 12px 15px;
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: 3px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--orange);
  justify-content: center;
  display: flex;
  max-width: 275px;
  cursor: pointer;
  width: 175px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
}

#submit-btn:hover,
#submit-btn:focus,
#submit-btn:active {
  background-color: var(--orange);
  color: var(--white);
}

@media (max-width: 899.98px) {
  #contact #contact-form #contact-first-row {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
  }
}
