body {
  transition: 1s ease;
}

.contactSection {
  width: 100vw;
  height: auto;
  padding: 8rem 0;
  background-image: url(../images/maroon.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contactDiv {
  width: 60%;
  height: auto;
  background: white;
  border: 20px solid transparent;
  border-image: url(../images/maroon.jpg) 100 round;
  box-shadow: 0 0 10px black,
    0 0 15px black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.contactDiv h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 2vw + 1px, 3rem);
}

form {
  display: flex;
  flex-direction: column;
  width: 70%;
}

form label {
  font-size: 1.4rem;
  color: black;
  font-weight: 600;
}

form input,
textarea {
  border: none;
  background: transparent;
  border-bottom: 2px solid maroon;
  min-height: 2rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: black;
  padding-top: 0.5rem;
}

form textarea {
  resize: none;
}

form button {
  width: 7rem;
  border-radius: .5rem;
  padding: 0.5rem 0;
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  background: maroon;
  color: white;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 400ms ease;
}

form button:hover {
  filter: brightness(0.7);


}

footer {
  border-top: .5rem solid white;
}




@media(max-width:1024px) {
  .contactDiv {
    width: 80%;
  }

  .contactDiv p {
    width: 70%;
  }
}

@media(max-width:768px) {
  .contactDiv {
    width: 90%;
  }

  .contactDiv p {
    width: 75%;
  }
}