/* Global Styles */

html, body {
    height: 100%;
}
@font-face {
    font-family: 'vanadineregular';
    src: url('../fonts/vanadine_regular-webfont.eot');
    src: url('../fonts/vanadine_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/vanadine_regular-webfont.woff2') format('woff2'),
         url('../fonts/vanadine_regular-webfont.woff') format('woff'),
         url('../fonts/vanadine_regular-webfont.ttf') format('truetype'),
         url('../fonts/vanadine_regular-webfont.svg#vanadineregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
/*==========================================
  MARANATHA LIM - PORTFOLIO - CSS CONTENT
============================================*/
ul{
	padding: 0;
}
li{
	list-style: none;
}
h1{
	text-transform: uppercase;
	letter-spacing: 0.20em;
	font-weight: 400;
	line-height: 1.17em;
}
h3{
	text-transform: uppercase;
	letter-spacing: 0.20em;
	font-weight: 200;
}
a, a:hover, a:focus{
	text-decoration: none;
	outline: none;
}
.center{
	text-align: center;
	margin: 0 auto;
}

/*==========================================
 sb
============================================*/
::-webkit-scrollbar {
  width: 0.5em;
  height: 0.5em;
}

::-webkit-scrollbar-thumb {
  background: slategray;
}

::-webkit-scrollbar-track {
  background: #b7bfc7;
}

body{
   /* font-family: 'vanadineregular', sans-serif;*/
    font-family: 'Lato', sans-serif;
    font-weight: lighter;
    scrollbar-face-color: slategray;
    scrollbar-track-color: #b7bfc7;
	background: url('../images/maranatha-header-img.jpg') no-repeat center center fixed;
	width: 100%;
	height: 100%;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}
/*==========================================
 HEADER
============================================*/
.t-header{
	background: rgba(0,0,0,0.5);
	padding: 10px;
	width: 100%;
	position: fixed;
	z-index: 999;
}

.logo-holder img{
	width: 50%;
}
/*LOGO*/
.mm-logo{
	background: transparent;
	margin: 10px auto;
	position: relative;
	height: 30px;
     width: 25px;
	float: right;
}

.mm-logo:before, .mm-logo:after {
	background: #fff;
	backface-visibility: hidden;
	content: "";
	height: 1px;
	left: 0;
	transition: 0.75s;
	width: 50px;
}
.mm-logo:hover{
	cursor: pointer; 
}
.mm-logo:before {
	    box-shadow: transparent 0 0 0 0;
    top: 15px;
    transform: rotate(300deg);
    position: absolute;
}
.mm-logo:after {
	    top: 15px;
    transform: rotate(90deg);
    left: 15px;
    width: 45px;
    position: absolute;
}

a:hover .mm-logo:before {
	transform: rotate(480deg);
}
a:hover .mm-logo:after {
	transform: rotate(450deg);
}

.lim-logo{
	background: transparent;
	margin: 10px auto;
	position: relative;
	height: 30px;
     width: 15px;
	float: right;
    right: 6px;
}

.lim-logo:before, .lim-logo:after {
	background: #fff;
	backface-visibility: hidden;
	content: "";
	height: 1px;
	
	transition: 0.75s;
	
}
.lim-logo:hover{
	cursor: pointer; 
}
.lim-logo:before {
	    box-shadow: transparent 0 0 0 0;
    top: 15px;
    transform: rotate(90deg);
    position: absolute;
    width: 45px;
    left: 0;
}
.lim-logo:after {
       top: 37px;
    transform: rotate(180deg);
    left: 22px;
    width: 27px;
    position: absolute;
}

a:hover .lim-logo:before {
	transform: rotate(450deg);
}
a:hover .lim-logo:after {
	transform: rotate(360deg);
}

/* /LOGO */
.hamburger{
	background: transparent;
    margin: 13px auto;
    position: relative;
    height: 23px;
    width: 50px;
    float: right;
}

.hamburger:before, .hamburger:after {
	background: #fff;
	backface-visibility: hidden;
	content: "";
	height: 1px;
	left: 0;
	transition: 0.75s;
	width: 50px;
}
.hamburger:before {
	box-shadow: #fff 0 11px 0 0;
	position: absolute;
	top: 0;
}
.hamburger:after {
	position: absolute;
	top: 22px;
}
.hamburger:hover{
	cursor: pointer; 
}
.hamburger:hover:before {
	box-shadow: transparent 0 0 0 0;
	top: 15px;
	transform: rotate(400deg);
}
.hamburger:hover:after {
	top: 15px;
	transform: rotate(140deg);
}

.t-menu {
    position: absolute;
    top: 0;
	
    width: 100%;
	height: 100%;
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #AD1448;
    overflow: hidden;
    /* display: none; */
  /*   opacity: 0;  */
    z-index: 99;
	
}
.t-menu a{
	color: #ffffff;
}
.t-menu hr {
    margin: 0 0 25px;
    background: #D02F65;
    border-top: 1px solid #D02F65;
}
.t-menu .details {
    margin-top: 5px;
    line-height: 20px;
	color: #ffffff;
}

.t-menu .info {
    margin-bottom: 0;
    float: right;
}

.t-menu .info a {
    text-align: right;
}

.nav-list{
    text-align: center;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 35%;
}

.nav-list a{
	font-size: 65px;
	line-height: 100%;
	
	letter-spacing: 0.20em;
	font-weight: 400;
	line-height: 1.17em;
}

.t-menu footer{
	bottom: 0;
	position: absolute;
	width: 100%;
	padding: 20px;
}
/*==========================================
  CONTENT
============================================*/

.name, .about, .skill, .port-details{
	color: #ffffff;
}

.name h1{
	font-size: 66px;
	margin-top: 25%;
}

.name h3, .see-work a{
	font-size: 1em;
}

.see-work {
    margin-top:2em;
    text-align: center;
}

.see-work a{
    color: #FEFEFE;
    border: 1px solid #FEFEFE;
    display: inline;
    padding: 10px;
    text-transform: uppercase;
    transition: all 1s ease-in-out;
}

    .see-work a:hover {
        background: #FEFEFE;
        color: #000000;
	transition: all 1s ease-in-out 0.5s;
    }
 
/*==========================================
 ABOUT
============================================*/
.about, .skill, .port-details{
	margin-top: 5em;
}
.about h1{
	font-size: 66px;
	position: relative;
}
.about p{
	margin: 25px 0;
	line-height: 20px;
	
}

.about p span{
	font-size: 26px;
	line-height: 35px;
	font-style: italic;
}
.photo-holder {
    position: relative;
    max-width: 350px;
    margin: 20% auto 0;
}

.photo-holder img {
    -webkit-border-radius: 10px;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius: 10px;
    -moz-border-radius-bottomleft: 0;
    border-radius: 10px;
    border-bottom-left-radius: 0;
	    width: 100%;
    height: auto;
	position: relative;
	z-index: 9;
}

.photo-holder:after {
    z-index: 1;
    position: absolute;
    content: "";
    bottom: 10px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width: 350px;
    -webkit-box-shadow: 0 15px 10px #000;
    -moz-box-shadow: 0 15px 10px #000;
    box-shadow: 0 15px 10px #000;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
    opacity: 0.5;
}

.dl-cv {
    margin-top: 40px;
  text-transform: uppercase;
}

.dl-cv a:hover {
    color: #000000;
}

.dl-cv a::after {
  position: absolute;
  content: '';
  top:0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: white;
  transform-origin:left;
  transition:width 0.25s ease;
  z-index:-1;
}

.dl-cv a:hover::after {
  width: 100%;
}
.dl-cv a {
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px;

    background: none;
    position: relative;
    transition:color 0.25s ease;
    border:3px solid white;
}

.panel{
	background-color: transparent;
	border: none;
	margin: 0;
	min-width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	/* margin-top: -150%; */
	opacity:1; 
	z-index: 2;
	/* -webkit-transition: all 2s ease-in-out;
	-moz-transition: all 2s ease-in-out;
	-o-transition: all 2s ease-in-out;
	transition: all 2s ease-in-out; */
}
.panel:target, .panel-show{
	/* margin-top: 0%; */
	opacity: 1;
}

/*==========================================
 PORTFOLIO
============================================*/
.page{
	top: .3%;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    overflow: auto;
    width: auto;
    height: auto;
    z-index: 20;
}
.p-list-wrapper{
	margin-top: 5em;
}
.p-list{
    -webkit-transition: height 0.6s, background-position 0.6s, box-shadow 1s, top 0.6s, padding-top 0.6s, -webkit-transform 0.8s, opacity 0.6s;
    -webkit-transition: height 0.6s, background-position 0.6s, box-shadow 1s, top 0.6s, padding-top 0.6s, transform 0.8s, opacity 0.6s;
    -moz-transition: height 0.6s, background-position 0.6s, box-shadow 1s, top 0.6s, padding-top 0.6s, transform 0.8s, opacity 0.6s;
    -ms-transition: height 0.6s, background-position 0.6s, box-shadow 1s, top 0.6s, padding-top 0.6s, transform 0.8s, opacity 0.6s;
    -o-transition: height 0.6s, background-position 0.6s, box-shadow 1s, top 0.6s, padding-top 0.6s, transform 0.8s, opacity 0.6s;
    transition: height 0.6s, background-position 0.6s, box-shadow 1s, top 0.6s, padding-top 0.6s, transform 0.8s, opacity 0.6s;
    -webkit-transform: perspective(600px) rotateX(30deg) scale(0.8);
    -moz-transform: perspective(600px) rotateX(30deg) scale(0.8);
    -ms-transform: perspective(600px) rotateX(30deg) scale(0.8);
    -o-transform: perspective(600px) rotateX(30deg) scale(0.8);
    transform: perspective(600px) rotateX(30deg) scale(0.8);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    height: 32.3%;
    height: 300px;
    min-height: 260px;

    background-size: cover;
    background-position: center top;
    background-origin: border-box;
    display: block;
    position: relative;
    overflow: hidden;
    opacity: 1;

}

.proj{
	    background: url("../images/maranatha-header-img-old.jpg");
}

#portfolio .p-list.normal {
    -webkit-transform: perspective(600px) rotateX(0deg);
    -moz-transform: perspective(600px) rotateX(0deg);
    -ms-transform: perspective(600px) rotateX(0deg);
    -o-transform: perspective(600px) rotateX(0deg);
    transform: perspective(600px) rotateX(0deg);
    opacity: 1;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#portfolio .p-list.hoverable:hover .bg, #portfolio .p-list.hover .bg {
    opacity: 0.3;
}

#portfolio .p-list .bg {
    background: #000;
    background: -webkit-gradient(linear, left center, right center, color-stop(0, #000000), color-stop(1, rgba(0, 0, 0, 0.5)));
    background: -ms-linear-gradient(left, #000000, rgba(0, 0, 0, 0.5));
    background: -moz-linear-gradient(center left, #000 0%, rgba(0, 0, 0, 0.5) 100%);
    background: -o-linear-gradient(rgba(0, 0, 0, 0.5), #000000);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(0, 0, 0, 0.5)', endColorstr='#000000', GradientType=1);
    opacity: 0.9;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.p-list .info{
	text-align: center;
	color: #ffffff;
	padding: 2em;
    position: relative;
    z-index: 2;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.p-list h1{
	font-size: 40px;
}
.p-list li{
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 0.20em;
	font-weight: 400;
	line-height: 1.17em;
	margin: 5px 0;
}

.p-list .ico i{
	font-size: 30px;
	margin: 10px 10px 3%;
}

.panel-tab{
	text-align: center;
	margin: 0;
}
.panel-tab li{
	display: inline-block;	
	color: #ffffff;
	cursor: pointer;
	position: relative;
	padding: 20px 0;
	z-index:99;
}
.panel-tab li a{
	transition: 1s;
	/* position: absolute; */
/* 	left: 0;
	top:0;
	padding: 0;
	width: 0; */
	color: #ffffff;
	height: 100%;
	padding: 20px;
}
.panel-tab li:hover a{
	background: rgba(0,0,0,0.5);
	width: 100%;
	padding: 20px
}

.panel-tab li.current a{
	color: #ffffff;
	width: 100%;
	padding: 20px;
	background: rgba(0,0,0,0.5);
}

.tab-content{
	display: none;
}

.tab-content.current{
	display: inherit;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background: #000000;
    opacity:0.5;
    display: none; 
}
.back-to-top:hover {
		opacity: 1;
		cursor: pointer;
	}

.back-to-top i {
		font-size: 25px;
		padding: 12px;
		color: #FFF;
	}

/*==========================================
 SKILL
============================================*/
#skill li {
    list-style-type: disc;
}

#skill h4 {
    padding: 20px 0 10px;
}

/*==========================================
 PORTFOLIO PAGE
============================================*/
#portfolio-page{
	background: #EA8585;
	
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
}

.port-details {
    background: rgba(0,0,0,.5);
    padding: 2em;
}

.port-details ul li {
    line-height: 25px;
}

.port-details ul li span {
    text-align: right;
    width: 9em;
    display: inline-block;
    margin-right: 10px;
    color: #AD9414;
}
.img-details {
    text-align: center;
    margin: 0 auto;
    float: none;
}
.img-details img {
    width: 100%;

}
.details-wrap h1 {
    width: 90%;
    float: left;
}

.p-close{
	background: transparent;
    margin: 2em auto;
    position: relative;
    height: 23px;
    width: 50px;
    float: right;
}

.p-close:before, .p-close:after {
	background: #fff;
	backface-visibility: hidden;
	content: "";
	height: 1px;
	left: 0;
	transition: 0.75s;
	width: 50px;
}
.p-close:before {
	box-shadow: transparent 0 0 0 0;
	position: absolute;
    top: 15px;
    transform: rotate(400deg);
}
.p-close:after {
	position: absolute;
    top: 15px;
    transform: rotate(140deg);
}
.p-close:hover{
	cursor: pointer; 
}
.p-close:hover:before {
   /* box-shadow: #fff 0 5px 0 0;*/
	transform: rotate(765deg);
}
.p-close:hover:after {
	transform: rotate(500deg);
}
.monitor-bg {
    background: url(../images/monitor.png) no-repeat;
    width: 100%;
    padding: 4% 4% 28% 4%;
    background-size: cover;
    margin-bottom: 6em;
    margin-left: -4%;
}
.tablet-bg {
    background: url(../images/tablet.png) no-repeat;
    width: 100%;
    padding: 11% 16.9% 28% 16.2%;
    background-size: cover;
    margin-bottom: 6em;
    margin-left: -4%;
}
.mobile-bg {
    background: url(../images/mobile.png) no-repeat;
    width: 100%;
    padding: 36% 6% 25% 6%;
    background-size: cover;
    margin-bottom: 6em;
    margin-left: -4%;
}
.port-img-det {
    background: rgba(255, 255, 255, 0.45);
    padding: 5em 0;
}
.port-desktop {
    background: #ffffff;
}
.port-tablet{
    background : #eae6e6;
}
.port-mobile{
    background: #f2f2f2;
}
/*==========================================
 MEDIA QUERY
============================================*/
@media only screen and (max-width : 1200px) {

}
@media only screen and (max-width : 768px) {
       .skill {
        padding: 0 25px;
    }
          .skill ul {
             width: 50%;
             float: left;
        }
}
@media only screen and (max-width : 767px) {
    .name h1 {
        font-size: 55px;
        margin-top: 30%;
    }
    .details-wrap h1 {
        width: 60%;
        float: left;
    }
    .details-wrap ul {
        display: inline-block;
    }
   
    .t-menu footer {
        font-size: 12px;
    }
    .nav-list a {
        font-size: 50px;
    }

    .about .rotateInDownRight {
        display: none;
     }
     
}

@media only screen and (max-width : 525px) {
    .panel-tab li{
       
    }
    .panel-tab li a {
       padding: 15px;
    }
    .p-list h1 {
        font-size: 25px;
    }
    .p-list li {
        font-size: 15px;
    }
    .t-menu .info, .t-menu .details {
        float: none;
    }
    .details-wrap h1 {
        width: 60%;
        float: left;
        font-size: 24px;
    }

    .p-close:before, .p-close:after {
            width: 42px;
     }
}

@media only screen and (max-width : 480px) {
    .name h1 {
        font-size: 30px;
        margin-top: 45%;
    }
    h1, .h1 {
        font-size:30px;
    }
    .p-close {
        width: 36px;
        margin: 35px auto;
    }
    .nav-list a {
        font-size: 22px;
        line-height: 1.30em;
    }

     .t-menu .info, .t-menu .details {
      /*float: left;*/  
    }
    .nav-list {
        height: 15%;
    }
    #skill {
        padding: 35px 20px;
    }
    .skill ul {
             width: 100%;
        }
}

@media only screen and (max-width : 320px) {

}
