/* ================= GENERAL VARIABLES ================= */
:root {
    --accent-color: #ffcc00;
}

/* ================= GENERAL STYLES ================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #121212;
    color: #e0e0e0;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1f1f1f;
    color: #ffffff;
    text-align: center;
    padding: 0.5rem 1rem;
    z-index: 1000;
}

    header h1 {
        margin: 0;
        font-size: 3.3rem;
    }

/* ================= MAIN CONTENT ================= */
main {
    padding-top: 6rem; /* space for fixed header */
    max-width: 1200px;
    margin: 5rem auto;
    padding: 1rem;
}

/* ================= POEM + PORTRAIT ================= */
.poem-portrait-container {
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    margin: 3rem auto;
    max-width: 1200px;
}

.poem-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portrait-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

    .portrait-column img {
        max-height: 500px;
        width: auto;
        border-radius: 12px;
        object-fit: cover;
    }

.poem-column #poem {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* ================= DIVIDER ================= */
.divider {
    width: 80%;
    height: 2px;
    background-color: var(--accent-color);
    border: none;
    margin: 2rem auto;
    border-radius: 1px;
}

    .divider:first-of-type {
        margin-top: 4rem;
    }

/* ================= DOWNLOAD CV BUTTON ================= */
#download-cv {
    text-align: center;
    margin: 3rem 0;
}

.cv-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: #121212;
    background-color: var(--accent-color);
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .cv-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(255, 204, 0, 0.5);
        background-color: #ffd633;
        color: #121212;
    }

/* ================= INFO BOXES / SKILLS ================= */
#info-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
    margin: 3rem 0;
}

/* New Skills Boxes */
#skills-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    margin: 3rem 0;
}

.box {
    width: 300px;
    height: 200px;
    padding: 25px;
    border: 2px solid #444;
    border-radius: 12px;
    background-color: #1f1f1f;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.5);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .box h3 {
        margin-top: 0;
        margin-bottom: 12px;
        color: var(--accent-color);
        font-size: 1.5rem;
    }

    .box p {
        line-height: 1.5;
        color: #e0e0e0;
        font-size: 1rem;
        text-align: left;
    }

    .box:hover {
        transform: translateY(-5px);
        box-shadow: 5px 5px 18px rgba(0,0,0,0.7);
    }

/* ================= INFOLIST ================= */
#infolist {
    margin: 4rem auto;
    max-width: 1200px;
}

    #infolist h2 {
        text-decoration: underline;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    #infolist ul {
        list-style-type: disc;
        padding-left: 2rem;
    }

    #infolist li {
        margin-bottom: 2rem;
    }

    #infolist h3 {
        color: var(--accent-color);
        margin: 0.5rem 0;
    }

/* ================= HEADINGS ================= */
h1, h2, h3 {
    font-family: 'Arial Black', sans-serif;
    margin-top: 1rem;
    color: #ffffff;
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    background: #1f1f1f;
    color: #ffffff;
    padding: 1rem;
    margin-top: 2rem;
}

/* ================= LINKS ================= */
a {
    color: #e0e0e0;
}

    a:hover {
        color: var(--accent-color);
    }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .poem-portrait-container {
        flex-direction: column;
    }

    .portrait-column img {
        height: auto;
        width: 80%;
        margin: 2rem auto;
    }
}

@media (max-width: 700px) {
    #info-boxes {
        grid-template-columns: 1fr;
    }

    #skills-boxes {
        grid-template-columns: 1fr;
    }

    .box {
        width: 90%;
        height: auto;
    }
}
