@font-face { 
	font-family: "OpenSans";
	src: url("https://fonts.gstatic.com/s/opensans/v36/mem8YaGs126MiZpBA-UFVZ0e.ttf")
	format("truetype");
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
	font: 16px "OpenSans", Arial, sans-serif;
	color: rgb(33, 33, 33);
	line-height: 1.6;
	display: flex;
	flex-direction: column;
}

header {
	background-color: #0e705a;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 5%;
}

header .logo img {
	width: 100px;
	height: 100px;
	border-radius: 40%;
	border: 5px solid #0e705a;
	object-fit: cover;
	filter: grayscale(10%);
	transition: transform 0.5s ease;
}

header .logo img:hover {
	transform: scale(1.1);
}

nav ul {
	list-style-type: none;
	display: flex;
	gap: 20px;
}

nav ul > li a {
	text-decoration: none;
	color: white;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 5px;
	transition: color 0.3s ease;
}

a:link { color: #ffffff; }
a:visited { color: #d1d1d1; }
a:hover { color: #ffcc00; }
a:active { color: #ff6600; }

main {
	flex: 1;
	padding: 40px 10%;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.8);
	margin: 20px;
	border-radius: 10px;
}

.Highlight {
	color: 0077cc;
	font-weight: bold;
}

h1 {
	font-size: 2rem;
	margin-bottom: 20px;
	color: #222;
	text-align: center;
	text-transform: capitalize;
	letter-spacing: 1px;
}

main a {
	display: inline-block;
	margin: 10px;
	padding: 10px 25px;
	background-color: #0077cc;
	color: white;
	border-radius: 5px;
	text-decoration: none;
	transition: transform 0.3s ease, background 0.3s ease;
}

p {
	max-width: 700px;
	margin: 15px auto;
	font-size: 1rem;
	color:#333333;
	line-height: 1.8;
	letter-spacing: 0.3px;
	text-align: justify;
}

.school-logo {
	width: 200px;
	display: block;
	margin: 20px auto;
}

footer {
	background-color: #0e705a;
	color: white;
	text-align: left;
	padding: 20px;
}

footer p {
	text-align: left;
}

footer ul {
	list-style-type: square;
	list-style-position: inside;	
}

footer li {
	margin: 5px;
}

footer a {
	color: #ffcc00;
	text-decoration: none;
	transition: text-decoration: 0.5s;
}

footer a.hover {
	text-decoration: underline;
}

main.portfolio {
	display: grid;
	gap: 20px;
	justify-items: center;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	padding: 20px 5%;
}

main.portfolio a img {
	width: 50px;
	height: auto;
	border-radius: 5px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.2);
	transition: transform 0.3s, box-shadow 0.5s;
}

main.portfolio a img:hover {
	transform: scale(1.05);
	box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

@media (max-width: 900px){
	nav ul {
		flex-direction: column;
		align-items: center;
	}
	.logo img {
		width: 60px;
		height: 60px;
	}
	main { padding: 25px; }
	main.portfolio {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 15px; 
	}
	main.portfolio a img { 
		width: 140px;
	}
}

@media (max-width: 600px){
	h1 { font-size: 1.4rem; }
	main a { padding: 8px 15px; }
}

@media (max-width: 480px)
	main.portfolio {
		grid-template-columns: repeat(auto-fit, minimax(120px, 1fr));
		gap: 10px;
	}
	
	main.portfolio a img {
		width: 120px;
	}
}

@media print {
	header,
	footer,
	nav { display: none; }
	body {
		background: withe;
		color: black;
	}
	main {
		margin: 0;
		background: none;
		color: black;
	}
}