@font-face {
    font-family: 'DaddyTimeMono Nerd Font';
    src: url('/fonts/DaddyTimeMonoNerdFont-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DaddyTimeMono Nerd Font Mono';
    src: url('/fonts/DaddyTimeMonoNerdFontMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DaddyTimeMono Nerd Font Propo Mono';
    src: url('/fonts/DaddyTimeMonoNerdFontPropo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'DaddyTimeMono Nerd Font Propo Mono', monospace;
    line-height: 1.6;
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
    overflow-wrap: break-word;
}

code {
    font-family: '', monospace !important;
}

code:not(pre > code) {
    color: #d2691e;
    background-color: #fff5f3;
    border: 1px solid #ffcccb;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.9em;
    box-shadow: 0 1px 3px rgba(255, 127, 80, 0.1);
    transition: all 0.2s ease;
}

code:not(pre > code):hover {
    background-color: #ffe4e1;
    border-color: #ff7f50;
    box-shadow: 0 2px 6px rgba(255, 127, 80, 0.2);
    transform: translateY(-1px);
}

header h1, header h3 {
    margin: 0;
}

header h1 a, header h3 a {
    text-decoration: none;
    color: inherit;
}

header h1 span, header h3 span {
    color: coral;
    transition: transform 0.2s ease;
    display: inline-block;
    margin-right: 0.25em;
}

header h3 a:hover span {
    transform: translateX(-3px);
}

header p, small {
    color: gray;
}

header a {
    color: inherit;
}

header a:visited {
    color: inherit;
}

a {
    color: coral;
    text-decoration-color: rgba(255, 127, 80, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
    padding: 1px 2px;
    border-radius: 3px;
}

a:hover {
    text-decoration-color: coral;
    text-shadow: 0 0 8px rgba(255, 127, 80, 0.3);
}

a:visited {
    color: #be5d39;
    text-decoration-color: rgba(190, 93, 57, 0.3);
}

a:visited:hover {
    text-decoration-color: #be5d39;
    text-shadow: 0 0 8px rgba(190, 93, 57, 0.3);
}

.avatar-image {
    object-fit: cover;
    float: inline-end;
    border-radius: 20%;
    width: 200px;
    height: 200px;
    margin-left: 20px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .avatar-image {
        width: 150px;
        height: 150px;
        margin-left: 10px;
        margin-bottom: 10px;
    }
}

@media (max-width: 375px) {
    .avatar-image {
        width: 100px;
        height: 100px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

article picture {
    padding: 10px;
}

article img {
    border-radius: 20px;
}

article header {
    margin-top: 30px;
}

h2 {
    font-size: 1.3em;
}

h3 {
    font-size: 1.1em;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.image-medium {
    width: 50%;
    margin: 1rem auto;
    display: block;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-medium {
        width: 100%;
    }
}
