.main-content {
    min-height: calc(100vh - 80px); /* Subtract header height */
    padding: 40px;
    text-align: left;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* For index page specifically */
body:not(.blog-page) .main-content {
    justify-content: center;
    height: calc(100vh - 80px);
}

.main-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    position: relative;
    display: inline-block; /* To make the underline work */
    line-height: 1.1;
}

.main-content p {
    font-size: 1.2em;
    margin-bottom: 10px;
}