/* ----------------------------------------------------------------------------- */
/* General */
/* ----------------------------------------------------------------------------- */

@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

:root {
  --app-height: 100%;
}

html,
body {
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  height: var(--app-height);
}

body {
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
  background: #000000;
}

a {
  color: #2c98f0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

a:hover, a:active, a:focus {
  color: #2c98f0;
  outline: none;
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  margin: 0 0 0 0;
}

::-webkit-selection {
  color: #ffffff;
  background: #BC9D63;
}

::-moz-selection {
  color: #ffffff;
  background: #BC9D63;
}

::selection {
  color: #ffffff;
  background: #BC9D63;
}

/* ----------------------------------------------------------------------------- */
/* Aside */
/* ----------------------------------------------------------------------------- */

#colorlib-aside {
  width: 300px;
  height: 100vh;
  height: var(--app-height);
  padding-top: 3em;

  float: left;
  position: fixed;
  overflow-y: scroll;
  z-index: 1001;
  background: #1D1E20;
  line-height: 1.2;

  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

#colorlib-aside h3 {
  display: block;
  margin-bottom: 0.8em;
}

#colorlib-aside p {
  color: #909091;
}

#colorlib-aside .btn-primary {
  margin-top: 1em;
  margin-bottom: 3em;
}

#colorlib-aside .author-img {
  width: 150px;
  height: 150px;
  margin: 1.5em auto 30px;
  -webkit-border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}

#colorlib-aside #colorlib-logo {
    text-align: right;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: .5em;
    display: block;
    width: 100%;
}

#colorlib-aside #colorlib-logo a {
  display: block;
  text-align: center;
  color: #ffffff;
  padding-right: .3em;
}

/* ----------------------------------------------------------------------------- */
/* Aside Footer */
/* ----------------------------------------------------------------------------- */

#colorlib-aside .colorlib-footer {
    font-size: 15px;
    text-align: center;
    font-weight: 400;
    color: #ffffff;
    position: absolute;
    padding-top: 3em;
    bottom: 1em;
    width: 100%;
}

#colorlib-aside .colorlib-footer span {
  display: block;
}

#colorlib-aside .colorlib-footer a {
  color: #C5B358;
}

#colorlib-aside .colorlib-footer a:hover {
  color: #BC9D63;
}

@media screen and (max-height: 550px) {
  #colorlib-aside .colorlib-footer {
    opacity: 0;
  }
}

/* ----------------------------------------------------------------------------- */
/* Main */
/* ----------------------------------------------------------------------------- */

.container-wrap {
  max-width: 1170px;
  margin: 0 auto;
}

#colorlib-main {
  width: calc(100% - 300px);
  height: 100vh;
  height: var(--app-height);

  overflow-x: hidden;
  float: right;

  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.colorlib-narrow-content {
  padding: 0 2.5em;
}

.colorlib-experience,
.colorlib-skills,
.colorlib-education,
.colorlib-blog,
.colorlib-work,
.colorlib-about,
.colorlib-services,
.colorlib-contact {
  padding-top: 4em;
  padding-bottom: 0;
  clear: both;
  width: 100%;
  display: block;
}

.author-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

/* ----------------------------------------------------------------------------- */
/* Projects */
/* ----------------------------------------------------------------------------- */

.project {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;

  margin-bottom: 30px;
  display: flex;

  width: 100%;
  height: 300px;
}

.project .desc {
  background: rgba(0, 0, 0, 0);
  padding-right: 30px;
  padding-left: 30px;
  text-align: center;

  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;

  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.project:hover .desc {
  background: rgba(0, 0, 0, 0.85);
}

.project .desc p {
  color: rgba(0, 0, 0, 0);
}

.project .desc h3 {
  color: rgba(0, 0, 0, 0);
}

.project .desc p a {
  color: rgba(0, 0, 0, 0);
}

.project:hover .desc h3 {
  color: rgba(255, 255, 255, 1);
}

.project:hover .desc p {
  color: rgba(144, 144, 145, 1);
}

.project:hover .desc p a {
  color: #C5B358;
}

.project:hover .desc a:hover {
  color: #BC9D63;
}

.project .desc h3 {
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;

  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  -o-transition: transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  -webkit-transform: translate3d(0, -15px, 0);
  transform: translate3d(0, -15px, 0);
}

.project:hover .desc h3 {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}


/* ----------------------------------------------------------------------------- */
/* Main Resizing */
/* ----------------------------------------------------------------------------- */

@media screen and (max-width: 1100px) {
  .project {
    max-height: 250px;
  }

  .project .desc {
    font-size: 12px;
  }
}

@media screen and (max-width: 900px) {
  .project {
    aspect-ratio: 1 / 1;
    padding: 0;
    margin: 0;
  }

  .colorlib-work {
    padding: 0;
  }

  .colorlib-narrow-content {
    padding: 0;
  }

  .col-sm-6 {
    padding: 0;
  }

  .project .desc {
    font-size: 11px;
  }
}

@media screen and (max-width: 600px) {
  #colorlib-aside {
    width: 250px;
  }

  #colorlib-main {
    width: calc(100% - 250px);
  }

  #colorlib-aside h3 {
    font-size: 22px;
  }

  #colorlib-aside p {
    font-size: 13px;
  }

  #colorlib-aside .colorlib-footer {
    bottom: 0.75em;
  }
}

@media screen and (max-width: 400px) {
  .project {
    max-height: 150px;
  }

  .project .desc {
    opacity: 0;
  }
}


/* ----------------------------------------------------------------------------- */
/* Buttons */
/* ----------------------------------------------------------------------------- */

.btn {
  margin-right: 4px;
  margin-bottom: 4px;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  padding: 8px 15px !important; }
  .btn.btn-sm {
    padding: 4px 15px !important; }
  .btn.btn-md {
    padding: 8px 20px !important; }
  .btn.btn-lg {
    padding: 18px 36px !important; }
  .btn:hover, .btn:active, .btn:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important; }

.btn-primary {
  background: #C5B358;
  border: 2px solid #C5B358;
  color: #000000;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: #BC9D63 !important;
  border-color: #BC9D63 !important;
  color: #000000;
}

.btn-primary.btn-outline {
    background: transparent;
    color: #BC9D63;
    border: 2px solid #BC9D63;
}

.btn-primary.btn-outline:hover, .btn-primary.btn-outline:focus, .btn-primary.btn-outline:active {
      background: #BC9D63;
      color: #000000;
}

/* ----------------------------------------------------------------------------- */
/* Misc */
/* ----------------------------------------------------------------------------- */

#message {
  height: 130px; }

@media screen and (max-width: 480px) {
  .col-xxs-12 {
    float: none;
    width: 100%; } }

.row-bottom-padded-lg {
  padding-bottom: 7em; }
  @media screen and (max-width: 768px) {
    .row-bottom-padded-lg {
      padding-bottom: 1em; } }

.row-bottom-padded-md {
  padding-bottom: 3em; }
  @media screen and (max-width: 768px) {
    .row-bottom-padded-md {
      padding-bottom: 1em; } }

.row-bottom-padded-sm {
  padding-bottom: 1em; }
  @media screen and (max-width: 768px) {
    .row-bottom-padded-sm {
      padding-bottom: 1em; } }

.row-pt-md {
  padding-top: 3em; }

.col-padding {
  padding: 10px !important; }

.js .animate-box {
  opacity: 0; }
