* {
	box-sizing: border-box;
}
body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
}

/* Navbar */
.navbar {
	background-color: #3498db;
	color: white;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 900;
}

.navbar a {
	color: white;
	text-decoration: none;
	margin: 0 10px;
}

.navbar a:hover {
	text-decoration: underline;
}

/* Layout */
.layout {
	display: flex;
	justify-content: space-between;
}

/* Main content (image gallery) */
.content {
	background: #f9f9f9;
	padding: 0 20px;
}

.container {
	flex-grow: 1;
	/* padding: 20px; */
	width: 80%;
}

.flex-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.flex-container img {
	width: calc(25% - 10px);
	/* 4 images per row */
	margin-bottom: 10px;
	border-radius: 8px;
	transition: transform 0.3s ease;
	height: 250px;
}

.flex-container img:hover {
	transform: scale(1.05);
	/* Hover effect */
}

@media (max-width: 800px) {
	.flex-container img {
		width: calc(50% - 10px);
		/* 2 images per row */
	}
}

@media (max-width: 500px) {
	.flex-container img {
		width: 100%;
		/* 1 image per row */
	}
}

/* Sidebar */
.sidebar {
	min-width: 340px;
	background: #f0f0f0;
	padding: 20px;
	border-left: 1px solid #ddd;
}

.sidebar__element {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sidebar__title {
	color: black;
}

.ad {
	background-color: #ccc;
	padding: 10px;
	margin-bottom: 20px;
	text-align: center;
}
