/* Custom Colors 
__________________________________________________ */
body{
  background-color: #efefef;
}
.button{
  background: #fff;
}
input[type="button"].button-primary, .button.button-primary, button.button-primary, input[type="submit"].button-primary, input[type="reset"].button-primary, input[type="button"].button-primary {
  background-color: #765996;
  border-color: #765996; 
}
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  background-color: #47167d;
  border-color: #47167d; 
}

 .mobile-only{ 
  display: block; }
.non-mobile{ 
  display: none; }

.hide {
  display: none; }

/* Shared
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button {
  border-radius: 100px;
}

/* Sections
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.section {
  padding: 8rem 0 7rem;
  text-align: center;
}
.section-heading,
.section-description {
  margin-bottom: 1.2rem;
}
.column img{
  object-fit: contain;
  max-width: 100%;
}
.shop strong{
  display: block;
}

/* Hero
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.phones, .gallery {
  position: relative;
}
.phone, .gallery-image {
  position: relative;
  max-width: 80%;
  margin: 3rem auto -10rem;
}
.phone + .phone, .gallery-image + .gallery-image {
  display: none;
}

/* Values
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.categories, .navbar, .offset{
  background: rgb(121,0,255);
  background: linear-gradient(207deg, rgba(121,0,255,1) 0%, rgba(255,121,72,1) 100%);
  color: #fff;
}

.categories, .offset {
  padding-bottom: 7rem;
}
.value-multiplier {
  margin-bottom: .5rem;
  /*color: #11DFC7;*/
  color: #dac4f1;
  font-weight: bold;
}
a.email-icon,
a.linkedin-icon,
a.twitter-icon{
  /* font-size: 0; */
  display: inline-block;
  background: url(../images/icons8-email-50.png) no-repeat 50% 50%;
  padding-top: 9rem;
  margin: 0.5rem auto;
}
a.twitter-icon{
  background: url(../images/icons8-twitter-50.png) no-repeat 50% 50%;
}
a.linkedin-icon{
  background: url(../images/icons8-linkedin-50.png) no-repeat 50% 50%;
}
a.email-icon:hover,
a.linkedin-icon:hover,
a.twitter-icon:hover{
  background-size: 30%;
}
.value-heading {
  margin-bottom: .3rem;
}
.value-description {
  opacity: .8;
  font-weight: 300;
}
.categories code{
  background: rgba(50, 50, 50, 0.8);
}
.categories a, .offset a{
  color: #fff;
  font-weight: bold;
}
.categories a.button, .offset a.button{
  color: #555;
}
.categories a.button-primary, .offset a.button-primary{
  color: #fff;
}

/* Help
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.get-help {
  border-bottom: 1px solid #ddd;
}

/* Categories
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.categories .section-description, .offset .section-description { 
  margin-bottom: 4rem;
}

.portfolio h5{
  text-overflow: ellipsis;
  word-wrap: off;
}
.portfolio .row{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.portfolio .row > div{
  margin-bottom: 4rem;
}
.portfolio .row > div a{
  display: block;
  overflow-y: hidden;
  color: #fff;
  font-size: 80%;
  position: relative;
}
.portfolio .row > div a img{
  object-fit: cover;
}
.portfolio .row > div h4{
  background-color: rgba(71, 22, 125, 0.8);
  color: #fff;
  font-size: 1.5rem;
  padding: 1rem 2em;  
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  letter-spacing: 0.1rem;
  margin: 0;
  text-align: left;
}

#portfolio-detail{
  display: none;
}
#portfolio-detail .detail{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(53, 47, 60, 0.99);
  color: #fff;
  padding: 3rem 4rem;
  max-height: 100%;
  overflow-y: scroll;
  z-index: 5;
}

.detail h4 {
  font-weight: bold;
  letter-spacing: 0.1rem;
}
.detail > figure{
  margin: 0 0 1rem 0;
}
.detail > figure img{
  object-fit: contain;
  max-width: 100%;
}
.detail .year{
  text-transform: uppercase;
  letter-spacing: 0.175em;
}
.detail a{
  color: #dac4f1;
}
.detail a.close{
  position: fixed;
  right: 0.75rem;
  top: 0.75rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 200%;
  color: #fff;
  background-color: rgba(71, 22, 125, 0.8);
  border: 1px solid #999;
  border-radius: 100%;
  padding: 0.125em 0.2em .25em 0.2em;
  line-height: 0.5;
}
.detail a.detailNav{
  font-size: 0;
  width: 10%;
  /* border: 1px solid cyan; */
  position: fixed;
  top: 3rem;
  bottom: 0;
  left: 0;
}
.detail nav{
  text-align: center;
}
.detail a.detailNav.next{
  left: auto;
  right: 0;
  top: 3rem;
  margin: 0;
  text-align: left;
}
.detail a.detailNav:before{
  position: absolute;
  top: 35%;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 6rem;
  font-weight: bold;
  opacity: 0.3;
  padding: 4rem 0 0 0.5rem;
}
.detail a.detailNav:hover{
  background: rgba(40, 40, 40, 0.5);
}
.detail a.detailNav:hover:before{
  opacity: 0.5;
}
.detail a.prev:before{
  content: "\2039";
}
.detail a.detailNav.next:before{
  content: "\203A";
  right: 1rem;
  left: auto;
}

#portfolio-detail.hi{
  display: flex;
  justify-content: space-between;
}
/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#skills{
  margin: 0;
}
.section ul{
  text-align: left;    
}


/* more
___________________________________________________ */
@keyframes bounce {
  0%, 20%, 60%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  80% {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}
.more {
  opacity: 0.3;
  position: absolute;
  text-align: center;
  padding: 12px;
  margin-bottom: 6px;
  height: 0;
  width: 200px;
  font-size: 0;
  bottom: 2rem;
  right: 0;
  left: 0;
  margin: 0 auto;
}
  
/* todo: make arrows bounce when they come into view */
.more.inview{
    animation: bounce 1s;
}
.more:hover{
  animation: bounce 1s;
}
.more:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 51%;
  background: #dac4f1;
  transform: skew(0deg, 15deg);
}
.more:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: #dac4f1;
  transform: skew(0deg, -15deg);
}
.more.top:before {
  transform: skew(0deg, -15deg);
}
.more.top:after {
  transform: skew(0deg, 15deg);
}

section, footer{
  position: relative;
}
figure.avatar{
  display: none;
}

/* Blockquote 
______________________________________ */
blockquote {
  font-size: 150%;
  line-height: 1.6;
  border-top: 1px solid #dac4f1;
  border-bottom: 1px solid #dac4f1;
  background: #eeeeee;
  position: relative;
}
blockquote:before{
  content: '\201C';
  position: absolute;
  top: 0;
  left: 0.5rem;
  font-size: 300%;
  color: #dac4f1;
}
blockquote:after{
  content: '\201D';
  position: absolute;
  top: 0;
  right: 0.5rem;
  font-size: 300%;
  color: #dac4f1;
}

blockquote cite{
  color: #765996;
  text-align: right;
  font-size: 80%;
}
blockquote cite:before{
  content: "- ";
}

blockquote{
  margin: 0.5rem 0 2rem 0.5rem;
  padding: 3rem 2rem;
}

.section .container ~ .container{
  margin-top: 5rem;
}
.pills a.button{
  margin-right: 0.5rem;
}
.pills a.button:hover{
  background-color: lavender;
  border-color: #999;
}

.shop figure a img{
  border: 3px solid #ddd;
}
.shop figure a:hover img{
  border-color: #1EAEDB;
}
  
.section ul{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0 0.5rem;
    justify-content: center;
  }
  .section ul ul{
    margin: 1rem -0.5rem 0;
    padding: 1rem 0 0;
    display: list-item;
    border-top: 1px solid #efefef;
  }
  .section ul li{
    font-weight: bold;
    font-size: 120%;
    background-color: #765996;
    text-align: center;
    padding: 1em;
    color: #fff;
    border-radius: 0.25em;
    margin-right: 1em;
    opacity: 0.5;
    width: 100%;
  }
  .section ul li:nth-child(2n){
    background-color: #47167d;
  }
  .section ul ul li{
    margin: 0;
    background-color: transparent;
    opacity: 1;
    padding-top: 0.125rem;
    padding-bottom: 0.75rem;
    text-align: left;
    font-weight: normal;
    line-height: 1.2;
    width: 100%;
  }
  .section ul ul li:nth-child(2n){
    background-color: transparent;
  }

/* Mobile than 550 */
@media (max-width: 550px) {
  .detail h4{
    font-size: 2rem;
  }
  /* Navbar */
  .navbar + .docs-section {
    border-top-width: 0; }
  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    height: 3.5rem;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee; }
  .navbar-spacer {
    display: none; }
  .navbar > .container {
    width: 100%; }
  .navbar-list {
    list-style: none;
    margin-bottom: 0; 
    display: flex;
    justify-content: space-around;
  }
  .navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    text-decoration: none;
    line-height: 3.5rem;
    color: #fff; }
  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0; }
  .navbar-spacer {
    display: block; }

}
/* Bigger than 550 */
@media (min-width: 550px) {
  .mobile-only{ 
    display: none; }
  .non-mobile{ 
    display: block; }
 
  .more{
    bottom: 4rem;
  }
  #portfolio-detail .detail {
    padding: 3rem 6rem;
  }
  .detail h4{
    font-size: 2.5rem;
  }
  .detail nav{
    text-align: left;
  }
  .portfolio .row > div{
    width: 48%;
  }
  .detail a.close{
    background-color: rgba(20, 20, 20, 0.7);
  }
  .detail a.close:hover{
    background-color: rgba(71, 22, 125, 0.8);
    border-color: #eee;
  }

  .detail a.detailNav.next{
    margin-right: 0;
    margin-left: 5rem;
    text-align: right;
  }

  blockquote{
    margin: 2rem 3rem;
    padding: 2rem 10rem 1rem 10rem;
    font-size: 200%;
  }
  #skills{
      margin: 1em 40px;
  }
  .section {
    padding: 10rem 0 11rem;
  }
  .section ul li{
    width: 37%;
  }
  .section ul.hash-tags li strong{
    text-transform: uppercase;
  }
  .section ul.hash-tags li strong:before{
    content: '#';
  }
  .hero {
    padding-bottom: 12rem;
    text-align: left;
    height: 165px;
  }
  .phone {
    position: absolute;
    top: -7rem;
    right: 3rem;
    max-height: 362px;
    z-index: 3;
  }
  .phone + .phone {
    top: -6rem;
    display: block;
    max-width: 73.8%;
    right: 0;
    z-index: 2;
    max-height: 338px;
  }
  .hero-heading {
    font-size: 2.4rem;
  }
}

/* Bigger than 750 */
@media (min-width: 750px) {
  .hero {
    height: 190px;
  }
  .hero-heading {
    font-size: 2.6rem;
  }
  .section {
    padding: 10rem 0 15rem;
  }
  .hero {
    padding: 16rem 0 14rem;
  }
  .section-description {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .phone {
    top: -14rem;
    right: 5rem;
    max-height: 510px;
  }
  .phone + .phone {
    top: -12rem;
    max-height: 472px;
  }
  .categories {
    padding: 15rem 0 8rem;
  }
  figure.avatar{
    display: block;
    position: absolute;
    top: 5px;
    left: -60px;  
    margin: 0;
    padding: 0;
  }
  figure.avatar img{
    border: 3px solid #dac4f1;
    border-radius: 100%;
    width: 70px;
    height: 70px;
  }

  #portfolio-detail .detail{
    display: flex;
    justify-content: space-between;
    padding: 14rem 0 0 0;
    align-items: stretch;
    background: rgba(50, 50, 50, 0.99);
  } 
  .detail a.detailNav{
    position: static;
    flex-basis: 20%;
    text-align: left;
    text-decoration: none;
  }
  .detail a.detailNav:hover{
    background: rgba(40, 40, 40, 0.5);
  }
  .detail a.detailNav:before {
    top: 25%;
    position: relative;
    left: 1rem;
    right: auto;
    text-decoration: none;
  }
  .detail a.detailNav.next{
    margin-right: 0;
    margin-left: 0;
    text-align: right;
  }
  .detail > figure {
    flex-basis: 40%;
    margin-right: 3rem;
  }
  .detail > figcaption{
    flex-basis: 40%;
  }
  .detail a.close{
    top: 9rem;
    right: 2rem;
    background-color: rgba(71, 22, 125, 0.8);
  }
  .detail a.close:hover{
    background-color: rgba(20, 20, 20, 0.7);
    border-color: #eee;
  }


  /* Navbar */
  .navbar + .docs-section {
    border-top-width: 0; }
  .navbar,
  .navbar-spacer {
    display: block;
    width: 100%;
    height: 6.5rem;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee; }
  .navbar-spacer {
    display: none; }
  .navbar > .container {
    width: 100%; }

  .navbar-list {
    margin-left: 40px;
    list-style: none;
    margin-bottom: 0; }
  .navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0; }
  .navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 6.5rem;
    /*color: #222;*/
    color: #fff; }
  .navbar-link:hover, .here .navbar-link{ 
    border-bottom: 1px solid #dac4f1;
    color: #fff; }
  .navbar-link.active {
    color: #33C3F0;
    color: #eee; }
  .navbar {
    position: fixed;
    top: 0;
    left: 0; }
  .navbar-spacer {
    display: block; }
  /* Re-overiding the width 100% declaration to match size of % based container */
  .navbar > .container {
    width: 80%; }
}

/* Bigger than 1000 */
@media (min-width: 1000px) {
  .section {
    padding: 15rem 0 19rem;
  }
  .hero {
    padding: 15rem 0 15rem 0;
  }
  .portfolio .row > div a{
    height: 300px;
    /*background-color: rgba(10, 10, 10, 0.5);*/
  }
  
  .hero-heading {
    font-size: 3.0rem;
  }
  .phone {
    top: -16rem;
    max-height: 515px;
  }
  .phone + .phone {
    top: -14rem;
    max-height: 470px;
  }
  .section ul li{
    width: 25%;
  }
  .navbar-list {
    margin-left: 0;
  }
  figure.avatar{
    left: -100px;  
  }
  figure.avatar img{
    width: 80px;
    height: 80px;
  }
   #portfolio-detail .detail{
    display: flex;
    justify-content: space-between;
    padding: 14rem 0 0 0;
    align-items: stretch;
  }  

}
