body, html {
  height: 100%
}

.backgroundimg {
  position: relative;
  background-image: url("../img/wedding.jpeg");
  background-color: #cccccc;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  height: 100%;
}

.text {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Lexend', sans-serif;
  font-size: 2.5vh;
  color: white;
  text-align: center;
  text-shadow: 0px 2px 5px rgba(255, 255, 255, 0.4);
}

h1 {
    white-space: nowrap;
    margin-bottom: 1vh;
}

h3 {
    margin-top: 1vh;
}

hr {
  margin: auto;
  width: 60%;
  border: .05vh solid white;
}

form {
  position: absolute;
  display: inline-block;
  left: 10%;
  width: 80%;
  top: 85%;
  padding: 2px;
  box-sizing: border-box;
}

button {
  box-sizing: border-box;
  width: 100%;
  transition-duration: 0.4s;
  background-color: grey;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-family: 'Lexend', sans-serif;
}

button:hover {
  background-color: white;
  color: black;
}

@media only screen and (min-width: 1024px) {
  text {
    bottom: 20%;
  }
  form {
    left: 40%;
    width: 20%;
  }
}
