.contactForm {
  font-family: var(--font-3);
  max-width: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-shadow: 4px 3px 12px black;
}

.contactForm h1 {
  font-family: var(--font-2);
  text-align: center;
  margin: 24px 12px;
}

.contactForm form div {
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  font-size: 1.1em;
}
.contactForm form div input {
  outline: none;
  width: 250px;
  padding: 2px 8px;
  font-size: 1em;
  margin-top: 4px;
  border: none;
  border-bottom: 2px solid white;
  color: white;
  background: transparent;
}

#form-check {
  flex-direction: row;
  margin-bottom: 12px;
}

#form-check input {
  width: 20px;
  margin: 0;
  margin-right: 8px;
}

#clientConcern textarea {
  font-family: var(--font-3);
  font-size: 1em;
  border: none;
  border-bottom: 2px solid white;
  color: white;
  outline: none;
  background: transparent;
  margin-top: 12px;
}

/* alert css */
.panel {
  position: absolute;
  top: 10%;
  flex-direction: column;
}

.alert {
  background: rgba(159, 159, 159, 0.95);
  box-shadow: 2px 0 2px rgba(128, 128, 128, 0.521),
    2px 0 2px rgba(128, 128, 128, 0.521);
  color: black;
  padding: 45px;
  max-width: 200px;
  border-radius: 23px;
  line-height: 1.4em;
  font-family: var(--font-1);
  font-weight: bolder;
  position: absolute;
}

.d-none {
  display: none;
}

.show {
  display: block;
}

.text-success {
  color: greenyellow;
}
.text-danger {
  color: red;
}

#failure-close,
#success-close {
  font-size: 1.5em;
  background: none;
  border: none;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
}

.invalid-feedback {
  padding-top: 8px;
  display: none;
}

.is-invalid {
  display: block;
}

footer {
  color: white;
  text-align: center;
  padding: 12px;
  font-family: var(--font-1);
  border-top: 2px solid white;
  background-color: black;
}
footer a {
  color: gray;
  text-decoration: none;
  font-weight: bolder;
}

.contactFooter {
  margin-top: 34px;
}

.footerContactDetails img {
  width: 50px;
  filter: invert();
  position: relative;
  top: 14px;
  padding: 0 8px;
  margin: 8px;
  opacity: 0.7;
}

.footerContactDetails img:hover {
  opacity: 1;
}

/* media querry for small device */
@media (max-width: 995px) {
  .home-contact-form {
    display: none;
  }
}
