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

body, html {
    height: 100%;
	font-family: 'Poppins', sans-serif;
}


@media screen and (min-width: 601px){
	.main_text {
		margin-left: auto;
		margin-right: auto;
		width: 50em;
		color: #031f72;
	}
}

@media screen and (max-width: 600px){
	.main_text {
		margin-left: auto;
		margin-right: auto;
		width: 20em;
		color: #031f72;
	}
}


@media screen and (min-width: 1201px){
	.card_container {
		margin-left: auto;
		margin-right: auto;
		width: 80em;
		color: #031f72;
	}
}

@media screen and (max-width: 1200px){
	.card_container {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		width: 40em;
		color: #031f72;
	}
}

@media screen and (max-width: 600px){
	.card_container {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		width: 20em;
		color: #031f72;
	}
}






.logo {
	
	height: 50px;
	float: left;	
	margin-left: 25%;	
	margin-top: 0.65%;

}

@media screen and (max-width: 1100px) {
	.logo {		
		display: none;			
	}
	
}

@media screen and (min-width: 1100px) {
	.mobile_logo {
		display: none;
	}
}

@media screen and (max-width: 450px) {
	nav {
		width: 360px;
	}
}

.mobile_logo {
	height: 38px;
	margin-top: 3%;
}



/* The hero image */
.hero-image1 {
  /* Use "linear-gradient" to add a background effect to the image */
  background-image: linear-gradient(rgba(124, 255, 244, 0.2), rgba(124, 255, 244, 0.2)), url("../img/main/landscape1.jpg");

  /* Set a specific height */
  height: 22em;
  width: 100%;
 

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}


.hero-image2 {
	/* Use "linear-gradient" to add a background effect to the image */
	background-image: linear-gradient(rgba(124, 255, 244, 0.2), rgba(124, 255, 244, 0.2)), url("../img/main/landscape2.jpg");
  
	/* Set a specific height */
	height: 22em;
	width: 100%;
	
  
	/* Position and center the image to scale nicely on all screens */
	background-position: 40% 50%;
	background-repeat: no-repeat;
	background-size:120em;
	position: relative;
  }

  .hero-image3 {
	/* Use "linear-gradient" to add a background effect to the image */
	background-image: linear-gradient(rgba(124, 255, 244, 0.2), rgba(124, 255, 244, 0.2)), url("../img/main/landscape3.jpg");
  
	/* Set a specific height */
	height: 22em;
	width: 100%;
  
	/* Position and center the image to scale nicely on all screens */
	background-position: 40% 50%;
	background-repeat: no-repeat;
	background-size:120em;
	position: relative;
  }

  .hero-image4 {
	/* Use "linear-gradient" to add a background effect to the image */
	background-image: linear-gradient(rgba(124, 255, 244, 0.2), rgba(124, 255, 244, 0.2)), url("../img/main/landscape4.jpg");
  
	/* Set a specific height */
	height: 22em;
	width: 100%;
  
	/* Position and center the image to scale nicely on all screens */
	background-position: 40% 50%;
	background-repeat: no-repeat;
	background-size:120em;
	position: relative;
  }

  .hero-image5 {
	/* Use "linear-gradient" to add a background effect to the image */
	background-image: linear-gradient(rgba(124, 255, 244, 0.2), rgba(124, 255, 244, 0.2)), url("../img/main/landscape4.jpg");
  
	/* Set a specific height */
	height: 22em;
	width: 100%;
  
	/* Position and center the image to scale nicely on all screens */
	background-position: 40% 50%;
	background-repeat: no-repeat;
	background-size:120em;
	position: relative;
  }

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

nav {
	border-bottom: 1px solid rgb(223, 223, 223);
    overflow: hidden; /* will contain if #first is longer than #second */
}


.topnav {
	overflow: hidden;
	margin: auto;
  	width: 35%;
  	padding: 10px;
	margin-left: 25%;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
	float: left;
	color: #0332c2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
	color: #031f72;
  }
  
  /* Add a color to the active/current link */
  .topnav a.active {
	color: #38A89B;
  }

  .topnav .icon {
	display: none;
  }
  
  @media screen and (max-width: 1100px) {
	.topnav a {display: none;}
	.topnav a.icon {
	  color: #0332c2;
	  float: right;
	  display: block;
	}
	.topnav {
		width: 65%;
	}
  }
  
  @media screen and (max-width: 1100px) {
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	.topnav.responsive a {
	  float: none;
	  display: block;
	  text-align: left;
	  margin-left: 40%;
	}
  }

 

@media screen and (min-height: 921px){
	footer {
		font-size: 12px;
		position: fixed;
		left: 0;
		bottom: 0;
		width: 100%;
		color: black;
		text-align: center;
		border-top: 1px solid rgb(223, 223, 223);
	}
}

@media screen and (max-height: 920px){
	footer {
		font-size: 12px;
		left: 0;
		bottom: 0;
		width: 100%;
		color: black;
		text-align: center;
		border-top: 1px solid rgb(223, 223, 223);
	}
}

/* footer {
	font-size: 12px;
	left: 0;
	bottom: 0;
	width: 100%;
	color: black;
	text-align: center;
	border-top: 1px solid rgb(223, 223, 223);
} */



/* CARD */
.card {
	background: #fff;
	border-radius: 2px;
	display: inline-block;
	height: 115px;
	margin: 1rem;
	position: relative;
	width: 200px;
	text-align: center;
  }
  
  .card-1 {
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  }
  
  .card-1:hover {
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }
  
  .card-2 {
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  }
  
  .card-3 {
	box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  }
  
  .card-4 {
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }
  
  .card-5 {
	box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
  }
  

.view_button {
	text-decoration: none;
}



  a {
	  color: #031f72;
  }
  /* People Page */
  .overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.5);
	transition: opacity 200ms;
	visibility: hidden;
	opacity: 0;
}
.overlay.light {
	background: rgba(255, 255, 255, 0.5);
}
.overlay .cancel {
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: default;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}

@media screen and (min-width: 601px){
  
	.contact_text {
	  width: 35%;
	  float: right;
	  display:block;
	}

	.contact_text_mobile {
		display: none;
	}
}

@media screen and (max-width: 600px){
	.contact_text {
		display:none;
	  }

	  .contact_text_mobile {
		display: block;
		margin-left: 4%;
	}

	.address_overflow {
		line-height: 1px;

	}
}
@media screen and (max-width: 299px){
	.contact_text {
		display:block;
	  }

	  .contact_text_mobile {
		display: none;
	}
}

@media screen and (max-width: 600px){
	.popup {
		margin: 75px auto;
		margin-top: 300px;
		padding: 30px;
		background: #fff;
		border: 1px solid #666;
		width: 250px;
		box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
		position: relative;
		z-index: 200;
	}
}

@media screen and (min-width: 601px){
	.popup {
		margin: 75px auto;
		margin-top: 300px;
		padding: 30px;
		background: #fff;
		border: 1px solid #666;
		width: 500px;
		box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
		position: relative;
		z-index: 200;
	}

	.form {
		width: 65%;
		display:inline-block;
	}
}


@media screen and (max-width: 600px){
	.popup {
		margin: 75px auto;
		margin-top: 300px;
		padding: 30px;
		background: #fff;
		border: 1px solid #666;
		width: 250px;
		box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
		position: relative;
		z-index: 200;
	}
}


.light .popup {
	border-color: #aaa;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.popup h2 {
	margin-top: 0;
	color: #666;
	font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}
.popup .close {
	position: absolute;
	width: 20px;
	height: 20px;
	top: 20px;
	right: 20px;
	opacity: 0.8;
	transition: all 200ms;
	font-size: 24px;
	font-weight: bold;
	text-decoration: none;
	color: #666;
}
.popup .close:hover {
	opacity: 1;
}
.popup .content {
	max-height: 400px;
	overflow: auto;
}
.popup p {
	margin: 0 0 1em;
}
.popup p:last-child {
	margin: 0;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
	width: 100%; /* Full width */
	padding: 12px; /* Some padding */ 
	border: 1px solid #ccc; /* Gray border */
	border-radius: 4px; /* Rounded borders */
	box-sizing: border-box; /* Make sure that padding and width stays in place */
	margin-top: 6px; /* Add a top margin */
	margin-bottom: 16px; /* Bottom margin */
	outline: none;
  }
  
  /* Style the submit button with a specific background color etc */
  button[type=submit] {
	background-color: #031f72;
	color: #FFF;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
  }
  
  /* When moving the mouse over the submit button, add a darker green color */
  button[type=submit]:hover {
	background-color: #0332c2;	
  }

  
  /* Add a background color and some padding around the form */
  .contact-form {
	border-radius: 5px;	
	margin: auto;
  	width: 50%;
  	padding: 10px;	
  }


  textarea {
	resize: none;
	height: 10em;
  }

  .error {
	  color: #d81939;
	  text-align: center;
  }

  .success {
	  color: #19d863;
	  text-align: center;
  }

