
/*@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');*/
/* @import url('https://fonts.googleapis.com/css?family=Outfit:200,300,400,500,600,700,800'); */
/*@import url('https://fonts.googleapis.com/css?family=Kanit:200,700|Montserrat:200,400,300,600');*/

body
{
    /*background: linear-gradient(to top, blue 0%, purple 100%);*/
    /*background-size: 100vw 100vh;*/
    /*font-family: 'Quicksand', serif;*/
    background: linear-gradient(to top, #213431 0%, #615a28 100%);
    background-attachment: fixed;
    /* font-family: 'Outfit', sans-serif; */
    /* color: white; */
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 14pt;
}

h1, h2, h3
{
    font-family: "futura-pt", 'Outfit', sans-serif;
}


.topmenu
{
    font-family: "futura-pt", 'Outfit', sans-serif;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    
    display: block;
    overflow: hidden;
    padding-top: 1em;
    padding-bottom: 1em;
    box-shadow: .3em .3em .3em rgba(0, 0, 0, 0.1);
    z-index: 1000;
    /*font-family: 'Play', sans-serif;*/  

    position: fixed;
    top: 0;
    left: 0;

    transition: all 0.5s;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.topmenu a
{
    color: inherit;
    text-decoration: inherit;
}

.topmenu a:hover
{
    text-decoration: underline;
}

.topmenuitem
{
    display: inline-block;
    font-size: 1em;
    margin-right: 2em;
    text-shadow: 0.1em 0.1em 0 rgba(0, 0, 0, 0.4);
    font-weight: 300;
}

.topmenuheader
{
    float: left;
    font-size: 2em;
    font-weight: 700;
    text-shadow: 0.05em 0.05em 0 rgba(0, 0, 0, 0.4);
    margin-top: -0.2em;
}

.topmenuoptions
{
    float: right;
    color: white;
    position: relative;
    top: 0.5em;
    margin-right: 2em;
}

.menuThatIsNotOnTop
{
    padding-top: 0em;
    padding-bottom: 0.2em;
    background-color: rgba(0, 0, 64, 0.5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.menuThatIsNotOnTop-blurnotsupported
{
    background-color: rgba(0, 0, 64, 0.85);
}


.splash
{
    /*background-image: url("images/splash-placeholder.jpg");*/
    /*background-color: red;*/
    background-size: 100% auto;
    z-index: -50;
    height: 100vh;
    width: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.splash-aboutme
{
    position: absolute;
    top: 57%;
    right: 65px;
    width: 23em;
    text-shadow: 0.07em 0.07em 0 rgba(0, 0, 0, 0.8);
    background-color: rgba(0, 24, 48, 0.3);
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    padding: 1em;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.splash-aboutme-blurnotsupported
{
    background-color: rgba(0, 0, 0, 0.7);
}

.splash-aboutme-hi
{
    font-size: 3em;
    font-weight: 600;
    font-family: "futura-pt", 'Outfit', sans-serif;
}

.splash-aboutme-iam
{
    font-size: 1.8em;
    line-height: 1.35em;
    font-weight: 300;
}

.splash-aboutme-iam a
{
    color: white;
    text-decoration: none;
}

.splash-aboutme-iam a:hover
{
    color: white;
    text-decoration: underline;
}


.stuffirecentlydid
{
    position: relative;
    /*top: 100%;*/
    top: -20px;
    background: linear-gradient(to top, #000088 0%, #0088ff 100%);
    min-height: 30vh; /* mostly for development so I can see what this div looks like */
    color: white;
    text-align: center;
    /*font-family: 'Cabin', sans-serif;*/
}


.stuffirecentlydid-headercontainer /* this exists so the bottom border doesn't extend the width of the screen */
{
    display: block;
}

.stuffirecentlydid-header
{
    display: inline-block;
    font-size: 3em;
    /*text-shadow: 2px 2px 0 rgba(0, 0, 96, 0.5);*/
    font-weight: 500;

    /*background-image: linear-gradient(to right, white 25%, rgba(255,255,255,0) 0%);
    background-position: bottom;
    background-size: 4px 1px;
    background-repeat: repeat-x;*/
    background-image: url('images/semitransparent-white-hazard-stripe.png');
    background-position: bottom;
    background-size: 3px 3px;
    background-repeat: repeat-x;
    filter:drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.5));

    padding-left: .5em;
    padding-right: .5em; /* this makes the bottom border extend a bit beyond the text, woo */
    margin-top: 1.3em;
    margin-bottom: .8em;
}

.smallhazardstripeonthebottom
{
    background-image: url('images/semitransparent-white-hazard-stripe.png');
    background-position: bottom;
    background-size: 3px 3px;
    background-repeat: repeat-x;
    filter:drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.5));
}

.stuffirecentlydid-gridcontainer
{
    display: flex;
    flex-wrap: wrap;
/*    align-items: center;*/
}

.stuffirecentlydid-thingcontainer
{
    flex-grow: 1;
    width: 30%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 20px;
    height: 260px;
    position: relative;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    background-size: auto 100%;
    transition: all 0.5s;
}

.stuffirecentlydid-thingcontainer:hover
{
    transform: scale(1.05);
}

.stuffirecentlydid-thingtextcontainer
{
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    /*background-color: rgba(0, 0, 0, 0.25);*/
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 60%);
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 10px;
    padding-top: 50px;
    box-sizing: border-box;
}

.stuffirecentlydid-thingheadline
{
    text-transform: uppercase;
    color: #ffbb00;
    text-shadow: 2px 2px 0 rgba(128, 64, 16, 0.6);
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1em;
}

.stuffirecentlydid-thingsummary
{
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
    font-size: 1em;
    font-weight: 300;
    line-height: 1.3em;
}

.stuffirecentlydid-emphasizedproject
{
    width: 60%;
    max-width: 62.8%;
    background-size: cover;
    background-position: 0 -120px;
}

.stuffirecentlydid-emphasizedproject .stuffirecentlydid-thingheadline
{
    color: #88ff88;
    font-size: 2.5em;
    text-shadow: 2px 2px 0 rgba(16, 64, 16, 0.6);
}

.stuffirecentlydid-emphasizedproject .stuffirecentlydid-thingsummary
{
    font-size: 1.35em;
}

.stuffirecentlydid-standardproject
{
    max-width: 30%;
}

.stuffirecentlydid-hovervideowrapper
{
    width: 100%;
    height: 260px;
    overflow: hidden;
    z-index: -100;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.stuffirecentlydid-hovervideo
{
    width: 100%;
}

.stuffirecentlydid-emphasizedproject .stuffirecentlydid-hovervideo
{
    position: relative;
    top: -60px;
}

/* moved this to javascript to avoid class warfare */
/*.stuffirecentlydid-thingcontainer:hover .stuffirecentlydid-hovervideowrapper
{
    opacity: 1;
}

.stuffirecentlydid-thingcontainer:active .stuffirecentlydid-hovervideowrapper
{
    opacity: 1;
}*/

.stuffirecentlydid a
{
    color: white;
}

.stuff-contentmarketingpitch
{
    /*background: linear-gradient(to top, #213431 0%, #5b6128 100%);*/
    background: linear-gradient(to top, #223335 0%, #263a57 100%);
    background-attachment: fixed;
}

.stuff-contentmarketingpitchcontainer
{
    width: 100%;
    text-align: center;
    margin-top: .5em;
}

.stuff-contentmarketingpitchtext
{
    width: 40em;
    display: inline-block;
    /*color: black;*/
    font-size: 1.1em;
    text-align: left;
    background: #465a55;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    padding: .5em 4em;
    border-radius: 10px;
}

.stuff-contentmarketingpitchtext h1
{
    font-size: 2.1em;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    color: #ffcb2b;
    line-height: 1.1em;
    padding-bottom: 8px;
    margin-top: 2em;

    background-image: url('images/semitransparent-white-hazard-stripe.png');
    background-position: bottom;
    background-size: 4px 4px;
    background-repeat: repeat-x;
}

.stuff-contentmarketingpitchtext h1:first-of-type
{
    margin-top: .4em;
}

.stuff-contentmarketingpitchtext h2
{
    margin-top: 2em;
    font-size: 1.5em;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    color: #ffc77e;
    margin-bottom: -.13em;
    margin-left: 0.7em;
    border-bottom: 1px dotted #ffcc7e33;
}

.stuff-contentmarketingpitchtext h1+h2
{
    margin-top: -.3em;
}

.stuff-contentmarketingpitchtext p
{
    font-weight: 300;
    font-size: 1.09em;
    line-height: 1.5em;
    text-rendering: optimizeLegibility;
    max-width: 33em;
    margin-left: 1.6em;
}

.stuff-contentmarketingpitchtext strong
{
    font-weight: 800;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.stuff-contentmarketingpitchtext .casestudy-sample-name
{
    color: black;
}

.stuff-fixingyourvideo
{
    background: linear-gradient(to bottom, #332288 0%, #6644aa 100%);
}

.stuff-makebigger
{
    font-size: 3em !important;
    font-weight: 800 !important;
}

.stuff-makesmaller
{
    font-size: 2em;
    font-weight: 300 !important;
}

.stuffido
{
    /*background: linear-gradient(to bottom, #bb9933 0%, #664418 100%);*/
    background: linear-gradient(to bottom, #cee517 0%, #c18800 100%);
    min-height: 80%;
    background-attachment: fixed;
}

.stuffido-padding
{
    margin-top: 0.5%;
}

.stuffido-header
{
    margin-bottom: 1%;
    text-shadow: 1.9px 1.9px 0px rgba(74, 85, 0, 0.4);
    font-family: "futura-pt", 'Outfit', sans-serif;
    font-weight: 700;
    filter: drop-shadow(1px 1px 8px rgba(0, 0, 0, 0.1));
}

.stuffido-columnsoutercontainer
{
    width: 100%;
    text-align: center;
}

.stuffido-columnsmiddlecontainer
{
    display: inline-block;
    width: 90%;
}

.stuffido-columnscontainer
{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.stuffido-column
{
    flex-grow: 1;
    /*min-width: 30%;*/
    width: 33%;
    padding: 2em;
    box-sizing: border-box;
    text-shadow: 2px 2px 0 rgba(64, 32, 0, 0.5);
    text-align: center;
}

.stuffido-headline
{
    font-size: 2em;
    font-weight: 600;
    /*margin-top: 5em;*/
    /*margin-bottom: 5em;*/
}

.stuffido-subhead
{
    font-size: 1.3em;
    font-weight: 200;
}

.stuffido a
{
    text-decoration: none;
}

.stuffido-subhead strong
{
    font-weight: 500;
}

.stuffido-circlecontainer
{  
    display: inline-block;
    /*background-color: red;*/
    position: relative;
    width: 260px;
    height: 260px;
    margin-bottom: 1em;
    /*filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.3));*/
    /*box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);*/
}

.stuffido-circle
{
    /*display: inline-block;*/
    position: absolute;
    width: 250px;
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    clip-path: circle(125px at center);
    -webkit-clip-path: circle(125px at center);
    top: 5px;
    left: 5px;
    z-index: 10;
    /*filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 1));*/
}

.stuffido-circleshadow
{
    position: absolute;
    /*clip-path: circle(135px at center);*/
    width: 270px;
    height: 270px;
    background: radial-gradient(circle closest-side at center, rgba(0, 0, 0, 0.6) 0%,  rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    top: -2px;
    left: -2px;
}

.stuffido-image
{
    /*width: 250px;*/
    height: 250px;
}

.stuffido-hovervideowrapper
{
    width: 250px;
    height: 250px;
    overflow: hidden;
    z-index: 1000;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

/* stolen from fixingyourvideo.com cuz how much energy can I exert, really */

.contact-wrapper
{
    text-align: center;
    width: 100%;
}

.contact-left
{
    display: inline-block;
    vertical-align: top;
    margin-right: 1em;
}

.contact-right
{
    display: inline-block;
    font-size: 1.2em;
    text-align: left;
    max-width: 60%;
}

.contact-field
{
    display: inline-block;
    background-color: #eeeeee;
    border-radius: 7px;
    margin: 0.4em;
    padding: 0.4em;
    box-shadow: 0.2em 0.2em 0.2em rgba(0, 0, 0, 0.2);
}

.contact-label
{
    font-size: 0.8em;
    color: black;
}

.contact-input
{
    font-size: .6em;
    width: 98%;
}

.contact-textarea
{
    width: 99%;
}

.contact-row
{
    display: inline-block;
}

.contact-half-field
{
    width: 39%;
    display: inline-block;
}

.contact-box
{
    width: 90%;
    position: relative;
    top: 110px;
}

.contact-title
{
    text-align: center;
}


.contact-button
{
    display: inline-block;
    border: none;
    padding: .5em;
    font-size: 1.1em;
    border-radius: 8px;
    /*font-family: 'Zilla Slab';*/
    color: black;
    background-color: #ffbb88;
    box-shadow: 0.2em 0.2em 0.1em rgba(0, 0, 0, 0.2);
    margin-top: 0.3em;
    /*margin-right: 2.2em;*/
    margin-left: 0.48em;
    font-family: 'Futura', sans-serif;
    font-weight: 700;
}

.contact-submitted
{
    display: none;
    /*opacity: 0;*/
    color: white !important;
    font-size: 1.3em;
    width: 100%;
    background-color: red;
    text-align: center;
    margin: 0;
    padding: 0;
    /*transition: all .5s;*/
}

.contact-submitted h2
{
    color: white !important;
    margin: 0;
    padding: 0;
}

.contact-headshot
{
    width: 250px;
    background: linear-gradient(to bottom, #ffddbb 0%, #ffbb88 100%);
    border-radius: 20px;
    /*position: relative;*/
    /*left: -20px;*/
    box-shadow: 2px 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-wrapperforthewholething-outer
{
    text-align: center;
    width: 100%;
    padding-bottom: 1em;
    /*background-color: red;*/
}

.contact-contentmarketingmodifier p
{
    font-size: .8em;
    margin-left: 0.4em;
    margin-top: 0;
}


.casestudy-splash
{
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
   
    background-size: cover !important;
    background-repeat: none;
    background-position: center;
    z-index: -100;
    /*height: 90%;*/
    /*box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);*/
     height: 100%;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
}

/* .casestudy-background
{ */
    /* https://www.vectorstock.com/royalty-free-vector/circuit-board-seamless-vector-1000007 (TODO: get the real vector) */
   /* position: fixed; */
    /* width: 200vh;
    height: 200vh;
    background: url("images/circuit.png");
    background-size: 20%;
    background-repeat: repeat;
    z-index: -10000;
    background-blend-mode: overlay; */
/* } */

.casestudy-section
{
    position: absolute;
    top: 30vh;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    /*background: linear-gradient(45deg, #666622 0%, #222222 5%, #222222 50%, #666622 55%, #666622 100%);*/
}

.casestudy-container
{
    display: inline-block;
    text-align: left;
    font-size: 14pt;
    width: 80%;
    color: black;
    position: relative;
    top: -2.5em;
    /*border-radius: 4px;*/
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.casestudy-articlecontainer
{
    background-color: white;
    margin: 0;
    text-align: center;
    position: relative;
    /*top: -1.2em;*/
    /*box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);*/
}

.casestudy-article
{
    display: inline-block;
    width: 40em;
    padding: 1em;
    padding-top: 2.6em;
    text-align: left;
    line-height: 1.4em;
    font-weight: 300;
    max-width: 40em;
    /*overflow-wrap: break-word;*/
    word-wrap: break-word;
}

.casestudy-titlecontainer
{
    width: 100%;
    text-align: center;
    padding: 0;
}

.casestudy-titlebox
{
    display: inline-block;
    color: white;
    text-shadow: 2px 2px 0 #000099;
    z-index: 500;
    text-align: center;
    width: 100%;
    /*background: linear-gradient(45deg, #1c55c9 0%, #24bab1 100%);*/
    
    background-color: rgba(0, 0, 64, 0.7);
    
    box-sizing: border-box;
    
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);*/
    /*width: 80%;*/
}

.casestudy-titleboxonlycasestudy /* clearly I need to refactor this here nomenclature */
{
    background: linear-gradient(to top, rgba(0, 0, 64, 0.7) 0%, rgba(0, 0, 96, 0.7) 80%, rgba(4, 4, 104, 0.7) 90%, rgba(20, 20, 128, 0.7) 100%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.casestudy-titleboxinner
{
    padding: 0.5em 3em 0.5em 3em;
}

.casestudy-titlebox-fmcred
{
    background-color: rgba(96, 0, 0, 0.7);
}

/*.casestudy-titlebox:before
{
    position:absolute; left:-0px; top:-0px; content:'';
    border-top: 25px solid #888888;
    border-right: 25px solid transparent;
}*/

.casestudy-title
{
    display: block;
    margin: 0.2em;
    padding-bottom: 0em;
    margin-bottom: 0em;

    /* text-transform: uppercase; */
    color: #ffdd66;
    text-shadow: 2px 2px 0 rgba(128, 64, 16, 0.65);
    font-size: 2.7em;
    font-weight: 700;

    margin-top: 0;
    padding-top: 0;

    text-shadow:
    #d3b060 0px 1px .25px,
    #ab8732 0px 2px .5px,
    #7b5d16 0px 3px .75px,
    rgba(88, 88, 88, 0.498) 0px 4px 1px,
    #787878 0px 0px 1px,
    rgba(0, 0, 0, 0.753) 0px 5px 10px;
/*
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255,255,255,0.4) 50%, rgba(255, 255, 255, 0) 100%);
    background-position: bottom;
    background-size: auto 1px;
    background-repeat: repeat-x;*/
}

.casestudy-subhead
{
    max-width: 80%;
    display: inline-block;
    margin: 0.1em;
    margin-bottom: 0em;
    font-weight: 200;
    font-size: 1.4em;
    position: relative;
    top: -.5em;
}

.casestudy-title a
{
    color: inherit;
    text-decoration: inherit;
}


.casestudy-article h1
{
    color: #224422;
    text-shadow: 1.5px 1.5px 0 rgba(8, 16, 8, 0.1);
    font-size: 2.3em;
    margin: 0;
    padding: 0;
    padding-bottom: 11px;
    position: relative;
    left: -9px;
    text-transform: uppercase;
    line-height: 1em;

    /*background-image: repeating-linear-gradient(45deg, black 50%, rgba(255,255,255,0) 0%);*/
    background-image: url('images/semitransparent-dark-green-hazard-stripe.png');
    background-position: bottom;
    background-size: 4px 4px;
    background-repeat: repeat-x;
}

.casestudy-article h1 + h1
{
    margin-top: 2em;
}

.casestudy-article h2
{
    line-height: 1.2em;
    color: #003c66;
    text-shadow: 1px 1px 0 rgba(0, 16, 0, 0.1);
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 2em;
}


.hazardstripe
{
    background-image: url('images/orangeish-yellow-and-black-hazard-stripe.png');
    /* background-image: url('images/yellow-and-black-faded-hazard-stripe.png'); */
    /*background-image: url('images/semitransparent-white-hazard-stripe.png');*/
    /*background-color: #222222;*/
    background-position: bottom;
    background-size: 10px 10px;
    background-repeat: repeat-x;
    width: 100%;
    height: 10px;
}

.hazardstripe-semitransparent-white
{
    background-image: url('images/semitransparent-white-hazard-stripe.png');
    position: relative;
    top: 100%;
}

.hazardstripe-semitransparent-gray
{
    background-image: url('images/semitransparent-gray-hazard-stripe.png');
    position: relative;
    top: 100%;
}

.hazardstripe-tiny
{
    background-size: 5px 5px;
    height: 5px;
}



.casestudy-article p + h1
{
    margin-top: 2em;
}

.casestudy-sample-block
{
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    flex-direction: row;
    width: 130%;
    /*background-color: red;*/
    position: relative;
    left: -15%;
}

.casestudy-sample
{
    margin: .4em;
    background-color: white;
    width: 25em;
    min-width: 19em;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    background-color: #eeeeee;
}

.casestudy-sample-name
{
    
    /*min-height: 4.3em;*/
    font-weight: 500;
    padding: .6em;
    /*background-color: #e8e8e8;*/
}

.casestudy-sample-description
{
    padding: 0 .6em;
    font-size: .8em;
    line-height: 1.3em;
/*    height: 0;*/
    transition: height 0.5s;
    overflow: hidden;
    display: none; /* Not sure if these descriptions are necessary!  They add a lot of visual noise.  I'd rather go into more detail in the case study. */
}

.casestudy-sample-description-visible
{
    transition: height 0.5s;
/*    height: 300px;*/
}

.casestudy-sample-projectinfo
{
    background-color: #666666;
    padding: .2em .4em;
}

.casestudy-sample-link
{
    color: #ffbb44;
    text-shadow: 1px 1px 0 #222222;
    text-decoration: none;
    font-weight: 700;
}

.casestudy-sample-image
{
    animation-name: scrollUp;
    animation-duration: 30s;
    animation-play-state: paused;
}

.cheatsheet-image
{
    transform: rotateZ(0deg) !important;
    /*width: 160px;*/ /* this gets difficult unless I bake it into custommarkdown.py, so maybe I'll deal with that later */
    border-width: 4px !important;
    /*display: inline-block !important;*/

    transition: all 0.5s;
    box-shadow: 2px 3px 14px rgba(0, 0, 0, 0.2);
    margin: .4em;
}

@keyframes scrollUp
{
    0%
    {
        transform: translateY(0);
    }

    100%
    {
        transform: translateY(-1000px);
    }
}

.casestudy-sample-imagecontainer
{
    height: 300px;
    overflow: hidden;
}

@media only screen and (orientation: portrait)
{
    #imageoverlay-imageplaceholder
    {
        width: 100%;
        height: auto;
    }
}

#imageoverlay
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    text-align: center;
}

#imageoverlay-imageplaceholder
{
    height: 100%;
    display: inline-block;
}

@media only screen and (orientation: portrait)
{
    #imageoverlay-imageplaceholder
    {
        width: 100%;
        height: auto;
    }
}

#imageoverlay-x
{
    text-decoration: none;
    color: white;
    font-size: 40px;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    position: fixed;
    right: 20px;
    top: 20px;
}

.stats
{
    /*position: relative;*/
    /*top: -1.5em;*/
    background-color: #272727;
    color: white;
    padding: 6px;
    font-weight: 200;
    font-size: 0.8em;
    text-align: center;

    background-image: url('images/subtle-semitransparent-big-white-hazard-stripe.png');
    background-position: bottom;
    background-size: 64px 64px;
    background-repeat: repeat;

    border-top: 1px solid #333333;
    border-bottom: 1px solid #777777;
}

.stats a
{
    color: white;
    text-decoration: none;
}

.stats a:hover
{
    text-decoration: underline;
}

.stats-section
{
    display: inline-block;
    background-color: #222222;
    padding: 8px 15px;
    border-top: 1px solid #181818;
    border-left: 1px solid #181818;
    border-bottom: 1px solid #333333;
    border-right: 1px solid #333333;
    margin-left: 3px;
    margin-right: 3px;
}

.stats-label
{
    text-transform: uppercase;
    color: #ffdd66;
}

.stats-value
{
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 4px;
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.services-article h1 /* A pitch needs slightly-less-impactful headings, because they need to be easy to scan (unlike the "chapter heading") style in the case studies */
{
    font-size: 1.8em;
    font-weight: 700;
    text-transform: initial;
}

.frontpage-splashvideo
{
    width: 100%;
    height: 100%;
}

.splash-scrolldown
{
    position: absolute;
    bottom: 30px;
    left: 300px;
    font-size: 2em;
    opacity: 0;
    filter: blur(20px);

    animation-name: scrollDownAppear;
    animation-duration: 6s;
    animation-delay: 3s;
    animation-fill-mode: forwards;
}

#splash-scrolldown-wrapperforfadeout
{
    transition: opacity 1s;
}

@keyframes scrollDownAppear
{
    0%
    {
        opacity: 0;
        transform: translateY(-100px);
        filter: blur(20px);
    }
    100%
    {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

blockquote
{
    background: linear-gradient(30deg, rgba(255, 255, 192, 0.07) 0%, rgba(255, 255, 255, 0.13) 100%);
    padding: 8px 30px;
    /*border-radius: 10px;*/
    box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.13);
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    /*border-top-right-radius: 10px;*/
    border-bottom-right-radius: 30px;
}

.freewritewarning
{
    font-size: 0.75em;
    padding: 6px;
    border: 2px dashed #bb4;
    display: inline-block;
    line-height: 1.4em;
    /*margin-top: .5em;*/
    background-color: #ffa;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 27px;
    color: black;
    padding: 5px;
    margin-bottom: 15px;
}

.edit-soggy::before
{
    content: "SOGGY";
    font-size: .4em;
    position: absolute;
    bottom: -23px;
    padding: 0;
    color: rgb(255, 192, 64);
}

.edit-soggy
{
    background-color: rgba(128, 96, 32, 0.75);
    position: relative;
}

.edit-pain::before
{
    content: "PAIN";
    font-size: .4em;
    position: absolute;
    top: -23px;
    padding: 0;
    color: rgb(255, 192, 64);
}

.edit-pain
{
    background-color: rgba(255, 128, 32, 0.5);
    position: relative;
}


.edit-pain-strong::before
{
    content: "PAIN - STRONG!";
    font-size: .4em;
    position: absolute;
    top: -23px;
    padding: 0;
    color: rgb(255, 128, 0);
}

.edit-pain-strong
{
    background-color: rgba(255, 128, 0, 0.6);
    position: relative;
}

.edit-pain-vivid::before
{
    content: "PAIN - VIVID!";
    font-size: .4em;
    position: absolute;
    top: -23px;
    padding: 0;
    color: rgb(255, 192, 48);
}

.edit-pain-vivid
{
    background-color: rgba(255, 192, 48, 0.6);
    position: relative;
}

.edit-pain-surface::before
{
    content: "PAIN - SURFACE-LEVEL";
    font-size: .4em;
    position: absolute;
    top: -23px;
    padding: 0;
    color: rgb(255, 192, 0);
}

.edit-pain-surface
{
    background-color: rgba(255, 128, 0, 0.3);
    position: relative;
}


.edit-dream::before
{
    content: "DREAM";
    font-size: .4em;
    position: absolute;
    top: -23px;
    padding: 0;
    color: rgb(255, 255, 32);
}

.edit-dream
{
    background-color: rgba(255, 255, 32, 0.5);
    position: relative;
}

.edit-FIX::before
{
    content: "FIX";
    font-size: .4em;
    position: absolute;
    top: -23px;
    padding: 0;
    color: rgb(192, 255, 32);
}

.edit-fix
{
    background-color: rgba(192, 255, 32, 0.5);
    position: relative;
}

.ctabox-container
{
    width: 100%;
    text-align: center;
    margin-top: 2em;
}

.ctabox
{
    display: inline-block;
    width: 80%;
    border: 2px dotted white;
    text-align: center;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
}

.ctabox h1
{
    margin: 0.5em;
    color: #aaffaa;
    background: none;
}

.ctabox p
{
    margin: 0;
    position: relative;
    top: -8px;
}

.ctabox-contactbutton
{
    display: inline-block;
    background: linear-gradient(to bottom, #448844 0%, #336633 100%);
    box-shadow: 0 4px 0 #224422;
    text-decoration: none;
    padding: 10px;
    font-size: 1.4em;
    font-weight: 700;
    border-radius: 8px;
    margin: 20px;
}

.logos
{
    text-align: center;
    min-height: 20vh;
}

.logo
{
    display: inline-block;
    width: 15vw;
    padding: 6vh 1vw 6vh 1vw;
    opacity: 0.8;
}


.todo
{
    background-color: yellow;
    color: black;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    /* max-height: 130px; */
    /* overflow: hidden; */
}

.todo h2
{
    margin-top: 0.5em;
}




/*.casestudy h1
{
    margin: 0;
    background-color: #3d63af;
    padding: 4px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    position: relative;
    left: -1em;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: white;
    margin-bottom: 0;
    white-space: nowrap;
    display: inline-block;
}

.casestudy p + h1
{
    margin-top: 2em;
}*/

/*h1
{
    left: -2.75em;
    height: 45px;
}*/

/*h1::before
{
    content: " ";
    border-color: yellow rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    border-style: solid;
    border-width: 30px 30px 30px 30px;
    z-index: -250 !important;
    position: absolute;
    left: 0px;
    top: 53px;
    height: 0px;
    width: 0px;
}*/
    