::selection {
    background-color: var(--primary);
    color: white;
}

.space-grotesk-normal {
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.luxurious-roman-regular {
  font-family: "Luxurious Roman", serif;
  font-weight: 400;
  font-style: normal;
}

.geist-mono {
  font-family: "Geist Mono", monospace;
  font-optical-sizing: auto;
}

/*@media (prefers-color-scheme: light) {*/
  :root {
    --text: #0f0e1b;
    --background: #fdf6e2;
    --primary: #ff5d05;
    --secondary: #d1a094;
    --secondary20: hsl(12, 40%, 70%, 20%);
    --accent: #f4d47b;
  }
/*}*/
/*@media (prefers-color-scheme: dark) {
  :root {
    --text: #e5e4f1;
    --background: #1d1602;
    --primary: #fa5700;
    --secondary: #6b3a2e;
    --secondary20: hsl(12, 40%, 30%, 20%);
    --accent: #84640b;
  }
}*/

body {
    background-color: var(--background);
    padding: 0px;
    margin-left: 0px; margin-right: 0px;
    background-image: url(grain.png);

    background-attachment: scroll;
    background-repeat: repeat;
    background-size: 100px 100px;
    color: var(--text);
}

.logo-text {
    font-size: 55px;
}

#logo {
    position: relative;
}

#logo-short {
    color: var(--text);
    position: relative;
    line-height: 200px;
    height: 200px;
    display: inline-block;
    letter-spacing: -8px;
    padding-top: 5px;
    transition: all 200ms ease-in-out;
}

header:hover > #logo > #logo-short {
    letter-spacing: 110px;
    /*transform: translateX(-58px);*/
    transition: all 500ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

#logo-short:after {
    content: "1";
    font-size: 95px;
    position: absolute;
    top: 0px;
    right: 12px;
    color: var(--primary);
    z-index: -1;
    font-family: "Luxurious Roman", serif;
    pointer-events: none;
}

#logo-name {
    color: var(--text);

    display: inline-block;
    opacity: 0;
    filter: blur(3px);

    position: absolute;
    height: 200px;
    left: 31px;
    padding-top: 5px;
    
    line-height: 200px;
    letter-spacing: -3px;
    pointer-events: none;
    transition: all 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
}


header:hover > #logo > #logo-name {
    opacity: 1;
    filter: blur(0px);
    color: --text;
    transition: all 750ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

#logo-name:after {
    position: absolute;
    left: 0px;
    right: -1px;
    top: 0px;
    bottom: 0px;
    content: " ";
    pointer-events: none;
    background: #FDF6E3;
    background: linear-gradient(90deg,rgba(253, 246, 227, 0) 30%, rgba(253, 246, 227, 1) 30%, rgba(253, 246, 227, 1) 100%);
    transition: all 300ms ease-in-out;
}

header > #logo > #logo-name:after {
    left: 150px;
    transition: all 750ms cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* === NAV === */
header {
    position: sticky;
    top: 0px;
    display: flex;
    padding: 0px 50px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-height: 100px;
    backdrop-filter: blur(10px);
}

@media screen and (min-width: 750px) {
    .nav {
        display:block;
    }

    .hamburger {
        display: none;
    }
}

@media screen and (max-width: 750px) {
    .nav {
        display:none;
    }

    .hamburger {
        display: block;
    }
}

/* == MAIN == */
main {
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
    font-family: "Geist Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    padding: 0px 50px;
    max-width: 50rem;
}

p {
    font-size: 1.25em;
}

.main-link {
    position: relative;
    font-family: "Geist Mono", monospace;
    text-decoration: none;
    color: var(--text);
    font-size: 1.5em;
    margin: 0px 12.5px;
    padding: 10px 20px;
    transition: all 100ms ease-out;
}

.main-link:hover {
    color: var(--background);
    font-weight: bold;
    transition: all 200ms ease-out;
    background-color: var(--primary);
}

.main-link:after {
    opacity: 0;
    content: " ";
    display: inline-block;
    background-image: url(arrow.svg);
    height: 0.7em;
    aspect-ratio: 1/1;
    background-size:contain;
    margin: auto;
    vertical-align: middle; 
}

.main-link:hover:after {
    opacity: 1;
    transition: all 200ms ease-out;
}

.underline {
    text-decoration-style: solid;
    text-decoration-line: none;
    text-decoration-color: var(--secondary);
    font-weight: bold;;
    margin-right: 5px;
}

#social-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 1.25em;
    height: fit-content;
    margin-bottom: 20px;
}

.social-icon {
    /*width: 50px;*/
    height: 2em;
    transition: all 100ms ease-out;
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-5px);
    transition: all 100ms ease-out;
}

.icon-link {
    height: 2em;
}

#main-top {
    font-family: "Geist Mono", monospace;
    text-align: center;
}

hr {
    position: relative;
    border-width: 0px;
    height: 2px;
    background: radial-gradient(circle,rgb(120, 120, 120) 0%, rgba(111, 111, 111, 0) 100%);
    margin: 15px 0px;
}

.squiggle {
    width: 100%;
}

.align-center {
    text-align: center;
}

/* === BLOG === */

.blog-entry-container {
    display: flex;
    flex-direction: column;
    transition: all 100ms ease-out;
    cursor: pointer;
}

.blog-entry-title {
    display: inline-block;
    font-size: 1.25em;
    margin-bottom: 5px;
    transition: all 100ms ease-out;
    font-style: italic;
}

.blog-entry-desc {
    display: inline-block;
    color: var(--secondary);
    margin-bottom: 2px;
    transition: all 100ms ease-out;
}

.blog-entry-horiz {
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.orange-highlight {
    width: 5px;
    border-radius: 50px;
    margin-right: 10px;
    background-color: var(--primary);
}

.blog-entry-date-container {
    margin-top: 5px;
    margin-left: 15px;
    color: var(--secondary);
    font-size: 0.9em;
    transition: all 100ms ease-out;
}

.blog-entry-container:hover {
    transform: translateX(10px);
    transition: all 200ms ease-out;
}

.blog-entry-container:hover > .blog-entry-title {
    color: var(--primary);
    font-weight: bold;
    transition: all 200ms ease-out;

}

.more {
    cursor: pointer;
    display: block;
    margin-top: 20px;
    text-align: center;
    width: fit-content;
    padding: 5px 15px;
    margin-left: auto; margin-right: auto;
    margin-bottom: 20px;
}


/* === FOOTER === */

footer {
    padding-top: 20px;
    max-width: 50em;
    margin: 0px auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

#footer-middle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.spacer-v {
    flex-grow: 1;
    width: 100%;
    height: 100%;
}

#footer-name {
    font-family: "Geist Mono", monospace;
    font-weight: 500;
}

#footer-copy {
    font-family: "Geist Mono", monospace;
    font-weight: light;
    color: var(--secondary);
}

.footer-link {
    font-family: "Geist Mono", monospace;
    font-weight: light;
    text-decoration: none;
    color: var(--text);
    font-size: 1.25em;
    padding: 5px 10px;
    transition: all 100ms ease-out;
}

.footer-link:hover {
    background-color: var(--primary);
    transform: translateX(5px);
    transition: all 200ms ease-out;
    color: var(--background);
    font-weight: bold;
}
  
#footer-image {
    margin-bottom: 10px;
}

.align-end {
    align-items: end;
}

.align-end > .footer-link:hover {
    transform: translateX(-5px) !important;
}

/* === CARD === */
.card {
    background-color: var(--secondary20);
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 500px;
    border-radius: 25px;
    border-style: solid;
    border-width: 2px;
    border-color: var(--secondary);
    transition: all 100ms ease-out;
}

.card:hover {
    transform: translateY(-5px);
    transition: all 200ms ease-out;
}

.card-img {
    border-radius: 25px 25px 0px 0px ;;
}

.card-title {
    font-size: 1.5em;
    font-weight: bold;
    text-align:center;
}

.card-date {
    color: var(--secondary);
    text-align: center;
}