/* Global Styles */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	font-size: 62.5%;
}
body {
	font-family: "Poppins", sans-serif;
}
a {
	color: white;
	text-decoration: none;
	font-size: 1.8rem;
}
h1 {
	font-size: 3rem;
}
li,
label,
input,
p {
	font-family: Poppins, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 2rem;
	line-height: 5.5rem;
}
p2 {
	font-family: Poppins, sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 1.6rem;
	line-height: 3.6rem;
}
h2 {
	font-size: 7.2rem;
	padding: 3rem;
}
h3 {
	font-size: 3.6rem;
	font-weight: normal;
	padding: 3rem;
}
h4 {
	font-family: Poppins, sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 4.8rem;
	line-height: 126.19%;
	padding: 2rem;
}
h5 {
	font-size: 2.8rem;
}
button {
	font-family: Poppins, sans-serif;
	font-style: normal;
	font-weight: normal;
	padding: 1rem 2rem;
	background: #f0543d;
	border: none;
	border-radius: 0.4rem;
	color: white;
	font-size: 2rem;
	font-weight: bold;
	cursor: pointer;
	margin-top: 3rem;
	margin-bottom: 3rem;
	padding: 1rem 2rem;
	max-width: 80%;
	align-self: center;
}

/*Nav Section with Hero*/

.main-head {
	background: #050b2f;
	color: white;
}
nav {
	display: flex;
	flex-wrap: wrap;
	width: 90%;
	min-height: 10vh;
	margin: auto;
	padding: 2rem;
	align-items: center;
}
.logo-group {
	display: flex;
	flex-direction: row;
	align-items: center;
}
nav ul {
	display: flex;
	flex: 1 1 55rem;
	justify-content: space-around;
	align-items: center;
	list-style: none;
	padding: 0rem 2rem 0rem 10rem;
}
li a:hover {
	color: #f0543d;
}
/* Dropdown Menu */

/* Container <div> to position the dropdown content */
.dropdown {
	position: relative;
	display: inline-block;
}
/*Dropdown Conntent (Hidden by Default)*/
.dropdown-content {
	background-color: #050b2f;
	display: none;
	position: absolute;
	min-width: 250px;
}
.dropdown-content a {
	font-size: 1.6rem;
	line-height: 6rem;
}
/* Show dropdown menu on hover */
.dropdown:hover .dropdown-content {
	display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {
	color: #f0543d;
}

/* Activeplan Header Logo */
img {
	height: 10rem;
}
#logo {
	flex: 2 1 40rem;
	padding: 2rem;
}

body {
	background-image: url("illustrations/background1.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* Hero Section */

.hero {
	min-height: 90vh;
	background: linear-gradient(#111a51, #111a51, transparent);
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-bottom: 10rem;
	flex-wrap: wrap;
}
.top-row {
	display: flex;
	justify-content: space-around;
	flex-direction: row;
	max-width: 80%;
	margin: auto;
	padding-bottom: 5rem;
	padding-top: 5rem;
	flex-wrap: wrap;
}
.text-deco {
	display: flex;
	flex-direction: row;
	max-width: 50%;
}
.hero-dots {
	height: 35rem;
	padding: 5rem 2rem 2rem 2rem;
}
.hero3 {
	width: 100%;
	margin: 5rem;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex: 1 1 55rem;
}
.hero-illustration {
	height: auto;
	min-height: 35rem;
	max-height: 40rem;
}
.hero-dashes {
	max-width: 80rem;
}
.card {
	max-width: 80%;
	margin: auto;
	padding: 5rem;
	display: flex;
	flex-direction: column;
	text-align: center;
	color: #050b2f;
	background: white;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	border-radius: 4px;
}
.card-text-photo {
	display: flex;
	flex-direction: row;
	max-height: 45rem;
}
.card img {
	min-width: 50%;
	height: auto;
	max-height: 80%;
	object-fit: cover;
	overflow: hidden;
	padding: 2rem;
}
.card h4 {
	padding-bottom: 4rem;
}
.card p {
	padding: 2rem;
	text-align: left;
}

/* What we do section */

.what-we-do {
	min-height: 90vh;
	color: #050b2f;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding-bottom: 5rem;
}
.intro {
	max-width: 55%;
	padding-bottom: 5rem;
	padding-top: 5rem;
}
.intro h4 {
	padding: 2rem;
}
.cards {
	width: 90%;
	margin: auto;
	display: flex;
	min-height: 70vh;
	flex-wrap: wrap;
	justify-content: center;
}
.small-card {
	flex: 1 1 25rem;
	min-height: 40vh;
	min-width: 30%;
	max-width: 30%;
	margin: 2rem 2rem;
	padding: 2rem;
}
.small-card img {
	max-width: 30%;
	margin: 2rem;
}
.small-card h5 {
	margin: 2rem 0rem;
}
.small-card-text {
	text-align: left;
}

/* Benefits Section */

.benefits {
	min-height: 90vh;
	background: linear-gradient(transparent, #111a51);
	color: #050b2f;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding-top: 5rem;
	padding-bottom: 5rem;
}
.top-section {
	max-width: 70%;
	display: flex;
	flex-direction: row;
	padding: 2rem;
}
.top-section p {
	text-align: left;
}
.dots-top {
	height: 50vh;
	margin-right: 5rem;
	margin-top: 2rem;
}
.dots-bottom {
	height: 50vh;
	margin-left: 5rem;
	margin-bottom: 2rem;
}
.benefit-cards {
	width: 90%;
	margin: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	padding: 2rem;
}
.benefit-card {
	color: white;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	max-height: 80rem;
	max-width: 25%;
	margin: 8rem;
	flex: 1 1 10rem;
}
.benefit-card img {
	height: 30rem;
}
.benefit-card h5 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.benefit-card-text {
	text-align: left;
}

/* Footer Section */
footer {
	background-color: #050b2f;
	min-height: 15vh;
	padding-bottom: 10rem;
	display: flex;
}
.footer-nav ul {
	padding: 2rem 10rem;
}
.footer-nav img {
	height: 4rem;
}
.footer-nav li {
	display: flex;
	justify-content: center;
}
.footer-nav a {
	display: flex;
	justify-content: center;
}

/* NEXT PAGE!! Solutions1 css */
.solutions1-content {
	background: linear-gradient(#aabad6, transparent, transparent, #aabad6);
	padding: 5rem;
	display: flex;
	flex-direction: column;
}
.solutions1-card {
	background: white;
	max-width: 85%;
	margin: auto;
	padding: 5rem;
	color: #050b2f;
	text-align: center;
	border-radius: 0.4rem;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.solutions1-card ul {
	text-align: left;
	max-width: 55%;
	padding: 4rem;
}

.card-text-video {
	display: flex;
	flex-direction: row;
	min-width: 90%;
	text-align: left;
}
.card-text-video li {
	font-size: 1.8rem;
	line-height: 3.6rem;
	margin: 1.5rem 0rem;
}
.card-text-video p2 {
	padding: 0rem 2rem;
}
video {
	max-width: 100%;
	padding: 4rem 2rem 2rem 2rem;
}
.video-caption {
	display: flex;
	flex-direction: column;
	min-width: 55%;
}
.s1cards {
	max-width: 90%;
	margin: auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	padding: 2rem;
}

.s1card {
	min-width: 30%;
	max-width: 50%;
	padding: 4rem;
	display: flex;
	flex-direction: row;
}
.s2card {
	min-width: 65%;
	max-width: 50%;
	padding: 4rem;
	display: flex;
	flex-direction: row;
}
.s2card li {
	font-size: 1.6rem;
	list-style-position: inside;
}
.s1icon {
	width: 5rem;
	margin: 0rem 2rem;
	height: 5rem;
}
.s1illustration {
	height: 30rem;
	padding: 0rem 2rem 0rem 0rem;
}
.s1card h5 {
	padding: 0rem 0rem 2rem 0rem;
}
.s1-title-text li {
	line-height: 3.6rem;
}
.s1-title-text h5 {
	padding-bottom: 2rem;
}
/* About Page */
.who-we-are {
	align-items: center;
	margin: auto;
	max-width: 65%;
	padding: 5rem;
}
.who-we-are h4 {
	text-align: center;
}
.meet-the-team {
	margin: auto;
	padding: 5rem;
	display: flex;
	flex-direction: column;
}
.meet-the-team h4 {
	text-align: center;
}
.profile-cards {
	max-width: 90%;
	margin: auto;
	padding: 5rem;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
}
.profile-card {
	display: flex;
	flex-direction: row;
	max-width: 45%;
	margin: 2rem;
}
.profile-pic {
	margin: 2rem;
}
.trans-logo {
	align-self: center;
	margin: 10rem;
	height: 60%;
}

/* Contact Page */
#contact {
	display: flex;
	align-items: center;
	justify-content: center;
}
form {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.form-wrapper {
	background: white;
	padding: 2rem 5rem;
	margin: 5rem;
	width: 70%;
	border-radius: 0.4rem;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.form-head {
	text-align: center;
	padding: 2rem;
}
.form-head p {
	padding: 2rem;
}
.name-form,
.email-form,
.subject-form,
.message-form {
	padding: 0rem;
	text-align: left;
	width: 80%;
}
.form-wrapper button {
	width: 40%;
	margin-bottom: 6rem;
}
input[type="text"],
textarea {
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	resize: vertical;
	font-size: 1.8rem;
	font-family: poppins;
	font-weight: 300;
}
button[type="submit"]:hover {
	background-color: #2669e6;
}
.message-form input {
	height: 20rem;
}
.check-box a {
	color: #2669e6;
	text-decoration: underline;
	font-size: 2rem;
}
.check-box {
	align-self: flex-start;
	padding: 2rem 0rem 2rem 10rem;
}

/* Credits */
.credits-text a {
	color: #2669e6;
	font-size: 2rem;
}
.credits {
	display: flex;
	justify-content: center;
	text-align: center;
	min-height: 70vh;
}

/* Terms of Use */
.terms-of-use {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.form-wrapper-terms {
	width: 80%;
	padding: 10rem;
}
.form-wrapper {
	width: 80%;
	padding: 10rem;
}
.terms-head {
	text-align: center;
}
.terms-text {
	max-width: 100%;
}
pre {
	font-family: Poppins;
	font-style: normal;
	font-weight: normal;
	font-size: 2rem;
	white-space: pre-line; /* Webkit */
	white-space: -moz-pre-wrap; /* Firefox */
	white-space: -pre-wrap; /* Opera <7 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* IE */
	margin: 10rem;
}
/* privacy */
.privacy {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 70vh;
}
.privacy-text {
	text-align: center;
}

@media screen and (max-width: 1624px) {
	html {
		font-size: 55%;
	}
}
@media screen and (max-width: 1432px) {
	html {
		font-size: 45%;
	}
}
@media screen and (max-width: 1168px) {
	html {
		font-size: 40%;
	}
	#logo {
		padding: 2rem;
	}
	.top-row {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	.hero-illustration {
		margin-bottom: 5rem;
	}
	.dropdown-content {
		min-width: 250px;
	}
	.hero3 {
		justify-content: center;
	}
	.card-text-video {
		flex-wrap: wrap-reverse;
		justify-content: flex-start;
	}
	.solutions1-card ul {
		max-width: 100%;
	}
}

@media screen and (max-width: 947px) {
	html {
		font-size: 40%;
	}
	.card-text-photo {
		flex-wrap: wrap;
		justify-content: center;
		max-height: 100%;
	}
	.card img {
		width: 100%;
		max-height: 40vh;
		object-fit: cover;
		overflow: hidden;
		padding: 2rem;
	}
	.dots-top {
		max-height: 400px;
	}
	.dots-bottom {
		max-height: 400px;
	}
	.credits,
	.privacy {
		min-height: 80vh;
		align-items: center;
	}
	.form-wrapper {
		max-height: 60vh;
		width: 80vh;
	}
	.form-wrapper-terms {
		width: 100%;
	}
	.dropdown-content {
		min-width: 200px;
	}
}

@media screen and (max-width: 733px) {
	nav ul {
		padding: 0rem;
	}
	nav {
		justify-content: center;
	}
	.top-row {
		max-width: 90%;
	}
	.hero2 {
		display: flex;
		flex-wrap: wrap;
	}
	.hero2 h2 {
		font-size: 5rem;
		padding: 1 rem;
	}
	.hero2 h3 {
		font-size: 3rem;
	}
	.hero-dashes {
		max-width: 100%;
	}
	.card {
		max-width: 90%;
		padding: 2rem;
	}
	.intro {
		max-width: 85%;
	}
	.card p {
		text-align: center;
	}
	.small-card {
		max-width: none;
	}
	.top-section {
		max-width: 90%;
	}
	.dots-top {
		margin-right: 2rem;
	}
	.dots-bottom {
		margin-left: 2rem;
	}
	.benefit-card {
		max-width: 80%;
		margin: 5rem;
	}
	.footer-nav ul {
		padding: 2rem;
	}
	.small-card {
		min-height: 0rem;
	}
	p {
		font-size: 2.5rem;
	}
	p2 {
		font-size: 2rem;
	}
	button {
		font-size: 2.5rem;
	}
	.solutions1-content {
		padding: 2rem 0rem;
	}
	.solutions1-card {
		max-width: 90%;
		padding: 1.5rem;
	}
	.s1card,
	.s2card {
		max-width: 100%;
		padding: 2rem;
	}
	.s1icon {
		margin: 0rem 1rem;
	}
	.s1-title-text li {
		font-size: 2rem;
		margin: 1.5rem 1rem;
		list-style-position: unset;
	}
	.card-title {
		padding: 1rem;
	}
	.meet-the-team {
		padding: 0rem;
		max-width: 95%;
	}
	.who-we-are {
		max-width: 90%;
	}
	.who-we-are p {
		font-size: 2rem;
		line-height: 3.8rem;
	}
	.profile-cards {
		max-width: 100%;
		padding: 1rem;
	}
	.profile-card {
		max-width: 100%;
	}
	.form-wrapper {
		width: 100%;
		padding: 5rem 2rem;
		height: 50%;
	}
	pre {
		margin: 0rem;
	}
	.credits,
	.privacy,
	#contact {
		min-height: 65vh;
	}
	.credits p,
	.privacy p {
		font-size: 1.8rem;
		line-height: 4rem;
	}
	.trans-logo {
		display: none;
	}
	.dropdown-content {
		min-width: 175px;
	}
}
