/*********************
*  Globals
**********************/
body {
	background-color: #eeeeee;
	color: black;
	font-family: arimo;
	font-size: 1.3rem;
}

p {
	text-align: justify;
}

h1,
h2,
h3 {
	font-family: "Source Serif 4";
	font-weight: bold;
}

ul {
	list-style-type: none;
	padding: 0;
}

li {
	margin-bottom: 0.5rem;
}

a {
	text-decoration: none;
	color: black;
}

/************************************************************************************
*  Header
************************************************************************************/
#header {
	width: 100%;
	background-color: #134b70;
	display: flex;
	justify-content: center;
}

.header-container {
	display: flex;
	align-items: baseline;
	align-content: stretch;
	flex-wrap: nowrap;
	padding: 3% 5%;
	max-width: 1400px;
	width: 100%;
	height: 100%;
}

.header-container > div {
	flex: 1;
	display: flex;
	align-items: stretch;
}

.header-container > .info {
	justify-content: flex-end;
	align-items: stretch;
	gap: 2rem;
}

.title {
	min-width: 375px;
}

.title h1 {
	color: #ebf4f6;
	font-size: 5rem;
	border-bottom: 2rem;
}

.info-button {
	color: #ebf4f6;
	font-size: 2.2rem;
	text-transform: uppercase;
	text-decoration: none;
}

@media (width <= 700px) {
	.header-container {
		padding: 3% 7%;
	}
	.header-container,
	.header-container > .info {
		flex-direction: column;
		gap: 1rem;
	}
	.title h1 {
		font-size: 4rem;
	}
}

/***************************************************************
*  About Me
***************************************************************/
#about {
	width: 100%;
	display: flex;
	justify-content: center;
}

.about-container {
	display: grid;
	grid-template-rows: auto auto;
	grid-template-columns: 1fr 1fr;
	padding: 3% 5%;
	column-gap: 5%;
	max-width: 1400px;
	width: 100%;
	height: 100%;
}
.about-container {
	text-align: justify;
	font-size: 1.3rem;
}

h2 {
	color: #134b70;
	font-size: 4rem;
}

.about-container h3 {
	color: #508c9b;
	font-size: 3rem;
}

.contact-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	height: 32px;
	transition: color 0.3s !important;
}

.contact-link a:hover,
.contact-link p:hover {
	color: #508c9b !important;
}

.contact-link > div {
	height: 100%;
}

.contact-link > img,
svg {
	height: 100%;
	width: 35px;
}

.copy-to-clipboard {
	border-radius: 10%;
	padding: 5px;
	height: 100%;
	align-self: center;
}

.copy-to-clipboard:hover {
	/* border: 1px solid black; */
	box-shadow: 2px 2px 2px 2px rgb(0 0 0 / 20%) inset;
	border-bottom: 0.5px solid rgb(0 0 0 / 20%);
	border-right: 0.5px solid rgb(0 0 0 / 20%);
}

.about-container .photo {
	grid-area: 1 / 2 / 3 / 3;
	object-fit: cover;
}

.photo {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.profile {
	width: 100%;
	height: 100%;
	max-height: 500px;
	border: 10px solid #508c9b;
	border-radius: 50%;
}

@media (width <= 700px) {
	.about-container {
		display: flex;
		flex-direction: column;
		margin-top: 5%;
		padding: 3% 7%;
	}

	.photo {
		order: -1;
		justify-content: center;
		margin-bottom: 1rem;
	}

	li div {
		display: flex;
		align-items: center;
	}

	li p {
		margin-bottom: 0;
	}
	.bi-clipboard {
		width: 20px;
		height: 20px;
	}
}

/************************************************************************************
*  Projects 
*************************************************************************************/
#projects {
	width: 100%;
	display: flex;
	justify-content: center;
}

.projects-container {
	display: grid;
	grid-template: auto / 100%;
	grid-auto-rows: auto;
	gap: 3rem;
	max-width: 1400px;
	width: 100%;
	height: 100%;
	padding: 2% 5% 7% 5%;
}

.single-project {
	gap: 5%;
	display: flex;
}

.project-photo,
.project-info {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1;
	min-width: 47.5%;
	max-height: 300px;
}

.project-left > .project-info {
	order: -1;
}

.project-right > .project-info {
	order: 1;
}

.project-info > h4 {
	color: #508c9b;
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.project-photo {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	border: 6px solid #508c9b;
	border-radius: 1rem;
}

.project-photo > img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

@media (width <=700px) {
	.projects-container {
		display: flex;
		flex-direction: column;

		gap: 0;
		padding: 3% 7%;
	}

	.project-photo,
	.project-info {
		max-height: 500px;
	}

	.single-project {
		display: flex;
		flex-direction: column;
	}

	.single-project > .project-photo {
		order: 1;
		margin-bottom: 5rem;
	}

	p,
	a {
		font-size: 1rem;
	}
}

/************************************************************************************
*  Footer
*************************************************************************************/

#footer {
	display: flex;
	justify-content: center;
	background-color: #134b70;
	height: 10vh;
}

footer {
	padding: 3% 5%;
	max-width: 1400px;
	width: 100%;
	height: 100%;
	color: #ebf4f6;
}

@media (width <=700px) {
	footer {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding: 3% 7%;
	}
}
