/* Font Face Declarations */

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.12.1/font/bootstrap-icons.min.css");

/* Animation Keyframes */
@keyframes slideUp {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translateY(20px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    opacity: 0;
    visibility: hidden;
    filter: blur(10px);
    animation: slideUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

@font-face {
    font-family: 'NextDisplay';
    src: url('fonts/NextDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NextDisplay';
    src: url('fonts/NextDisplay-Extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}


@font-face {
    font-family: 'NextDisplay';
    src: url('fonts/NextDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Next Display Extended';
    src: url('fonts/NextDisplayExtended-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Color Variables */
:root {
    --next-primary: #007E96;
    --next-subtle: #5b848c;
}

.NextDisplay {
    font-family: 'NextDisplay', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}


body {
    font-family: 'NextDisplay', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.content {
    /* Base styles for content container */
    max-width: 65ch; /* Ideal reading width for articles */
    margin: 0 auto;
    padding: 2rem;
    font-family: 'NextDisplay', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 1.125rem; /* Slightly larger base font size for better readability */
}

/* Heading hierarchy */
.content h1 {
    font-size: 2.5rem;
    font-weight: 800; /* Using Extrabold */
    margin-bottom: 2rem;
    color: var(--next-primary);
    line-height: 1.2;
    max-width: 100%;
}

.content h2 {
    font-size: 2rem;
    font-weight: 700; /* Using Bold */
    margin: 2.5rem 0 1.5rem;
    color: var(--next-primary);
    line-height: 1.3;
    max-width: 100%;
}

.content h3 {
    font-size: 1.5rem;
    font-weight: 500; /* Using Medium */
    margin: 2rem 0 1rem;
    color: var(--next-subtle);
    line-height: 1.4;
    max-width: 100%;
}

/* Button styles */
.content a[href] {
    color: var(--next-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: 'NextDisplay', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.content a[href]:hover {
    color: var(--next-subtle);
}

.content a.bg-blue-500 {
    background-color: #000000 !important;
    color: white !important;
    font-weight: 500; /* Using Medium weight for better readability */
    letter-spacing: 0.5px;
}

.content a.bg-blue-500:hover {
    background-color: #333333 !important;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* List styles */
.content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    max-width: 100%;
}

.content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Paragraph styles */
.content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        padding: 1rem;
        max-width: 90%; /* Slightly wider on mobile but still narrow */
    }

    .content h1 {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.75rem;
    }

    .content h3 {
        font-size: 1.25rem;
    }
} 