@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&display=swap');

.header {
text-align: center;
margin-bottom: 20px;
margin-top: 22px;
}

.title {
height: auto;
margin-top: 20px;
width: 540px;
margin-bottom: 18px;
}

@media screen and (max-width: 600px) {
	.title {
		width: 280px;
	}
}

.social-link {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	margin-top: 58px;
	margin-right: 44px;
}

.social-link span {
	margin: 0 11px;
}

@media screen and (max-width: 900px) {
	.social-link {
		position: relative;
		justify-content: center;
		display: flex;
		margin-top: 10px;
		margin-bottom: 30px;
		margin-right: 10px;
	}
	.header{
    margin-top: 28px;
}



}

.active {
	border: 2px solid #FF9D00;
	color: white;
	text-decoration: none;
	border-radius: 4px;
}

.navbar {
	display: flex;
	font-family: "Baskervville", serif;
	font-size: 17px;
	flex-wrap: wrap;
	justify-content: space-around;
	margin-bottom: 48px;
	margin-top: 14px;
}

.nav-link {
	display: block;
	padding: 10px;
	margin: 0 18px;
	text-decoration: none;
	color: white;
}

.nav-link:hover {
	border: 2px solid #FF9D00;
	color: white;
	text-decoration: none;
	border-radius: 4px;
}

.nav-link:visited {
	color: white;
}



/* Media Query for Mobile */
@media screen and (max-width: 900px) {
	.container-nav {
		margin-bottom: 28px;
		margin-top: -22px;
	}

	.navbar {
		flex-direction: column;
		align-items: center;
		text-align: center;
		display: none;
		animation: slideDown 0.5s ease forwards;
	}

	.navbar.open {
		display: flex;
		animation: slideUp 0.5s ease forwards;
	}

	.nav-link {
		margin: 10px 0;
	}

	.nav-toggle {
		display: block;
		cursor: pointer;
		text-align: center;
		float: right;
		margin-top: 20px;
		margin-right: 16px;
	}

	.nav-toggle .bar {
		display: block;
		width: 25px;
		height: 3px;
		background-color: white;
		margin: 5px auto;
	}

	@keyframes slideUp {
		from {
			transform: translateY(-100%);
		}

		to {
			transform: translateY(0);
		}
	}

	@keyframes slideDown {
		from {
			transform: translateY(0);
		}

		to {
			transform: translateY(-100%);
		}
	}
}