@import url("https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap");

/* Fixed Header Styles */
.header {
	margin: 0 0 0 -80px;
	background-color: #333;
	position: fixed;
	top: 0;
	width: 100%;
	padding: 10px 0;
	z-index: 1000;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: adds shadow to header */
}

.header a {
	color: white;
	padding: 14px 20px;
	text-decoration: none;
	text-align: center;
	font-size: 18px;
}

.header a:hover {
	background-color: #ddd;
	color: black;
}

/* Body Margin Adjustment for Fixed Header */
body {
	margin: 70px 0 0 0;
	padding: 0px 80px 20px 80px;

	font-family: "Libre Caslon Text", serif;
	font-weight: 400;
	font-style: normal;
}

/* Fixed Title at the Top */
h1 {
	position: fixed;
	top: 0; /* Keeps the title fixed at the top */
	width: 100%;
	background-color: #fff;
	text-align: center;
	font-size: 25px;
	color: black;
	padding: 30px 0px 5px 0px; /* 30px padding at the top, 10px at the bottom */
	margin: 16.75px 0 0 -80px;
	z-index: 999;
}

/* Title Sliding Down Animation */
@keyframes slideDown {
	0% {
		transform: translateY(-50px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

h1 {
	animation: slideDown 1s ease-out;
}

/* Adjusting the page content */
h3 {
	margin-top: 20px;
}

p {
	margin-top: 10px;
}

/* Section Styling for Smooth Scrolling */
section {
	padding: 20px;
}
