.theme-light {
    --main-bg-color: #fefefe;
    --maih-text-color: #111111;
}
.theme-dark {
    --main-bg-color: #111111;
    --main-text-color: #ededed;
}

@font-face {
    font-family: 'Goudy Bookletter 1911';
    font-weight: normal;
    font-style: normal;
    src: url('/blog/fonts/goudy_bookletter_1911-webfont.woff') format('woff'),
         url('/blog/fonts/goudy_bookletter_1911-webfont.ttf') format('truetype');
}

html {
    background-color: var(--main-bg-color);
    align-items: center;
    color: var(--main-text-color);
    display: flex;
    font-family: 'Goudy Bookletter 1911', 'Computer Modern Serif', serif;
    font-size: 2em;
    height: 100%;
    justify-content: center;
    margin: 0;
    position: relative;
}

body {
    display: flex;
    margin: 1em;
    padding: 1em;
}

h1 {
    font-size: 2em;
    grid-column: 1 / -1;
    margin-top: 0.5em;
    margin-bottom: 3em;
    color: var(--main-text-color);
    -ms-transform: translateY(150%);
    transform: translateY(150%);
    position: absolute;
}

h2 {
    font-size: 2em;
    grid-column: 1 / -1;
    margin: 0;
    color: var(--main-text-color);
}


a {
    color: inherit;
    text-decoration: none;
}

a:focus,
a:hover {
    color: #005e8b;
}

nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    min-width: 24em;
    padding: 1em 0.5em;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

li {
    font-size: 1.5em;
}

li:last-child {
    border-bottom: 2px solid var(--main-text-color);
    padding-bottom: 1em;
}

img {
    height: auto;
    width: 3vw;
    min-width: 10em;
    top: 5em;
    padding: 2em;
    -ms-transform: translateY(100%);
    transform: translateY(100%);

}

.centering {
    display: flex;
    align-items: center;
    align-content: center;
    text-align: center;
    flex-direction: column;
}


@media (min-width: 1024px) {
    img {
        /* float: right; */
        /* -ms-transform: translateY(0%); */
        /* transform: translateY(0%); */
    }
}
