/* ===== VARIABLES ===== */
:root {
    --bg-color: #181818;
    --panel-dark: #1c1c1c;
    --panel-light: #232323;
    --text-color: #eaeaea;
    --subtext-color: #b5b5b5;
    --primary-color: #2c67f2;
    --section-title-size: 1.3rem;
    --font-family: "Arial", sans-serif;
}

/* ===== GLOBAL ===== */
body {
    background: url("assets/BG.png");
    background-size: cover;
    font-family: var(--font-family);
    color: var(--text-color);
    margin: 0;
    padding: 40px;
}

/* FORCE DARK BACKGROUNDS */
* {
    background-color: transparent;
    color: var(--text-color);
}

.resume-container {
    width: 100%;
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: var(--panel-dark) !important; /* FORCE IT */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.resume-left {
    background: var(--panel-light) !important;
    padding: 35px;
}

.resume-right {
    background: var(--panel-dark) !important;
    padding: 40px;
}

.coverlettertop{
    justify-items: center; /* horizontal */
    align-items: start;    /* vertical */
    width: 100%;
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: var(--panel-dark) !important; /* FORCE IT */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.sidebar-header {
    
    padding: 35px;
    position: sticky;
    top: 0;
    background: var(--panel-light);
    z-index: 10;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.section-title {
    color: var(--primary-color) !important;
}

.main-title {
    font-size: 4rem;              /* 2× bigger than normal h1 */
    text-align: center;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 20px 0 40px;
    color: var(--primary-color) !important;
}

/* Other styling */
.section {
    margin-bottom: 30px;
}

.list li {
    color: var(--text-color) !important;
}

.profession, .item-date {
    color: var(--subtext-color) !important;
}

.item {
    background: var(--panel-light);
    padding: 20px 22px;
    border-radius: 8px;
    margin-bottom: 22px;
    border: 1px solid #2a2a2a;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px; /* centers the image */
    border: 3px solid #444;
    background: #2a2a2a !important;
    display: block; /* required for margin auto centering */
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .resume-container {
        grid-template-columns: 1fr;
    }
}
