
@font-face {
  font-family: "roboto";
  src: url("../fonts/Roboto-Regular.ttf")
}

@font-face {
  font-family: "roboto-light";
  src: url("../fonts/Roboto-Light.ttf")
}


body,
html {
  background-color: #fff;
  text-align: center;
  padding-top: 0;
  margin: 0;
  position: relative;
  width: 100%;
  height: 100%;
  font-family: 'roboto-light', sans-serif;
  scroll-behavior: smooth;
}

#headingcontainer {
  position: relative;
  z-index: 0;
  padding: 5.5rem 0 3rem 0;
  width: 100%;
  text-align: left;
  background-size: cover;
  background-color:White;
  
  filter: progid:DXImageTransform.Microsoft.gradient(
      startColorstr='#3f4c6b',
      endColorstr='#3f4c6b',
      GradientType=0
    ); /* IE6-9 */
    line-height:250%;
}

#title {
  color: #454545;
  margin-bottom: 0;
  margin-top: 0;
  width:85%;
  min-width:310px;
  padding:0rem 0 3rem 10%;

}

@media all and (min-width: 880px) {
  #title {
    max-width:700px;
    padding:0rem 0 3rem 10%;
  }
}

@media all and (min-width: 1100px) {
  #title {
    max-width:800px;
    padding:0rem 0 3rem 12%;
  }
}

#title h1 {
  font-weight:100;
  line-height: 130%;
  font-size: 3rem;
}

#title h2 {
  font-weight: 400;
  line-height: 175%;
  font-size: 1.25rem;
}

#subtitle {
  padding-top:.5rem;
  color: #454545;
  margin-top: 0;
  font-weight: lighter;
}

#below-fold {
  position: relative;
  background-color: white;
  z-index: 2;
  /* box-shadow: 0 0 15px rgba(48, 57, 81, 0.4); */
}

.fixed {
  position: fixed !important;
  top: 3rem;
  /* left: 50%;
  transform: translateX(-50%); */
  border-bottom:1px solid #e4e4e4;
}

.fixed-margin {
  padding-top: 4rem !important;
}

#modal-container {
  display: none;
  z-index: 6;
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  min-width: 300px;
}

#modal-wrapper {
  position: relative;
  margin: 0 auto;
  padding-bottom: 1rem;
  background-color: white;
  -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 0.3rem;
  color: rgb(45, 45, 45);
  text-align: left;
  font-size: 0.75rem;
  max-height: 500px;
  overflow-y: scroll;
}

#modal-wrapper p,
#modal-wrapper h2,
#modal-wrapper h3,
#modal-wrapper li {
  padding: 0 1.5rem;
}

#global-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  text-align: right;
  color: #454545;
  /* background-color: rgba(63, 76, 107, 1); */
  position: relative;
  background-color:white;
  text-transform:uppercase;
  font-weight:100;
  z-index: 11;
  width: 100%;
  padding: 1rem 2rem;
  box-sizing: border-box;
  margin-bottom:0;
  border-bottom:1px solid #f3f3f3;
}

#profile-picture {
  position: relative;
  display: inline-block;
  height:3rem;
  width:3rem;
  border-radius:100px;
}

#desktop-nav-links,#mobile-nav-links {
  position: relative;
  line-height: 44px;
}

#desktop-nav-links{
  display:none;
}
#mobile-nav-links {
  display:inline-block;
}

@media all and (min-width: 600px) {
  #desktop-nav-links {
    display: inline-block;
  }
  #mobile-nav-links {
    display: none;
  }
}


.aboutme,
.devloglink,
.articleLink,
.resumeLink {
  font-size: 0.8rem;
  color: #454545;
  margin-right: 1.25rem;
  text-decoration: none;
  font-weight: normal;
}

.resumeLink {
  font-weight: 600;
}

#myimagecontainer {
  height: 240px;
  overflow: hidden;
  position: relative;
}

#myimage {
  position: absolute;
  top: -40%;
  left: -10%;
}

.devloglink:hover,
.resumeLink:hover,
.articleLink:hover,
.aboutme:hover {
  text-decoration: underline;
}

nav {
  width: 800px;
  margin: 0 auto;
  margin-top: 0;
  margin-bottom: 0.5rem;
  position: relative;
  text-align: center;
}

#desktop-nav span {
  cursor: pointer;
  text-decoration: none;
  color: #454545;
  margin: 0 1rem;
}

nav hr {
  height: 0.25rem;
  background: tomato;
  border: none;
  -webkit-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  position: relative;
}

.link-one ~ hr {
  margin-left: 3.75%;
  width: 12%;
}

.link-two ~ hr {
  margin-left: 20.25%;
  width: 22%;
}

.link-three ~ hr {
  margin-left: 46.6%;
  width: 16.5%;
}

.link-four ~ hr {
  margin-left: 67.5%;
  width: 13%;
}

.link-five ~ hr {
  margin-left: 84.7%;
  width: 12%;
}


#carousel {
  width: 100%;
  position: relative;
  margin: 0 auto;
  margin-top: 1rem;
  overflow-x: hidden;
  height: 5300px;
  z-index: 2;
}

@media all and (min-width: 615px) {
  #carousel {
    height: 2700px;
  }
}

/* @media all and (min-width: 920px) {
  #carousel {
    height: 2150px;
  }
}
 */
/*end hamburger icon*/

.project-container {
  background-color: #ffffff;
  width: 95%;
  margin-bottom:4rem;
  max-width: 800px;
}

.grid-container{
  display: inline-grid;
  padding: 0;
  border: 0;
  margin-top: 0;
  margin-left: 0;
  overflow: hidden;
  position: relative;
}

.home-grid {
  grid-template-columns: repeat(1,1fr);  
  grid-auto-rows: 300px;
  column-gap: 0;
  row-gap: 0;
  width:100%;
  border-top:1px solid #f3f3f3;
  border-bottom:1px solid #f3f3f3;
}

@media all and (min-width: 600px) {
  .home-grid {
    grid-template-columns: repeat(2,1fr);  
  }
}

@media all and (min-width: 1100px) {
  .home-grid {
    grid-template-columns: repeat(4,1fr);  
  }
}

.back-button {
  text-align: left;
  margin: 1rem 0;
}

.back-button a {
  text-decoration: none;
  color: #939393;
  background-color: white;
  border: 0;
  padding: 0.5rem 2rem;
  border-radius: 3px;
  -webkit-transition: color 0.1s ease;na
  -o-transition: color 0.1s ease;
  transition: color 0.1s ease;
}

.back-button a:hover {
  color: #d3d3d3;
}

#header {
  overflow-y: scroll;
  max-height: 500px;
  width:auto;
  background-size: cover;
  text-align: center;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3f4c6b+0,3f4c6b+100;Blue+Grey+Flat */
  background:#f7f7f7; /* Old browsers */
}

#headerImage {
  display: inline-block;
  vertical-align: middle;
  border-radius: 8px;
  max-height: 90%;
  margin-top:2rem;
  max-width: 100%;
}

#header-container {
  border-radius: 3px 3px 0px 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.introduction {
  position: relative;
  height: auto;
  background-color: #fff;
  padding: 1.5rem 2rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 3rem;
  border: 1px solid rgb(231, 231, 231);
}

.description {
  line-height:150%;
  
}
#description h4 {
  color: #49494b;
  text-align: left;
}

#description h3 {
  color: #454545;
  font-weight: 600;
  margin-bottom: .5rem;
  margin-top: 1.5rem;
  text-transform: capitalize;
  text-align: left;

}

#description a {
  font-weight: bold;
  text-decoration: underline;
  color: #5b6e9b;
}

#description p,
#description blockquote,
#description ol,
#description ul {
  line-height:150%;
  text-align: left;
  color: #676767;
  margin-top: .5rem;
  font-weight: 100;
  text-align: left;

}

#description figure {
  display: inline-block;
  width: 45%;
  margin: 1rem;
  text-align: center;
  color: #676767;
  vertical-align: top;
  border-radius: 8px;
  font-weight: 100;
}

#description figure img {
  width: 100%;
  border: 1px solid #c4c4c8;
  border-radius: 4px;
}

#description blockquote {
  font-style: italic;
}

.project-item {
  border: 0;
  font-size: 30px;
  text-align: center;
  overflow: hidden;
  position: relative;
  margin: 0;
  /* -webkit-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.5); */
  cursor: pointer;
  height: 100%;
  width: 100%;
  display: inline-block;
}

.design-container,
.photo-container,
.business-container {
  width: 100%;
  height: 100%;
  background-size: cover;
  -webkit-transition: all 0.65s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  -o-transition: all 0.65s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transition: all 0.65s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.project-item:hover .design-container {
  -webkit-transition: all 0.75s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  -o-transition: all 0.75s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transition: all 0.75s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.about {
  text-align: left;
  position: absolute;
  bottom: -50%;
  width: 100%;
  height: 140px;
  color: rgb(255, 255, 255);
  font-size: .85rem;
  -webkit-transition: bottom 0.75s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  -o-transition: bottom 0.75s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  transition: bottom 0.75s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  background-color:rgb(31, 31, 31);
}

.about h2 {
  font-size: 1rem;
  padding-left: 2rem;
  padding-top: 1rem;
}

.about p {
  padding-right: 1rem;
  padding-left: 2rem;
  padding-bottom:1rem;
}

.icons {
  padding:0 .1rem;
  width:auto;
}

.icons:hover{
  fill:rgb(104, 104, 104);
}

#facebook, #linkedin {
  height:1.25rem;
}

#instagram {
  height:1.2rem;
}

.project-item:hover .about {
  bottom:-5%;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 12;
}

#image-container {
  height: 500px;
  width: 90%;
  max-width: 800px;
  position: fixed;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  top: 10%;
  -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  background-color: white;
  text-align: left;
  margin: 0;
  overflow-y: scroll;
  padding-right: 2rem;
}

#selected-image {
  float: left;
  position: relative;
  display: inline;
  width: auto;
  max-width: 60%;
  max-height: 500px;
  height: auto;
  margin-right: 2rem;
}

#selected-image-caption {
  position: relative;
  display: inline-block;
  width: 35%;
  max-height: 90%;
  color: #484848;
  font-size: 0.85rem;
  overflow-y: scroll;
}

#selected-image-caption::-webkit-scrollbar {
  display: none;
}

.article {
  border: 1px solid #e2e2e2;
}

#aboutme-article,#project-article {
    display: grid;
    column-gap: 20px;
    box-sizing: border-box;
  }

  #aboutme-article {
    grid-template-columns: repeat(1,1fr);
    margin: 0 auto;
  }

#project-article {
  grid-template-columns: 1fr;
}

@media all and (min-width: 600px) {
  #project-article {
   grid-template-columns: 2fr 1fr;
  }
}

  .letter, .project-description {
    text-align: left;
    box-sizing: border-box;
    line-height:150%;
    font-size: 1rem;
    font-weight: 100;
    color:rgb(27, 27, 27);
  }

  .project-description {
    padding:0;
  }

  .letter {
    padding:3rem 3rem 0 3rem;

  }

  .publications,  .portfolio-list-container {
    text-align: left;
    padding:3rem;
    box-sizing: border-box;
    font-weight: 100;
  }
  a  {
    color:#1b1b1b !important;
  }

  .publications {
    padding:3rem;
  }
  .portfolio-list-container {
    padding:1rem 0;
  }

  @media all and (min-width: 750px) {
    #aboutme-article {
      grid-template-columns: repeat(2,1fr);
    }

  }


  @media all and (min-width: 1100px) {
    .letter {
      padding:4rem 0 6rem 10rem;
    }
    .publications {
      padding:4rem 0 6rem 4rem;
    }
    .portfolio-list-container {
      padding: 0 1rem;
    }
  }


 

  .publications h2 {
    font-size:1.12rem;
    padding-bottom:1rem;
    margin:0;
    border-bottom:1px solid rgb(214, 214, 214);
    font-family: roboto;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    color: #1b1b1b;
    display: block;
    line-height: 135%;
  }

  #article-heading {
    max-width:75%;
    padding-bottom:1rem;
    margin:0;
    border-bottom:1px solid rgb(214, 214, 214);
    font-size: 24px;
    font-weight: bold;
    font-family: roboto-light, sans-serif;
    margin-top:1rem;
  }

  .post-title {
    text-decoration: none;
  }

  .author {
    display: none;
  }
  .post-image {
    display: none !important;
  }

  .post-date {
    display:block !important;
    position: relative !important;
    top:0 !important;
    left:0 !important;
    padding-left:0 !important;
    padding-bottom:.25rem !important;
    font-weight: 300 !important;
    font-size: .9rem !important;
    color: #686868 !important;

  }
  .excerpt {
    display: none;
  }
  .publication-list,.portfolio-list {
    padding-inline-start: 0;
    margin:0;
  }
  

  .publication-list li,.portfolio-list li {
    padding:1rem 0 .5rem 0;
    border-bottom:1px solid rgb(214, 214, 214);
    box-sizing: border-box;
    list-style-type:none;
  }

  .publication-list li {
    max-width:75%;
  }

  .portfolio-list li {
    max-width:100%;
  }
  

  .publication-list li:last-child, .portfolio-list li:last-child {
    border-bottom: none;
  }

  .article-name,.project-name {
    font-family:roboto;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    color:rgb(27, 27, 27);
    display: block;
    line-height: 135%;
  }

  .article-name:hover, .project-name:hover  {
    text-decoration: underline;
  }

  .publication-date {
    font-weight: 300;
    font-size:.9rem;
    line-height: 250%;
    color:rgb(104, 104, 104);
  }

.section2-item {
}
/* UTILITIES */

.underline {
  text-decoration: underline;
}

.crossout {
  text-decoration: line-through;
}
.emphasize {
  font-style: italic;
}

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

.margin-zero {
  margin: 0;
}

.padding-zero {
  padding: 0;
}

.selected {
  font-weight: 900;
  padding-bottom: 0.5rem;
  border-bottom: 0.25rem solid tomato;
  -o-transition: border 0.2s;
  -webkit-transition: border 0.2s;
  transition: border 0.2s;
}

.no-padding {
  padding: 0 !important;
}

.no-margin {
  margin: 0 !important;
}

.full-width {
  width: 100% !important;
}

.three-quarter-width {
  width: 75% !important;
}

.half-width {
  width: 50% !important;
}

.quarter width {
  width: 25% !important;
}
