/* Contact Form Styling */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap'); /* Google Fonts */

/* CSS Reset */
.contact-form-section, .contact-form-section * {
	 padding: 0;
	 margin: 0;
	 outline: none;
	 font-family: 'Poppins', sans-serif;
	 box-sizing: border-box;
}

.contact-form-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #f2f2f2;
}

body {
	 height: 100vh;
	 display: flex;
	 flex-direction: column;
	 min-height: 100vh;
	 background: #f2f2f2;
}

/* Contact form */
.contact-form {
	 width: 80vw;
	 display: flex;
	 justify-content: space-between;
	 background: #fff;
	 margin: 50px 0;
}

.contact-form > * {
	 width: 50%;
}

/* Left section of the form */
.contact-form .first-container {
	 background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("https://upload.wikimedia.org/wikipedia/commons/a/aa/AlfedPalmersmokestacks.jpg") center center / cover no-repeat;
	 display: flex;
	 justify-content: center;
	 align-items: center;
}

/* Right section of the form */
.contact-form .first-container .info-container div {
	 margin: 24px 0;
}

/* Title */
.contact-form .first-container .info-container div h3 {
	 color: #fff;
	 font-size: 18px;
	 font-weight: 400;
	 line-height: 1.2;
	 padding-bottom: 10px;
}

/* Text */
.contact-form .first-container .info-container div:first-of-type p {
	 max-width: 260px;
	 color: #999;
}

.contact-form .first-container .info-container div p {
	 font-size: 16px;
	 line-height: 1.6;
	 color: #00ad5f;
}

.contact-form .second-container {
	 padding: 30px;
}

/* Title */
.contact-form .second-container h2 {
	 font-size: 30px;
	 font-weight: 400;
	 color: #333;
	 line-height: 1.2;
	 text-align: center;
	 margin-bottom: 20px;
}

/* Form */
.contact-form .second-container form {
	 display: flex;
	 flex-direction: column;
}

/* Form group */
.contact-form .second-container form .form-group {
	 margin-bottom: 10px;
}

/* Form group elements */
.contact-form .second-container form .form-group * {
	 min-height: 55px;
	 border: 1px solid #e6e6e6;
	 padding: 0 20px;
}

/* Label */
.contact-form .second-container form .form-group label {
	 display: flex;
	 align-items: center;
	 width: 100%;
	 border: 1px solid #e6e6e6;
	 font-size: 16px;
	 color: #333;
	 text-transform: uppercase;
	 margin-top: -1px;
}

/* Input */
.contact-form .second-container form .form-group:first-of-type input {
	 width: 50.1%;
	 margin-right: -5px;
}

.contact-form .second-container form .form-group input {
	 width: 100%;
	 font-size: 15px;
	 margin-top: -2px;
}

/* Input placeholder */
.contact-form .second-container form .form-group input::placeholder, .contact-form .second-container form .form-group textarea::placeholder {
	 color: #999;
}

/* Textarea */
.contact-form .second-container form .form-group textarea {
	 width: 100%;
	 min-height: 80px;
	 resize: none;
	 padding: 10px 20px;
	 margin-top: -1px;
}

/* Submit button */
.contact-form .second-container form button {
	 width: 200px;
	 height: 50px;
	 background: #00ad5f;
	 color: #fff;
	 font-size: 17px;
	 font-weight: 600;
	 text-transform: uppercase;
	 border: 0;
	 position: relative;
	 left: calc(50% - 100px);
	 cursor: pointer;
}

/* Submit button hover */
.contact-form .second-container form button:hover {
	 background: #333;
}

/* Responsive */
@media screen and (max-width: 800px) {
	 .contact-form {
		 width: 90vw;
	}
}

/* Responsive */
@media screen and (max-width: 700px) {
	 .contact-form {
		 flex-direction: column-reverse;
	}
	 .contact-form > * {
		 width: 100%;
	}
	 .contact-form .first-container {
		 padding: 40px 0;
	}
}

/* Thank you message */
#thankYouMessage {
  	display: none;
  	text-align: center;
  	padding: 10px;
  	background-color: #4CAF50;
  	color: #fff;
  	margin-bottom: 10px;
	font-size: 17px;
}