body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header, footer {
    text-align: center;
    background-color: #f4f4f4;
    padding: 10px 0;
}

.header-image, .footer-image {
    max-width: 100%;
    height: auto;
}

main {
    display: flex;          /* Use Flexbox to layout the sections side by side */
    justify-content: space-between;  /* Distribute space between sections */
    gap: 20px;              /* Add gap between the sections */
    padding: 20px;
}

.section-image {
    width: auto;            /* Maintain aspect ratio */
    max-width: 100%;          /* Set the height to 400px */
    max-height: 400px;          /* Set the height to 400px */
    object-fit: cover;      /* Ensure the image scales nicely */
    margin-bottom: 20px;    /* Add space between image and button container */
}

section {
    flex: 1;                /* Allow both sections to take equal width */
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    display: flex;          /* Use Flexbox for centering the content inside */
    flex-direction: column; /* Stack elements vertically within each section */
    align-items: center;    /* Center align items horizontally */
    justify-content: center;/* Center content vertically */
    height: 100%;  
}

.accordion {
    color: #444;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.2em;
    transition: background-color 0.4s ease;
	margin-bottom: 3px;
}

#acord-cervix .accordion {
    background-color: #E5E2F0;
}

#acord-cervix .accordion:hover, #acord-cervix .accordion.active {
    background-color: #CCCCFF;
}

#acord-colon .accordion {
    background-color: #F6AEBF;
}

#acord-colon .accordion:hover, #acord-colon .accordion.active {
    background-color: #FFC0CB;
}

.accordion-content {
    padding: 15px;
    display: none;
    background-color: white;
    overflow: hidden;
    border-top: 1px solid #ddd;
}

.accordion-content.show {
    display: block;
}

button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    color: white;
    background-color: #5E3682;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #452863;
}

#acord-colon .button-container button {
    background-color: #EE5194;
}

#acord-colon .button-container button:hover {
    background-color: #C04176;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    main {
        flex-direction: column; /* Stack sections vertically on small screens */
    }
}
