/* ia-writer-mono-latin-400-normal */
@font-face {
    font-family: "iA Writer Mono";
    font-style: normal;
    font-display: swap;
    font-weight: 400;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-400-normal.woff2)
            format("woff2"),
        url(https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-400-normal.woff)
            format("woff");
}

/* ia-writer-mono-latin-700-normal */
@font-face {
    font-family: "iA Writer Mono";
    font-style: normal;
    font-display: swap;
    font-weight: 700;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-700-normal.woff2)
            format("woff2"),
        url(https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-700-normal.woff)
            format("woff");
}

/* ia-writer-mono-latin-400-italic */
@font-face {
    font-family: "iA Writer Mono";
    font-style: italic;
    font-display: swap;
    font-weight: 400;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-400-italic.woff2)
            format("woff2"),
        url(https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-400-italic.woff)
            format("woff");
}

/* ia-writer-mono-latin-700-italic */
@font-face {
    font-family: "iA Writer Mono";
    font-style: italic;
    font-display: swap;
    font-weight: 700;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-700-italic.woff2)
            format("woff2"),
        url(https://cdn.jsdelivr.net/fontsource/fonts/ia-writer-mono@latest/latin-700-italic.woff)
            format("woff");
}

:root {
    --white: #efefef;
    --transwhite: rgba(239, 239, 239, 0.7);
    --moretranswhite: rgba(239, 239, 239, 0.1);
    --black: #252525;
    --transblack: rgba(37, 37, 37, 0.7);
    --moretransblack: rgba(37, 37, 37, 0.1);
    --gray: #a4a4a4;
    --highlight: #e5ffc3;
    --red: #e4002b;
    --green: #24d05a;
    --pink: #eb4888;
    --blue: #10a2f5;
    --yellow: #e9bc3f;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--black);
    color: var(--white);
}

body,
button {
    font-family: "iA Writer Mono", monospace;
}

::selection {
    background-color: var(--highlight);
    color: var(--black);
}

body .go-home,
a,
.hubspot input,
.hubspot label span {
    background: var(--black);
    color: var(--white);
}

.hubspot input {
    border: 3px solid var(--white);
}

button {
    width: 120px;
    height: 30px;
    background: transparent;
    border: 2px solid var(--gray);
    border-radius: 15px;
    box-sizing: border-box;
    color: var(--gray);
    font-size: 1rem;
    overflow: auto;
    transition: 0.4s ease all;
}
button:hover {
    background: rgba(150, 151, 156, 0.1);
    cursor: pointer;
}

.container {
    margin: 50px auto;
    padding: 5px;
    max-width: 650px;
}
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.header-frame {
    max-width: 350px;
    margin: 0 auto;
}

.go-home {
    position: fixed;
    top: 5px;
    left: 20px;
    padding: 5px 5px 5px 0;
    background: var(--black);
    box-sizing: border-box;
}

.dark-mode-toggler {
    position: fixed;
    top: 5px;
    right: 20px;
}
.dark-mode-toggler label {
    position: relative;
}
.dark-mode-toggler input[type="checkbox"] {
    display: none;
}
.dark-mode-toggler input[type="checkbox"] + label::before {
    content: "";
    display: block;
    height: 26px;
    width: 60px;
    background: var(--black);
    border: 2px solid var(--gray);
    border-radius: 15px;
    position: absolute;
    top: 0px;
    left: -65px;
}
.dark-mode-toggler input[type="checkbox"] + label::after {
    content: "";
    display: block;
    height: 20px;
    width: 20px;
    background: var(--gray);
    border: 2px solid var(--white);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: -62px;
    transition: all 0.4s ease-in;
}
.dark-mode-toggler input[type="checkbox"]:checked + label::before {
    background: var(--black);
    border: 2px solid var(--white);
}
.dark-mode-toggler input[type="checkbox"]:checked + label::after {
    left: -28px;
    background: var(--black);
    border: 2px solid var(--white);
    transition: all 0.4s ease-in;
}

h1 {
    font-weight: 400;
    margin: 0;
}

h2 {
    color: var(--gray);
    font-weight: 300;
    margin: 0 0 0.5em 0;
}

a {
    color: var(--white);
    text-decoration-thickness: 0.3ex;
    text-underline-offset: 0.3ex;
}
a:hover {
    font-weight: bold;
}

table {
    margin: 20px auto;
    border-collapse: collapse;
}

thead tr {
    border-bottom: 3px solid var(--white);
}

tbody tr:not(:last-child) {
    border-bottom: 2px solid var(--gray);
}

tr td {
    padding: 20px;
}

tr td:nth-child(1) {
    padding-left: 0;
    font-weight: bold;
}

tr td:nth-child(2) {
    padding-right: 0;
    text-align: right;
}

br {
    display: block;
    content: "";
    margin-bottom: 15px;
}

tr td br {
    margin-bottom: 0;
}

.img-frame {
    position: relative;
    width: 225px;
    height: 225px;
    margin: 0 0 10px 0;
    border-radius: 50%;
    overflow: hidden;
}
.img-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.links {
    margin: 25px 0;
}
.links a:not(:last-child) {
    padding: 0 12px 0 0;
}

.newsletter-blurb {
    margin: 30px 0;
    line-height: 1.6;
}

.newsletter-blurb span {
    /* color: var(--pink); */
    text-shadow: 1px 1px 0 var(--pink);
    /* font-weight: bold; */
}

.newsletter-blurb span.green {
    text-shadow: 1px 1px 0 var(--green);
}

.newsletter-blurb span.blue {
    text-shadow: 1px 1px 0 var(--blue);
}

.newsletter-blurb span.yellow {
    text-shadow: 1px 1px 0 var(--yellow);
}

.newsletter-blurb .issue-links {
    text-align: center;
}

.hubspot label span {
    color: var(--white);
}

.hubspot input {
    padding: 5px;
    color: var(--white);
    font-family: "iA Writer Mono", monospace;
    font-size: 1em;
    border: 3px solid var(--white);
}

.hubspot input[type="submit"] {
    cursor: pointer;
}

.hubspot ul {
    padding: 0;
    color: var(--gray);
    font-size: 0.8em;
    list-style-type: none;
}

.hubspot .actions {
    margin: 1em 0;
}

.hubspot .submitted-message {
    color: var(--pink);
}

.sneaky-sponsor {
    color: var(--gray);
}

@media (max-width: 600px) {
    .links {
        text-align: center;
    }
}

.toggler {
    margin: 25px 0;
}
.toggler .show {
    border-color: var(--pink);
    color: var(--pink);
}
@media (max-width: 600px) {
    .toggler {
        text-align: center;
    }
    .toggler button {
        margin: 5px;
    }
}

.bio {
    line-height: 1.6;
    font-size: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
}

.contact {
    margin: 25px 0;
    line-height: 1.6;
}
