/* ===== Reset ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #fff;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1000ms;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    padding: 40px;
}


/* ===== Layout ===== */

.cv-container {
    max-width: 1000px;
    margin: auto;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.cv-body {
    display: grid;
    grid-template-columns: 280px 1fr;
}


/* ===== Header ===== */

.cv-header {
    background: #111;
    color: white;
    padding: 40px;
    text-align: center;
}

.cv-header h1 {
    font-size: 42px;
    letter-spacing: 2px;
}

.cv-header .title {
    opacity: 0.8;
    margin-top: 5px;
}

.contact {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 14px;
}

nav a:hover {
    color: #bcbaba;
}


/* ===== Sidebar ===== */

.sidebar {
    background: #fafafa;
    padding: 30px;
    border-right: 1px solid #eee;
}

.sidebar section {
    margin-bottom: 30px;
}

.sidebar h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

.sidebar li {
    margin-bottom: 8px;
    font-size: 14px;
}

.links {
    display: flex;
    flex-direction: column;
}

.links a {
    color: #444;
}


/* ===== Main ===== */

main {
    padding: 40px;
}

main section {
    margin-bottom: 35px;
}

main h2 {
    font-size: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 20px;
}


/* ===== Items ===== */

.item {
    margin-bottom: 20px;
}

.item h3 {
    font-size: 18px;
}

.item p {
    font-size: 16px;
    color: #444;
    padding: 8px 0;
}

.date {
    font-size: 13px;
    color: #888;
    display: block;
    margin-bottom: 5px;
}


/* ===== Technologies ===== */

.techs {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.techs li {
    padding: 4px 10px;
    border-radius: 12px;
    background-color: #eee;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 500ms;
}

.techs li:hover {
    transform: scale(1.1);
    background-color: #f7f7f7;
}