body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #520484;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column; /* Added for vertical stacking */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.content-block {
    background-color: #FFFFFF;
    color: #333333;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    width: 100%; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    line-height: 1.8em;
    font-weight: 400;
    position: relative; 
    box-sizing: border-box; 
    word-break: break-word;
}

h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c2c2c;
}

h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #3a3a3a;
}

h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4a4a4a;
}

p {
    margin-bottom: 15px;
}

ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

a {
    color: #520484;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

.back-button {
    display: block;
    width: 70%; /* 30% smaller than 100% width */
    max-width: 560px; /* Ensure it scales proportionally with the container */
    margin: 20px auto;
    padding: 10px 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    background-color: #b0e800;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.back-button:hover {
    background-color: #9fcf00;
}

@media (max-width: 768px) {
    .content-block {
        font-size: 1em; 
        padding: 20px;
    }
    
    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1em;
    }
}