@import url("https://fonts.googleapis.com/css?family=Londrina+Outline|Taviraj");
@import url("https://fonts.googleapis.com/css?family=Josefin+Sans");
@import url("https://fonts.googleapis.com/css?family=Amatic+SC");

/* -------------------------------------------- COMMON STYLES ----------------------------------------- */

/* -------------- BODY --------------- */
body#index-body{background-color: #000;}

.page-wrap {
  position: fixed;
  top: 10px;
  right: 10px;
  left: 10px;
  bottom: 10px;
  background: white;
  border-radius: 0px;
  padding: 10px;
  text-align: center;
  overflow-y: scroll;
}
::-webkit-scrollbar-track { background: none;}
::-webkit-scrollbar { width: 0px; height: 0px;}
::-webkit-scrollbar-thumb { background: #fff;}

/* -------------- COLORS & FONTS --------------- */
yellow{text-decoration: underline; text-decoration-color: #f6fcae;}

.white{color: #fff;}
.black{color: #000;}
.yellow{color: #f6fcae;}
.green{color:#2f974b;}

.bg-black{background-color: #000;}
.bg-white{background-color: #fff;}
.bg-yellow{background-color: #f6fcae;}
.bg-l-gray{background-color: #f4f7f7;}

.tavi{font-family: 'Taviraj', serif; text-transform: uppercase;}
.tavi-p{font-family: 'Taviraj', serif; letter-spacing: 2px;}
.josefin{font-family: 'Josefin Sans';}
.amatic{font-family: 'Amatic SC';}

.bold{font-weight: bold;}

.anim-time{
	-webkit-animation-duration: 4s;
	-moz-animation-duration: 4s;
	-webkit-animation-delay: 1s;
	-moz-animation-delay: 1s;
}

.box-shadow{
    -webkit-box-shadow: 1px 1px 32px -3px rgba(5,5,5,0.7);
    -moz-box-shadow: 1px 1px 32px -3px rgba(5,5,5,0.7);
    box-shadow: 1px 1px 32px -3px rgba(5,5,5,0.7);
}
/* -------------- HEADER - MENU ---------------- */
.header-menu{margin: 3em 2vw;}
ul.menu__list{
	position: fixed;
	z-index: 51;	
}
ul.menu__list a li{
	display: inline;
	margin-right: 20px;
	text-decoration: none;
	letter-spacing: 2px;
}
ul.menu__list a li.active{border-bottom: solid 5px #f6fcae; padding-bottom: 3px;}
ul.menu__list a li:hover{ text-decoration: line-through;	letter-spacing: 3px;}
ul.menu__list a li.active:hover{text-decoration: none; letter-spacing: 2px; cursor: context-menu;}
ul.menu__list a:hover, 
ul.menu__list a:visited, 
ul.menu__list a:link, 
ul.menu__list a:active{ text-decoration: none;}
.head-icon{
	margin-top: -20px;
	letter-spacing: 8px;
	padding: 25px 15px 25px 23px;	
}

/* -------------- FOOTER ---------------- */

p.footer-text{
	color: #fff;
	font-size: 8px;
	line-height: 20px;
	text-transform: uppercase;
	letter-spacing: 5px;
}
.footer-head{
	margin: 80px 0 50px 0;
	font-weight: bold;
	letter-spacing: 0.15em;
}
.footer-foot{
	margin-left: 5px;
	padding: 30px 0 5px 0;
	background-color: #000;
	position: absolute;
}

.social{ font-size:48px; color:#fff;}
.social:hover{ cursor: pointer;}

/* -------------------------------------------- INDEX.HTML ----------------------------------------- */

.hero1{
background:url('../images/hero.jpeg');
  background-size:cover;
  background-position:center center;
  background-attachment:fixed;
}

.hero1 h2, .hero1 h3, .hero1 p{ 
  color:#fff;
  line-height:40px;
}

.hero1 .inner{
  background: rgba(0,0,0,0.1) url(bg.jpg) repeat;
}

.hero1, .content{
  text-align:center; 
  position:relative;
  width: 100%;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 2px;
  word-spacing: 5px;
}

.hero1 .name{
	text-transform: Uppercase;
	font-weight: bold
}

/* -------------------------------------------- WORK.HTML ----------------------------------------- */

/* -------------- INDEX - WORK ---------------- */
#index-work{margin: 5em auto;}
#index-work img.h-w{height: 33em; width:100%;}
#index-work img.h-w-4{height:20em;width:100%;}
#index-work img.work-opacity{opacity:0.9;}
.no-padding{
	padding: 1px !important;
   margin: 0 !important;
}

div.img-content {
    position: relative;
    float: left;
    overflow: hidden;
    color: #f6fcae;
    text-align: center;
}
div.img-content figcaption {
    top: 50%;
    left: 1em;
    right: 1em;
    position: absolute;
    opacity: 0;
    z-index: 1;
}
div.img-content h4 {
    font-family: 'Aref Ruqaa', serif;
    letter-spacing: 0.5vw;
    text-transform: uppercase;
    margin-bottom: 3vh;
}
div.img-content i {font-size: 32px;}
div.img-content:after {
    background-color: rgba(0,0,0, 0.6);
    position: absolute;
    content: "";
    display: block;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}
div.img-content a {
    left: 0; right: 0; top: 0; bottom: 0;
    position: absolute;
    z-index: 1;
}
div.img-content:hover figcaption,
div.img-content.hover figcaption {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 1;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
div.img-content:hover:after,
div.img-content.hover:after {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
    opacity: 0.7;
}


/* -------------------------------------------- ABOUT.HTML ----------------------------------------- */

#hero{background: url('../images/bg/7.jpg');
  background-size:cover;
  background-position:center center;
  background-attachment:fixed;
}
.hero, .content{
  text-align:center; 
  position:relative;
  width: 100%;
  letter-spacing: 4px;
  word-spacing: 10px;
  text-transform: uppercase;
}
.content-head{ font-size: 30px;}
.inner{
  background-size:cover;
  background-position:center center;
  background-attachment:fixed;
  min-height: 100vh;
  position: relative;
}
.copy{
  position:absolute; 
  top:50%; 
  height:10em; 
  margin-top:-5em; 
  width:100%;
}
.container-con{	margin: 100px 20px 15px;}
p.about{
	font-size: 12px;
	letter-spacing: 2px;
}
p.about-resume{
	font-size: 12px;
	color: #5b5959;
	letter-spacing: 2px;
	line-height: 20px;
}
p.resume-desc{
    font-family: 'Josefin Sans', sans-serif;
	letter-spacing: 1px;
	font-size: 12px;
	line-height: 20px;
}

.circle {
      border: 10px solid transparent;
      margin-bottom: 25px;
      width: 80%;
      height: 80%;
}
h4.resume-heading{
	text-transform: uppercase;
	font-size: 25px;
	letter-spacing: 3px;
	word-spacing: 15px;
	margin-bottom: 2em;
}
h5.about-heading{
	font-size: 12px;
	color: #3b3737;
	letter-spacing: 4px;
	text-transform: uppercase;
}

/* -------------------------------------------- ARTICLES ----------------------------------------- */
#article_head{margin: 8em auto;}
.sec-margin{margin: 5em 0; padding: 5em 0;}
.class-margin{
	margin-left: 25%;
	margin-right: 25%;
}

.sec-small-margin{margin: 5em 0; padding: 5em 0;}
.html-proto img{background-color: #f4f7f7;}
h4.project-heading{
	font-size: 22px;
	letter-spacing: 3px;
	word-spacing: 15px;
	margin-top: 0%;
	margin-bottom: 2%;
}
.sub-heading{
	letter-spacing: 1px;
	font-size: 17px;
	margin-top: 3em;
	padding: 2em 0 1em;
	text-transform: uppercase;
}
p{letter-spacing: 1px; line-height: 25px;}
p.title-desc{ font-size: 13px;}
p.a-h-text-desc{
	font-size: 15px;
	margin: 3em 3vw 0;
}

/* ----------------------------- BUTTONS ---------------------------------- */
.btn {
	text-transform: uppercase;
  border-color: #000;  
  font-size: 70%;
  padding: 20px 35px;
  letter-spacing: 2px;
  text-decoration: none;
  
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
}
.btn-small{	
  padding: 15px 20px;
  font-size: 100%;  
  z-index: 51;
}

/*.btn:visited, .btn-small:visited{ background-color:#000;border-color: #000;}*/

.btn:hover, 
.btn-small:hover, 
.btn:active, 
.btn-small:active{
  text-decoration: none;
  background-color: #fff;
  border-color: #000;
  color: #000;
}
.btn-move{ position:fixed; top:50%;}
div.button-nav{	position:relative;}
div.button-nav .btn-right{ right: 2em;}
div.button-nav .btn-left{ left: 2em;}

/* GO TO TOP */

button#back-top {
  position: fixed;
  bottom: 30px;
  right: 10px;
  padding: 12px 15px;
  z-index: 51;
  color: #fff;
  background-color: red;
  border: solid 3px red;
  transition: all .1s ease-in-out;
}

button#back-top a {
  
  display: block;
  text-align: center;
  font: 15px/100% bold Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  

  /* transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
button#back-top:hover {
  transform: scale(1.05);
}

/* arrow icon (span tag) */
#back-top span {
  color: #fff;
  font-size: large;
  /*width: 108px;
  height: 108px;*/
  
  /* rounded corners */
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;

  /* transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}

/* ----------------------------- CONTACT ---------------------------------- */
span.icon{font-size: 35px; margin-right: 1em; color: #2f974b;}
span.icon:hover{text-decoration: none; color: #f6fcae;}
.hs{margin: 2em 0; display: inline-block; padding: 5em 3vw;}
h5.contact-head{font-size: 17px; text-transform: uppercase; letter-spacing: 2px;}
input[type=text] {
    width: 80%;
    padding: 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    letter-spacing: 2px;
}
input[type=text]:focus { border: 2px solid #555;}
input[type=text].reply-modal {
    width: 100%;
    padding: 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    letter-spacing: 2px;
}
textarea{
    width: 80%;
    padding: 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    letter-spacing: 2px;
}
textarea.reply-modal{
    width: 100%;
    padding: 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    letter-spacing: 2px;
}
textarea:focus{ border: 2px solid #555;}

/* -------------------------------------------- MEDIA QUERIES ----------------------------------------- */
/* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {
      #index-work img.h-w{height: 28em; width:100%;}
}

/* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
      #index-work img.h-w{height: 23em; width:100%;}
}

/* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
      #index-work img.h-w{height: 20em; width:100%;}
    	.page-wrap {
		  top: 5px; right: 5px; left: 5px; bottom: 5px;
		  }
}

/* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
    	.page-wrap {
		  top: 0px; right: 0px; left: 0px; bottom: 0px;
		  }
      div.button-nav .btn-right{ right: 0.2em;}
      div.button-nav .btn-left{ left: 0.2em;}
      #index-work img.h-w{height: 16em; width:100%;}
}

/* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
    	.page-wrap {
		  top: 0px; right: 0px; left: 0px; bottom: 0px;
		  }
      div.button-nav .btn-right{ right: 0.2em;}
      div.button-nav .btn-left{ left: 0.2em;}
      #index-work img.h-w{height: 14em; width:100%;}
}

