/* Global */
*{
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  color: #262626;
}
a{
  text-decoration: underline;
/*  display: inline-block;*/
}
a:hover{
  color: #216667;
}
p{
  margin:0;
  padding-top: 8px;
}
h1{
  letter-spacing: 1px;
  opacity: 0.7;
}
h4{
  opacity: 0.8;
}
img{
  vertical-align: middle;
  width: 100%;
  height: auto;
}
.gificon{
  margin-left: 5vw;
}
.gificon-1{
  margin-left: 24px;
}
.sybol-cross{
  display: inline-block;
  background-image: url(../img/arsenal/x.png);
  background-size: cover;
  padding: 5px;
}
.contact_box a{
  margin-right: 24px;
}
.small-caption{
  font-size: 12px;
  color: #9B9B9B;
  text-align: center;
}
.art-caption{
  font-size: 14px;
  font-style: italic;
}
.left-margin{
  margin-left: 2vw;
}
.showdow{
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}
.name-motion{
  display: inline-block;
  background-image: url(../img/gifs/name.gif);
  background-size: cover;
  height: 100px;
}
.underline {  
  background: linear-gradient(
              90deg, blue, red) 
              0 2em/100% 2px 
              no-repeat;
  transition: background 0.3s;
  will-change: background;  
}

.underline:hover {  
  cursor: pointer;
  background: linear-gradient(
              90deg, blue, red) 
              0 1em/100% 1em 
              no-repeat;
  color: rgba(255,255,255,1)
}
/*footer*/
footer{
  position: relative;
  padding-top: 20vh;
}
footer > img{
  position: absolute;
}
body{
  background-color:white;
/*  background-image: url(#);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;*/
  transition: background-image 1s;
}
.footer-text{
  color: white;
  position: absolute;
  left: 50%;
  font-size: 14px;
  transform: translateX(-50%);
  padding-top: 50vh;
}
.title-light{
  font-size: 1.5em;
  font-weight: 400;
  padding-bottom: 5vh;
}
.img-responsive{
  width: 100%;
  height: auto;
}
.a-hover-line:hover{
    color: #fff;
}
.a-hover-line:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.full-img{
  height:400px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.work-nav{
  position: absolute;
}

.work-cover{
  height:70vh;
  background-size: contain;
  background-repeat: no-repeat;
}
.a-hover-line:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.left-container{
  max-width: 1100px;
  margin-left: 15%;
}
/*.imgbox{
  height: 300px;
}
.img-inner{
  position: relative;
  width: 100%;
  padding-top: 75%;
}
.imgbox .image{
  height: auto;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("../img/cardcover/feastcover.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  height: inherit;
  object-fit: cover;
}*/
/* The sidebar menu */
.sidenav {
  height: 100%; 
  width: 260px; 
  position: fixed; 
  z-index: 1; 
  top: 0; 
  left: 0;
  overflow-x: hidden; 
  padding-top: 20px;
  background-color: rgba(255,255,255,0.38);
}
/* Index */
.hero{
  position: absolute;
  z-index: 1;
  top:10vh;
  left: 10vw;
  -webkit-animation: slideIn 1s ease forwards;
  animation: slideIn 1s ease forwards;
}
.herofont{
  font-size: 48px;
  letter-spacing: 2px;
  color: #000;
}
.herosub{
  color: #333333;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.75;
}
/*.demoreel{
  position: absolute;
  left: 10%;
  top: 25vh;
}*/

/* The navigation menu links */
.navitem{
  padding-top: 15%;
}
.sidenav a {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  padding: 20px 8px 6px 40px;
  text-decoration: none;
  font-size: 0.8em;
  color: #262626;
  display:block;
}

.navitem a:hover {
  font-weight: 600;
  color: #216667;
  position: relative;
}
.navitem a:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: -20%;
  position: absolute;
  background: #262626;
  transition: width 0.5s ease 0s, left 0.3s ease 0s;
  width: 0;
}
.navitem a:hover:after { 
  width: 80%; 
  left: 0; 
}
.navlogo{
  display: block;
  height: 40px;
  background-repeat: no-repeat;
  background-position: 20px;
  background-size: contain;
  background-image: url(../img/personal-logo.png);
  transition: 0.5s ease;
}
.navlogo:hover{
  transform: translateY(-5px);
  transition: 0.5s ease;
}
.navcaption{
  position: absolute;
  left: 40px;
  bottom: 40px;
  color: #9B9B9B;
  font-size: 12px;
}

.main {
  margin-left: 160px; /* Same as the width of the sidebar */
  padding: 0px 10px;
}

/* Project Card */
.workcontent{
  margin-top: 2vh;
}
.card{
  position: relative;
  height: 300px;
  padding:0;
  display: block;
/*  border-radius: 5px;*/
  position:relative;
/*  overflow:hidden;
*/  margin:8px;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
  transition:.5s ease;
}
.card:hover{
  transition:.5s ease;
  transform: scale(1.01);
  box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.1);
  -webkit-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.1);
}
.card-bg{
  background-image: url(../img/cardcover/feastcover-long.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/* Work */
.main-title{
  padding-top: 5vh;
  padding-bottom: 5vh;
}
.work-title{
  font-size: 3em;
  font-weight: 600;
  color: #262626;
  opacity: 0.9;
}
.work-2ntitle{
  margin-top: 0;
  font-size: 2em;
  font-weight: 400;
}
.sub-title{
  font-style: italic;
  font-weight: 600;
  color: #E84A6B;
  padding-bottom: 12px;
}
.work-quote{
  color: #fff;
  padding-left: 5%;
  padding-right: 5%;
  font-style: italic;
  padding-top: 10vh;
  padding-buttom: 10vh;
  font-size: 18px;
  text-align: center;
}

.color-font{
  color: #E84A6B;
  font-style: italic;
}
.subcontent{
  padding-top: 10vh;
}
.sub-incontent{
  padding-top: 5vh;
}
/*$Icons */

/* Button */
.btn-back{
  display: inline-block;
  color: white;
  margin-top: 2vh;
  margin-bottom: 2vh;
  margin-left: 2vh;
  background-image: url(../img/icon/back-arrow-white.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding:10px 32px;
  transition: 0.5s ease;
}
.btn-back:hover{
  transform: translateX(-5px);
  transition: 0.5s ease;
}
.btn{
    letter-spacing: 1px;
    display:inline-block;
    color: #262626;
    border:1px solid #262626;
    font-weight: 400;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 5vh;
    margin-bottom: 5vh;
}
.header-colored .btn-back{
  background-image: url(../img/icon/back-arrow-black.png);
}
.center-element{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.btn:hover,
.btn:active {
    letter-spacing: 2px;
    color: #fff;
    background-color:rgba(0,0,0,0.3);
}
.hero-btn{
  font-size:20px; 
  font-weight:600; 
  font-color: #262626;
}
.hero-btn:hover{
  color: white;
  font-size:20px; 
  font-weight:600; 
  font-color: #262626;
  background-image: linear-gradient(
      to right, 
      #E7484F,
      #E7484F 16.65%,
      #F68B1D 16.65%,
      #F68B1D 33.3%,
      #FCED00 33.3%,
      #FCED00 49.95%,
      #009E4F 49.95%,
      #009E4F 66.6%,
      #00AAC3 66.6%,
      #00AAC3 83.25%,
      #732982 83.25%,
      #732982 100%,
      #E7484F 100%    
    );
  animation:slidebg 2s linear infinite;
}
/*Overlay*/
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #262626;
}

.card:hover .overlay {
  opacity: 0.9;
}
.text{
  width: 400px;
}
.text p {
  letter-spacing: 1px;
  display: block;
  color: white;
  font-size: 24px;
}
.text p > span{
  display: block;
  color: white;
  font-size: 14px;
}

/*$Animation */
@keyframes slideIn {
    0% {
        -webkit-transform: translateY(50px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        opacity: 1;
    }
}


@keyframes slidebg {
  to {
    background-position:20vw;
  }
}

.follow{
  margin-top: 40px;
}

.follow a{
  color: black;
  padding: 8px 16px;
  text-decoration: none;
}


/*$Responsive */
@media (max-width:600px) {
  .left-container{max-width: 300px; margin-left: 0; margin-right: 0;}
  .sidenav {width: 0px;}
  .main {margin-left: 0px;}
  .container{
    max-width: 320px;
    margin-left: auto; 
    margin-right: auto;
  }
  .hero{
    margin:0 auto;

  }
  .herofont{
    font-size: 24px;
    margin-top: 0vh;
  }
  .herofont: before {
    content: '<p>Please visit my portofilo on Desktop for best experience</p>';

  }
  .herosub{
    font-size: 14px;
  }
  .hero-btn{
    padding-left: 32px;
    padding-right: 32px;
    font-size: 18px;
  }
  .contact_box{
    margin-top: 5vh;
    font-size: 12px;
  }
  .contact_box a{
    margin-right: 12px;
  }
  .work-quote{
    padding: 16px 0px 0px 0px;
  }
  .work-title{
    font-size: 1.5em;
  }
  p{
    font-size: 14px;
  }


}
