/* -----------Typography styles--------- */
/* Some base typography rules have already been declared in reset.css. Never edit reset.css - overwrite here as needed. */

/* Begin with rules for mobile. Use the media queries at the bottom of the page to adjust any rule for larger screens. */

/* -----Set the base size here----- */

/* Desktop Navigation Link Base Styles */
.navbar ul li a {
	display: inline-block;
	padding: 0.5rem 1rem; /* Adjust padding as needed */
	text-decoration: none;
	color: #333; /* Base text color */
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover and Focus States */
.navbar ul li a:hover,
.navbar ul li a:focus {
	background-color: #f2f2f2; /* Light gray background */
	color: #a3093f; /* Blue text color on hover */
}

/* Active State */
.navbar ul li a:active {
	background-color: #a3093f; /* Blue background when active */
	color: #fff; /* White text when active */
}

html {
	font-family: "Montserrat", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

/* -----Set the body copy font rules, and fallback rules for all text ----- */
body {
	font-family: "Montserrat", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

/* ---------Copy & Lists--------- */
/* Paragraph styles, including margins. Consider limiting the line lengths with a maximum width. */
p {
	max-width: 700px;
	margin-bottom: 20px;
}

/* List styles */
ul,
ol {
	margin-top: 1em;
	list-style: none;
}

/* nested list styles */
ul ul,
ol ul,
ul ol,
ol ol {
	margin-top: 1em;
}

/* List item styles */
li {
	font-weight: 500;
}

/* --------Headings------- */

/* Change heading typefaces, margins, letter spacing and general line heights here */
h1,
h2,
h3,
h4,
h5,
h6 {
	text-align: left;
}

/* Change font size and more specific rules as needed per heading type */
h1 {
	margin-top: 1em;
	font-size: 2rem;
}
h2 {
	margin-top: 1em;
	font-size: 2rem;
	text-align: left;
	margin-bottom: 2rem;
}
h3 {
	margin-top: 1em;
	font-size: 1.3rem;
	font-weight: 600;
}

.about-me-h1 {
	font-size: 2rem;
	margin-bottom: 2rem;
	font-weight: 500;
}

.text-singleproject {
	margin-left: 30px;
}

.designprojects-h1 {
	text-align: center;
	margin-bottom: 3rem;
}

.sdesignprojects-h1 {
	font-size: 3em;
	text-align: left;
	margin-bottom: 1rem;
}
.sdesignprojects-p {
	font-size: 1.5em;
	text-align: left;
	margin-bottom: 3rem;
}

.project-title {
	margin-left: 1em;
	margin-top: 5em;
}

.footer {
	font-size: 16px;
}
/* ---------Hidden Heading for Homepage----------- */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap; /* Ensures it doesn't wrap */
	border: 0;
}

/* ---------Links----------- */

/* -----Text links----- */
a {
	text-decoration: none;
	text-align: center;
}

/* Hover states only work when using a mouse; focus states also work for keyboard focus */

/* Active states will work on click, on "Enter" (with keyboard), and on tap */

/* -----Buttons------- */
/* rules that both buttons share, like padding, corner shape, font size, line height, text decoration (underline or not) */
.primary-button,
.secondary-button {
	font-size: 17px;
	border-radius: 8px;
}

/* rules that both buttons share for their hover state  */
/* Center the button and give it some spacing above the cards */
.button-wrapper {
	display: flex;
	margin-top: 2rem; /* Adjust spacing as needed */
}

/* rules that both buttons share for their active state  */

/* Remove any conflicting button display styles */
.primary-button {
	padding: 0.75rem 1.5rem; /* Button padding */
	text-decoration: none;
	color: #fff; /* White text */
	background-color: #a3093f; /* Magenta background */
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Adjust hover and active states */
.primary-button:hover,
.primary-button:focus {
	background-color: #f2f2f2;
	color: #000000;
}

.primary-button:active {
	background-color: #a3093f;
	color: #fff;
}

/* Flexbox container for centering */
.button-wrapper {
	display: flex;
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
	width: 100%; /* Make sure the wrapper has full width */
	margin-top: 2rem; /* Adjust space as needed */
	height: auto; /* Ensure it can adjust to content height */
}

/* rules that are unique to secondary-button */

/* --------Special classes------- */
/* Edit these and/or create classes as needed to give yourself layout options. */

/* Leading paragraph text */
.lead {
	font-size: 1.3em;
}

/* Used to separate a group of text elements from neighbouring images, or other groups of text. Optionally, create large-text-wrap, small-text-wrap classes for a variety of options. */
.text-wrap {
	padding: 1em;
}

/* Additional class to add to elements to remove top margin */
.flush-top {
	margin-top: 0;
}
.text-centred {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.text-right {
	text-align: right;
}

/*  -------Media queries----------- */
/* Adjust any rules for larger screen sizes. Text-wrap is used here as an example - edit or delete as needed. */

@media (min-width: 768px) {
	.text-wrap {
		padding: 2em;
	}

	h1 {
		margin-top: 5em;
		font-size: 2rem;
	}

	body {
		font-size: 17px;
	}
}

@media (min-width: 900px) {
	.text-wrap {
		padding: 3em;
	}

	body {
		font-size: 18px;
	}
}
body {
	font-size: 18px;
}
