/* Basic styles for the editor */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* background-color: #f4f4f4; */
    padding: 20px;
}

.pamphlet-editor {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 20px;
    /* background-color: #fff; */
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
}

.pamphlet-editor h2 {
    text-align: center;
    margin-bottom: 20px;
}

.pamphlet-editor form {
    margin-bottom: 20px;
}

.pamphlet-editor input,
.pamphlet-editor textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.pamphlet-preview {
    background-color: #f9f9f9;
    padding: 20px;
    /* border-radius: 8px; */
}

.pamphlet-cover {
    /* background-color: #4CAF50; */
    color: white;
    padding: 20px;
    text-align: center;
}

.pamphlet-cover h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.pamphlet-cover p {
    font-size: 18px;
}

.pamphlet-content {
    padding: 20px;
    /* background-color: #fff; */
}

.pamphlet-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.pamphlet-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.pamphlet-footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px;
}

/* Styles for buttons */
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

/* Image styling */
.pamphlet-preview img {
    margin-top: 20px;
}

/* Footer styles */
.pamphlet-footer {
    /* background-color: #f1f1f1; */
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
   
         .pamphlet-content {
                padding: 20px;
               background-color: white; /* Ensure text is readable on top of the image */
                  } 
.pamphlet-cover{
       padding: 20px;
                background-color: white; /* Ensure text is readable on top of the image */
}

/* Handle mobile responsiveness */
@media (max-width: 600px) {
    .pamphlet {
        width: 100%;
        padding: 10px;
    }

    .pamphlet-cover h1 {
        font-size: 24px;
    }

    .pamphlet-content h2 {
        font-size: 20px;
    }

    .pamphlet-footer p {
        font-size: 14px;
    }
}
