/* Global ------------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color:#fff;
}
p.temp {
    text-align: center;
}
main {
    flex: 1 0;
}
footer {
    flex: 0 0;
    padding: 16px 24px;
}
p {
    color: #000;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}
li {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}
b {
    font-weight: 480;
}
header.main-nav {
    display: flex;
    padding: 24px 0;
    justify-content: center;
    align-items: center;
    gap: 60px;
    align-self: stretch;
    border-bottom: 0.5px solid #d9d9d9;
    background: #fff;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
}
header.main-nav a.back-button {
    color: #000;
    text-align: center;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
header.main-nav .desktop-placeholder {
    display: none;
}
header.main-nav .logo {
    width: 181px;
}
h1.title {
    display: flex;
    padding: 16px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    margin: 0;
    color: #000;
    text-align: center;
    font-family: "Covered By Your Grace";
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
h2 {
    color: var(--Blue, #002bff);
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 10px; /* 62.5% */
    letter-spacing: 2.4px;
    text-transform: uppercase;
}
h3 {
    color: #000;
    text-align: center;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
h4 {
    color: #595959;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 21px; /* 131.25% */
}
h5 {
    color: #000;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 21px; /* 131.25% */
}
footer {
    padding: 0 24px 16px 0;
}
footer p {
    color: #000;
    text-align: right;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    padding: 0;
}
.button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    margin: 24px 36px;
}
.button:hover {
    border-color: #777;
}
.button a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    text-decoration: none;
    padding: 16px;
}
.button a img {
    width: auto;
}
.content {
    margin: 0 36px 36px 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid #002bff;
}
.bottom {
    border-bottom: hidden;
    padding-bottom: 0;
}
summary {
    cursor: pointer;
    text-decoration: underline;
    color: #002bff;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 146.154% */
    list-style: none;
    margin-bottom: 24px;
}
summary::before {
    content: "+ ";
    text-decoration: none;
}
summary::after {
    content: " More";
    text-decoration: none;
}
details[open] summary::before {
    content: "– ";
}
details[open] summary::after {
    content: " Less";
}

details[open] .details-open {
    margin: 20px 0;
}
details[open] .details-open p {
    margin: 10px 0;
}

/* home page --------------------------------------------------------------------------------- */

#home-page-header h1 {
    margin: 24px auto 8px auto;
    padding: 0;
    width: 100%;
    text-align: center;
}
#home-page-header h1 img {
    width: 280px;
    height: 85px;
    flex-shrink: 0;
}
ul#main-navigation {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    background-image: url(images/whiteboard-brainstorm.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size:285px;
    width: 375px;
}
ul#main-navigation li {
    margin: 0;
    padding: 22px 0;
    width: 200px;
    text-align: center;
}
ul#main-navigation li.first {
    margin-left: 105px;
}
ul#main-navigation li.second {
    margin-left: 225px;
    width: 110px;
}
ul#main-navigation li.portrait-circle {
    padding: 55px 0 15px 0;
    margin-left:105px;
}
ul#main-navigation li.portrait-circle img {
    width:120px;
    height:inherit;
}
ul#main-navigation li.third {
    margin-left: 20px;
}
ul#main-navigation li.fourth {
    margin-left: 110px;
}
ul#main-navigation li a {
    color: #000;
    font-family: "Covered By Your Grace";
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 48px; /* 133.333% */
    text-decoration: none;
}
ul#main-navigation li a:hover {
    color: #002bff;
}
footer#home-footer {
    background-image: url("images/dry-erase-markers.png");
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 235px;
    margin: -235px auto 0 auto;
    padding: 235px 24px 16px 0;
    width: calc(100% - 24px);
    position: fixed;
    bottom: 0;
    z-index: -100;
}

/* work examples ----------------------------------------------------------------------- */
ul.work-examples-list {
    list-style-type: none;
    display: flex;
    padding: 0 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}
ul.work-examples-list a {
    text-decoration: none;
    color: inherit;
    width:100%;
}
ul.work-examples-list li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
}
ul.work-examples-list li:hover {
    border-color: #777;
}
.thumbnail {
    align-self: stretch;
    background: #f5f5f5;
    border-radius: 4px 4px 0 0;
}
.thumbnail img {
    height: 180px;
    margin: 0 auto;
    display: block;
    align-self: stretch;
}
.work-item-details {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}
.company {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    margin: 0;
    padding: 0;
}
.company h4 {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #000;
}
.work-page {
    justify-content: center;
    margin-top: 24px;
    flex-direction: column;
}
.work-page h2.title {
    font-family: "Covered By Your Grace", cursive;
    font-size: 24px;
    color: #000;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 24px;
}
.work-page h4.rite-aid {
    color: #113bc5;
    font-weight: 700;
}
.work-page h1.title {
    padding-top: 4px;
    font-size: 20px;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-weight: 800;
}
.content.work-page {
    margin-top: 0;
    margin-bottom: 0;
}
p.lead-in {
    color: #595959;
    margin-bottom: 24px;
}
.project-name {
    display: flex;
    justify-content: space-between;
    align-items: left;
    align-self: stretch;
}
.short-descripxion p {
    color: #595959;
}
.work-page img {
    width: 100%;
    border-radius: 4px;
}
ul.bullets {
    margin-left: 24px;
}
ul.bullets li {
    color: #000;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 146.154% */
    align-self: stretch;
    margin: 8px;
}
.work-page.bottom img {
    margin-top: 24px;
}
.work-page p {
    margin: 8px 0;
}
p.caption {
    font-style: italic;
    font-size: 15px;
    margin-top: 4px;
    line-height: 22px;
    margin-bottom: 24px;
}
.work-page h4 img {
    width: 15px;
}
.work-page h5 {
    margin-top: 24px;
}

/* Resume ------------------------------------------------------------------------------- */
.resume-company {
    display: flex;
    padding-right: 8px;
    align-items: flex-start;
    gap: 8px;
}
.resume-company-logo {
    display: flex;
    width: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.resume-company-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.resume-company-text h5 {
    margin: 0;
    line-height: 13px;
    padding-bottom: 6px;
    font-weight: 550;
}
ul.resume-bullets {
    margin-left: 24px;
}
ul.resume-bullets li {
    color: #000;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    align-self: stretch;
    margin: 10px;
}
ul.skills-bullets {
    margin-left: 24px;
    margin-top: 24px;
}
ul.skills-bullets li {
    color: #000;
    font-family: Inter, Helvetica, Arial, sans-serif;
    align-self: stretch;
    margin: 5px;
}
.content h5.job-title {
    margin: 24px 0 16px 0;
    padding: 0 0 0 0;
    font-size: 18px;
}
p.date-range {
    color: #000;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: italic;
    font-weight: 200;
    line-height: 18px;
    margin: 0;
    padding: 0;
}

/* About --------------------------------------------------------------------------------*/
.content-about {
    width: 303px;
    margin: 0 auto;
}
.content-about img {
    width: 100%;
    border-radius: 4px;
}
.content-about p {
    margin: 12px 0;
}
.content-about h2 {
    margin-top: 24px;
}
.content-about ul {
    margin-left: 24px;
}
.content-about ul li {
    color: #000;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-style: normal;
    align-self: stretch;
    margin: 6px;
}
.content-about .button {
    margin-left: 0;
    margin-right: 0;
}

/* Contact -------------------------------------------------------------------------*/
.content-contact {
    width: 303px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}
.content-contact .button {
    margin-left: 0;
    margin-right: 0;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    width: 303px;
    margin: auto;
}
.contact-card img {
    width: 107px;
    border-radius: 4px;
}
.contact-card-text {
    flex: 1 0 0;
}
.contact-card-text h3 {
    text-align: left;
}
.content-contact a {
    color: #002bff;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}
.external-links {
    display: flex;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}
.image-grid {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    align-self: stretch;
    flex-wrap: wrap;
}
.image-grid img {
    width: 146.75px;
    aspect-ratio: 146.75/138.52;
}
.work-page.bottom .image-grid img {
    margin-top: 0;
}

/* Desktop ----------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 670px) {
    header.main-nav {
        justify-content: space-between;
        align-items: center;
        flex: 0 0 0;
    }
    header.main-nav a.back-button {
        width: 100px;
        margin-left: 36px;
    }
    header.main-nav .desktop-placeholder {
        width: 100px;
        margin-left: 36px;
        display: flex;
    }
    footer#home-footer {
        background-image: none;
        margin: 0 auto 0 auto;
        padding: 0 24px 16px 0;
    }
    body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        background-image: url("images/whiteboard-doodles-background-tall-blur.jpg");
        background-size: 100%;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: bottom;
    }
    body.homepage-body {
        background-image: url("images/whiteboard-doodles-background-tall.jpg");
    }
    ul#main-navigation {
        position: fixed;
        top: 20%;
        left: calc(50% - 190px);
    }
    .content-container {
        width: 600px;
        margin: auto;
        box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
        background-color: #fff;
    }
    .content-about {
        width: calc(100% - 64px);
        padding: 0 32px;
    }
    .image-grid img {
        width: calc(50% - 4px);
    }
    .contact-card {
        margin-top: 24px;
    }
    .work-item-details {
        width:494px;
    }
    .fix-float {
        margin-bottom:10px;
        display:block;
        clear:both;
    }
    @media only screen and (max-height: 720px) {
        ul#main-navigation {
            margin-top:-3%;
        }
    }
}
@media only screen and (min-width: 1440px) {
    .content-container {
        width: 1000px;
    }
    main .content-container {
        padding-bottom:30px;
    }
    .content {
        margin: 40px 80px;
    }
    .button {
        width: 300px;
        margin: 60px 60px 10px;
    }
    .button.right {
        float: right;
    }
    p,
    li {
        font-size: 18px;
        line-height: 28px;
    }
    p.date-range {
        font-size: 16px;
    }
    h1.title {
        font-size: 48px;
    }
    h2 {
        font-size: 22px;
        line-height: 16px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 18px;
    }
    .content h5.job-title {
        font-size: 20px;
        line-height: 24px;
        margin: 32px 0 24px 0;
    }
    .content-about {
        width: calc(100% - 120px);
        padding: 0 60px;
    }
    .content-about img.portrait {
        width: 400px;
        display: inline;
        float: left;
        margin-right: 40px;
        margin-bottom: 30px;
    }
    .content-about ul {
        margin-bottom: 40px;
    }
    .content-about h2 {
        margin-top: 50px;
    }
    .image-grid {
        gap: 32px;
    }
    .image-grid img {
        width: calc(50% - 16px);
    }
    img#last-about {
        margin-top: 32px;
    }
    ul.work-examples-list {
        padding: 0 60px;
        flex-direction: unset;
        align-items: flex-start;
        align-content:flex-start;
        flex:1 0 0;
        flex-wrap:wrap;
        gap: 24px;
    }
    ul.work-examples-list li {
        width:calc(50% - 14px);
    }
    .work-item-details {
        width:378px;
        padding:38px;
    }
    .work-page h2.title {
        font-size: 34px;
        margin-bottom: 24px;
    }
    p.caption {
        font-size:16px;
        margin-top:8px;
    }
    .fix-float.annoying {
        margin-bottom:-20px;
    }
    ul#main-navigation {
        margin: 0 auto;
        padding: 0;
        background-size:385px;
        width: 385px;
    }
    ul#main-navigation li {
        padding: 44px 0;
    }
    ul#main-navigation li.first {
        margin-left: 83px;
    }
    ul#main-navigation li.second {
        margin-left:249px;
    }
    ul#main-navigation li.portrait-circle {
        padding: 62px 0 8px 0;
        margin-left:116px;
    }
    ul#main-navigation li.portrait-circle img {
        width:164px;
    }
    ul#main-navigation li.third {
        margin-left:20px;
    }
    ul#main-navigation li.fourth {
        margin-left: 140px;
    }
    ul.bullets li {
        font-size:18px;
        line-height:28px;
    }
    @media only screen and (max-height: 1060px) {
        ul#main-navigation {
            margin-top:-5%;
        }
    }

}
