@font-face {
    font-family: 'Luckiest Guy';
    src: url('../fonts/LuckiestGuy-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Arvo';
    src: url('../fonts/Arvo-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Arvo';
    src: url('../fonts/Arvo-Bold.ttf') format('truetype');
    font-weight: bold;
}

body {
    background-color: #f0f0f0; /* Light gray background */
    color: #333; /* Dark gray text */
    font-family: 'Arvo', sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

.header h1 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 4em;
    margin-bottom: 0;
    color: #333; /* Dark color for header */
    position: relative; /* Needed for absolute positioning of dots */
    display: inline-block; /* To make width apply and allow relative positioning */
}

.header h1 .dot {
    position: relative;
    display: inline-block; /* To allow pseudo-elements to position relative to it */
}

.header h1 .dot::before {
    content: '';
    position: absolute;
    top: -0.05em; /* Adjust vertical position slightly lower */
    left: 45%;
    transform: translateX(0);
    width: 0.2em; /* Size of the dot */
    height: 0.2em; /* Size of the dot */
    background-color: #2AE4CA; /* Use variable, with pink as fallback */
    border-radius: 50%;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.5));
}

.header p {
    font-family: 'Arvo', sans-serif;
    font-size: 1.2em;
    margin-top: 0;
    color: #666;
    display: flex;
    align-items: center;
    white-space: nowrap;
    align-self: stretch;
    margin-left: -15px;
    margin-right: -15px;
}

.header p::before,
.header p::after {
    content: '';
    display: block;
    flex: 1;
    height: 8px;
    margin: 0 10px;
    background-repeat: no-repeat;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.3));
}

.header p::before {
    background-image: linear-gradient(to right, #2AE4CA 90%, transparent 90%), radial-gradient(circle, #2AE4CA 50%, transparent 50%);
    background-size: calc(100% - 4px) 2px, 8px 8px;
    background-position: right center, left center;
}

.header p::after {
    background-image: linear-gradient(to left, #2AE4CA 90%, transparent 90%), radial-gradient(circle, #2AE4CA 50%, transparent 50%);
    background-size: calc(100% - 4px) 2px, 8px 8px;
    background-position: left center, right center;
}

.apps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.app {
    background-color: #fff; /* White background for apps */
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    width: 300px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app:nth-child(1) {
    border-top: 10px solid #F56CB1;
}

.app:nth-child(2) {
    border-top: 10px solid #F75300;
}

.app .icon {
    width: 150px;
    height: 150px;
    border-radius: 25px;
}

.app h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333; /* Dark color for app titles */
}

.app .description {
    font-size: 1.1em;
    color: #666; /* Slightly lighter dark color */
    margin-bottom: 30px;
    flex: 1;
}

.links a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.links .website {
    background-color: #333; /* Dark background for website link */
    color: #fff; /* White text for website link */
}

.links .app-store img {
    width: 120px;
    vertical-align: middle;
}

.utilities {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.utilities-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.utilities-label {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 0;
    font-style: italic;
}

.utility {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #fff;
    border-radius: 14px;
    padding: 16px 24px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    text-align: left;
    width: 340px;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
}

.utility-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    flex-shrink: 0;
}

.utility-icon.emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background-color: #f5f5f5;
}

.utility-info h3 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.3em;
    margin: 0 0 4px 0;
    color: #333;
}

.utility-info p {
    font-size: 0.8em;
    color: #888;
    margin: 0 0 10px 0;
}

.utility-links {
    display: flex;
    gap: 8px;
}

.utility-links a {
    display: inline-flex;
    align-items: center;
    font-size: 0.8em;
    font-weight: bold;
    color: #555;
    text-decoration: none;
    background-color: #eee;
    padding: 4px 12px;
    border-radius: 6px;
    line-height: 1;
}

.utility-links a img {
    display: block;
}

.utility-links a span {
    position: relative;
    top: 1px;
}

.utility-links a:hover {
    background-color: #ddd;
}

.pixels {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pixels-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.pixel-app {
    display: block;
    background-color: #000;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out;
    line-height: 0;
}

.pixel-app:hover {
    transform: scale(1.05);
}

.pixel-app img {
    width: 256px; /* 4x scale */
    height: 128px; /* 4x scale */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    display: block;
    border-radius: 4px;
}

.main-nav {
    margin: 20px 0 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    font-weight: bold;
    color: #666;
    font-size: 1.1em;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #2AE4CA;
}

.footer {
    margin-top: 60px;
    padding: 20px 0;
}

.footer p {
    color: #999;
    font-size: 0.8em;
    font-style: italic;
}

@media (max-width: 600px) {
    .utility {
        width: calc(100% - 32px);
        margin: 0 auto;
    }
}

/* Blog Styles */

.blog-index {
    text-align: left;
    max-width: 700px;
    margin: 40px auto;
}

.blog-index h1 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3em;
    color: #333;
    text-align: center;
}

.post-list {
    list-style: none;
    padding: 0;
}

.post-list li {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-top: 10px solid transparent; /* Reserve space for the bar */
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    border-top-color: #2AE4CA; /* The signature teal color */
}

.post-list h3 {
    margin: 5px 0 0 0;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.8em;
}

.post-link {
    color: #333;
    text-decoration: none;
}

.post-link:hover {
    color: #333; /* Keep it dark */
}

.post-meta {
    font-size: 0.9em;
    color: #999;
    font-style: italic;
}

.post {
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3em;
    margin-bottom: 10px;
}

.post-content h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 2em;
    margin-top: 30px;
}

.post-content h3 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.5em;
}

.post-content p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}

.post-content blockquote {
    border-left: 5px solid #2AE4CA;
    padding-left: 20px;
    margin-left: 0;
    font-style: italic;
    color: #666;
}

.post-content code {
    background: #f4f4f4;
    padding: 2px 5px;
    border-radius: 4px;
}

.post-content pre {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
}

.post-content aside {
    background: #f1f1f1;
    padding: 24px;
    border-radius: 12px;
    border: none;
    margin: 30px 0;
    display: grid !important;
    grid-template-columns: 50px 1fr; /* Fixed width for emoji column */
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.callout-emoji {
    font-size: 2.2em; /* Significantly larger */
    line-height: 1;
    display: block;
    margin-top: -4px; /* Adjust for font baseline */
}

.callout-text {
    font-size: 1.1em;
    line-height: 1.5;
    color: #37352f;
}

.callout-text p {
    margin: 0 !important;
}

.post-content aside p:last-child {
    margin-bottom: 0;
}
