/* ============================================================
   Material 3 Baseline Monochrome Theme
   HTML Universal Stylesheet
   ============================================================ */

:root {
    /* M3 Dark Palette Tokens */
    --md-sys-color-background: #000000;
    --md-sys-color-on-background: #E6E1E5;

    --md-sys-color-surface: #1C1B1F;
    --md-sys-color-on-surface: #E6E1E5;

    --md-sys-color-surface-variant: #49454F;
    --md-sys-color-on-surface-variant: #CAC4D0;

    --md-sys-color-primary: #FFFFFF;
    --md-sys-color-on-primary: #000000;

    --md-sys-color-outline: #938F99;
    --md-sys-color-outline-variant: #49454F;

    --md-sys-color-error: #FFB4AB;
    --md-sys-color-warning: #E6C56A;

    --md-radius-small: 4px;
    --md-radius-medium: 8px;
    --md-radius-large: 12px;
}

@page {
    size: A4;
    margin: 20mm;

    @bottom-right {
        content: counter(page);
        font-family: monospace;
        font-size: 12px;
        color: var(--md-sys-color-on-surface-variant);
    }
}


/* ============================================================
   RESET / GLOBAL
   ============================================================ */

html {
    background: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    font-family: monospace;
    font-size: 15px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);

    font-family: monospace;
    font-size: 15px;
    line-height: 1.6;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

::selection {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

:focus-visible {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 3px;
}


/* ============================================================
   TEXT / HEADINGS
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--md-sys-color-primary);
    font-family: monospace;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 32px;
    margin: 32px 0 16px;
    border-bottom: 1px solid var(--md-sys-color-surface-variant);
    padding-bottom: 8px;
}

h2 {
    font-size: 24px;
    margin: 28px 0 14px;
}

h3 {
    font-size: 20px;
    margin: 24px 0 12px;
}

h4 {
    font-size: 18px;
    margin: 20px 0 10px;
}

h5 {
    font-size: 16px;
    margin: 18px 0 8px;
}

h6 {
    font-size: 14px;
    margin: 16px 0 8px;
    color: var(--md-sys-color-on-surface-variant);
}

p {
    margin: 0 0 16px;
}

small {
    font-size: 0.8em;
    color: var(--md-sys-color-on-surface-variant);
}

strong,
b {
    color: var(--md-sys-color-primary);
    font-weight: 700;
}

em,
i {
    font-style: italic;
}

u {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

s,
del {
    color: var(--md-sys-color-on-surface-variant);
}

ins {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

mark {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    padding: 1px 4px;
}

sub,
sup {
    font-size: 0.75em;
    line-height: 0;
}

abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}

q {
    color: var(--md-sys-color-on-surface-variant);
}

cite {
    color: var(--md-sys-color-on-surface-variant);
    font-style: italic;
}


/* ============================================================
   LINKS
   ============================================================ */

a {
    color: var(--md-sys-color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-thickness: 2px;
}

a:visited {
    color: var(--md-sys-color-on-surface-variant);
}

a:active {
    color: var(--md-sys-color-primary);
}


/* ============================================================
   CODE / PROGRAMMING
   ============================================================ */

code,
kbd,
samp,
var,
pre {
    font-family: monospace;
}

code {
    display: inline-block;

    padding: 2px 6px;

    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-primary);

    border: 1px solid var(--md-sys-color-surface-variant);
    border-radius: var(--md-radius-small);

    font-size: 0.9em;
}

pre {
    display: block;

    margin: 16px 0;
    padding: 16px;

    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);

    border: 1px solid var(--md-sys-color-outline);
    border-radius: var(--md-radius-medium);

    overflow-x: auto;
    white-space: pre;
}

pre code {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
}

kbd {
    padding: 2px 6px;

    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-primary);

    border: 1px solid var(--md-sys-color-outline);
    border-bottom-width: 2px;
    border-radius: var(--md-radius-small);

    font-size: 0.85em;
}

samp {
    color: var(--md-sys-color-on-surface-variant);
}

var {
    color: var(--md-sys-color-primary);
    font-style: italic;
}


/* ============================================================
   QUOTES
   ============================================================ */

blockquote {
    margin: 16px 0;
    padding: 12px 16px;

    background: var(--md-sys-color-surface);

    border-left: 4px solid var(--md-sys-color-primary);
    border-radius: 0 var(--md-radius-medium) var(--md-radius-medium) 0;

    color: var(--md-sys-color-on-surface);
}

blockquote > :last-child {
    margin-bottom: 0;
}

address {
    margin: 16px 0;
    color: var(--md-sys-color-on-surface-variant);
    font-style: normal;
}


/* ============================================================
   LISTS
   ============================================================ */

ul,
ol {
    margin: 16px 0;
    padding-left: 32px;
}

li {
    margin: 6px 0;
}

ul ul,
ul ol,
ol ul,
ol ol {
    margin-top: 4px;
    margin-bottom: 4px;
}

dl {
    margin: 16px 0;
}

dt {
    margin-top: 12px;
    color: var(--md-sys-color-primary);
    font-weight: 700;
}

dd {
    margin: 4px 0 0 24px;
    color: var(--md-sys-color-on-surface-variant);
}


/* ============================================================
   HORIZONTAL RULE / BREAKS
   ============================================================ */

hr {
    height: 1px;
    margin: 24px 0;

    border: 0;
    background: var(--md-sys-color-outline-variant);
}

br {
    line-height: 1.6;
}


/* ============================================================
   FIGURES / MEDIA
   ============================================================ */

figure {
    margin: 24px 0;
    padding: 0;
}

figcaption {
    margin-top: 8px;

    color: var(--md-sys-color-on-surface-variant);

    font-size: 0.85em;
    text-align: center;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

img {
    display: block;
    border-radius: var(--md-radius-medium);
}

picture {
    display: block;
}

audio {
    width: 100%;
    max-width: 100%;
}

video {
    display: block;
    border-radius: var(--md-radius-medium);
}

iframe,
embed,
object {
    max-width: 100%;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-radius-medium);
}


/* ============================================================
   TABLES
   ============================================================ */

table {
    width: 100%;
    margin: 20px 0;

    border-collapse: collapse;

    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);

    font-family: monospace;
}

caption {
    margin-bottom: 8px;

    color: var(--md-sys-color-on-surface-variant);
    text-align: left;
    font-size: 0.9em;
}

thead {
    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}

tfoot {
    color: var(--md-sys-color-on-surface-variant);
}

th,
td {
    padding: 10px 12px;
    border: 1px solid var(--md-sys-color-outline-variant);

    text-align: left;
    vertical-align: top;
}

th {
    font-weight: 700;
}


/* ============================================================
   FORMS
   ============================================================ */

form {
    margin: 20px 0;
}

fieldset {
    margin: 16px 0;
    padding: 16px;

    border: 1px solid var(--md-sys-color-outline);
    border-radius: var(--md-radius-medium);
}

legend {
    padding: 0 8px;
    color: var(--md-sys-color-primary);
    font-weight: 700;
}

label {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--md-sys-color-on-surface);
}

input,
textarea,
select,
button {
    font-family: monospace;
    font-size: inherit;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 12px;

    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);

    border: 1px solid var(--md-sys-color-outline);
    border-radius: var(--md-radius-small);

    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--md-sys-color-primary);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

select {
    cursor: pointer;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    width: auto;

    padding: 10px 18px;

    background: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);

    border: 1px solid var(--md-sys-color-primary);
    border-radius: 999px;

    cursor: pointer;
    font-weight: 700;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    opacity: 0.85;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    accent-color: var(--md-sys-color-primary);
}

input[type="range"] {
    accent-color: var(--md-sys-color-primary);
}

input[type="color"] {
    width: 48px;
    height: 40px;
    padding: 2px;
}

input[type="file"] {
    padding: 8px;
}


/* ============================================================
   DETAILS / SUMMARY
   ============================================================ */

details {
    margin: 16px 0;
    padding: 12px 16px;

    background: var(--md-sys-color-surface);

    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-radius-medium);
}

summary {
    color: var(--md-sys-color-primary);
    cursor: pointer;
    font-weight: 700;
}

details[open] summary {
    margin-bottom: 12px;
}


/* ============================================================
   METER / PROGRESS
   ============================================================ */

progress,
meter {
    width: 100%;
    height: 12px;

    accent-color: var(--md-sys-color-primary);
}

progress {
    appearance: none;
}

progress::-webkit-progress-bar {
    background: var(--md-sys-color-surface-variant);
    border-radius: 999px;
}

progress::-webkit-progress-value {
    background: var(--md-sys-color-primary);
    border-radius: 999px;
}


/* ============================================================
   SEMANTIC HTML5 SECTIONS
   ============================================================ */

main,
article,
section,
aside,
nav,
header,
footer {
    display: block;
}

header,
footer {
    padding: 16px 0;
}

article {
    margin: 24px 0;
}

section {
    margin: 20px 0;
}

aside {
    margin: 20px 0;
    padding: 16px;

    background: var(--md-sys-color-surface);

    border-left: 3px solid var(--md-sys-color-outline);
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 16px;
}


/* ============================================================
   DIALOG
   ============================================================ */

dialog {
    max-width: 90vw;

    padding: 24px;

    background: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);

    border: 1px solid var(--md-sys-color-outline);
    border-radius: var(--md-radius-large);
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.75);
}


/* ============================================================
   TIME / DATA / OUTPUT
   ============================================================ */

time {
    color: var(--md-sys-color-on-surface-variant);
}

data {
    color: var(--md-sys-color-primary);
}

output {
    display: inline-block;

    padding: 4px 8px;

    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-radius-small);
}


/* ============================================================
   RUBY / EAST ASIAN TEXT
   ============================================================ */

ruby {
    ruby-position: over;
}

rt {
    font-size: 0.6em;
    color: var(--md-sys-color-on-surface-variant);
}

rp {
    color: var(--md-sys-color-on-surface-variant);
}


/* ============================================================
   INS / TEMPLATE / SLOT / HIDDEN
   ============================================================ */

template,
slot {
    display: none;
}

[hidden] {
    display: none !important;
}


/* ============================================================
   SEARCH / AUTOCOMPLETE
   ============================================================ */

search {
    display: block;
    margin: 16px 0;
}


/* ============================================================
   MISC HTML ELEMENTS
   ============================================================ */

summary,
button,
label,
select,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    user-select: none;
}

del,
s {
    text-decoration-thickness: 1px;
}

wbr {
    display: inline;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

[aria-hidden="true"] {
    pointer-events: none;
}

[aria-disabled="true"] {
    opacity: 0.5;
}

[aria-current="page"] {
    font-weight: 700;
    text-decoration-thickness: 2px;
}


/* ============================================================
   PRINT
   ============================================================ */

@media print {
    html,
    body {
        background: #000000;
        color: #FFFFFF;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    pre,
    blockquote,
    figure,
    table {
        break-inside: avoid;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        break-after: avoid;
    }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 700px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 19px;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    pre {
        max-width: 100%;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Aplicando a unidade de viewport na imagem da Adelaide */
.img-avatar {
  width: 50vw; /* Ocupará exatamente 30% da largura da tela do usuário */
  height: auto; /* Mantém a proporção correta para não distorcer a foto */
  border-radius: 8px;
}

/* Ajustando a foto principal dos criadores */
.img-criadores {
  width: 80vw; /* Ocupa 80% da largura visível da tela */
  max-width: 600px; /* Evita que ela fique gigante em monitores de computador muito grandes */
  height: auto;
}