/*
  -------------------------
  --------- Fonts ---------
  -------------------------
*/

@font-face {
	font-family: 'Poppins';
	font-weight: 300;
	src: url('../fonts/Poppins/Poppins-Light.ttf');
}

@font-face {
	font-family: 'Poppins';
	font-weight: 500;
	src: url('../fonts/Poppins/Poppins-Regular.ttf');
}

@font-face {
	font-family: 'Poppins';
	font-weight: 700;
	src: url('../fonts/Poppins/Poppins-SemiBold.ttf');
}

@font-face {
	font-family: 'Poppins';
	font-weight: 900;
	src: url('../fonts/Poppins/Poppins-Bold.ttf');
}

/*
  -----------------------------
  --------- Variables ---------
  -----------------------------
*/

:root {
	/* -- Colors -- */
	--white-color: #fafafa;
	--primary-color: #3b3b44;
	--secondary-color: #77aed8;
	--light-grey-color: #a8a8a8;

	--primary-color-shadow: rgba(59, 59, 68, 0.2);
	--secondary-color-shadow: rgba(119, 174, 216, 0.2);

	--input-border-color: rgb(180, 180, 180);
}

/*
  ---------------------------
  --------- General ---------
  ---------------------------
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-size: 16px;
	font-family: 'Poppins';
	font-weight: 500;
	color: var(--primary-color);
	background-color: var(--white-color);
}

.container {
	width: 90%;
	margin: 0 auto;
}

/*
  --------- Text ---------
*/

span.bold {
	font-weight: 900;
}

h1,
h2,
h3,
h4,
p,
span {
	letter-spacing: 1.6px;
}

a {
	letter-spacing: 0.5px;
}

/*
  --------- Buttons ---------
*/

.btn {
	padding: 1em 3.5em;
	border-radius: 25px;
	font-size: 0.7em;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0px 4px 4px var(--secondary-color-shadow);
	transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
.btn:active,
.btn:focus {
	outline: none;
}

.btn-primary {
	color: var(--white-color);
	border: 2px solid var(--primary-color);
	background-color: var(--primary-color);
}
.btn-primary:hover {
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
	background-color: transparent;
}

.btn-primary-outline {
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}
.btn-primary-outline:hover {
	color: var(--white-color);
	border: 2px solid var(--primary-color);
	background-color: var(--primary-color);
}

.btn-secondary {
	border: 2px solid var(--secondary-color);
	color: var(--white-color);
	background-color: var(--secondary-color);
}
.btn-secondary:hover {
	border: 2px solid var(--secondary-color);
	color: var(--secondary-color);
	background-color: transparent;
}

.btn-secondary-outline {
	border: 2px solid var(--secondary-color);
	color: var(--secondary-color);
}
.btn-secondary-outline:hover {
	border: 2px solid var(--secondary-color);
	color: var(--white-color);
	background-color: var(--secondary-color);
}

/*
  --------- Section ---------
*/

section .content-section {
	padding: 10vh 0;
}

section .content-section .title {
	position: relative;
	display: flex;
	justify-content: center;
	margin-bottom: 10vh;
}
section .content-section .title .title-container {
	display: flex;
	flex-flow: column nowrap;
	align-items: flex-end;
}
section .content-section .title .title-container h2 {
	font-weight: 500;
	margin-bottom: 0.7em;
}
section .content-section .title .title-container .lines {
	display: flex;
}
section .content-section .title .title-container .lines span {
	width: 15px;
	height: 3px;
	margin-left: 10px;
	background-color: var(--secondary-color);
}
section .content-section .title .title-container .lines span:nth-child(3) {
	width: 120px;
}

/*
  --------------------------
  --------- Header ---------
  --------------------------
*/

header {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 2;
}

header.nav-fixed {
	position: fixed;
	width: 100%;
	height: 120px;
	background: linear-gradient(
		0deg,
		rgba(250, 250, 250, 0) 0%,
		rgba(250, 250, 250, 0.5) 25%,
		rgba(250, 250, 250, 0.75) 50%,
		rgba(250, 250, 250, 1) 100%
	);
}

header .mobile-nav {
	display: none;
}

header nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 120px;
}

header nav .logo {
	height: 100px;
	cursor: pointer;
}
header nav .logo img {
	height: 100%;
}

header nav .close,
header nav .open {
	display: none;
}

header nav .menu {
	display: flex;
	list-style: none;
}

header nav .menu .item {
	position: relative;
	transition: transform 0.25s ease-in-out;
}
header nav .menu .item::before {
	content: '';
	position: absolute;
	left: 50%;
	top: -0.5em;
	width: 20%;
	height: 3px;
	transform: translateX(-50%);
	background-color: transparent;
	transition: background-color 0.25s ease-in-out;
}
header nav .menu .item:hover {
	transform: scale(1.1) translateY(-2px);
}
header nav .menu .item:hover::before {
	background-color: var(--secondary-color);
}

header nav .menu .item .link {
	padding: 1.5em;
	font-size: 0.85em;
	font-weight: 700;
	color: var(--primary-color);
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

header nav .menu .item .link.network-link {
	font-size: 1.2em;
}

/*
  ------------------------
  --------- Main ---------
  ------------------------
*/

main #home {
	position: relative;
	width: 100%;
	height: 100vh;
	background-image: url('../img/bg.png');
}

main #home .hero-content {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

main #home .hero-content .title {
	display: flex;
	align-items: baseline;
	margin-bottom: 1em;
}
main #home .hero-content .title h1 {
	font-size: 6em;
	font-weight: 900;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-right: 0.1em;
}
main #home .hero-content .title h2 {
	font-weight: 500;
}

main #home .hero-content .content {
	width: 60%;
	margin-bottom: 3em;
	font-size: 0.9em;
}

main #home .hero-content .cat {
	display: flex;
	align-items: center;
}
main #home .hero-content .cat p {
	margin-left: 0.8em;
	font-size: 0.8em;
}

main #home .personal {
	position: absolute;
	bottom: 0px;
	right: 5%;
	height: 80vh;
}

main #home .personal img {
	height: 100%;
}


/*
  -------------------------
  --------- About ---------
  -------------------------
*/

main #about .content {
	display: flex;
}

main #about .content {
	display: flex;
	justify-content: space-between;
}

main #about .content .body {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-around;
	width: 52.5%;
}

main #about .content .body h3 {
	font-size: 1.7em;
	font-weight: 300;
	color: var(--light-grey-color);
	margin-bottom: 5vh;
}

main #about .content .about-images {
	display: flex;
	flex-flow: column nowrap;
	width: 40%;
}
main #about .content .about-images .image-container {
	width: 100%;
	margin-bottom: 5vh;
	border-radius: 15px;
	overflow: hidden;
}
main #about .content .about-images .image-container img {
	width: 100%;
	min-height: 100%;
}

/*
  ----------------------------
  --------- Services ---------
  ----------------------------
*/

main #services .content {
	position: relative;
	margin-top: 50vh;
}

main #services .content .cards {
	position: absolute;
	bottom: 85%;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	width: 100%;
}
main #services .content .cards .card {
	position: relative;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
	width: 22%;
	padding: 5em 2em;
	border-radius: 15px;
	color: var(--white-color);
	background-color: var(--primary-color);
	box-shadow: 0 0 7px var(--primary-color-shadow);
}
main #services .content .cards .card:nth-child(2) {
	transform: translateY(35%);
}
main #services .content .cards .card:nth-child(3) {
	transform: translateY(15%);
}
main #services .content .cards .card h3 {
	margin-top: 2em;
	font-size: 0.9em;
	font-weight: 300;
	margin-bottom: 0;
	text-align: center;
	text-transform: capitalize;
}
main #services .content .cards .card i {
	font-size: 2.5em;
}

main #services .content .main-card {
	width: 80%;
	margin: 0 auto;
	padding: 35vh 5vw 5vw;
	border-radius: 15px;
	box-shadow: 0 0 7px var(--primary-color-shadow);
}
main #services .content .main-card h3 {
	font-weight: 300;
	font-size: 2em;
	color: var(--light-grey-color);
	margin-bottom: 1em;
}
main #services .content .main-card p {
	text-align: center;
	line-height: 35px;
}

/*
  ---------------------------------
  --------- Investigation ---------
  ---------------------------------
*/

main #investigation .content {
	display: flex;
	justify-content: space-between;
}

main #investigation .content .cards {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	width: 57.5%;
}

main #investigation .content .cards .card {
	box-shadow: 0 0 7px var(--primary-color-shadow);
	border-radius: 15px;
	overflow: hidden;
}

main #investigation .content .cards .card:nth-child(3),
main #investigation .content .cards .card:nth-child(4) {
	padding-bottom: 2em;
}

main #investigation .content .cards .card h3 {
	padding: 1em 2em;
	background-color: var(--primary-color);
	color: var(--white-color);
	box-shadow: 0 0 7px var(--primary-color-shadow);
}

main #investigation .content .cards .card p {
	padding: 0.8em 2em 0 2em;
}

main #investigation .content .cards .card p i {
	font-size: 0.5em;
}

main #investigation .content .image {
	width: 37.5%;
	border-radius: 15px;
	overflow: hidden;
}
main #investigation .content .image img {
	width: 100%;
	min-height: 100%;
}

main #investigation .message {
	margin-top: 10vh;
	text-align: center;
	font-size: 1.15em;
}

/*
  --------------------------------
  --------- Capacitation ---------
  --------------------------------
*/

main #capacitation .content {
	display: flex;
	justify-content: space-between;
}

main #capacitation .content .cards {
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	width: 57.5%;
}

main #capacitation .content .cards .card {
	box-shadow: 0 0 7px var(--primary-color-shadow);
	border-radius: 15px;
	overflow: hidden;
}

main #capacitation .content .cards .card:nth-child(3),
main #capacitation .content .cards .card:nth-child(4) {
	padding-bottom: 2em;
}

main #capacitation .content .cards .card h3 {
	padding: 1em 2em;
	background-color: var(--primary-color);
	color: var(--white-color);
	box-shadow: 0 0 7px var(--primary-color-shadow);
}

main #capacitation .content .cards .card p {
	padding: 0.8em 2em 0 2em;
}

main #capacitation .content .cards .card p i {
	font-size: 0.5em;
}

main #capacitation .content .image {
	width: 37.5%;
	border-radius: 15px;
	overflow: hidden;
}
main #capacitation .content .image img {
	width: 100%;
	min-height: 100%;
}

main #capacitation .message {
	margin-top: 10vh;
	text-align: center;
	font-size: 1.15em;
}

/*
  ---------------------------
  --------- Contact ---------
  ---------------------------
*/

main #contact .contact-form .form-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

main #contact .contact-form .form-group .input-group {
	width: 48%;
}

main #contact .contact-form .input-group .text {
	display: block;
	font-size: 1.1em;
	letter-spacing: 1.1px;
	margin-bottom: 0.5em;
}

main #contact .contact-form .input-group .input-field {
	width: 100%;
	height: 3.5em;
	padding: 1em;
	border: 1px solid transparent;
	border-radius: 0.3em;
	box-shadow: 0 0 7px var(--primary-color-shadow);
	transition: border-color 0.2s ease-in-out;
}

main #contact .contact-form .input-group .input-field:active,
main #contact .contact-form .input-group .input-field:focus {
	outline: none;
	border: 1px solid rgba(248, 87, 41, 0.3);
}

main #contact .contact-form .message-group {
	margin-top: 2em;
}

main #contact .contact-form .message-group .input-field {
	min-width: 100%;
	max-width: 100%;
	min-height: 35vh;
	max-height: 35vh;
}

main #contact .contact-form .form-action {
	float: right;
	margin-top: 5vh;
}

/*
  ------------------------
  --------- Footer ---------
  ------------------------
*/

footer {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	margin-top: 10vh;
	padding: 5vh;
	color: var(--white-color);
	background-color: var(--primary-color);
	text-align: center;
}

footer h1 {
	font-size: 3em;
	text-transform: uppercase;
	color: var(--white-color);
}

footer h2 {
	font-size: 1em;
	font-weight: 300;
}

footer p {
	margin-top: 3em;
	font-size: 0.8em;
}

footer .networks {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 10%;
}

footer .networks a {
	margin-top: 1.5em;
	font-size: 2em;
	text-decoration: none;
	color: var(--white-color);
}

/*
  ---------------------------------
  --------- Media Queries ---------
  ---------------------------------
*/

@media screen and (max-width: 800px) {
	section .content-section .title .title-container {
		align-items: flex-start;
	}

	header .mobile-nav {
		position: absolute;
		top: 0;
		left: 0;
		display: flex;
		justify-content: space-between;
		width: 100%;
		height: 60px;
		background-color: var(--white-color);
		padding: 10px 30px;
		z-index: 3;
	}

	header .mobile-nav .logo {
		height: 40px;
	}

	header .mobile-nav .logo img {
		height: 100%;
	}

	header .mobile-nav .close,
	header .mobile-nav .open {
		display: block;
		font-size: 30px;
		text-decoration: none;
		color: var(--light-grey-color);
	}

	header .mobile-nav .close {
		display: none;
	}

	header nav {
		position: absolute;
		top: 0;
		left: 0;
		display: flex;
		flex-flow: column nowrap;
		justify-content: space-around;
		height: 100vh;
		background-color: var(--white-color);
		transform: translateX(110%);
		transition: transform 0.3s ease-in-out;
	}

	header nav .logo {
		display: none;
	}

	header nav.container {
		width: 100%;
	}

	header nav .menu:nth-child(2) {
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: space-between;
		height: 50vh;
	}

	header nav .menu:nth-child(3) {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	header nav .menu .btn-item {
		flex-basis: 100%;
		display: flex;
		justify-content: center;
		margin-top: 30px;
	}

	main #home .personal {
		display: none;
	}

	main #home .hero-content .title {
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: center;
	}

	main #home .hero-content .content {
		width: 100%;
		margin-top: 5vh;
	}

	main #home .hero-content .cat {
		width: 100%;
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: center;
		margin-top: 10vh;
	}

	main #home .hero-content .cat p {
		margin-top: 5vh;
	}

	main #about .content .body {
		width: 100%;
	}

	main #about .content .body div {
		margin-top: 5vh;
	}

	main #about .content .body div:nth-child(1) {
		margin-top: 0;
	}

	main #about .content .about-images {
		display: none;
	}

	main #services .content {
		position: relative;
		margin-top: 0;
	}

	main #services .content .cards {
		position: relative;
		bottom: unset;
		flex-flow: column;
		justify-content: center;
		align-items: center;
		width: 100%;
	}
	main #services .content .cards .card {
		flex-flow: column nowrap;
		width: 80%;
		padding: 3em 2em;
		margin: 2em 0;
	}
	main #services .content .cards .card:nth-child(2) {
		transform: unset;
	}
	main #services .content .cards .card:nth-child(3) {
		transform: unset;
	}

	main #services .content .main-card {
		width: 90%;
		padding: 5vh;
		border-radius: 15px;
		box-shadow: 0 0 7px var(--primary-color-shadow);
	}
	main #services .content .main-card h3 {
		font-weight: 300;
		text-align: center;
	}

	main #investigation .content {
		display: flex;
		justify-content: space-between;
	}

	main #investigation .content .cards {
		display: flex;
		flex-flow: column nowrap;
		justify-content: space-between;
		width: 90%;
	}

	main #investigation .content .cards .card {
		margin: 2vh 0;
	}

	main #investigation .content .cards .card h3 {
		font-size: 1em;
	}

	main #investigation .content .cards .card p {
		padding: 0.8em 2em 0 2em;
	}

	main #investigation .content .cards .card p i {
		font-size: 0.5em;
	}

	main #investigation .content .image {
		display: none;
	}

	main #investigation .message {
		margin-top: 5vh;
	}

	main #capacitation .content .cards {
		width: 90%;
	}

	main #capacitation .content .cards .card {
		margin: 2vh 0;
	}

	main #capacitation .content .cards .card:nth-child(3),
	main #capacitation .content .cards .card:nth-child(4) {
		padding-bottom: unset;
	}

	main #capacitation .content .cards .card h3 {
		font-size: 1em;
	}

	main #capacitation .content .cards .card p {
		padding: 1em 2em;
	}
	main #capacitation .content .cards .card p:last-child {
		padding-bottom: 2em;
	}

	main #capacitation .content .cards .card p i {
		font-size: 0.5em;
	}

	main #capacitation .content .image {
		display: none;
	}

	footer .networks {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 40%;
	}
}