article {
    align-items: center;
    margin: 2px 2rem 5px 1.5rem;
}

div.site {
    padding: 1rem;
}

img {
    align-self: center;
    width: 100%;
    border: darkslategray 1px solid;
}


hr {
    color: darkslategray;
    height: 1px;
    width: 8rem;
    justify-self: center;
}

@media screen and (min-width: 320px) and (max-width: 699px) {
    img.headshot {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: -10px;
    }

    #header {
        width: 100%;
        position: fixed;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        z-index: 100;
    }

    #screenshots {
        width: 100%;
        margin: 2rem;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* smooth scrolling on iOS */
        scrollbar-width: none;
        /* hide scrollbar on Firefox */
        gap: 1rem;
        padding: 1rem;
    }

    #screenshots::-webkit-scrollbar {
        display: none;
        /* hide scrollbar on Chrome/Safari */
    }

    #screenshots img.thumb {
        flex: 0 0 auto;
        /* prevent images from shrinking */
        scroll-snap-align: center;
        width: 60vw;
        /* good size for mobile screens */
        margin-bottom: 2rem;
        max-width: 300px;
        height: auto;
        /* border-radius: 20px; */
        /* border: 6px solid #ad9999; */
        background-color: #fff;
        overflow: hidden;
        /* box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), 0 0 5px rgba(223, 211, 211, 0.2); */
    }
}

@media only screen and (min-width: 763px) {
    #main {
        margin-top: 0;
        clear: both;
        padding-top: var(--portfolio-header-height);
    }

    #screenshots {
        margin: 1rem auto;
    }
    img.thumb {
        vertical-align: top;
        width: 30%;
        margin: 10px;
        border: darkslategray 1px solid;
    }

    #header {
        height: var(--portfolio-header-height);
        border: darkslategray 1px solid;
        align-self: center;
    }

    img.headshot {
        padding-bottom: 0;
    }

}