/* MAIN & FONTS */

html, body {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  padding: 0;
  margin: 0;
  width: 100vw;
  min-height: 100vh;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgba(255,255,255,0.8) !important;
  background: #131313 !important;
}


/* NAVIGATION */

.navbar {
  width: 100vw;
  background: none;
  z-index: 1;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;

}

.nav-item a {
  font-family: 'Roboto Condensed', sans-serif;
  color: rgba(255,255,255,0.4) !important;
  font-size: 0.8em;
  font-weight: 600;
  display: inline-block;
}

.nav-item a:hover, .nav-item a.active {
  color: rgba(255,255,255,0.8) !important;
}

.nav-item a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: rgba(255,255,255,0.8);
  transition: width 0.2s ease-in;
}

.nav-item a:hover::after, .nav-item a.active::after {
  width: 100%;
}

/* NAVIGATION SCROLLED */

.nav-scrolled {
  background: rgba(255,255,255,1) !important;
}

.nav-scrolled .nav-item a {
  color: rgba(0,0,0,0.6) !important;
}

.nav-scrolled .nav-item a::after {
  background: rgba(0,0,0,1) !important;
}

/* MOBILE NAV */

button.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar.active-color {
  background: #ffffff !important;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.navbar-toggler .line {
  width: 40px;
  height: 2px;
  background: #ffffff;
  display: block;
  margin: 8px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.nav-scrolled .navbar-toggler .line {
  background: #000000;
}

.navbar-toggler:hover {
  cursor: pointer;
}

.navbar-toggler.is-active .line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.is-active .line:nth-child(1) {
  background: #000000;
  -webkit-transform: translateY(10px) rotate(45deg);
  -ms-transform: translateY(10px) rotate(45deg);
  -o-transform: translateY(10px) rotate(45deg);
  transform: translateY(10px) rotate(45deg);
}

.navbar-toggler.is-active .line:nth-child(3) {
  background: #000000;
  -webkit-transform: translateY(-10px) rotate(-45deg);
  -ms-transform: translateY(-10px) rotate(-45deg);
  -o-transform: translateY(-10px) rotate(-45deg);
  transform: translateY(-10px) rotate(-45deg);
}

@media screen and (max-width: 992px) {
  .nav-item a {
    color: rgba(0,0,0,0.8) !important;
    text-shadow: none;
  }

  .nav-item a:hover, .nav-item a.active {
    color: rgba(0,0,0,1) !important;
    text-shadow: none;
  }

  .nav-item a::after {
    background: rgba(0,0,0,1);
  }

  .navbar-nav {
    margin-left: 20px;
  }

  .navbar-nav {
    margin: 0;
    padding-top: 20px;
  }

  .nav-link {
    font-size: 150% !important;
  }
}


/* PAGE */

#projects {
  padding-top: 95px;
}

.header{
  padding-top: 80px !important;
  background: #000000 !important;
}

.profile {
  padding: 0 !important;
}

.badge {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  margin: 0 4px 0 0;
  padding: 8px 10px !important;
  border-radius: 2px !important;
}

.badge-light {
  background-color: rgb(57, 57, 57);
}


/* TYPOGRAPHY */

h1 {
  font-size: 8rem;
  line-height: 7.5rem;
}

h1 strong {
  font-weight: 700;
  letter-spacing: 0.3rem;
  margin-left: -0.3rem;
  display: block;
}

h2 {

}

h2 strong {

}

h3 {

}

h3 strong {
  font-weight: 700;
}

h4 {
  line-height: 1.7rem !important;
}

h4 strong {

}

h5 {
  font-weight: 600;
}

h5 strong {
  font-weight: 800;
}

p {
  font-size: 1rem;
  line-height: 1.9rem;
  font-weight: 400;
}


/* TABLET */

@media only screen and (min-width: 800px) and (max-width: 992px) and (orientation: landscape) {
  .navbar-toggler {
    display: block;
  }
  h1 {
    font-size: 6rem;
    line-height: 5.5rem;
  }
  h1 {
    letter-spacing: 0.1rem;
    margin-left: -0.1rem;
  }
}


/* MOBILE */

@media only screen and (min-width: 1px) and (max-width: 799px) {
  h1 {
    font-size: 5rem;
    line-height: 4.5rem;
  }
  h1 {
    letter-spacing: 0.1rem;
    margin-left: -0.1rem;
  }
}
