body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #f4f4f4;
    
    justify-content: center;
    align-items: center;
}

.bg{
    background: #51a652;
    background: -moz-radial-gradient(center, ellipse cover, #51a652 1%, #287b29 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%, #51a652), color-stop(100%, #287b29));
    background: -webkit-radial-gradient(center, ellipse cover, #51a652 1%, #287b29 100%);
    background: -o-radial-gradient(center, ellipse cover, #51a652 1%, #287b29 100%);
    background: -ms-radial-gradient(center, ellipse cover, #51a652 1%, #287b29 100%);
    background: radial-gradient(ellipse at center, #51a652 1%, #287b29 100%);
    filter: progid: dximagetransform.microsoft.gradient(startColorstr='#51a652', endColorstr='#287b29', GradientType=1);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
    padding-top: 50px;
    padding-bottom:125px
}

.container {
    width: 50%; /* Set to use half of the viewport width on desktop */
    max-width: 600px; /* Max width for larger screens */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: auto;
}

.content {
    padding: 40px; /* Increased padding for better spacing */
    text-align: center;
}

h1 {
    font-size: 2.5rem; /* Increased font size for desktop */
    color: #333;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.25rem; /* Increased font size for desktop */
    color: #666;
    margin-bottom: 2rem;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscription-form input[type="email"] {
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;

}

.subscription-form input[type="text"] {
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;

}

.subscription-form button {
    padding: 15px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscription-form button:hover {
    background-color: #357a38;
}

@media (max-width: 768px) {
    .container {
        width: 80%; /* Use more of the viewport width on smaller screens */
    }
    
    .content {
        padding: 20px; /* Reduce padding on smaller screens */
    }
}
