:root{
	--bg:#f7fafc;
	--card:#ffffff;
	--muted:#6b7280;
	--accent:#0f766e;
	--accent-2:#065f46;
	--glass:rgba(255,255,255,0.6);

}
* { box-sizing:border-box }
html,body {
	height:100%;
}
body {
	font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	background:fixed linear-gradient(180deg,#09365b, #dddddd, #dddddd, #ffffff);
	color:#0f172a;
	margin:0;
	line-height:1.45
}
.container {
    width: 100%;
    max-width: 980px;
    margin: 36px auto;
}
header {
	display:flex;
	gap:20px;
	align-items:center
}

.avatar {
	flex: 0 0 210px;
	width: 210px;
	height: 210px;
	border-radius: 14px;
	background-image: url(./avatar.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: #aaa solid 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 700;
	font-size: 28px;
}


@media (max-width: 600px) {
	.avatar {
		width: 140px;
		height: 140px;
		flex: 0 0 140px;
		background-size: cover;
		background-position: center;
	}
}


h1, h2, h3, h4 {
	text-transform: uppercase;
}
h1 {
	margin:0;
	font-size: 28px;
}
h2 {
	margin:0;
	font-size:23px;
}
h3 {
	margin: 0;
	font-size: 18px;
}
h4 {
	margin: 0;
	font-size: 16px;
}
.meta {
	margin-left:auto;
	text-align:right
}
.muted {
	margin-top: -8px;
	font-size: 12px;
}
.meta p {
	margin:0;
	color:var(--muted);
	font-size: 12px;
}

.grid {
	display:grid;
	grid-template-columns:1fr;
	gap:20px;
	margin-top:18px
}
.card {
	background:var(--card);
	border-radius:12px;
	padding:18px;
	margin-bottom: 18px;
	box-shadow:0 6px 18px rgba(12,18,27,0.2);
}
hr {
	background-color: rgba(12,18,27,0.1);
	border: none;
	height: 1px;
	margin: 10px -18px 10px -18px;
}

.section-title {
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin-bottom:12px
}
.pill {
	font-size:13px;
	padding:6px 10px;
	border-radius:999px;
	background:var(--glass);
	border:1px solid rgba(15,23,42,0.06);
	color:var(--accent-2)
}

ul.inline {
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	list-style:none;
	padding:0;
	margin:0
}
ul.inline li {
	background:#eef2f7;
	padding:6px 8px;
	border-radius:8px;
	font-size:13px;
	color:#0f172a
}

.skills {
	display:grid;
	grid-template-columns:repeat(2,1fr);
	gap:8px
}
.skill {
	padding:10px;
	border-radius:8px;
	background:#fbfdfe;
	border:1px solid rgba(12,18,27,0.04);
	font-size:14px
}

.experience {
	display:flex;
	flex-direction:column;
	gap:14px
}
.job {
	display:flex;
	gap:16px
}
.job .when {
	flex:0 0 122px;
	color:var(--muted);
	font-size:13px
}
.job .what {
	flex:1
}
.what h4 {
	margin:0 0 6px 0
}
.what p {
	margin:0;
	color:var(--muted)
}
.bullets {
	margin:8px 0 0 0;
	padding-left:18px
}

.resume-download {
	background: #1c629b;
	color: white;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	border: 1px solid #333;
	padding: 3px 6px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
    border-radius: 4px;
}

footer {
	display: block;
	margin-top:20px;
	text-align:center;
	color:var(--muted);
	font-size:13px
}

@media (min-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:880px) {
	.grid {
		grid-template-columns:1fr;
	}
	.meta {
		text-align:left;
		margin-left:auto
	}
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .avatar {
        flex: 0 0 120px;
        height: 120px;
    }

    .meta {
        text-align: center;
        margin-left: 0;
    }
}

@media print {
	body {
		background:white;
		font-size: 1em;
	}

	.card {
		box-shadow:none;
	}
	.container {
		box-shadow:none;
	}
	.avatar {
		display:none
	}
	.meta {
		display:block
	}
	a[href]:after {
		content:""
	}

	footer {
		display: none;
	}
}

