/* ============================================
   Resume Blackboard & Paper Overlay Styles
   ============================================ */

.resume-board-overlay {
    position: absolute;
    left: 20.3%;
    width: 71.2%;
    top: 10.3%;
    height: 71.0%;
    z-index: 20;
    pointer-events: none;
    display: none;
    box-sizing: border-box;
}

.resume-board-layout {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* ─────────────────────────────────────────
   Left Side: Resume Paper
   ───────────────────────────────────────── */
.resume-paper-container {
    width: 38%;
    height: 94%;
    margin-top: 2%;
    margin-left: 2%;
    position: relative;
    transform: rotate(-1.5deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    overflow: hidden;
}

/* Pushpin at the top */
.resume-paper-pin {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #e63946 40%, #b71c1c 90%);
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.resume-paper-pin::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: #7f8c8d;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
}

.resume-paper-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 24px 16px 16px;
    color: #2c3e50;
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    line-height: 1.3;
}

/* Scrollbar styling for resume paper */
.resume-paper-scrollable::-webkit-scrollbar {
    width: 4px;
}
.resume-paper-scrollable::-webkit-scrollbar-track {
    background: transparent;
}
.resume-paper-scrollable::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.resume-paper-header {
    text-align: center;
    border-bottom: 1.5px solid #34495e;
    padding-bottom: 6px;
    margin-bottom: 8px;
}

.resume-paper-name {
    font-size: 13px;
    font-weight: 800;
    color: #1a252f;
    margin: 0 0 2px 0;
}

.resume-paper-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    font-size: 7px;
    color: #7f8c8d;
}

.resume-paper-contacts a {
    color: #2980b9;
    text-decoration: none;
}
.resume-paper-contacts a:hover {
    text-decoration: underline;
}

.resume-section-title {
    font-size: 9px;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 1px solid #bdc3c7;
    margin-top: 10px;
    margin-bottom: 4px;
    padding-bottom: 1px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resume-skill-group {
    margin-bottom: 3px;
}

.resume-bullet-list {
    margin: 0;
    padding-left: 10px;
}

.resume-bullet-list li {
    margin-bottom: 2.5px;
}

.resume-project-item {
    margin-bottom: 8px;
}

.resume-project-title-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 8px;
    color: #1a252f;
}

/* ─────────────────────────────────────────
   Right Side: Chalkboard Writings
   ───────────────────────────────────────── */
.chalkboard-container {
    flex: 1;
    height: 88%;
    margin-top: 2%;
    margin-right: 2%;
    margin-left: 3%;
    pointer-events: auto;
    font-family: 'Architects Daughter', 'Caveat', cursive;
    color: rgba(245, 246, 250, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 10px 0 28px 0; /* Add bottom padding to push the footer up */
}

.chalk-section-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex: 1;
}

.chalk-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chalk-header {
    font-size: 1.4vw;
    font-weight: bold;
    color: rgba(255, 235, 120, 0.95);
    text-shadow: 0 0 2px rgba(255, 235, 120, 0.4);
    border-bottom: 1.5px dashed rgba(255, 255, 255, 0.4);
    padding-bottom: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.chalk-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chalk-item {
    font-size: 0.95vw;
    line-height: 1.25;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.8), 0 0 3px rgba(255, 255, 255, 0.2);
}

.chalk-subtext {
    font-size: 0.75vw;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.chalk-link {
    color: rgba(135, 206, 250, 0.95);
    text-decoration: none;
    border-bottom: 1px dotted rgba(135, 206, 250, 0.5);
}

.chalk-link:hover {
    color: #fff;
    border-bottom-style: solid;
}

/* Bottom Funny Ticker */
.chalk-footer {
    border-top: 1px dashed rgba(255, 255, 255, 0.3);
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85vw;
    color: rgba(150, 245, 180, 0.9);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .chalk-header { font-size: 1.8vw; }
    .chalk-item { font-size: 1.2vw; }
    .chalk-subtext { font-size: 0.9vw; }
    .chalk-footer { font-size: 1.1vw; }
}

@media (max-width: 768px) {
    .resume-paper-container {
        display: none; /* Hide paper on mobile screens to save space for board */
    }
    .chalkboard-container {
        width: 100%;
        margin-left: 2%;
    }
    .chalk-header { font-size: 2.5vw; }
    .chalk-item { font-size: 1.8vw; }
    .chalk-subtext { font-size: 1.4vw; }
    .chalk-footer { font-size: 1.6vw; }
}
