:root {
	--text-padding: 1rem;
	--banner-green: b3ff80ff;
}

* {
	box-sizing: border-box;
	font-family: sans-serif, Arial;
}

a {
	color: black;
	text-decoration: none;
}
.hyperlink:hover {
	text-decoration: underline;
	color: blue;
}


html {
	min-height: 100vh;
}
body {
	margin: 0;
	min-height: 100vh;
}
.page:first-child {
	min-height: calc(90vh - 2rem);
}
.page {
	background-color: rgb(250, 245, 240);
	padding-bottom: 5rem;
}

.header {
	display: grid;
	grid-template-columns: 1fr;
}

.menu-icon {
	width: 10%;
	margin-left: 92.5%;
	transform: translate(-50%, 0%);
	cursor: pointer;
}
.nav {
	display: none;
	z-index: 99;
	position: relative;
}
.nav-drop {
	display: block;
	width: 100%;
	background-color: rgb(230, 230, 230);
	font-size: 1.2rem;
	color: rgb(70, 70, 70);

	a {
		display: inline-block;
		width: 100%;
		border-bottom: 1px solid black;
		padding: 0.6rem 1rem;
	}
	a:hover {
		cursor: pointer;
	}
}

.layout-container {
	display: grid;
	grid-template-columns: repeat(12, [col-start] 1fr);
	gap: 20px;
	padding-top: 1rem;
}
.layout-container > * {
	padding: 0.8rem 1.2rem;
	grid-column: col-start / span 12;
}

.text-section {
	grid-column: col-start / span 12;
}
.section-profile {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;

	.image-section-profile {
		background-image: url("../media/images/profile_fhd.jpg");
		background-position: center;
		background-size:contain;
		background-repeat: no-repeat;
		height: 100%;
		width: 100%;

	}
	.text-section-profile {
		padding-top: 1rem;
		padding-bottom: 2rem;
	}
}

.image-section, .image-section-text {
	width: 100%;
	img {
		width: 100%;
	}
}


footer {
	position: relative;
	bottom: 0px;
	width: 100%;
	background-color: rgb(200, 200, 200);
	height: 10vh;

	.footer-section {
		height: 100%;
		display: flex;
		justify-content: space-evenly;
		align-items: center;

		a {
			display: block;
			img {
				width: 3rem;
			}
		}
	}
}


/*-=-=-=-=-=-=-=-=-=-=-*/

/*QUERIES*/

@media screen and (min-width: 576px) {
	.page {
		margin: 1rem;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	}

	.header-wrp {
		padding-bottom: 1rem;
		height: 5rem;

		display: grid;
		grid-template-columns: 1fr 3fr;

		header {
			display: flex;
			align-items: center;
			height: 100%;


			.logo {
				display: inline-block;
				background-image: url("../media/logos/eplus-540.png");
				background-size: contain;
				background-position: center;
				background-repeat: no-repeat;
				height: 80%;
				flex-grow: 1;
				flex-shrink: 1;
			}
		}
		.nav {
			display: flex;
			justify-content: space-between;
			height: 100%;
			width: 100%;
			font-size: 1.2rem;

			a {
				color: #444444;
				height: 100%;
				flex-grow: 1;
				flex-shrink: 1;
				text-decoration: none;

				p {
					text-align: center;
				}
			}
			a:hover {
				cursor: pointer;
				color: #000000;
				outline: 1px solid #eeeeee;
			}
		}
	}

	.menu-icon {
		display: none;
	}

	.layout-container > * {
		grid-column: col-start  2 / span 10;
	}
}
@media (min-width: 768px) {
	.page {
		margin-left: 5%;
		width: 90%;
	}
	* {
		font-size: 1.2rem;
	}

}
@media (min-width: 1200px) {
	.page {
		margin-left: 13%;
		width: 74%;
	}
	.layout-container > * {
		padding: 0.8rem 1.2rem;
		grid-column: col-start 3 / span 8;
	}
	.text-section-image {
		grid-column: col-start 3 / span 8;
	}
	.image-section-text {
		grid-column: col-start 3 / span 8;

		img {
			position: relative;
			top: 0;
			transform: none;
			width: 100%;
		}
	}

	.section-profile {
		margin-top: 1rem;
		.image-section-profile {
			background-position: right;
		} 
	}
}
@media (min-width: 1700px) {
	.page {
		margin-left: 20%;
		width: 60%;
	}
	.layout-container > * {
		grid-column: 4 / span 6;
	}
}

/*dynamic classes*/
.stickyNav {
	position: fixed;
	top: 0;
}