body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #f8f8f8;
}

.topbar {
	top: 0;
	bottom:0;
	position:fixed;
	overflow-y:hidden;
	overflow-x:hidden;
	height: 80px;
	background-color: #f8f8f8;
	z-index: 1000;
	width: 1000px;
}

.toolbar {
	display: flex;
	gap: 50px;
	margin: 10px;
	justify-content: space-evenly;
}

.toolbar button {
	padding: 10px 15px;
	border: none;
	background: #eaeaea;
	cursor: pointer;
	border-radius: 8px;
	font-size: 14px;
	font-weight: bold;
}

.toolbar button:hover {
	background: #d6d6d6;
}

.grid-container {
	display: flex;
	position: absolute;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding-top: 10px;
}

/* Стили для заголовков и кнопок */
.header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.header button {
	padding: 10px;
	font-size: 14px;
	font-weight: bold;
	border-radius: 8px;
	border: none;
	cursor: pointer;
}

.header .active {
	background: black;
	color: white;
}

/* Стили для блока с новым постом */
.new-post-placeholder {
	width: 100%;
	max-width: 320px;
	height: 100px;
	background: #e0e0e0;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #888;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 10px;
	text-align: center;
	cursor: pointer;
	position: relative;
}

.new-post-placeholder::before {
	content: "Describe your new post idea";
}

.new-post-placeholder:hover {
	background: #d6d6d6;
}


.row {
	display: flex;
	justify-content: center;
	margin-bottom: 4px;
	gap: 4px;
	width: 100%;
}

.image-container {
	width: 300px;
	height: 375px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f1f1f1;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}

.square {
	height: 300px !important;
}

.image-container::before {
	content: "+";
	font-size: 24px;
	font-weight: bold;
	color: #bbb;
	position: absolute;
	text-align: center;
	width: 100%;
}

.image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.image-container:not(:empty)::before {
	content: none;
}

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 25px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 25px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 17px;
	width: 17px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: #2196F3;
}

input:checked + .slider:before {
	transform: translateX(25px);
}

.image-container, .row {
	cursor: default;
}

.buttonGroup {
	min-width: 150px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 10px;
	border-radius: 5px;
	border: 2px dashed #ccc;
	padding: 2px;
	justify-content: center;
}
.buttonSwitch {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 3px;
	align-items: center;
}