body {
    display: flex;
    flex-direction: column;
}

main {
    height: 100%;
    color: var(--yellow);
    padding-right: 40px;
    font-family: "YetsonMono", serif;
    font-weight: 400;
}

h1 {
    width: 100%;
    height: calc(95% - 150px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: var(--xxLarge); 
    font-family: inherit;
    font-weight: inherit;
}

.heading {
    color: var(--yellow);
    text-align: right;
}

.subheading {
    font-size: calc(var(--medium) + 1px);
    text-align: right;
}

#homeNav {
    text-align: right;
    margin-top: 30px;
}


#homeNav a {
    font-family: inherit;
    font-weight: inherit;
    font-size: var(--medium);
    text-underline-offset: 4px;
}

ul {
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
}

#homeNav li {
    padding: 5px 0;
}

#homeNav li::marker {
    font-size: 1.5rem;
    line-height: 80%;
}

.photo-credit {
    position: absolute;
    bottom: -10px;
    transform-origin: 0 0;
    transform: rotate(-90deg);
    color: var(--yellowLight);
    font-size: var(--small);
}



@media only screen and (max-width: 600px) {
    main {
            margin-right: 20px;
            margin-left: 10px;
    }

}

/*--- Mobile ---*/
@media only screen and (max-width: 500px) {
    main {
        padding: 0;
    }
    h1 {
        width: 100%;
        height: calc(100% - 150px);
    }
    #homeNav li {
        padding: 0;
    }
}