/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 18px/26px 'Assistant', sans-serif;
    background-color:rgb(243, 243, 243);
    overflow-y: scroll;
    color: rgb(17, 3, 0);
    background: url(../img/hip-square.png) #f2ebec;
    margin-bottom:3rem;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ==============
    MOBILE: Header
   ============== */

header h1 {
   margin: 1rem 0.2rem 0.6rem 0;
}

header h1 em {
    display:block;
    font-size:1.1rem;
    font-style: normal;
    font-weight:normal;
    letter-spacing: 0.2rem;
    text-indent:0.2rem;
}

header .contactline {
    text-indent:0.4rem;
    font-size:0.8rem;
    letter-spacing: -1px;
    margin:0;
    color:#777;
}

/* ==============
    MOBILE: Menu
   ============== */

.nav-container {
    overflow: hidden;
    position: fixed;
    bottom: 10px;
    width:100%;
}

.nav-menu {
    max-width:700px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display:flex;
    justify-content:space-between;
}
nav ul li {
    width:32%;
}

nav a {
    display: inline-block;
    text-align: center;
    padding: 0.6rem 0;
    width:100%;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0 0 50px 0;
}

.main aside {
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
    .nav-container {
        background-color:rgba(223, 194, 194, 0.9);
        background-color:rgba(240, 255, 153, 0.8);
        z-index:2; /* prevent Google Maps overlapping navigation*/
        box-shadow: 0px 0px 50px 0px rgba(255, 255, 255, 0.9);
    }
    
    .nav-menu ul li {
        font-weight: bold;
        font-size: 0.9rem;
        border-right:6px dotted #fff;
    }
    .nav-menu ul li:first-child {
        border-left:6px dotted #fff;
    }
    .nav-menu ul li a {
        color:#333;
        text-decoration: none;
    }

    .nav-menu .social {
        text-align:center;
    }
    .nav-menu .social a {
        width: auto;
        display:inline-block;
        width:1.8rem;
    }
    .nav-menu .social a:first-child {
        margin-right: 5%;
    }
    .nav-menu .social img {
        width:100%;
    }

    /** main content */
    .main section {
        margin-bottom:3rem;
    }

    .main h2 {
        margin: 1rem 0 -0.2rem 0;
    }

    h1, h2, header, dt {
        font-family: 'Aleo', serif;
    }

    /** header */
    .headshot {
        float:right;
        width:30%;
        margin-left:3rem;
        margin-top:-1rem;
        border:2px solid #e0cac7;
    }

    .certs {
        float:left;
        width:100%;
        margin-top:1rem;
    }
    
    /** about */
    .titans-talk {
        width:100%;
    }

    /** skill tree */
    .skilltree {
        margin:0;
    }

    .skilltree dt, .skilltree header {
        border-radius: 1px;
        padding: 1rem;
        font-size: 1.2rem;
        font-weight:bold;
        /* max-width:60%; */
        background-color:rgba(230, 98, 98, 0.4);
    }

    .skilltree dt {
        border-bottom:2px solid rgb(181, 148, 119);
    }
    .skilltree dt:not(.active)::after {
        content: " \25BC";
    }

    .skilltree dt.active::after {
        content: " \25B2";
    }

    .skilltree dd {
        margin:0;
    }

    .skilltree dd header{
        display:none;
        font-size:1rem;
        padding-left: 0.8rem;
        border-top: 0;
        background-color:rgba(230, 98, 98, 0.2);
    }

    .skilltree dd header::after {
        content: " \25B2";
    }
    .skilltree dd header:not(.active)::after {
        content: " \25BC";
    }

    .skilltree dd p{
        display:none;
        padding:1rem;
        border-top: 1px solid rgb(223, 194, 194);
        border-bottom: 1px solid rgb(223, 194, 194);
        margin:0;
        margin-top:-1px;
    }

    .skilltree dd p button {
        background-color: transparent;
        border: 1px solid #222;
        padding: 0.1rem 0.4rem;
        display: block;
        margin-top:0.6rem;
        font-size:0.9em;
    }

    .skilltree .bg-blue {
        background-color:rgba(194, 210, 223, 0.4);
    }
    .skilltree .bg-blue-light {
        background-color:rgba(194, 210, 223, 0.2);
    }

    .skilltree .bg-magenta {
        background-color:rgba(190, 81, 125, 0.4)
    }
    .skilltree .bg-magenta-light {
        background-color:rgba(190, 81, 125, 0.2)
    }
    .skilltree .bg-orange {
        background-color:rgba(255, 153, 85, 0.3)
    }
    .skilltree .bg-orange-light {
        background-color:rgba(255, 153, 85, 0.1)
    }

    /** thoughts */
    .thoughts .post-list .post-meta {
        display: block;
        min-width:15%;
        font-style: italic;
    }

    .thoughts .post-list .post-link {
        display: inline-block;
        margin-left:1rem;
        margin-bottom:0.6rem;
    }

    .thoughts .rss-subscribe {
        font-size:0.9rem;
        padding-left:2rem;
        font-style: italic;
    }

    /** Posts */
    .post-content h2 {
        margin-top:2rem;
    }
    
    
    /** general classes */
    .show-intermediate {
        display: none;
    }

    .main-container ul {
        list-style-type: square;
    }

    .main-container a {
        color:rgb(0, 95, 158);
    }


/* ==========================================================================
   Media Queries
   ========================================================================== */


@media only screen and (min-width: 350px) {

/* ====================
    JUST BIGGER THAN IPHONE5
   ==================== */

}

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav {
        display:block;
    }

    nav ul{
        justify-content: space-evenly;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    /*skill tree*/
    .skilltree dt, .skilltree header {
        max-width:60%;
    }

    .show-intermediate {
        display: inline;
    }


/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {   

/* ============
    WIDE: Main
   ============ */
   .skilltree dt, .skilltree header {
        max-width:60%;
   }

   .certs {
        width:60%;
    }

}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 700px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
