body,
h1,
h2,
h3,
p,
ul {
    font-family: 'Roboto', sans-serif;
    /* Use Roboto everywhere */
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section {
    margin-top: 60px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    font-size: 1.8em;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header nav ul li a:hover {
    text-decoration: underline;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-items {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

.nav-items li {
    margin-left: 20px;
}

.nav-items a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
}

.nav-items a:hover {
    text-decoration: underline;
}


main {
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 1.8em;
    color: #f56565;
    margin-bottom: 1rem;
}

/* API Call Section */
.api-call {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.api-call h3 {
    display: flex;
    align-items: center;
    font-size: 1.2em;
}

.method-get {
    background-color: #68d391;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
}

.method-post {
    background-color: #f56565;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
}

pre {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
    color: #333;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin: 0;
}

footer ul {
    list-style: none;
    display: flex;
}

footer ul li {
    margin-left: 20px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

.flash-message {
    padding: 12px 16px;
    margin: 12px 0;
    border: 1px solid;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.flash-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.flash-text {
    flex-grow: 1;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.success {
    background-color: #f0fff4;
    border-color: #38a169;
    color: #2f855a;
}

.error {
    background-color: #fff5f5;
    border-color: #e53e3e;
    color: #c53030;
}