@import "./fonts.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #f9fafb;
    font-family: "Inter", sans-serif;
    line-height: 1.5;
}

::selection {
    background-color: rgba(74, 222, 128, 0.4);
    color: #dcfce7;
}

/* Custom font class */
span.plex {
    font-family: "IBM Plex Mono";
    font-size: 1.125rem; /* text-lg */
}

/* Blog article content styles */
.prose h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800;
    margin-top: 2rem; /* mt-8 */
    margin-bottom: 1rem; /* mb-4 */
    background: linear-gradient(to right, #4ade80, #14532d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.prose h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    margin-top: 1.5rem; /* mt-6 */
    margin-bottom: 0.75rem; /* mb-3 */
    color: #4ade80;
}

.prose p {
    font-size: 1.25rem; /* text-xl */
    margin-bottom: 1rem; /* mb-4 */
    line-height: 1.75; /* leading-relaxed */
}

.prose ul,
.prose ol {
    margin-left: 1.5rem; /* ml-6 */
    margin-bottom: 1rem; /* mb-4 */
}

.prose li {
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 0.5rem; /* mb-2 */
}

.prose code {
    background-color: rgba(255, 255, 255, 0.1); /* bg-white/10 */
    padding: 0.125rem 0.375rem; /* px-1.5 py-0.5 */
    border-radius: 0.25rem; /* rounded */
    font-family: "IBM Plex Mono";
}

.prose pre {
    background-color: rgba(255, 255, 255, 0.05); /* bg-white/5 */
    padding: 1rem; /* p-4 */
    border-radius: 0.5rem; /* rounded-lg */
    overflow-x: auto;
    margin-bottom: 1rem; /* mb-4 */
    margin-top: 1rem; /* mt-4 */
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    font-size: 0.875rem; /* text-sm */
}

.prose a {
    color: #4ade80;
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

.prose strong {
    font-weight: 700;
}

.prose em {
    font-style: italic;
}
