:root
{
    --default-text-color: #DEE2E6;
    --default-background-color: #212529;
    --content-bg-color: #272C30;
    --content-bg-color-alt: #292F33;
    --content-header-color: #a3a5f2;
    --subsection-header-color: #707c98;
}

body
{
    color: var(--default-text-color);
    background-color: var(--default-background-color);
    /* Prevent horizontal scrollbar from appearing. */
    overflow-x: hidden;
}

ol,ul
{
    padding-left: 2rem;
}
.list-note
{
    padding-left: 2rem;
}

.container-lg
{
    padding: 0px;
}

@media (min-width: 1200px)
{
    /* Control the absolute maximum width for content that will be allowed. */
    .container
    {
        max-width: 1150px;
    }
}

@media (min-width:1200px)
{
    /* Original size was 1.5rem */
    .h4,h4{font-size:1.4rem}
}

.header-img
{
    border-radius: 50%;
    width: 10rem;
}

.overview-section
{
    text-align: center;
}

@media (min-width: 760px)
{
    .header-img
    {
        width: 13rem;
    }
}

@media (min-width: 992px)
{
    .header-img
    {
        width: 100%;
    }
}

h1
{
    color: var(--content-header-color);
}

.major-section h2
{
    color: var(--content-header-color);
}

.major-section h3
{
    color: var(--subsection-header-color);
}

.section-header
{
    padding: 12px;
}

.section-content
{
    padding: 12px;
    background: var(--content-bg-color);
}

@media (min-width: 992px)
{
    .major-section
    {
        display: flex;
        position: relative;
    }
    
    .section-header
    {
        /* flex: flex-grow flex-shrink flex-basis */
        flex: 0 0 250px;
        padding: 2em;
        text-align: right;
    }
    
    .section-header::before
    {
        content: "";
        background-color: var(--content-bg-color-alt);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: -100vw;
        z-index: -1;
    }
    
    .major-section:nth-child(2n) .section-header
    {
        background: var(--content-bg-color);
    }
    
    .major-section:nth-child(2n) .section-header::before
    {
        content: "";
        background-color: var(--content-bg-color);
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: -100vw;
        z-index: -1;
    }
    
    .section-content
    {
        z-index: 2;
        position: relative;
        flex: 1 0 70%;
        padding: 2em;
    }
    
    .section-content::before
    {
        content: "";
        background-color: var(--content-bg-color);
        position: absolute;
        top: 0;
        right: -70vw;
        bottom: 0;
        left: 0;
        z-index: -2;
    }
    
    .major-section:nth-child(2n) .section-content::before
    {
        content: "";
        background-color: var(--content-bg-color-alt);
        position: absolute;
        top: 0;
        right: -70vw;
        bottom: 0;
        left: 0;
        z-index: -2;
    }
}

@media (max-width: 992px)
{
    .section-header
    {
        border-top: thin solid #444444;
        border-bottom: thin solid #444444;
    }
    
    .overview-section .section-header
    {
        background-color: var(--content-bg-color);
        border-top: none;
        border-bottom: none;
    }
}

@media (min-width: 992px)
{
    .about-section p
    {
        margin-bottom: 0.3rem;
    }
}

.skills-section
{
    list-style: none;
    padding-left: 0;
}

li.skills-item:not(:last-child)
{
    padding-bottom: 20px;
}

.skills-item h3
{
    padding-left: 0rem;
    padding-bottom: 0rem;
}

.skills-item ul
{
    columns: 13rem;
    column-gap: 4rem;
}

.experience-section ol
{
    list-style: none;
    padding-left: 0;
}

.experience-item h3
{
    padding-left: 0rem;
}

li.experience-item:not(:last-child)
{
    padding-bottom: 20px;
}

.experience-summary
{
    padding-left: 0rem;
    padding-bottom: 0.05rem;
}
.experience-details
{
    padding-left: 0.8rem;
    padding-bottom: 0.0rem;
}

.experience-shipped-titles ul
    {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

@media (min-width: 768px)
{
    .experience-summary
    {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    .experience-details
    {
    }
}

.experience-shipped-titles li
{
    display: flex;
    /* flex: flex-grow flex-shrink flex-basis */
    flex: 1 1 250px;
    border: thin solid #666666;
}

.experience-shipped-titles li img
{
    margin-right: 0.5rem;
}

.experience-shipped-titles li div
{
    margin-right: 0.2rem;
}

/* Note: 576 px is the "sm" breakpoint for bootstrap */
@media (min-width: 576px)
{
    .experience-shipped-titles li
    {
        display: flex;
        /* flex: flex-grow flex-shrink flex-basis */
        flex: 0 1 32%;
        min-width: 310px;
    }
}

.title-platforms
{
    display: block;
    font-style: italic;
}

.education-degree
{
    font-weight: bold;
}

.education-item
{
    padding-bottom: 20px;
}

@media (min-width: 576px)
{
    .education-item
    {
        display: flex;
        gap: 5px;
        align-items: flex-start;
        justify-content: space-between;
        max-width: 30em;
    }
}

