:root {
    --background: #4D5382;
    --header-background: #FFF;
    --article-background: #FFF;
    --text-color: #222;
    --logo-width: 48px;
    --logo-height: 48px;
}

* {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.2;
    letter-spacing: 1.5px;
    color: var(--text-color);
    font-size: 1rem;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #FFF;
    font-size: 24px;
}

body {
    min-width: 320px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

div.container {
    width: 100%;
    background-color: var(--background);
    display: flex;
    align-items: center;
    flex-direction: column;
}

h1 {
    font-size: 2rem;
    margin: 1rem 0;
}

h2 {
    font-size: 1.33rem;
    margin: 1rem 0;
    margin-top: 2rem;
}

h3 {
    font-size: 1rem;
    margin: 0.75rem 0;
}

h4 {
    font-size: 0.66rem;
    font-weight: normal;
    font-style: italic;
    letter-spacing: normal;
    margin: 0.75rem 0;
    margin-left: 1.5rem;
}

article {
    margin: 64px;
    max-width: 75dvw;
    background-color: var(--article-background);
    box-shadow: 0 0 16px rgba(0,0,0,0.25);
}

article > section {
    margin: 0 1.5rem 1rem 1.5rem;
}

article > section > section {
    margin: 1rem;
}

div.contact {
    width: 100%;
    padding: 16px 32px;
    background-color: var(--header-background);

    box-shadow: inset 0 -128px 8px -128px var(--background);
}

.logo-linkedin {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

.contact .titles {
    font-size: 16px;
}

section.intro p {
    font-size: 18px;
}

ul.skill-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

ul.skill-list li {
    margin: 0 16px;
    list-style-type: none;
}

.professional-accomplishment .lead {
    font-weight: bold;
}

.professional-accomplishment li {
    margin-bottom: 8px;
}

.work-history-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 8px;
}

.work-history-item img {
    width: var(--logo-width);
    height: var(--logo-height);
    min-width: var(--logo-width);
    min-height: var(--logo-height);

    border-radius: .25rem;
}

.work-history-item {
    display: flex;
    align-items: flex-start;
    gap: 0.66rem;
    margin: 0.5rem 0 1rem 0;
}

.work-history-item .name {
    min-height: var(--logo-height);
    font-weight: bold;
    display: flex;
    align-items: center;
}

.work-history-item .title {
    margin: 0.5rem 0;
}

.work-history-item .date-range {
    margin: 0.5rem 0;
    font-size: 0.75rem;
}
    
.enc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 8px;
}

.enc-item img {
    width: var(--logo-width);
    height: var(--logo-height);
    min-width: var(--logo-width);
    min-height: var(--logo-height);

    border-radius: .25rem;
}

.enc-item {
    display: flex;
    align-items: flex-start;
    gap: 0.66rem;
    margin: 0.5rem 0 1rem 0;
}

.enc-item .name {
    min-height: var(--logo-height);
    font-weight: bold;
    display: flex;
    align-items: center;
}

.enc-item .title {
    margin: 0.5rem 0;
}

.enc-item .completion-date {
    margin: 0.5rem 0;
    font-size: 0.75rem;
}

.professional-accomplishment {
    margin: 0.5rem 0 1.5rem 1rem;
}

.professional-accomplishment li {
    margin-bottom: 0.5rem;
    list-style-type: "\2043";
    padding-left: 0.5rem;
}

@media screen and (max-width: 1024px) {
    html, body {
        font-size: 18px;
    }

    article {
        margin: 8px;
        width: 100%;
    }

    article > section > section {
        margin: 1rem 0;
    }

    h4 {
        margin: 0;
    }

    ul.skill-list li {
        margin: 0;
        list-style-type: disc;
    }

    .work-history-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .professional-accomplishment {
        margin: 0.5rem 0 1.5rem 0;
    }

}