main { font-family: "Source Sans Pro", sans-serif; }
.page-width {
    margin: 0 auto;
    padding: 10rem 2rem;
    width: 100%;
    display: grid;
    gap: 4rem;
}
.page-width div:first-child a {
    display: block;
    position: relative;
    padding-bottom: 8px;
}
.page-width div:first-child a:after {
    content: '';
    background: url('/posters/img/icon-magnifying-glass.svg');
    display: block;
    width: 26px;
    height: 26px;
    position: absolute;
    bottom: 0;
    right: 8px;
}
.page-width div:first-child img {
    margin-top: 0.5rem; 
}
.page-width div:first-child a + a {
    display: block;
    margin-top: 2.5rem;    
}
main a { color: #dd1100; } 
main a:hover { color: #ff7700; }

main h1 {
    color: #dd1100;
    font-size: 2.375rem;
    font-weight: 600;
    letter-spacing: -0.25px; 
    line-height: 1;
}
main h1 span {
    color: #323232;
    display: block;
    font-weight: 300;
}
main p {
    font-size: 1.125rem;
    line-height: 1.5; 
    padding-top: 1rem;
}
main p em {
    color: #666;
    font-size: 1rem;
}

.brillouin-zones {
    grid-template-columns: 535px 1fr;
    max-width: calc(875px + 4rem);
}
.riemann-zeta {
    grid-template-columns: 1fr;
    max-width: calc(950px + 4rem);
}
.riemann-zeta div:first-child {
    width: 100%;
    overflow: hidden;
}
.riemann-zeta h1 span {
    display: inline;
}
.quintic {
    align-items: center;
    grid-template-columns: 370px 1fr;
    max-width: calc(750px + 4rem);
}
.brillouin-zones img, 
.quintic img {
    height: auto;
    max-width: 100%;
}


/*magnific*/
img.mfp-img { padding: 0; }
.mfp-figure:after { display: none;}



@media (max-width: 900px) {
    .page-width {
        grid-template-columns: 1fr;
        max-width: 100% !important;
        justify-items: center;
        padding-top: 4rem;
    }
    .riemann-zeta div:first-child {
        justify-self: start;
    }
}


@media (max-width: 600px) {
    .page-width {
        gap: 2rem;
        padding-top: 2rem;
    }
}