@charset "utf-8";
/* CSS Document */

:root {
	/* Color Variables */
	--text-light-1: #ffffff;
	--dark-1: #000000;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition: 0.2s linear;
	font-family: 'Work Sans';
	font-weight: 500;
}

body {
	min-height: 100vh;
}

/*Image Gallery*/

.container {
	padding: 2rem 10%;
}

.container .image-container {
    display: grid;
	grid-template-rows: repeat(auto-fit,minmax(300px,1fr));
	grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
	grid-gap: 5px 10px;
}

.container .image-container img {
	width: 100%;
	transition: 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.container .image-container img:hover {
	filter: brightness(.3); /* Darkens the image slightly */
}

.container .image-container .hover-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--text-light-1);
	font-size: 24px;
	font-weight: 700;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	pointer-events: none;
}

.container .image-container:hover .hover-text {
	opacity: 1;
}

/*End Image Gallery*/

/*Nav Bar*/
nav {
	background-color: var(--dark-1);
}

nav ul {
	width: 100%;
	list-style: none;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

nav li {
	height: 60px;
}

nav a {
	height: 100%;
	padding: 0 17px;
	text-decoration: none;
	display: flex;
	align-items: center;
	color: var(--text-light-1);
}

nav li:first-child {
	margin-right: auto;
}

nav li:first-child a {
	font-family: 'Outfit';
	font-weight: 600;
	font-size: 25px;
}

nav li:nth-child(6) {
	padding-right: 22px;
}

.sidebar {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 250px;
	z-index: 999;
	background-color: var(--dark-1);
	display: none;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.sidebar li {
	width: 100%;
}

.sidebar a {
	width: 100%
}

.menu-button {
	display: none;
}

.spread {
	width: 100%;        /* Ensures the image takes up the full width of its container */
	height: auto;       /* Maintains the aspect ratio of the image */
	display: block;     /* Removes any inline spacing around the image */
	max-width: 100vw;   /* Ensures the image doesn't exceed the viewport width */
	object-fit: cover;  /* Ensures the image covers the container without distortion */
	
}

@media(max-width: 900px) {
	.hideOnMobile{
		display: none;
	}
	.menu-button{
		display: block;
	}
}
