:root {
    color-scheme: dark;
}

body {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    margin: 0;
    background: #1b1b1b;
    color: #b8b8b8;
    font: 13px/1.4 Inter, system-ui, sans-serif;
}

header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35em 1.1em;
    padding: .5em 1em;
    border-bottom: 1px solid #333;
}

strong {
    padding: .1em .75em;
    border-radius: 99px;
    background: linear-gradient(90deg, #fb923c, #f472b6);
    color: #1b1b1b;
    font-size: .85em;
    letter-spacing: .08em;
    text-transform: uppercase;
}

a,
nav button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

a:hover,
a:focus-visible,
nav button:hover,
nav button:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.project,
b {
    color: #fff;
    font-weight: 600;
}

select {
    padding: .1em .3em;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    background: #2a2a2a;
    color: #fff;
    font: inherit;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.1em;
    margin-inline-start: auto;
}

nav svg {
    display: block;
    height: 20px;
    fill: currentColor;
}

iframe {
    flex: 1;
    min-height: 0;
    border: 0;
}

dialog {
    box-sizing: border-box;
    width: min(46em, 100% - 2em);
    max-height: calc(100% - 2em);
    padding: 0;
    border: 1px solid #3d3d3d;
    border-radius: 12px;
    background: #1b1b1b;
    color: #d4d4d4;
    font-size: 15px;
    line-height: 1.4;
}

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

article {
    padding: .5em 1.6em 1.4em;
}

h2,
h3 {
    margin: 1.2em 0 .4em;
    color: #fff;
}

h3 {
    font-size: 1em;
}

p {
    margin: .5em 0;
}

.close {
    position: sticky;
    top: .5em;
    float: right;
    margin: .5em .6em 0 0;
    border: 0;
    border-radius: 99px;
    background: #2a2a2a;
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
    width: 1.5em;
    cursor: pointer;
}

@media (max-width: 899px) {
    .note {
        display: none;
    }
}
