@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,500;0,700;1,500&display=swap");

html,
body {
  font-family: "Poppins", sans-serif;
  font-size: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: #252931;
  color: #ffffff;
}

h1 {
  font-size: 3rem;
  line-height: 4rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2.25rem;
}

h4 {
  font-size: 1.75rem;
}

h5 {
  font-size: 1.5rem;
}

h6 {
  font-size: 1.125rem;
}

p {
  font-size: 1rem;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  margin: 0;
}

a {
  color: #ffc31d;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.font-heavy {
  font-weight: 700;
}

.text-white {
  color: #ffffff;
}

.text-brand {
  color: #ffc31d;
}

.text-grey {
  color: #888d97;
}

section {
  padding: 6rem 0;
}

/* == BUTTON STYLE == */

.btn-default {
  padding: 1rem 2rem;
  border-radius: 0.4rem;
  border: 2px solid transparent;
  font-size: 1.125rem;
  display: inline-block;
}

.btn-default span {
  display: inline-block;
  padding-left: 0.3rem;
}

.btn-brand {
  background: #ffc31d;
  color: #252931;
}

/* == HEADER == */

.navbar-brand img {
  width: 100px;
}

ul .nav-item a {
  color: #fff;
}

ul .nav-item {
  padding: 0 1rem;
}

header.header {
  position: fixed;
  width: 100%;
  padding: 1rem 0;
  top: 0;
  left: 0;
  -webkit-transition: background-color 1000ms linear;
  -moz-transition: background-color 1000ms linear;
  -o-transition: background-color 1000ms linear;
  -ms-transition: background-color 1000ms linear;
  transition: background-color 1000ms linear;
  z-index: 9;
}

header.header.fixed {
  background: #32363e;
  transition: ease-in-out 0.5s;
  -webkit-transition: background-color 1000ms linear;
  -moz-transition: background-color 1000ms linear;
  -o-transition: background-color 1000ms linear;
  -ms-transition: background-color 1000ms linear;
  transition: background-color 1000ms linear;
}

.navbar-expand-lg .navbar-nav .nav-link.active {
  color: #ffc31d;
}

/* == HEROIMAGE == */
.heroimage {
  height: 100vh;
  background: #252931;
}
.profile h1 {
  margin: 0;
  padding: 3rem 0;
  font-size: 5rem;
  line-height: 6rem;
}

.socials {
  padding-left: 1rem;
}

.socials li {
  padding: 0 0.5rem;
}

.socials li a {
  font-size: 1.5rem;
  color: #ffffff;
}

.image-avatar {
  padding: 2rem;
}

.image-avatar img {
  width: 100%;
}

/* == ABOUT US == */
.avatar-images img {
  width: 100%;
}

.avatar-images {
  padding: 3rem;
  border: 1px solid #eaeaea;
  border-radius: 1rem;
}

.content-text {
  top: 50%;
  position: relative;
  transform: translateY(-50%);
}

/* == EXPERIENCE == */
.year {
  width: 5.625rem;
}

.progress {
  height: 2rem;
  border-radius: 0.4rem;
}

.progress .progress-bar {
  background: #ffc31d;
  color: #252931;
  font-size: 1rem;
  text-align: right;
  padding-right: 1rem;
}

.experience ul li {
  width: 50%;
}

/* .skills ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
} */

.skills ul li {
  width: 20%;
  display: flex;
  padding: 1rem;
}

.skills ul li a img {
  width: 100%;
}

.skills ul li a {
  padding: 1rem;
  background: #32363e;
  border-radius: 1rem;
}

/* == SERVICE == */
.service .card {
  background: #32373e;
  border-radius: 1rem;
  padding: 2rem;
}

.service .card .icon svg {
  font-size: 2.5rem;
}

.service .card .icon {
  padding-bottom: 1.5rem;
}

/* == PORTFOLIO == */

.portfolio .tab-content ul li {
  width: 50%;
  padding: 1rem;
}

.portfolio .tab-content ul li img {
  width: 100%;
}

.portfolio .tab-content ul li .card {
  border: 0;
  padding: 1rem;
  background: #32373e;
}

.portfolio .tab-content ul {
  display: flex;
  flex-wrap: wrap;
}

.nav-tabs {
  border: 0;
  display: flex;
  justify-content: center;
  padding: 3rem 0 1rem;
}

.nav-tabs .nav-link.active {
  background: transparent;
  border: 0;
  color: #ffc31d;
}

.nav-tabs .nav-link {
  border: 0;
  border-radius: 0;
  color: #888d97;
  position: relative;
}

.nav-tabs .nav-link:hover {
  border: 0;
  color: #ffc31d;
}

.nav-tabs .nav-item:first-child:after {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background: #838892;
}

.nav-tabs .nav-item {
  position: relative;
}

/* == TESTIMONIALS == */

.testi-item {
  display: flex !important;
}

.testi-item .ava img {
  width: 100%;
}

.testi-item .ava {
  width: 7rem;
}

.testi-item .text {
  padding: 0 2rem;
}

.testimonial-wrap ul.slick-dots {
  bottom: -4rem;
}

.testimonial-wrap .slick-dots li button:before {
  color: white;
  font-size: 0.6rem;
}

.testimonial-wrap .slick-dots li.slick-active button:before {
  color: #fff;
}

/* == FOOTER == */

.col h1 {
  max-width: 60%;
}

footer .socials {
  padding-left: 0;
  display: block;
}

footer .socials li {
  display: inline-block;
  padding-left: 0;
  padding-right: 1rem;
}

footer p {
  padding: 1rem 0;
}

footer .col:last-child {
  text-align: right;
}

/* ==== RESPONSIVE ==== */

@media screen and (max-width: 1024px) {
  .service .card {
    min-height: 300px;
    margin-bottom: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  ul .nav-item {
    padding: 0.3rem 0;
  }

  .navbar-nav {
    padding: 1rem;
    background: #32363e;
    margin-top: 2rem;
  }

  .navbar-toggler {
    color: #fff;
    border-color: transparent;
  }

  span.navbar-toggler-icon {
    background: transparent;
  }

  span.navbar-toggler-icon svg {
    font-size: 1.4rem;
    margin-top: 0.2rem;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .heroimage {
    height: unset;
    padding: 6rem 0 0;
  }

  .heroimage .col-lg-5 {
    order: 1;
  }

  .heroimage .col-lg-7 {
    order: 2;
  }

  .heroimage .image-avatar {
    width: 55%;
    margin: auto;
    padding-bottom: 4rem;
  }

  .heroimage .profile {
    text-align: center;
  }

  .heroimage .profile .cta {
    margin: auto;
  }

  .heroimage .profile .cta-card {
    justify-content: center;
  }

  footer .col-sm-12 {
    text-align: center !important;
  }

  footer .col-sm-12 h1 {
    padding: 1rem;
  }

  footer .col:last-child {
    text-align: center !important;
  }

  .heroimage .align-items-center {
    order: 2;
  }
}

@media screen and (max-width: 500px) {
  .experience ul li {
    width: 100%;
    padding-bottom: 2rem;
  }

  .experience ul li:last-child {
    padding-bottom: 0;
  }

  .content-text {
    text-align: center;
    padding-top: 2rem;
  }

  .avatar-images {
    width: 80%;
    margin: auto;
    padding: 2rem;
  }

  .experience .skills ul li {
    width: 50%;
  }

  .experience .skills ul li:last-child {
    padding-bottom: 2rem;
  }

  .title-section {
    text-align: center;
  }

  .heroimage .col-lg-5 {
    display: none;
  }

  .heroimage {
    padding: 8rem 0 0;
  }

  .service .card {
    min-height: unset;
    text-align: center;
  }

  .portfolio .tab-content ul li {
    width: 100%;
    padding: 1rem;
  }

  .profile h1 {
    padding: 3rem 0;
    font-size: 2.4rem;
    line-height: 3.1rem;

  }

  .heroimage .image-avatar {
    width: 100%;
    margin: auto;
    padding-bottom: 2rem;
  }

  .heroimage .profile .cta-card {
    flex-direction: column;
  }

  .heroimage .profile .cta-card .btn-brand {
      width: 100%;
      order: 2;
      margin-top: 1.5rem;
  }

  .socials {
      padding-left: 0;
      order: 1;
  }

    section {
      padding: 3rem 0 0;
  }

  footer {
    padding-top: 3rem;
  }
}
