/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #2e2e2d; /*#606d6e;*/
    font-family: Roboto, 'Noto Sans', Helvetica Neue, Helvetica, Arial, sans-serif;
}

figure {
    float: left;
    padding-right: 15px;
    padding-left: 26px;
    padding-top: 35px;
    padding-bottom: 60px;
    margin: 0px;
}

figure img {
    box-shadow: 3px 3px 5px rgb(30, 30, 30, 0.2);
}

a figure:hover {
    filter:hue-rotate(180deg);
    /* filter: url('#drops'); */
    transition: 0.5s ease-in-out;
    text-decoration: none;
    /* font-weight: bold;*/
}

figure:hover a {
    filter:hue-rotate(180deg);
    /* filter: url('#drops'); */
    transition: 0.5s ease-in-out;
    text-decoration: none;
    /*font-weight: bold;*/
}

figcaption {
    text-align: left;
    text-transform: lowercase;
    /*font-style: italic;*/
    font-size: 0.7em;
    line-height: 0.8em;
    /* margin-top:  -1px;*/
    color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #454B4D;
}

a {
    color: #2e2e2d;
    /*color: darkred;*/
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    /*color: darkred;*/

}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {
    border-left: 10px solid #eee;
    margin: 0;
    padding: 0 2rem;
}

table,
th,
td {
    /*border: 1px solid black;*/
    vertical-align: top;
    padding-top: 5px;
}

table {
  border-collapse: collapse;
}

table TR TD:first-child {
    padding-right: 40px;
}

/* Utility Classes */
.wrapper {
    /* margin: 0 3rem; */
}

.padding {
    padding: 0.5rem;
}

.left {
    float: left;
}

.right {
    float: right;
}

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

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mobile-visible {
    display:  none;
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    line-height: 2.5rem;
    /*float: left;*/
}

/* Content Styling */
.header .padding {
    padding: 0.5rem;
}

.header {
    color: black;
    text-align: center;
}

.header a {
    color: black;
}

.clear {
    clear: both;
}

.footer {
    background-color: #eee;
}

/* MENU Settings */
.main-nav ul {
    font-family: Helvetica, sans-serif;
    font-size: 2rem;
    letter-spacing: -1rem;
    text-align: left;
    margin-left: 40px;
    margin-top: 5px;
    padding: 0;
    width: 300px;
    float: left;
    /*border: 2px solid darkblue;*/
}

.main-nav ul li {
    display: inline-block;
    letter-spacing: normal;
    /* text-shadow: 1px 1px #565656;*/
}

.main-nav ul li a {
    text-decoration: none;
    position: relative;
    display: block;
    line-height: 45px;
    color: black;
    padding: 17px 20px;
    white-space: nowrap;
    animation-name: smiley;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

@keyframes smiley {
  0%   {color: black;}
  20%  {color: orangered;}
  50%  {color: yellowgreen;}
  80%  {color: orangered;}
  100% {color: black;}
}

/*.main-nav > ul > li > a {
    border-radius: 2px;
}
*/
/*Active dropdown nav item */
.main-nav ul li:hover > a {
    text-decoration: underline;
}

/* Selected Dropdown nav item */
.main-nav ul li.selected > a {
    display: none;
}

/* Dropdown CSS */
.main-nav ul li { position: relative; }

.main-nav ul li ul {
    position: absolute;
    background-color: #1F8DD6;
    min-width: 100%;
    text-align: left;
    z-index: 999;

    /*display: none;*/
}
.main-nav ul li ul li {
    display: block;
}

/* Dropdown CSS */
.main-nav ul li ul ul {
    left: 100%;
    top: 0;
}

/* Active on Hover */
.main-nav li:hover > ul {
    display: block;
}

/* Child Indicator */
.main-nav .has-children > a {
    padding-right: 30px;
}
.main-nav .has-children > a:after {
/*    font-family: FontAwesome;*/
    content: '\f107';
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 0;
}

.main-nav .has-children .has-children > a:after {
    content: '\f105';
}

#images-section {
    font-family: Helvetica, sans-serif;
    font-size: 1.8rem;
    text-align: left;
    margin-top: 0px;
    margin-left: 58px;
    margin-bottom: 10px;
    padding-top: 0px;
    padding-bottom: 25px;
    width: 70px;
    display: inline-block;
    transform: scale(1, -1);
    /* border:  1px solid green;*/
}

#images-section a {
    color:  orchid;
    animation-name: smiley;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

#start-text a {font-size: 1.8rem;}

/*MAIN PAGE*/
#main-page {
    background: rgb(247,244,240);
    background: linear-gradient(90deg, rgba(247,244,240,1) 0%, rgba(255,251,246,0.01) 100%);
    padding-left: 20px;
}


#main-page .header .logo {
    font-size: 2rem;
    text-transform: lowercase;
    text-align: center;
    position:fixed;
    right:0;
    top:0;
    padding-right: 30px;
    padding-top: 24px;
    z-index: 10;
    text-shadow: 1px 0px 0px rgb(80, 80, 80, 0.3);
    /*border:  1px solid darkred;*/
}

/*#main-page .header {
    position:sticky;
    top: 400px;
    z-index: 10;
    border:  1px solid darkred;
}
*/

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
}



/* PROJECT PAGES*/
#project-page {
    /*background-color: #fefffa;
    background: rgb(255,249,254);
    background: linear-gradient(90deg, rgba(255,249,254,0.8) 0%, rgba(255,247,254,0.01) 100%);*/
}

#content-project {
/*    max-width: 97rem;
    min-width: 80rem;*/
    width: 90%;
    padding: 0;
    padding-left: 70px;
    padding-top: 30px;
    background: rgb(255,249,254);
    background: linear-gradient(90deg, rgba(255,249,254,0.8) 0%, rgba(255,247,254,0.01) 100%);
    /*border:  1px red solid;*/
    /*box-shadow: 3px 3px 5px rgb(30, 30, 30, 0.2);*/
    /*text-shadow: 1px 0px 0px rgb(80, 80, 80, 0.1);*/
}

#content-project .header {
    top: 0;
    padding: 0;
    margin-left: -60px;
    width: 100%;
    position: fixed;
    /*border: lightcoral dotted 2px;*/
}

#project-page img {
    /*float: left; */
    margin-left: 0;
    box-shadow: 3px 3px 5px rgb(30, 30, 30, 0.2);
}

#project-page img.thumbnails { box-shadow:none; border: none; position: relative; top: 5px;}

#project-page img.project-vertical {
    /*padding-bottom: 15px;*/
}

/*PROJECT IMAGES AND VIDEOS*/
.project-images .video {
    display: inline-block;
    padding:50% 0 0 0;
    position:relative;
    width:80%;
    border: 1px red;
}

.project-images .video iframe {
    display: block;
    position:absolute;
    top:0;
    left:0;
    height: 100%;
    width:100%;
}

h1.project {
    /*text-transform: lowercase;*/
    padding: 0px;
    text-align: left;
    margin-top: 0px;
    font-weight: normal;
    width: 80%;
    line-height: normal;
    /* border:  2px solid greenyellow;
    color: yellow;
    text-shadow: 1px 1px 2px rgb(30, 30, 30, 0.2);*/
}

#content-project table {
/*border: salmon 2px solid;*/
}

#content-project table tr td.project-text {
    min-width:25rem;
    max-width: 42rem;
    font-size: 0.9rem;
    /*border:  3px green solid;*/
}

#content-project table tr td.project-text a {
    text-decoration: underline;
}

#content-project table tr td.project-images {
    min-width:35rem;
    max-width: 60rem;
    /*border: 3px yellow solid;*/
}

#content-project .project-navigation {
    display:  block;
    position:  fixed;
    top:  70px;
    right: 30px;
    padding: 0;
    /*width: auto;*/
}

#content-project .project-navigation ul { 
    margin:  0;
    padding: 0;
    padding-top: 35px;
    /*border: 1px green dotted;*/
    text-align: left;
    font-size: 0.8rem;
}

#content-project .project-navigation ul li { 
    list-style: none;
    margin:  0;
    padding: 0;
    text-transform: lowercase;
}

#content-project .project-close .logo {
    font-size: 1.8rem;
    margin: 0;
    padding-top: 27px;
    position: fixed;
    top: 0px;
    right: 205px;
    width: auto;
    color:  orchid;
    animation-name: smiley;
    animation-duration: 6s;
    animation-iteration-count: infinite;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 82%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*RESUME PAGE*/
#resume {
    text-transform: lowercase;
    line-height: 1.2em;
    font-size: 0.9rem;
    padding-left: 60px;
    padding-top: 0;
}


/* DETAILS PORTION */

.details {
padding-bottom: none;
border-bottom: none;
}

.details__trigger {
}

.details-title {
text-decoration: underline;
}

.details__title {
}


   details {
      max-width: 1200px;
      overflow-y: clip; 
    }

    summary {
      display: block;
      text-decoration: underline;
    }

    span.thing {
      position: relative;
      display: flex;
      align-items: center;
      padding: none;
      background: none;
      color: black;
      height: 1.4em;
    }

    span.thing:hover {
      cursor: pointer;
    }

    span.thing::before {
      content: "[more ";
      display: flex;
      align-items: center;
      margin-right: 0;
      transition: opacity 0.5s ease-in-out; 
    }

    div.content {
        max-width: 1200px;
        padding: 0;
        opacity: 0;
        block-size: 0;
        overflow-y: clip; 
        transition: content-visibility 0.5s allow-discrete,
                    opacity 0.5s,
                    block-size 0.5s;
    }

    details[open] + div.content {
        opacity: 1;
        block-size: auto;
    }

    details[open] span.thing::before {
      content: "[group ";
      display: flex;
      align-items: center;
      margin-right: 0;
    }



/*LAPTOP SCREENS SPECIFIC*/
@media screen and (max-width: 1200px) {
    tbody {
    display: grid; 
    }
    tr {
    display: contents;
    /*border:solid red*/
    }
    td {
    display: block;
    }
    tr td + td {
    order: 1;
    }

#content-project table tr td.project-images {
    min-width:35rem;
    max-width: 40rem;
    /*border: 3px yellow solid;*/
    text-align: center;
}

#content-project table tr td.project-images img {
    /*margin: auto;*/
    /*border:  1px solid blue;*/
}


/*IPAD LARGE SCREENS SPECIFIC*/
/*@media screen and (max-width: 950px) {

}*/


/*IPAD SCREENS SPECIFIC*/
@media screen and (max-width: 1024px) {

    #images-section {
        margin-left: 35px;
    }

    #start-text { 
        margin-left: -25px; 
    }

    #content-project  {
        margin-left: -20px;
    }

    #content-project .logo {
        right: -50px;
        top: 0px;
        margin: 0;
        padding: 0;
    }

    #project-page a {
        text-decoration: underline;
    }

    #resume { 
        margin-top: 65px;
        margin-left: -25px;
    }

    #content-project table tr td.project-text {
        display: block;
        max-width: 768px;
        min-width: 640px;
    }

    #content-project .project-navigation {
        width: 430px;
        padding: 0;
        padding-bottom: 30px;
        margin:  0;
        position: relative;
        display: block;
        left: 0px;
        top:  10px;
    }

    #content-project .project-navigation ul {
        margin: 0 70px;
        padding-top: 10px;
        font-size: 0.9em;
    }

   #content-project .project-navigation ul li {
        padding: 0;
        margin: 0;
    }

   #content-project .project-navigation ul li a {
        text-decoration: underline;
    }

    #content-project .project-close .logo {
        font-size: 2rem;
        margin: 0;
        padding-top: 0;
        position: fixed;
        top: 30px;
        right: 30px;
        width: auto;
        text-decoration: none; 
    }

        .project-images .video {
        display: flex;
        justify-content: center; /* Horizontal */
        align-items: center;     /* Vertical */
        width:94%;
        margin-left:3%;
    }


}

/*MOBILE PHONE SPECIFIC*/

@media screen and (max-width: 480px) {
    #main-page {
        max-width: 480px;
        min-width: 0px;
    }

    #content {
        /*border:  1px solid indianred;*/
    }

    /*    
    a {
            text-decoration: underline;
        }
    */

    #content-project  {
        margin-left: 0px;
    }

    figure {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        clear: both;
    }

    figcaption {
        font-size: 1em;
        line-height: 0.8em;
    }

    a figcaption {
        text-decoration: underline;
        }

    tbody {
    display: grid; 
    }
    tr {
    display: contents;
    /*border:solid red*/
    }
    td {
    display: block;
    }
    tr td + td {
    order: 1;
    }

    .header {
        padding-bottom: 50px;
    }

    .main-nav ul {
        position: absolute;
        top:  0px;
        padding-top: 7px;
        /*padding-bottom: 30px;*/
        left: -40px;
        text-align: left;
    }

    .main-nav ul li {
        padding-top: 10px;
    }

    .main-nav ul li a {
        text-decoration: underline;
    }

    #main-page .header .logo {
        position: absolute;
        right: 0px;
        top: 5px;
        margin-right: -15px;
    }

    #project-page {
        max-width: 480px;
        min-width: 0px;
    }

    #content-project .logo {
        right: -50px;
        top: 0px;
        margin: 0;
        padding: 0;
    }

    h1.project {
        margin-left: 15px;
    }

    #images-section {
        text-align: left;
        margin-top: 0;
        padding: 0;
        padding-top: 25px;
        width: 30px;
        margin-left: -4px;
    }

    #images-section a { text-decoration: none; }

    #images-section a { text-decoration:none; font-size: 1.4em; }

    #start-text { margin-left: 0px; }

    #start-text a { text-decoration:none; font-size: 1.1em; }

    .mobile-visible {
        display:  inline-block;
        font-size: 1rem;
        line-height: 2.5rem;
        /*float: left;*/
    }

    #content-project {
        padding-left: 0;
        padding-top: 0;
        width: 100%;
        max-width: 480px;
        min-width: 0px;
    }


    #project-page a {
        text-decoration: underline;
    }

    #project-page img {
        margin:  5%;
    }

    .project-images .video {
        display: flex;
        justify-content: center; /* Horizontal */
        align-items: center;     /* Vertical */
        width:94%;
        margin-left:3%;
    }

    #content-project table {
        max-width: 480px;
        min-width: 0px;
    }

    #content-project table tr td.project-text {
        max-width: 480px;
        min-width: 0px;
        width: 100%;
        text-align: left;
        padding: 0 15px;
        /*display: none;*/
    }

 
    #content-project table tr td.project-images {
        max-width: 480px;
        min-width: 0px;
    }


    #content-project .project-navigation {
        width: 330px;
        padding: 0;
        padding-bottom: 30px;
        margin:  0;
        position: relative;
        display: block;
        left: 35px;
        top:  10px;
        border: none;
    }

    #content-project .project-navigation ul {
        margin: 0 0 0 40px;
        padding-top: 10px;
    }

   #content-project .project-navigation ul li {
        padding-top: 0;
    }

    #content-project .project-close .logo {
        font-size: 2rem;
        margin: 0;
        padding-top: 0;
        position: fixed;
        top: 0px;
        right: 10px;
        width: auto;
        text-decoration: none; 
    }

    #resume {
        margin-top: 65px; 
        padding: 0;
        margin-left: -10px;
    }

}