html {
    scroll-behavior: auto;
    cursor: crosshair;
}
body {
    /*font-family: 'Inter', sans-serif;*/
    font-family: "Roboto", sans-serif;
    /*font-family: 'Montserrat', sans-serif;*/
    margin: 0;
    padding: 0;
    background-color: #e3e3e3;
    color: #888888;
    box-sizing: border-box;
}
/* .hidden class to hide all sections on page load except home. */
.hidden {
    display: none !important;
}
/* .censored for hiding non CS friendly content (childlock) */
.censored {
    filter: blur(5px);
    /*cursor: help;*/
    pointer-events: none;
    user-select: none;
}
/* also perhaps have 2 blurred class styles- one for childlock at blur 5 and one for censored at blur 20*/
/* todo: need to fix this, if you want the help cursor and popup to show you need to wrap the censored element in a div so that that remains clickable for the popup and cursor*/
.censored:hover {
    cursor: help;
}
/* a class to indicate which items need to be censored for the cs site.*/
.censor {}


/* a dialogue box to explain the childlock censor*/
.notice {
    background: rgba(255, 255, 255, 0.48);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4rem;
    /*width: 50vw;*/
    /*font-size: 0.8rem;*/
}
.notice-point {
    border-radius: 20rem;
    padding: 0.5rem 0.8rem;
    font-weight: bold;
    /*color: #5c5c5c;*/
    font-size: 0.8rem;
    background: #d6d6d6;
    border: 2px solid rgba(136, 136, 136, 0.54);
    box-shadow: 0 0 20px rgb(255, 255, 255);
    margin-right: 0.5rem;
}


/*//////////////////////// header and navbar ////////////////////////*/
header {
    background-color: #e3e3e3;
    color: #afafaf;
    padding: 2rem 1rem;
    width: 250px;
    min-height: 100vh;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#logo {
    height: 100px;
}
header h1 {
    margin: 0;
    color: #878787;
    cursor: crosshair;
}
nav {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
nav a {
    color: #a5a5a5;
    cursor: default;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: color 0.2s ease-in-out;
}
nav a:hover {
    color: #b1b1b1;
}
/*class for burger button*/
#burger-button {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: cell;
    color: #888;
}
/* class to highlight the currently selected navigation menu tab. */
.active {
    color: #888888;
}
.active:hover {
    color: #5c5c5c;
}

/*//////////////////////// page content ////////////////////////*/
/* container for all the page content sections */
#page-content {
    margin-left: 250px;
    width: auto;
}
#page-content img {
    max-width: 70vw;
}

/*//////////////////////// page flexibility (mobile and small screens) ////////////////////////*/
/* settings for screens smaller than 1kpx (bring sidebar to top) */
@media screen and (max-width: 1000px) {
    body {
        flex-direction: column;
    }

    header {
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        position: fixed;
        min-height: auto;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.25rem 1rem;
        z-index: 1000;
        background: #e3e3e3;
    }

    #navbar {
        flex-direction: row;
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 0;
    }

    #page-content {
        margin-left: 0;
        margin-top: 1.5rem;
        width: 100%;
    }
}
/* settings for mobile screens (add burger menu)*/
@media screen and (max-width: 700px) {
/*    put in a burger menu for nav for screens smaller than this*/
    #burger-button {
        display: block;
        z-index: 1001;
    }

    #navbar {
        display: none;
        flex-direction: column;
        width: auto;
        padding: 1rem 1rem;
        background-color: #e3e3e3;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1000;

    }

    #navbar.show {
        display: flex;
        flex-wrap: wrap;
    }

    header {
        flex-wrap: wrap;
    }

    #page-content {
        padding-top: 2rem;
        overflow-x: hidden; /* disables horizontal scroll on mobile*/
    }
    /* will collapse section columns into single column on mobile */
    .section-columns {
        flex-direction: column;
    }
}

/*//////////////////////// page sections ////////////////////////*/
.section {
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0;
}
/* style links inside content sections */
.section a {
    color: #595959;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}
.section a:hover {
    color: #b6b6b6;
}
.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    cursor: crosshair;
}

/*//////////////////////// page gallery formatting ////////////////////////*/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    max-width: 100vw;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}
.pixel-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.pixel-gallery img {
    image-rendering: pixelated;
    width: 100px;
    height: auto;
}
.pixel {
    image-rendering: pixelated;
    width: max(100px, 200px) !important;
}

/*//////////////////////// image viewer for gallery images ////////////////////////*/
#image-viewer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 4rem;
    /*padding: 4rem 2rem;*/
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*background: white;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*z-index: 999;*/
}
#image-viewer img {
    max-width: min(900px, 80vw);
    max-height: 80vh;
    width: auto;
    height: auto;
}
#image-viewer img:hover {
    cursor: cell;
}
#fullscreen {
    top: 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #e3e3e340;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
#fullscreen img {
    width: 150%;
    max-height: 95%;
    object-fit: contain;
    cursor: crosshair;
    image-rendering: pixelated;
}
/* class for the close viewer button*/
#close-viewer {
    position: absolute;
    top: 1rem;
    left: 1rem;
    /*margin-bottom: 20px;*/
    color: #595959;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: w-resize;
    z-index: 1;
}

/*//////////////////////// page section column formatting ////////////////////////*/
.section-columns {
    display: flex;
    gap: 1rem;
}
.column {
    display: flex;
    flex-direction: column;
}

/*//////////////////////// listing requests and messages ////////////////////////*/
/* for the art request list tabs */
.request-list {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.request-post {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: auto;
    /*height: 1.5rem;*/
    background: #d6d6d6;
    border-radius: 0.5rem;
    line-height: 0.5rem;
    padding-left: 0.5rem;
}
.request-post:hover {
    background: #cacaca;
}

/*//////////////////////// art request form and message form formatting ////////////////////////*/
form {
    background: #d6d6d6;
    /*width: 100%;*/
    /*max-width: 850px;*/
    /*margin: 0.5rem;*/
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /*border: 1px solid #878787;*/
}
.field {
    /*background: #b51717;*/
}
label {
    display: block;
    font-size: 0.9rem;
    /*margin-bottom: 0.3rem;*/
    /*color: #333;*/
}
form input[type="text"],
form textarea {
    /*width: 200px;*/
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0.5rem;
    /*padding: 0.6rem 0.8rem;*/
    /*font-size: 1rem;*/
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background: #fff;
    outline: none;
    resize: vertical;

    max-width: 100%;
    /*transition: border-color 0.2s;*/
}
form button[type="submit"] {
    /*width: auto;*/
    /*display: inline-block;*/
    align-self: flex-start;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    background: #a5a5a5;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
form button[type="submit"]:hover {
     background: #b1b1b1;
 }
form button[type="submit"]:active {
    background: #888888;
}