/* create blog */
.create-blog-container{
    background-color:rgb(235, 210, 176);
    max-width: 600px; /* Control the max width of the container */
    margin: auto; /* Center the container */
    padding: 20px; /* Add padding around the container */
}
.create-blog-title {
    text-align: center; /* Center the title */
}
.create-blog-form {
    background-color: #f9f9f9; /* Light background for form */
    border-radius: 8px; /* Rounded corners */
}
.form-group {
    margin-bottom: 15px; /* Spacing between form groups */
}
.form-label {
    display: block; /* Labels should take a whole line */
    margin-bottom: 5px; /* Space between label and input */
    font-weight: bold; /* Bold labels */
}
.form-input, .form-control, .form-control-file {
    width: 100%; /* Full width inputs */
    padding: 10px; /* Padding inside inputs */
    border: 1px solid #ccc; /* Light border for inputs */
    border-radius: 4px; /* Rounded corners for inputs */
}
.create-blog-button {
    display: block; /* Block button */
    width: 100%; /* Full width button */
    padding: 10px; /* Padding */
    margin-top: 10px; /* Space above button */
    background-color: #007bff; /* Primary color */
    color: white; /* Text color */
}
.create-blog-button:hover {
    background: linear-gradient(to right, rgb(41, 142, 209), rgb(11, 31, 212));
    transform: scale(1.02);
    cursor: pointer;
}
.back-to-blogs-button {
    display: block; /* Block link */
    text-align: center; /* Center the link */
    margin-top: 15px; /* Space above link */
}
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    text-align: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 1000;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}
