@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* * {
	margin:0;
	padding:0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	/* font-smoothing:antialiased; */
	/* text-rendering:optimizeLegibility; */
/* }  */

/* .error{
	color:red;
} */

.success {
	color:#4BB543;
	text-align:center;
	font-weight: bold;
	font-size:14px;
}

.error {
	color:red;
	text-align:center;
	font-weight: bold;
	font-size:14px;
}


.container_email {
  padding: 5px;
  margin:0 auto;
  font-family: "Poppins", sans-serif;
  /* The css below this comment for this class was inspired by https://www.youtube.com/watch?v=Hqel9Kjh1ws */
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea, #contact button[type="submit"] { font:400 12px/16px "Open Sans", Helvetica, Arial, sans-serif; }

#contact {
	/* padding:25px; */
	padding: 5px 25px;
	margin:50px 0;
  font-weight: 600;
  color: #333;
  box-shadow: 0 5px 30px rgb(0 0 0 / 30%);
  background: #fff;
}

#contact h3 {
	display: block;
	font-size: 30px;
	/* font-weight: 400; */
  text-align: center;
  /* padding-bottom: 15px; */
  color:#FF725E;
}

#contact h4 {
	margin:5px 0 15px;
	display:block;
	font-size:13px;
}

fieldset {
	border: medium none !important;
	margin: 0 0 10px;
	min-width: 100%;
	padding: 0;
	width: 100%;
}

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea {
	width:100%;
	border:1px solid #CCC;
	background:#FFF;
	margin:0 0 5px;
	padding:10px;
}

#contact input[type="text"]:hover, #contact input[type="email"]:hover, #contact input[type="tel"]:hover, #contact input[type="url"]:hover, #contact textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:1px solid #AAA;
}

#contact textarea {
	height:100px;
	max-width:100%;
  resize:none;
}

#contact button[type="submit"] {
	/* cursor:pointer;
	width:100%;
	border:none;
	background:#FF4444;
	color:#FFF;
	margin:0 0 5px;
	padding:10px;
	font-size:15px; */
	cursor: pointer;
    border: none;
    background: #FF725E;
    color: #FFF;
    margin: 0 0 5px;
    border-radius: 15rem;
    float: right;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
	transition: .3s;
	font-weight: 500;
}

#contact button[type="submit"]:hover {
	background:white;
  color: #FF725E;
  /* border: 1px solid #FF4444; */
  box-shadow: 2px 2px 30px rgb(0 0 0 / 20%);
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active { box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact input:focus, #contact textarea:focus {
	outline:0;
	border:1px solid #999;
}
::-webkit-input-placeholder {
 color:#888;
}
:-moz-placeholder {
 color:#888;
}
::-moz-placeholder {
 color:#888;
}
:-ms-input-placeholder {
 color:#888;
}


#contactInfoPlus{
  display: block;
  /* max-width: 360.36px; */
  height: 250px;
  /* width: 100%; */
  color: black;
  list-style: none;
}

/* .contact-list {
    margin-left: -30px;
    padding-right: 20px;
} */


.list-item {
    line-height: 4;
    display: table;
    /* padding-left: 15%; */
}

.contact-text {
    font: 300 18px "Poppins", sans-serif;
    letter-spacing: 0.9px;
    padding-left: 10px;
}

.place {
    margin-left: 29px;
}

.contact_image{
	width:50%;
}

.contact_image_mobile{
	display: none;
}	

/* https://stackoverflow.com/questions/37478263/how-to-apply-media-query-to-only-certain-width-range */

@media screen and (min-width: 975px){
	#contact_info{
		height:100vh;
	}
	.contact_image img{
		width: 100%;
	}	
} 

/* Device width is smaller than... */
@media screen and (max-width: 975px) {

	.container_email{
		flex-wrap: nowrap;
		flex-direction: column-reverse;
	}

	#contact_info{
		height:auto;
	}

	.contact_image{
		width: 100%;
		padding: 2.5rem 0;
		max-width: 700px;
		margin: 0 auto;
	}

	.contact_image img{
		width: 100%;
	}		

}


/* If the browser window is 640px or smaller */
@media only screen and (max-width: 640px) {

	.container_email{
		flex-wrap: nowrap;
		flex-direction: column;
	}

    #contactInfoPlus{
      margin-left: 5%;
      letter-spacing: 0px;
    }

    .contact-text {
    letter-spacing: 0px;
    }

    .place{
      margin-left:0px;
    }

	.contact_image{
		display:none;
	}

	.contact_image_mobile{
		display: block;
		width: 100%;
	}
}
