.main {
    background: url("./Images/blog-tempate-bg.png");
    display: flex;
    justify-content: center;
    align-items: center;
}

.create-blog-container {

    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    margin-top: 6rem;
    width: 55%;
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.blog-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="date"],
input[type="url"],
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    padding: 0.7rem;
    background-color: #b000ad;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 0;
}

.submit-button:hover {
    background-color: #7b0179;
}

@media (max-width: 768px) {
    .blog-card {
        flex: 0 1 calc(100% - 20px);
        max-width: 100%;
    }

    .blog-page {
        max-width: 96%;
    }

    .create-blog-container {
        width: 100%;
    }
}