body {
  width: 100vw;
  text-align: center;
}

/* Adding background image and styling contact container */
.contact {
  position: relative;
  min-height: 100vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  background-size: cover;
}

.contact .content {
  max-width: 800px;
  text-align: center;
}

/* Creating a blurred container to put content on */
.blur {
  background-color: #333;
  width: 70%;
  height: 80vh;
  border-radius: 50px;
}

/* Styling h2's */
.contact .content h2 {
  font-size: 37px;
  font-weight: 500;
  color: white;
  margin: auto;
}

/* Styling p's */
.contact .content p {
  font-weight: 300;
  color: white;
  margin: auto;
}

/* Centering withing container */
.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.container .contactInfo {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.container .contactInfo .box {
  position: relative;
  padding: 20px 0;
  display: flex;
}

/* Styling and positioning icons */
.container .contactInfo .box .icon {
  min-height: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.container .contactInfo .box .text {
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  flex-direction: column;
  font-weight: 300;
  color: white;
}

.container .contactInfo .box .text h3 {
  font-weight: 500;
  color: white;
}

.contactForm {
  width: 40%;
  padding: 40px;
  background: #424952;
  border-radius: 20%;
  margin-top: 50px;
}

.contactForm h2 {
  font-size: 40px;
  font-weight: 500;
}

.contactForm .inputBox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

/* Styling input and textarea, resize: none; stops text area from being resized */
.contactForm .inputBox input,
.contactForm .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid white;
  outline: none;
  resize: none;
  background-color: #424952;
}

.form-h2 {
  color: white;
}

.contactForm .inputBox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: white;
}

/* Setting up a transition of text when clicking on input or text area box */
.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span {
  color: white;
  font-size: 12px;
  transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"] {
  width: 100px;
  background: #4266b3;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
}

.dots {
  opacity: 0;
}
