/* styles.css */

/* General Reset and Body Styling */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f6f8fa; /* Light gray background */
    color: #24292e; /* Dark text for contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

/* Main content container */
.container {
    max-width: 600px;
    padding: 2rem 3rem;
    border: 1px solid #d0d7de; /* Light border */
    border-radius: 8px;
    background-color: #ffffff; /* White container */
}

/* Header styles */
header h1 {
    font-size: 3rem;
    color: #0969da; /* A nice, accessible blue */
    margin-bottom: 0.5rem;
    /* Flexbox for aligning image and text */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for the logo image inside the h1 */
.logo-img {
    height: 2.8rem; /* Adjust size as needed */
    margin-right: 0.75rem; /* Space between logo and text */
}

.subtitle {
    font-size: 1.1rem;
    color: #57606a; /* Medium gray for subtitles */
    margin-top: 0;
    margin-bottom: 2rem;
}

/* Main content section */
.content p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Code block for example */
pre {
    background-color: #f6f8fa; /* Match body background */
    border: 1px solid #d0d7de; /* Match container border */
    border-radius: 6px;
    padding: 1rem;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-all;
}

code {
    font-family: "SF Mono", "Consolas", "Liberation Mono", Menlo, monospace;
    font-size: 0.95rem;
    color: #24292e; /* Match main text color */
}

/* Styles for the example URL to make it look better */
.url-base {
    color: #57606a; /* Gray for the static part */
}

.url-placeholder {
    color: #0969da; /* Blue to highlight the dynamic part */
    font-style: italic;
}


/* Link and Button styles */
a {
    color: #0969da;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #0969da;
    color: #ffffff;
    border: 1px solid #0969da;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

.button:hover {
    background-color: #0a5cc9;
    text-decoration: none;
    color: #ffffff;
}

/* Footer styles */
footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #57606a;
}
