.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 18rem;
    padding: 3rem 2rem;
}
@media screen and (max-width: 850px) {
    .main-content {
        min-height: 25rem;
        align-items: start;
    }
}

.main-content h2 {
    padding-bottom: 1rem;
    font-size: 1.6rem;
    color: #333;
}
.main-content a {
    font-size: 20px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
}

.main-content a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 500px) {
    .main-content h2 {
        font-size: 20px;
    }
    .main-content a {
        font-size: 1rem;
    }
}