body {
  height: 600px;
}

.about-link {
  background: #0080a6;
  border-radius: 5px;
  color: #ffffff;
  font-size: 1.08em;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.contact {
  display: none;
  position: fixed;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fafafa;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 25px;
  margin-top: 30px;
  text-align: center;
  box-shadow: 0 0 13px 0px #000;
}

.contact .close-btn {
  position: absolute;
  top: 20px;
  right: 14px;
  background: none;
  border: 0;
  color: dimgrey;
}

@media (min-width: 568px) {
  .contact {
    width: 50%;
  }
}

.emailForm label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: .7em;
  color: #555;
  width: 47%;
}

.emailForm textarea {
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  width: 100%;
  height: 20vh;
  resize: none;
  color: #555;
}

@media (min-width: 768px) {
  .emailForm textarea {
    height: 30vh;
  }
}

@media (max-height: 670px) {
  .emailForm textarea {
    margin: 0;
    height: 15vh;
  }
}

.emailForm input {
  width: 100%;
  margin-top: 5px;
}

@media (max-width: 500px){
  .emailForm input[type="text"],
  .emailForm input[type="email"] {
    display: block;
  }
  .emailForm label {
    width: 80%;
  }
}

.emailForm button[type=submit] {
  width: 40%;
  cursor: pointer;
  margin-top: 15px;
  color: #555;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}

@media (max-width: 375px) {
  .g-recaptcha {
    transform: scale(.77);
  }
}

.emailFormAlert {
  color: red;
  margin-top: 5px;
  height: 20px;
  font-size: 1.1em;
}

.contact .close-btn:hover {
  cursor: pointer;
  outline: none;
}

@media (max-height: 465px){
  .contact {
    height: 85vh;
    margin-top: 40px;
    overflow: auto;
  }
  .emailForm textarea {
    height: 20vh;
  }
}