:root {
    --bg: #0f1724;
    --card: #0b1220;
    --muted: #b89994;
    --accent: #fab560;
    --glass: rgba(255, 255, 255, 0.03);
    --radius: 14px;
    --maxw: 900px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
    margin: 0;
}

body {
    background: none;
    margin: 0;
    color: #f8f4e6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.wrap {
    width: 100%;
    max-width: var(--maxw);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 22px;
    background: var(--darkreader-background-ffffff, #0e1011);
}

@media (max-width:880px) {
    .wrap {
        grid-template-columns: 1fr;
        padding: 18px
    }

    .sidebar {
        order: 2
    }
}

.main {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
    border-radius: 12px;
    min-height: 220px;
}

h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 0.2px;
}

.subtitle {
    color: var(--muted);
    margin-top: 6px;
    font-size: 14px;
}

.section {
    margin-top: 18px;
}

.about p {
    margin: 8px 0 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.skills-list {
    display: grid;
    gap: 12px
}

.skill {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skill .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

.bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
}

.bar>i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #fcba7dcc);
    width: 0%;
    transition: width .8s ease;
}

/* sidebar */
.sidebar {
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
    border-radius: 12px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.photo {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b1220, #071126);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.meta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.chip {
    background: var(--glass);
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--muted);
}

.contacts a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 8px;
    word-break: break-all;
}

.contacts a img {
    width: 20px;
}

.experience .job {
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 10px;
}

.job .title {
    font-weight: 600;
    margin-bottom: 4px
}

.small {
    font-size: 13px;
    color: var(--muted)
}

footer {
    margin-top: auto;
    font-size: 13px;
    color: var(--muted);
}

@media print {
    body {
        color: black
    }

    .wrap {
        box-shadow: none
    }
}

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 13rem);
    position: relative;
    justify-content: flex-start;
    align-items: center;
    z-index: -10;
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (min-width: 53em) {
    .content {
        height: 100vh;
        justify-content: center;
    }
}