.tabs {
    display: flex;
    justify-content: center;
}

.tab-button {
    padding: 10px;
    border-radius: 10px;
	border: none;
	background-color: #D3D3D3;
    text-align: center;
	font-size: 16px;
    cursor: pointer;
    transition: box-shadow 0.3s;
	margin-left: 5px;
}

.tab-button.active, .tab-button:hover {
    background-color: #D3D3D3;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

.tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.tab-content {
    scrollbar-width: thin;
    scrollbar-color: #888 #fff;
}

.close {
    color: #888;
    float: right;
    font-size: 28px;
    font-weight: bold;
	transition: color 0.3s;
}

.close:hover {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

input[type="text"], textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    color: #000;
	font-family: arial, sans-serif;
}

button[type="submit"] {
    background-color: #fff;
    padding: 10px;
    cursor: pointer;
	border: none;
	border-radius: 10px;
    transition: background-color 0.3s;
	font-size: 16px;
}

button[type="submit"]:hover {
    background-color: #D3D3D3;
}

.select-container {
    position: relative;
    margin-bottom: 10px;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid #888;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.post-image {
    max-width: 100%;
    height: 400px;
    width: auto;
    height: auto;
    border-radius: 10px;
	border: solid 1px #999;
    margin: 10px 0;
    transition: transform 0.3s;
}

.post-image:hover {
    transform: scale(1.02);
}

.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
    justify-content: center;
    align-items: center;
}

.carousel-images img {
    max-width: 100%;
    height: 400px;
    display: none;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.file-upload-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.custom-file-input {
    width: 100px;
    height: 100px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 10px;
	border: solid 1px #999;
    position: relative;
}

.plus-sign {
    color: #000;
}

.image-preview {
    display: flex;
    margin-left: 10px;
    flex-wrap: wrap;
}

.image-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-left: 10px;
    border-radius: 5px;
}

.post-container {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    padding: 16px;
    margin: 16px 0;
	margin-left: auto;
	margin-right: auto;
    background-color: #fff;
	color: #000;
	min-width: 50%;
	max-width: 50%;
}
.post-container p{
    font-size: 16px;
	font-weight: bold;
	word-wrap: break-word;
}
.post-container h2{
	font-size: 14px;
	font-weight: lighter;
	margin-bottom: 5px;
}

#add-post-top {
    background-color: #D3D3D3;
    color: #000;
    border: none;
	border-radius: 5px;
    cursor: pointer;
    margin: auto 0s;
    font-size: 40px;
	padding: 0px 10px;
	transition: box-shadow 0.3s;
}

#add-post-top:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.post-footer {
    margin: 0;
    display: flex;
    justify-content: space-between;
}
.post-footer p{
    font-weight: lighter;
	text-align: left;
}

