body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px; /* Default root font size */
}

.newsletter-container {
    background-image: url('https://pto50.thehavennation.org/assets/img/newsletter.jpg');
    background-size: cover;
    background-position: center top;  /* Adjust based on your needs */
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem; /* Responsive padding */
    box-sizing: border-box;
}

.newsletter-content {
    /*background-color: rgba(255, 255, 255, 0.8);*/ /* Optional background color with opacity */
    padding: 2rem; /* Responsive padding */
    border-radius: 0.625rem; /* 10px in rem units */
    max-width: 90vw;
    width: 100%;
    /*box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);*/ /* Optional shadow */
}

h1 {
    color: #333;
    font-size: 1.5rem; /* Responsive font size */
    margin-bottom: 0.625rem; /* Responsive margin */
    font-weight: 700;
}

p {
    color: #555;
    font-size: 1rem; /* Responsive font size */
    line-height: 1.5;
    margin-bottom: 0.625rem; /* Responsive margin */
    font-weight: 400;
}

img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto; /* Center images */
}
 
/* Additional media query for smaller screens */
@media (min-width: 300px) and (max-width: 400px) {
    body {
        font-size: 14px; /* Smaller root font size for smaller screens */
    }

    .newsletter-content {
        padding: 1rem; /* Smaller padding for smaller screens */
    }

    h1 {
        font-size: 1.25rem; /* Smaller heading font size */
    }

    p {
        font-size: 0.875rem; /* Smaller paragraph font size */
    }
}
