/* BASIC */

* {
    box-sizing: border-box;
}

html { font-size: 11px; }

html,
body {
    margin: 0;
    padding: 0;
}

:root {
    --work-image-bg: white;
}

body {
    background: white;
    color: black;
    font-family: Helvetica;
    font-size: 11px;
    line-height: 1.3;
}


/* NAVIGATION */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    background: white;
    z-index: 100;
}

nav a {
    color: black;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}


/* WORKS */

main {
    padding: 70px 16px 80px;
}

.work {
    margin-bottom: 20px;
}

/* Larger images on desktop; full-width images on phones. */
.work img {
    display: block;
    width: 60%;
    max-width: 60%;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin-inline: auto;
    background: var(--work-image-bg);
}

.work .caption,
.work .caption a,
.work .caption span {
    color: #000;
    text-decoration: none;
}

.work .caption {
    display: flex;
    justify-content: flex-start;
    width: 60%;
    margin: 7px auto 0;
}


/* ABOUT */

.about {
    max-width: 600px;
}

.about h1 {
    font-size: 10px;
    font-weight: normal;
    margin: 0 0 20px;
}

.about p {
    margin: 0 0 25px;
}

.about a {
    color: black;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* Gateway page styles */

.gateway img {
    cursor: pointer;
}

.banner-page .banner {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-inner {
    background: rgba(255,255,255,0.85);
    padding: 30px;
    text-align: center;
    max-width: 800px;
}

.enter-button {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;
    background: black;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.enter-button:hover {
    opacity: 0.9;
}


/* Mobile spacing for images, captions, and About content */
@media (max-width: 600px) {
    main {
        padding: 70px 12px 80px;
    }

    .work img {
        width: 100%;
        max-width: 100%;
    }

    .work .caption {
        width: 100%;
    }

    main.about > div {
        width: 100% !important;
    }
}
