
html,
body {
    font-family: "Open Sans", sans-serif;
    height: 100%;
    background-color: ghostwhite;
    margin: 0;
    padding: 0;
}

header {
    margin-bottom: 2em;
    display: inline-flex;
    flex-direction: row;
    gap: 2em;
}

footer {
    margin-top: 4em;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.code {
    font-family: monospace;
    background-color: lightgray;
}

#menubar {
    position: sticky;
    top: 0;
    height: 4em;
    padding: 1em 0 2em 0;
    margin: 0;
    display: flex;
    align-items: center;
    background-color: ghostwhite;
}

#menubar a {
    display: inline-flex;
    align-content: center;
}

#menubar .logo {
    flex-grow: 0;
    display: flex;
}

#menubar img {
    height: 3.0em;
    width: auto;
}

#menubar .name {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0 0 0 0.5em;
    padding: 0;
    display: inline-block;
}

#menubar .links {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

#menubar .links a {
    display: inline-block;
    font-size: 1.2em;
    margin-left: 1em;
}



h1,
h2,
h3,
h4,
p,
div {
    margin: 0 0 1em 0;
    padding: 0
}

a:link, a:visited {
    color: darkgreen;
    text-decoration: none;
}

a:hover {
    color: darkgreen;
    text-decoration: underline;
}

a:active {
    color: green;
    text-decoration: none;
}


.container {
    width: 80em;
    max-width: 80%;
    margin: 0 auto 2em auto;
    padding: 0;
}

.screenshot {
    width: 40em;
}

.screenshot:not(:first-child) {
    margin-top: 1em;
}

.screenshot img {
    width: 100%;
    height: auto;
}


.built-with {
    display: inline-flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 1em;
    background-color: gainsboro;
    padding: 0.5em;
}

.built-with-also {
    margin-top: 1em;
    font-size: 0.8em;
}

.footer-icon {
    height: 48px;
    width: auto;
}

.package-name, .list-label {
    font-weight: 600;
}

header, main {
    display: block;
}

.intro {
    font-size: 1.25em;
}

.brand {
    font-weight: 600;
}

.pane {
    padding: 2em 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-content: center;
}

.pane * {
    align-content: top;
}

.pane > *:not(:first-child) {
    margin-left: 4em;
}

.image-small {
    width: 16em;
    height: auto;
}

.image-caption {
    text-align: center;
    font-size: 0.8em;
    font-style: italic;
}

.callout {
    background-color: #C0FFC0;
    border: darkgreen 2px solid;
    border-radius: 25px;
    padding: 14px 20px;
}

ul {
    list-style-type: square;
    list-style-position: outside;
}

.lightbox-image {
    cursor: pointer;
}

#lightbox {
    display: none;
    position: fixed;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    top: 0;
    background-color: #000040E0;
    align-items: center;
    justify-content: center;
}

#lightbox-close {
    position: relative;
    display: flex;
    height: 32px;
    font-weight: 600;
    font-size: 24px;
    font-weight: 800;
    color: black;
    justify-content: right;
    z-index: 10;
}

#lightbox-panel {
    position: relative;
    margin: auto auto;
    align-items: center;
    justify-content: center;
}

#lightbox-close-btn {
    position: absolute;
    display: flex;
    /* border-radius: 50%; */
    position: relative;
    width: 32px;
    height: 32px;
    top: 0;
    right: 32px;
    align-content: center;
    justify-content: center;
    background-color: white;
    cursor: pointer;
}

#lightbox-img-box {
    padding: 32px 0 32px 0;
    display: inline-flex;
    position: relative;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: auto;
    justify-content: center;
}


#lightbox img {
    z-index: 1;
    max-height: calc(100vh - 180px);
    /* top: -40px; */
    display: block;
    position: relative;
    max-width: 90%;
}

@media screen and (max-width: 1000px) {
    #menubar {
        font-size: 0.8em;
    }

    .screenshot {
        max-width: 100%;
    }

    .pane {
        padding: 0;
        margin: 0;
        display: block;
        align-content: left;
    }
    
    .pane * {
        align-content: top;
    }
    
    .pane > *:not(:first-child) {
        margin-left: 0;
    }
 
    .built-with {
        flex-direction: column;
        width: auto;
        gap: 0.4em;
    }    
    .built-with a img {
        height: 32px;
        width: auto;
    }

    .image-caption {
        text-align: left;
    }
}