:root {
    --color-white: #fff;
    --color-black: #000;
    --color-red: red;
}

*, *:before, *:after { box-sizing: border-box; }

html {
    color: var(--color-white);
    background-color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
}
body {
    margin: 0;
}
main {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 100px;
}
p {
    font-size: 30px;
    line-height: 38px;
}
figure {
    margin: 0;
}
img {
    max-width: 100%;
}
a {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: var(--color-red);
    text-underline-offset: 4px;
}
a:hover {
    color: var(--color-red);
}

/* Media */
figure {
    margin: 0;
    padding: 0;
}
figure figcaption {
    font-size: 16px;
    line-height: 19px;
    margin-top: 5px;
}
img, iframe, video, audio {
    width: 100%;
    -webkit-box-shadow: 8px 8px 24px -2px var(--color-red);
    box-shadow: 8px 8px 24px -2px var(--color-red);
}

.headshot img {
    object-fit: cover;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    max-width: 400px;
}


/* Navigation */
nav {
    display: flex;
    justify-content: space-around;
    gap: 4px;
    padding: 10px;
}
nav a {
    color: var(--color-red);
    width: 100%;
    text-align: center;
    padding: 8px 0;
    border: 1px double var(--color-red);
    text-underline-offset: 2px;
    cursor: pointer;
}
nav a:hover {
    color: var(--color-white);
    text-decoration-color: var(--color-white);
}
/* nav a:hover,
nav a.active {
    color: var(--color-black);
    background-color: var(--color-red);
    font-weight: bold;
    fill: var(--color-black);
} */
#star {
    width: min-content;
    border-color: transparent
}
#star svg {
    width: 10px;
    margin: 0 9px 0 3px;
    fill: var(--color-red);
}
#star:hover svg {
    fill: white;
}

#color-toggle {
    position: fixed;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-red);
    cursor: pointer;
    background-color: var(--color-black);
    padding: 10px;
    z-index: 1000;
}
#color-toggle svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-red);
    fill: none;
}
#color-toggle:hover svg {
    stroke: var(--color-white);
}

#newsletter-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-red);
    text-decoration: none;
    cursor: pointer;
    background-color: var(--color-black);
    padding: 10px;
    z-index: 1000;
}
#newsletter-button svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-red);
}
#newsletter-button:hover svg {
    stroke: var(--color-white);
}
/* #star:hover svg,
#star.active svg {
    fill: var(--color-black) !important;
} */
/* #star {
    font-size: 26px;
    position: relative;
    width: 120px;
}
#star span {
    position: absolute;
    top: 21px;
    left: 17px;
    transform: translate(-50%, -50%);
} */
/* nav a#star.active {
    border-radius: 100%;
} */

.site-credit {
    font-size: 14px;
    line-height: 16px;
    color: var(--color-red);
}
.site-credit a {
    color: var(--color-red);
}

/* Mobile Styles */
@media (max-width: 768px) {
    p {
        font-size: 20px;
        line-height: 28px;
    }
}