@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.8;
    text-align: left;
    color: #1f2937;
    background-color: #f4f7fb;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
    border-bottom: 0.3rem solid #1e3a8a;
}

header h1,
header h2 {
    color: white;
}

h1 {
    font-size: 2.3rem;
    font-weight: 600;
    text-transform: capitalize;
    margin: 0 0 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1e3a8a;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.12);
}

nav {
    background-color: rgba(255, 255, 255, 0.15);
    margin-top: 1.5rem;
    padding: 0.9rem;
    border-radius: 0.8rem;
}

nav ul {
    list-style-type: none;
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin: 0 0.8rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

main {
    width: 85%;
    max-width: 70rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

section,
article {
    background-color: white;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 0.08rem solid #dbe4f0;
    border-radius: 0.9rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
    width: 100%;
    min-height: 12rem;
}

p {
    font-size: 1rem;
    margin-top: 0.6rem;
    margin-bottom: 1rem;
}

ul {
    list-style-type: square;
    list-style-position: inside;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

ol {
    list-style-type: decimal;
    list-style-position: inside;
    padding-left: 0.5rem;
    margin-bottom: 1rem;
}

dl {
    margin-bottom: 1rem;
}

dt {
    font-weight: 600;
    color: #1d4ed8;
    margin-top: 0.8rem;
}

dd {
    margin-left: 1rem;
    margin-bottom: 0.8rem;
}

a {
    color: #1d4ed8;
    font-weight: 500;
}

a:hover {
    color: #1e3a8a;
}

.highlight {
    background-color: #e0f2fe;
    border-left: 0.3rem solid #0284c7;
    padding: 0.8rem;
    border-radius: 0.5rem;
}

#intro {
    font-style: italic;
    color: #374151;
}

figure {
    margin: 1rem 0;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 0.8rem;
    border: 0.08rem solid #dbe4f0;
}

figcaption {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    font-style: italic;
    color: #4b5563;
}

blockquote {
    margin: 1rem 0;
    padding: 1rem 1.2rem;
    background-color: #eff6ff;
    border-left: 0.3rem solid #2563eb;
    font-style: italic;
    border-radius: 0.5rem;
}

fieldset {
    border: 0.08rem solid #cbd5e1;
    border-radius: 0.8rem;
    padding: 1.2rem;
    background-color: #f8fbff;
}

legend {
    font-weight: 600;
    color: #1e3a8a;
}

input,
textarea {
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.3rem;
    border: 0.08rem solid #cbd5e1;
    border-radius: 0.5rem;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
}

button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

button:hover {
    background-color: #1e40af;
}

footer {
    text-align: center;
    background-color: #1e3a8a;
    color: white;
    padding: 1rem;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}

@media (max-width: 48rem) {
    nav li {
        display: block;
        margin: 0.6rem 0;
    }

    main {
        width: 92%;
    }
}
