/* =================================
       Reset Styles 
================================== */

ul{
  padding: 0;
  margin: 0;
}

*,
*:after,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


/* ==================================
      General Styles
=================================== */

body{
  font-family: 'Comfortaa', cursive;
  line-height: 2;
  font-size: 16px;
  background: #d5eaea;
}
h1,h2,h3,h4{
  line-height: 2;
}
section{


}
a{
  color:#fff;
}
a:hover{
  color:#ca5324;
  text-decoration: none;
}
a:active{
  /*color:#ca5324;*/

}
a:visited{
  /*color:#795548;*/
}
a:focus{
  /*color: #fff;*/
    text-decoration: none;
    outline:none;
}

ul{
  list-style-type: none;
}
.section-header{
  margin-bottom: 50px;
  text-align: center;
}
.section-title{
  font-weight: bold;
  color: #fff;
}
h2.section-title{
  position: relative;
  margin-bottom:2rem;
}
h2.section-title:before{
  content:'';
}
h2.section-title:after{
  content: '';
  position: absolute;
  background-color: #982222;
  width: 2em;
  height: .2rem;
  left: 50%;
  bottom: 0%;
  transform: translatex(-50%);
  margin-right: -50%;
}
.page{
  padding-top: 100px;
  padding-bottom: 100px;
}
.direction{
  font-family: 'Love Ya Like A Sister', cursive;
}

/* LOADER */
.page-loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: #FFF url(../img/page-loader.gif) center center no-repeat;
}


/* -----------------------------
            FORM
------------------------------- */

.form-control{
  border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.2);
}
.form-control:focus{
  border-color: #f0ecec;
    outline: 0;
    -webkit-box-shadow: 0px 1px 5px #2e2c2c;
    box-shadow: 0px 1px 5px #2e2c2c; 
}
input, button[type=submit]{
  height: 60px !important;
    border-radius: 0px !important;

}
input[type=text], input[type=email]{

}
input[type=submit]{}
textarea{
    border-radius: 0px !important;

}
label.error{
  font-size: 14px;
  color: #bfadad;
}
#mail-response p{
  padding: 10px;
  font-size: 14px;
  text-align: center;
}


/* ==================================
      Buttons
=================================== */

.btn-fillUp{
  position: relative;
  padding: 10px 15px;
  border: none;
  border-radius: 0px;
  color: #333;
  z-index: 1;
}
.btn-fillUp:hover{
  color:currentColor;
  box-shadow: 0px 1px 5px #2e2c2c;
}
.btn-fillUp:before{
  content: '';
  position: absolute;
  top:100%;
  left:0;
  right:0;
  bottom: 0;
  background: #ca5324;
  z-index: -1;
  transition: all 0.5s ease;
}
.btn-fillUp:hover:before{
  top:0;
}
.btn-fillUp:focus{
  background: #ca5324;
  color: currentColor;
}


.btn-fill-left{
  position: relative;
  padding: 10px 15px;
  border: none !important;
  border-radius: 0px;
  color: #fff;
  z-index: 1;
  transition: all 1s ease;
}
.btn-fill-left:hover{
  color: currentcolor;
  border:none;
  
}
.btn-fill-left:before{
  content:'';
  position: absolute;
  top:0;
  left:0;
  right:100%;
  bottom: 0;
  background:#ca5324;
  z-index: -1;
  transition: all 0.5s ease;
}
.btn-fill-left:hover:before{
  right:0;
}
.btn-fill-left:focus{
  background:#ca5324;
  color: currentcolor;
}

.btn-black{
  background-color:#333;
  color:#fff;
}
.btn-black:hover{
  color:currentColor;
  box-shadow: 0px 1px 5px #2e2c2c;
}
.bg-white{
  background-color: #fff;
  color: #222;
}
.bg-danger{
  background-color: #cc2626;
}
.bg-success{
  background-color: #7bbd49;
}

/* ==================================
      Spacing & Width
=================================== */
.mt-30{
  margin-top:30px;
}

.mb-30{
  margin-bottom: 30px;
}
.w-150{
  width: 150px;
}

/* ==================================
      Navigation
=================================== */
header .logo img{
  height: 100px;
  width: 100px;
}

.open-nav{
  padding: 20px;
  font-size: 2em;
  position: fixed;
  z-index: 100;
  /*transition: all 0.5s ease-in-out;*/
  cursor: pointer;
}
.sidebar-menu{
  padding: 20px;
  position: fixed;
  z-index: 100;
  background-color:rgb(17, 17, 17);
  height: 100vh;
  max-height: 100vh;
  width: 250px;
}
.menu-transition{
    transition: all 0.5s ease-in-out;
}
.close-nav{
  font-size: 2em;
  cursor: pointer;
  width: 100%;
  float: right !important;
  text-align: right;
}
.hide-nav{
  opacity: 0;
}
.hide-menu{
  margin-left:-250px;
/*  opacity: 0;
  visibility: hidden;*/
}
a.open-nav:active{
    color:#fff;
}
ul.nav-links li{
  margin:5px auto;
  text-align: center;
}
ul.nav-links li a{
  transition: all 0.2s ease-in-out;
}
ul.nav-links li a:hover{
  margin-left:10px;
}

/* ==================================
      Home
=================================== */


#home{
  height: 100vh;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #333333;
  position: relative;
  z-index:1;
}
#home .logo{
  margin-bottom: 30px;
}
#home .logo img{
  height: 150px;
  width: 150px;
}
#home .tagline{
  color:#fff;
  position: relative;  /* Needed for the text to be on top of the overlay */
  text-align:center;
  padding:20px;
}
.tagline i{
  font-size: 30px;
}
.tagline h1{
  font-size: 40px;
}
.tagline h2.author{
  font-size: 20px;
  color: #ca5324;
}
.tagline h2.author:before{
  content: '\2014 \00A0';
}
#home .scroll-down{
  position: absolute;
  bottom: 40px;
  color: #fff;
  line-height: 1;
  left: 50%;
  transform: translateX(-50%);
}
#home .scroll-down .scroll-btn i{
  display: block;
  text-align: center;
  transition: all 0.5s ease;
}
.scroll-btn:hover i{
  transform: scale(1.2) translateY(20%);

}



/* ==================================
      About
=================================== */

#about{
  background: #d5eaea;
  position: relative;

}
#about:before{
  content: '';
  position: absolute;
  border-top: 100px solid #333333;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
}

#about h2{
  color:#333;
}
#about .section-header{
  margin-bottom: 20px;
}
#about ul.about-list{
}
#about ul.about-list li{
  margin-bottom: 10px;
}
.about-desc, .about-img{
  margin-top:30px;
}
.about-img img{
  height: 350px;
  margin-left:auto;
  margin-right: auto;
}
.about-desc{
  text-align: justify;
}


/* ==================================
      Resume
=================================== */
#resume{
  position: relative;
  text-align: center;
  /*background: #26C485;*/
  background: #ca5324;
  color: #fff;
  z-index: 1;
 /* padding-top: 30px !important; */
}
#resume p{
  text-align: justify;
}

.buttons a{
  font-family: 'Love Ya Like A Sister', cursive;
  color: #fff;
  font-size: 20px;
  margin:20px;
  transition: all 0.5s ease;
  display: inline-block;

}
.buttons a:hover{
  transform: scale(1.1);
}
.modal .buttons a{
    color: #ca5324;
}
#resume:after{
  content: '';
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 10;
    display: block;
    height: 100px;
    background-size: 50px 100%;
    background-image: -webkit-gradient(linear, 0 0, 300% 100%, color-stop(0.25, #ca5324), color-stop(0.25, #ca5324));
    background-image: linear-gradient(135deg, #ca5324 25%, transparent 25%), linear-gradient(225deg, #ca5324 25%, transparent 25%);
    /*background-position: 50%;*/
}

#resume .resume-icon img{
  width: 300px;
  margin-top: 50px;
}

/* ==================================
      Skills
=================================== */



#skills{
  background:#393a3a;
  position: relative;
  text-align: center;
  color: #fff;
}
#skills .section-header{
  margin-bottom: 0px !important;
}


ul.level:before{
  content:'Category :';
  display: block;
}
ul.level{
  margin: 30px auto;
}
ul.level li{
  display: inline-block;
  margin: 20px;
 /* border: 1px solid;  */
}

#skills ul.skills-list{

}
#skills ul.skills-list li{
  display: inline-block;
  margin: 10px;
  padding:10px;
  font-size: 35px;
  transition: all 1s;
  position: relative;
  color:#515050;
}

#skills ul.skills-list li i{
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: all 1s;
}
#skills ul.skills-list li i:hover{
  cursor: pointer;
}


#skills .box{
  border: 1px solid;
    padding: 0px;
    background: rgba(51, 51, 51, 0.39);
    opacity: .6;
    transition: all 1.5s ease;
}
.box-light{
  background:rgb(37, 37, 37) !important;
   opacity: 1 !important;
   box-shadow: 5px 1px 10px rgba(237, 235, 235, 0.12), 1px 3px 10px rgba(252, 243, 243, 0.2);
}
.light{
    color: #ca5324 !important;
    opacity: 1 !important;
    font-weight: bold;
    transform: scale(1.2);
}

li.element{
  border: 2px solid;
    padding: 0px 5px;
    border-radius: 20px;
    margin-right: 5px;
    display: inline-block;
    font-size: 12px;
    text-transform: lowercase;
}


/* ==================================
      Skills - Mobile
=================================== */
#skills-mobile{
  background: #393a3a;
  position: relative;
  text-align: center;
  color: #fff;
}

#skills-mobile .box{
  border: 1px solid;
    padding: 10px;
    background: rgba(51, 51, 51, 0.39);
    opacity: .6;
    transition: all 1.5s ease;
}
#skills-mobile ul.skills-list li{
  display: inline-block;
  margin: 5px;
  padding:5px;
  font-size:14px;
  transition: all 1s;
  position: relative;
  text-transform: lowercase;
  color:#ded9d9;
}
#skills-mobile ul.skills-list li p{
  transition: all 1s;
}
#skills-mobile .box{
  border: 1px solid;
    padding: 0px;
    background: rgba(51, 51, 51, 0.39);
    opacity: .6;
    transition: all 1.5s ease;
}


/* ==================================
      SVG Triangle
=================================== */
#triangle-separator{
  background: #d5eaea;
}
#triangle path{
    fill:  #393a3a;
    stroke:  #393a3a;
    stroke-width:2;
}


/* ==================================
      Portfolio
=================================== */


#portfolio{
  background:#d5eaea;
  color:#333;
}
#portfolio .section-title{
  color: #333;
}
#portfolio .portfolio-row {
  display: flex;
  flex-wrap: wrap;
}
#portfolio .portfolio-row > [class*='col-'] {
  flex-direction: column;
}
#portfolio .project{
  text-align:center;
}
#portfolio .project-wrapper{
  position: relative;
  height: 400px;
  border-radius: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #333;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  overflow: hidden;
  margin:10px auto;
    transform: scale(0.9);
}

#portfolio .project-wrapper img:hover{
  -webkit-filter: brightness(100%);
    filter: brightness(100%);
}
#portfolio .project-wrapper img{
  content:'';
  position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: all 10s, -webkit-filter 0.3s;     
    transition: all 10s, filter 0.3s;
    -webkit-filter: brightness(40);
    filter: brightness(40%);
}
#portfolio .project-wrapper img:hover{
  /*bottom: 100%;*/   /*Doesn't work */
  /*transform: scale(1.2);*/
  /*transform: translateY(-50%);*/
}
#portfolio .project-desc{
  line-height: 1;
  padding: 8px;
}
#portfolio .project-desc h3{
  font-size: 18px;
  margin: 0 auto;
}
#portfolio .project-desc a{
  display: inline-block;
  color: #333;
}


/* ==================================
      Contact
=================================== */

#contact{
  background:#ca5324;
  color: #fff;
}
#contact .scroll-up{
  text-align: center;
}
#contact .scroll-up i{
  font-size:30px;
  border: none;
  padding:20px;
  border-radius: 50%;
  background:#fff;
  color:#333;
  transition: all 0.5s ease;
}
#contact .scroll-up a:hover i{
  color: #fff;
  background: #333;

}

/* ==================================
      Footer
=================================== */


footer{
  padding: 30px 0;
    text-align: center;
    background: #333333;
    color:#fff;

}
ul.social{
  margin:20px;

}
footer ul.social li{
  display: inline-block;
  transition: all 0.5s ease;
  
}
ul.social:hover > li{
  margin-right: 20px;

}
ul.social li i{
  font-size: 28px;
  transition: all 0.5s ease;
}
ul.social li i:hover{
  transform: scale(1.5);
}


/* ==================================
      Modal
=================================== */


.modal-content{
  border-radius:0px;
  background: #d5eaea;
}
.modal-body{
  padding: 0px 15px;
}
.modal-header .close{
  font-size:40px;
}
#project-modal p span{
    margin-left:5px;
}
.modal-content .tags ul li{
  display: inline-block;
    padding: 5px;
    background: #ddd;
    border-radius: 10px;
    font-size: 12px;
    margin-right: 5px;
}
.modal-footer .btn{
  border-radius:0px;
}



/* START TOOLTIP STYLES */
[tooltip] {
  position: relative; 
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
  text-transform: none; 
  font-size: 14px; 
  line-height: 1.6;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
  font-weight: normal;
}
[tooltip]::before {
  content: '';
  border: 5px solid transparent; 
  z-index: 1001; 
}
[tooltip]::after {
  content: attr(tooltip); 
  text-align: center;
  min-width: 12em;
  max-width: 21em;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1ch 1.5ch;
  border-radius: .3ch;
  box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  z-index: 1000; 
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
  bottom: 80%;
  border-bottom-width: 0;
  border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
  bottom: calc(80% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
  left: 50%;
  transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
  top: 80%;
  border-top-width: 0;
  border-bottom-color: #333;
}
[tooltip][flow^="down"]::after {
  top: calc(80% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, .5em);
}


/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
    opacity: .9;
    transform: translate(-50%, 0);
  }
}


/* FX All The Things */ 
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}


@media screen and (max-width: 600px) 
{
    #portfolio .project{
      width: 100%;
    }
}



