/* GLOBAL */

body{
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
background:#f5f5f7;
margin:0;
line-height:1.6;
color:#111;
}

.container{
max-width:850px;
margin:auto;
background:white;
padding:40px;
}

/* HEADER */

header{
text-align:center;
margin-bottom:40px;
}

h1{
margin:0;
font-size:32px;
font-weight:600;
}

.subtitle{
color:#555;
margin-top:5px;
font-size:18px;
}

/* CONTACT */

.contact{
margin-top:15px;
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:15px;
font-size:14px;
color:#444;
}

.contact span{
white-space:nowrap;
}

/* SECTIONS */

section{
margin-top:35px;
}

h2{
font-size:20px;
border-bottom:1px solid #ddd;
padding-bottom:5px;
margin-bottom:10px;
}

/* SKILLS */

.skills{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:6px;
margin-top:10px;
list-style:none;
padding:0;
}

.skills li{
background:#f1f3f5;
padding:6px 10px;
border-radius:6px;
font-size:14px;
}

/* TECH STACK */

.tech-stack p{
margin:6px 0;
}

/* JOBS */

.job{
margin-top:20px;
}

.job h3{
margin-bottom:3px;
font-size:17px;
}

.date{
color:#777;
font-size:14px;
display:block;
margin-bottom:6px;
}

/* LISTS */

ul{
margin-top:8px;
padding-left:18px;
}

/* LINKS */

a{
color:#2c7be5;
text-decoration:none;
}

a:hover{
text-decoration:underline;
}

/* MOBILE */

@media (max-width:768px){

.container{
padding:20px;
}

h1{
font-size:26px;
}

.subtitle{
font-size:16px;
}

.contact{
flex-direction:column;
align-items:center;
gap:8px;
}

.skills{
grid-template-columns:1fr;
}

.job h3{
font-size:16px;
}

section{
margin-top:25px;
}

.tech-stack p{
font-size:14px;
}

}

/* PRINT (PDF FRIENDLY) */

@media print{

body{
background:white;
}

.container{
box-shadow:none;
margin:0;
width:100%;
padding:20px;
}

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

.job{
page-break-inside:avoid;
}

section{
page-break-inside:avoid;
}

}