/* --- Color Pallet --- */
:root {
    --black: #060118; /*Xiketic - rgb(6,1,24) */
    --darkBlue: #001268; /*Midnight Blue - rgb(0,18,104) */
    --purple: #4D2087; /*Blue Violet Color Wheel - rgb(77,32,135) */
    --lavender: #EFC9F2; /*Thistle - rgb(239,201,242) */
    --lightBlue: #CCD9FB; /*Periwinkle Crayola - rgb(204,217,251) */
    --grey: #D0CCDD; /*Lavender Gray - rgb(208,204,221) */
    --lightGold: #E7D3B8; /*Almond - rgb(231,211,184) */
    --gold: #FBA924; /*Bright Yellow Crayola - rgb(251,169,36) */
    --green: #627300; /*Avocado - rgb(98,115,0) */
    --white: #FFF5FF; /*Magnolia - rgb(255,245,255) */
}


/* --- General --- */


/* --- WORK: Main --- */

/* --- Main: Work Exprience --- */
section.work-experience {
    background-color: var(--lightBlue);
    color: var(--darkBlue);
    padding: 30px 0;
}
section.other-work h2 {
    margin-top: 60px;
} 
h3.work-experience {
    text-transform: uppercase;
}
h4.work-experience {
    margin-top: 5px;
}
section.professional-work article.job-item {
    margin: 25px 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 20px;
}
section.other-work article {
    margin: 25px 0;
}
section.other-work h4,
section.other-work p {
    display: inline-block;
    padding: 0 10px 0 0;
}
.job-summary ul {
    padding-left: 20px;
}
section.work-experience article {
    border-bottom: 1px dashed var(--darkBlue);
    padding-bottom: 20px;
}
section.work-experience article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* --- Main: Skills --- */
section.skills {
    background-color: var(--lightGold);
    color: var(--black);
    padding: 30px 0;
}
section.skills article {
    padding: 10px 0;
}
section.skills ul {
    padding-left: 50px;
}
article.experience-in ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}
article.sound-consoles ul,
article.lighting-consoles ul,
article.coding-languages ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 30px;
}

/* --- Main: Education --- */
section.ed-cert {
    background-color: var(--lavender);
    color: var(--darkBlue);
    padding: 30px 0;
}
article.education,
article.certifications {
    margin: 15px 0;
}
section.ed-cert h2.certifications,
section.ed-cert h2.training {
    margin-top: 60px;
}
section.training ul {
    list-style: none;
}
section.training h3 {
    margin-top: 20px;
}
section.training article ul {
    padding-left: 10px;
}
section.training ul.path {
    padding-top: 5px;
}
section.training ul.courses {
    padding-left: 30px;
    padding-bottom: 5px;
}



/* --- ACADEMIA: Main --- */

/* --- Main: Presentations and Publications --- */
section.pres-pub {
    background-color: var(--lightBlue);
    color: var(--darkBlue);
    padding: 30px 0;
}
section.publications h2 {
    margin-top: 60px;
}
section.presentations article {
    margin: 25px 0;
}
section.presentations h4,
section.presentations p {
    display: inline-block;
    padding: 0 10px 0 0;
}
section.presentations article {
    border-bottom: 1px dashed var(--darkBlue);
    padding-bottom: 20px;
}
section.presentations article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

/* --- Main: Awards and Recognition --- */
section.awards {
    background-color: var(--lightGold);
    color: var(--black);
    padding: 30px 0;
}
section.awards h3 {
    padding-top: 10px;
}

/* --- Main: University Teaching Experience --- */
section.univ-teach-experience {
    background-color: var(--lavender);
    color: var(--darkBlue);
    padding: 30px 0;
}
h3.univ-teach-experience {
    margin-top: 20px;
}
h5.univ-year {
    margin-top: 7px;
}
article.univ-item {
    display: flex;
    flex-wrap: wrap;
}
h4.univ-item:hover {
    cursor: pointer;
}
span.univ-num {
    font-size: 0.8rem;
    margin-top: auto;
    padding: 0px 5px 0px 5px;
}
p.univ-description {
    padding: 0px 10px 10px 10px;
    width: 100%;
}
p.hidden {
    display: none;
}

.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 206px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    
    bottom: 100%;
    left: 50%;
    margin-left: -103px;

    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.5s;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}


/* --- PRODUCTION: Main --- */
section.productions {
    background-color: var(--white);
    padding-bottom: 20px;
}
h2.production-experience {
    padding: 20px 0 20px 0;
}
.production-experience ul {
    list-style: none;
}
h3.production-experience {
    position: sticky;
    top: 70px;
    padding-right: auto;
    background-color: var(--white);
    z-index: 2;
}
ul.production-experience {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
li.headings {
    position: sticky;
    background-color: var(--white);
    border-bottom: 2px solid var(--black);
    top: 90px;
    padding-top: auto;
    z-index: 1;
}
li.prod-item {
    border-bottom: 1px dotted var(--grey);
}
li.prod-item:last-child {
    border-bottom: none;
}
li.heading {
    align-items: baseline;
    margin-top: auto;
}
ul.headings,
ul.prod-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
ul.prod-item {
    position: relative;
}
li.show {
    width: 30%;
    font-style: italic;
}
li.venue {
    width: 30%;
}
li.supervisor {
    width: 20%;
    text-align: right;
}
li.date {
    width: 50px;
    text-align: right;
}


/* --- Responsive --- */
@media(max-width: 760px) {
    section.professional-work article.job-item {
        display: flex;
        flex-direction: column;
    }
    section.job-summary {
        margin-top: 5px;
    }
    article.sound-consoles ul,
    article.lighting-consoles ul,
    article.coding-languages ul,
    article.experience-in ul {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 30px;
    }

    li.headings {
        top: 85px;
    }
    li.date {
        width: 30px;
    }
}