.home h1,
.terms h1,
h1.gallery-empty,
section.notfound h1,
.home .contest,
.terms .contest {
    text-transform: uppercase;
    color: var(--heading);
    text-shadow: none;
}

.home h1,
.terms h1,
h1.gallery-empty,
section.notfound h1 {
    font-family: RuthlessSketch, sans-serif;
    font-weight: 400;
    text-shadow: 1px 2px 0 var(--white);
    -webkit-text-stroke: 1px var(--white);
    max-width: 8.2em;
    margin: 20px auto 0;
    line-height: 1.05;
}

h1.gallery-empty + a.uploadbutton {
    margin-top: 40px;
}

.home .contest,
.terms .contest {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    text-shadow: 1px 2px 0 var(--white);
    margin: 8px auto 20px;
    line-height: 1.2;
}

@media (max-width: 459.999px) {
    main h1 {
        font-size: 48px;
    }

    .contest {
        font-size: 42px;
    }
}

@media (min-width: 460px) {
    .home h1,
    .terms h1,
    h1.gallery-empty,
    section.notfound h1 {
        font-size: 56px;
    }

    .home .contest,
    .terms .contest {
        font-size: 46px;
    }
}

.home .text,
section.notfound .text {
    max-width: 380px;
    margin: 0 auto;
    font-family: NotoIKEALatin, sans-serif;
    font-weight: 400;
    line-height: 22px;
}

.home .text p,
section.notfound .text p {
    margin: 10px 0;
}

.home .text strong {
    font-weight: 700;
}

.home .text a.uploadbutton {
    margin: 30px 0;
}

/* Desktop */
@media (min-width: 1280px) {
    .home,
    section.notfound > div {
        margin-left: 60px;
    }
}