@font-face {
  font-family: built;
  src: url(../font/built_titling_rg-webfont.woff);
}

@font-face {
  font-family: built-bd;
  src: url(../font/built_titling_bd-webfont.woff);
}

@font-face {
  font-family: elegant;
  src: url(../font/elegant_handwriting-webfont.woff);
}

@font-face {
  font-family: lato;
  src: url(../font/lato-regular-webfont.woff);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-image: url(../img/4fea3bf0-c612-11ec-91ac-aa8ab73a9bfa_mari_la_mora_cover_1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.bg {
  background-color: rgba(0, 0, 0, 0.4);
  height: 100vh;
  display: flex;
  align-items: center;
}

#contactForm {
  width: 100%;
  max-width: 900px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  margin: 0 auto;
  padding: 50px;
}

.inputWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px;
}

h1 {
  font-family: elegant;
  font-size: 70px;
  text-align: center;
  color: #522473;
  text-shadow: 2px 3px #b373af;
}

input {
  outline: none;
  border: 2px solid #522473;
  border-radius: 5px;
  width: 100%;
  max-width: 300px;
  height: 60px;
  margin: 20px;
  padding-left: 20px;
  font-size: 17px;
  font-family: lato;
}
input:focus {
  border-color: #b373af;
}

textarea {
  outline: none;
  border: 2px solid #522473;
  border-radius: 5px;
  width: 100%;
  max-width: 300px;
  height: 260px;
  margin: 20px;
  padding-left: 20px;
  padding-top: 20px;
  font-size: 17px;
  font-family: lato;
  resize: none;
}

textarea:focus {
  border-color: #b373af;
}

.buttonWrapper {
  width: 100%;
  text-align: center;
}

button {
  width: 100%;
  max-width: 120px;
  background-color: #522473;
  outline: none;
  border: none;
  border-radius: 5px;
  padding: 10px;
  color: white;
  font-size: 18px;
  font-family: lato;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.5s ease-out;
}

button:hover {
  background-color: #b373af;
  color: white;
}

@media only screen and (max-width: 800px) {
  #contactForm {
    padding: 10px;
  }

  .inputWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  input {
    width: 100%;
    max-width: 270px;
    margin: 10px;
  }

  textarea {
    width: 100%;
    max-width: 270px;
    margin: 0;
    margin-top: 10px;
  }

  button {
    margin-top: 0;
  }

  h1 {
    font-size: 40px;
    padding-top: 10px;
  }
}
