.project-banner {
    display: block;
    margin: 0 auto;
    margin-bottom: -2rem;
    max-width: 100%;
    max-height: 25vh;
}

img.project-blog-image {
    display: block;
    max-width: 80%;
    max-height: 35vh;
    margin: 1rem auto 1.5rem auto;
    /* margin-top: 2rem; */
    border-radius: 8px;
    justify-self: center;
}

@media (max-width: 650px) {
    img.project-blog-image {
        max-width: 95%;
        /* max-height: 50vh; */
    }
}

p code {
    display: block;
    margin: 1.5rem auto;
    padding: 1rem;
    background-color: hsl(0, 0%, 20%);
    border: hsl(0, 0%, 30%) solid 3px;
    border-radius: 8px;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}

p cite {
    display: block;
    border-left: 3px solid hsl(0, 0%, 30%);
    padding-left: 1rem;
    margin-left: -1rem;
    color: hsl(0, 0%, 50%);
}

p kbd {
    display: inline-block;
    padding: 0.2em 0.5em;
    margin: -0.2em 0;
    background-color: hsl(0, 0%, 6%);
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
}

p formula {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.2em;
}

.project-link {
    display: block;
    margin: 0 auto;
    padding: 0.5em 1em;
    width: fit-content;

    color: white;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    
    background: hsl(0, 0%, 20%);
    border: hsl(0, 0%, 30%) solid 3px;
}

.project-link:hover {
    border-color: hsl(0, 0%, 40%);
}

.project-link.external-link::after {
    content: "";
    /* content: url("/icons/external-link.svg"); */
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    margin-left: 0.5ch;
    vertical-align:baseline;

    -webkit-mask-image: url("/icons/external-link.svg");
    mask-image: url("/icons/external-link.svg");
    
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;

    background-color: currentColor;
}