@import url("https://fonts.googleapis.com/css?family=Muli:200,300,400");

body {
  background: #ffffff;
  font-family: "Muli", sans-serif;
  font-style: normal;
  font-weight: 300;
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  height: 100%;
}

/*---------------------------------------
  Typorgraphy
-----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-style: normal;
  font-weight: 200;
  letter-spacing: 0px;
}

h1 {
  color: #3d3d3f;
  font-size: 50px;
  line-height: normal;
}

h2 {
  color: #575757;
  font-size: 40px;
  line-height: 52px;
  margin-top: 0px;
}

h4 {
  color: #797979;
  font-size: 18px;
  font-weight: normal;
}

p {
  color: #878787;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  letter-spacing: 0.2px;
}

strong,
span {
  color: #878787;
  font-weight: normal;
}

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

.section-btn {
  background: #d7b065;
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.6px;
  padding: 14px 32px 18px 32px;
  margin-top: 32px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.section-btn:focus,
.section-btn:hover {
  background: #000000;
  color: #ffffff;
}

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

html {
  -webkit-font-smoothing: antialiased;
}

a {
  color: #575757;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover,
a:active,
a:focus {
  color: #000000;
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

.section-title {
  margin: 0;
  padding-bottom: 32px;
}

#about,
#work,
#contact {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

#about img,
#team img {
  border-radius: 5px;
}

#work {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

#contact {
  text-align: center;
}

/*---------------------------------------
  Pre loader section
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65px;
  height: 65px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #000000;
  border-top-color: #f9f9f9;
  animation: spinner 0.9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.home-fn {
  color: #d7b065;
  font-size: 1.5rem;
  display: block;
  line-height: 2;
}

.home-heading {
  font-size: 4rem;
}

.home-subtitle {
  line-height: 1.5;
  font-size: 2rem;
}

.home-span {
  font-size: 1.05em;
}

.home-span--name {
  color: #f1b814;
}

.home-span--role {
  color: #14b5f1;
}

.home-span--experience {
  color: #8b14f1;
}

.home-span--work {
  color: #14f174;
}

.home-link {
  font-weight: bold;
  text-decoration: underline;
}

/*---------------------------------------
  Home section
-----------------------------------------*/

#home {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100vh;
  position: relative;
  padding-top: 62px;
}

#home img {
  width: 120px;
  height: 120px;
}

/*---------------------------------------
  Mobile Responsive styles
-----------------------------------------*/

@media (min-width: 768px) and (max-width: 1024px) {
  #home {
    height: 50vh;
  }
}

@media (min-width: 667px) and (max-width: 767px) {
  #home {
    height: 140vh;
  }
}

@media (min-width: 568px) and (max-width: 665px) {
  #home {
    height: 190vh;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 33px;
  }

  #work .work-thumb {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 30px;
    line-height: normal;
  }

  h2 {
    font-size: 30px;
  }

  .custom-navbar {
    background-color: #ffffff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    padding-top: 0px;
    padding-bottom: 5px;
  }

  .custom-navbar .nav {
    padding-bottom: 10px;
  }

  .custom-navbar .nav li a {
    display: inline-block;
    margin-bottom: 5px;
  }
}

@media (max-width: 580px) {
  #about .about-thumb {
    margin-top: 0px;
  }

  .about-thumb .social-icon {
    margin-bottom: 15px;
  }
}

@media (max-width: 357px) {
  h1 {
    font-size: 28px;
  }

  #about .col-md-4 a {
    width: 85px;
    height: 85px;
  }
}
