
/* GLOBAL CONTAINERS */
/**********************************************/


* { 
    /* DEBUGGERY */
    outline: 1px solid rgb(212, 249, 255);
    outline-offset: -0.5px;
}

a {
    text-decoration: none;

    &:visited {
        text-decoration: line-through;
    }
}

html {
    
    background-color: #211;
    padding: 0px;
    scroll-behavior: smooth;
}

body {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; right: 0;
    bottom: 0; left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #211;
    padding: 0px;
    margin: auto;

    overflow-x: hidden;
}

#global-wrap_outer {
    /* outer wrapper */
    /* creates the bezel border */
    padding: 1rem calc(0.2rem + 0.1vw);
    transition: all 120ms ease-in-out;

    /******/
    position: relative;
    /* flush with body */
    width: 100%; height: 100%;
    left: 0; top: 0;
    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #020101;
}

#global-wrap_middle {
    /* middle wrapper */
    /* acts as a mask */
    overflow: hidden;
    /* with rounded corners */
    border-radius: 1rem;

    /******/
    position: relative;
    width: 100%; height: 100%;
    left: 0; top: 0;

    max-width: 200vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgb(249, 255, 252);
    outline: 2px solid #333;
    outline-offset: 1px;
}

#global-wrap_inner {
    /* holds interior content */
    /* allows scrolling */
    width: 100%; height: 100%;
    left: 0; top: 0;
    position: relative;
    overflow-y: auto;
    z-index: 10;
}

/*  come back to these when ready to do all at once with js injects */
/* SITE HEADER */
header#site_header {

    display: flex;
    justify-content: center;
    width: 100%;
    height: 50px;
    background-color: rgb(185, 185, 185);
}

.breadcrumb-box {
    width: 100%;
    height: 100%;
    max-width: var(--maximum-grid-width);
    outline:1px solid blue;
}

main#site_content {

    display: block;
    width: 100%;
    min-height: 200vh;
}

footer#site_footer {

    display: flex;
    flex-flow: column wrap;

    height: 100vh;
    width: 100%;
    background-color: rgb(0, 43, 48);
}


/* MEDIA QUERIES */

@media screen and (max-width:600px) {
    /* SMALLER SCREENS */ 
    body {
        display: block;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #global-wrap_outer {

        padding: 3px;
    }

    #global-wrap_middle {

        border-radius: 0.75rem;
    }
}

@media (min-aspect-ratio: 2/1) {
    /* 2:1 or WIDER */
}

@media (aspect-ratio: 1/1) {
    /* 1:1 ie SQUARE */
}
