/* Astro default CSS styling. OVERRIDE IF NEEDED! */

main {
    margin: auto;
    padding: 1rem;
    width: 800px;
    max-width: calc(100% - 2rem);
    font-size: 20px;
    line-height: 1.6;
    color: var(--textcolor);
}
h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    margin-bottom: 1em;
}
.text-gradient {
    background-image: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text; /* VS code was complaining about compatibility, so I copied the above line's value into this line*/
    -webkit-text-fill-color: transparent;
    background-size: 400%;
    background-position: 0%;
}
.link-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24ch, 1fr));
    gap: 2rem;
    padding: 0;
}