:root {
  --background-color: #faf8f1;
  --background-color-ss: #202040;
  --font-color: white;
  --font-color-ss: black;
  --font-color-1: #faeab1;
  --font-color-1-sebelumHover: #faeab188;
  --font-color-2: #e5ba73;
  --font-color-2-sebelumHover: #e5b9737f;
  --font-color-3: #c58940;
  --font-color-3-sebelumHover: #c5894082;
}

[data-theme="dark"] {
  --background-color: #202040;
  --background-color-ss: #faf8f1;
  --font-color: black;
  --font-color-ss: white;
  --font-color-1: #202060;
  --font-color-1-sebelumHover: #2020607b;
  --font-color-2: #602080;
  --font-color-2-sebelumHover: #6020807d;
  --font-color-3: #b030b0;
  --font-color-3-sebelumHover: #b030b07e;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--font-color-ss);
  background: var(--background-color);
  cursor: none;
}

a {
  color: var(--font-color-1-sebelumHover);
  text-decoration: none;
}

a:hover {
  color: var(--font-color-1);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

.container {
  width: 83%;
}

/* ------ */
/* cursor */
/* ------ */
.cursor-dot {
  width: 15px;
  height: 15px;
  background-color: #fe0000e0;
}

.cursor-dot-dua {
  width: 25px;
  height: 25px;
  background-color: #fe000060;
  border: 1px solid #fe0000;
}

.cursor-dot,
.cursor-dot-dua {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

/* ------------------ */
/* Back to top button */
/* ------------------ */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--background-color-ss);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: var(--font-color-3);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--font-color-1);
  color: var(--font-color-ss);
  border: 2px solid var(--background-color-ss);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* --------- */
/* Preloader */
/* --------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--font-color);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--font-color-3);
  border-top-color: var(--font-color);
  border-bottom-color: var(--font-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Disable aos animation delay on mobile devices */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* --------------- */
/* Navigation Menu */
/* --------------- */
.navbar {
  background-color: var(--font-color);
}

.navbar h1 {
  font-family: "Raleway", sans-serif;
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  color: var(--font-color-ss);
}

.navbar .nav-link {
  color: var(--font-color-2);
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

.navbar .nav-link:hover {
  color: var(--font-color-3);
}

.navbar .nav-link.active {
  color: var(--font-color-3);
  font-weight: 600;
}

.navbar #theme-toggle {
  color: var(--font-color-3);
  font-weight: 600;
}

.navbar #theme-toggle:hover {
  font-weight: 700;
}

.navbar .navbar-toggler {
  border: none;
}

.navbar .bx-menu {
  color: var(--font-color-ss);
  font-size: 35px;
}

/* ---- */
/* Home */
/* ---- */
#hero {
  width: 100%;
  height: 100vh;
  background-color: var(--font-color-1);
  background-image: url(/assets/img/hero.png);
  background-size: cover;
  position: relative;
}

@media (min-width: 992px) {
  #hero {
    padding-left: 160px;
  }
}

#hero:before {
  content: "";
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero h1 {
  margin: 0 0 0 -2px;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: var(--font-color-ss);
}

#hero h2 {
  margin-bottom: -10px;
  font-size: 34px;
  font-weight: 700;
  line-height: 56px;
  color: var(--font-color-ss);
}

#hero p {
  color: var(--font-color-ss);
  margin: 15px 0 0 0;
  font-size: 26px;
  font-family: "Poppins", sans-serif;
}

#hero p span {
  color: var(--font-color-3);
  letter-spacing: 1px;
}

#hero .links {
  margin-top: 20px;
  z-index: 99;
}

#hero .links a {
  font-size: 22px;
  display: inline-block;
  color: var(--font-color-ss);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
  background: var(--font-color-2-sebelumHover);
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 10px 1px 8px 1px;
}

#hero .links a:hover {
  color: var(--background-color);
  background: var(--font-color-2);
}

@media (max-width: 992px) {
  #hero {
    text-align: center;
  }

  #hero h1 {
    font-size: 32px;
    line-height: 36px;
  }

  #hero h2 {
    margin-bottom: -10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 56px;
    color: var(--font-color-ss);
  }

  #hero p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }
}

#hero .container {
  width: 100%;
}

.custom-shape-divider-bottom-1708598283 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom-1708598283 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 109px;
}

.custom-shape-divider-bottom-1708598283 .shape-fill {
  fill: var(--background-color);
}

/* ---------------- */
/* Sections General */
/* ---------------- */
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 15px;
  position: relative;
  color: var(--font-color-ss);
}

.section-title p {
  margin-bottom: 0;
}

/* ----- */
/* About */
/* ----- */
.about .content h3 {
  font-weight: 700;
  font-size: 32px;
  color: var(--background-color-ss);
}

.about .content p {
  margin-bottom: 0;
  text-align: justify;
}

.about .content .biodata {
  border: 2px solid var(--font-color-3);
  border-top: none;
  border-left: none;
  border-radius: 0 5px 5px 5px;
}

.about .content .biodata h4 {
  font-weight: 700;
  color: var(--background-color-ss);
  font-size: 18px;
  text-align: left;
  margin: 0;
  margin-top: 10px;
}

.about .content .biodata p {
  font-weight: 600;
  font-size: 15px;
  color: var(--font-color-ss);
  text-align: left;
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .about .row {
    text-align: center;
  }
}

/* ------ */
/* Skills */
/* ------ */
.skills .progress {
  display: block;
  background: none;
  border-radius: 0;
  margin-bottom: 10px;
  height: auto;
  width: 95%;
  justify-content: center;
}

.skills .section-title p {
  width: 80%;
  margin: 0 auto;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0;
  text-transform: uppercase;
  display: block;
  font-size: 16px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: var(--background-color-ss);
  word-wrap: wrap;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: var(--font-color);
}

.skills .progress-bar {
  width: 1px;
  height: 11px;
  transition: 0.9s;
  background-color: var(--font-color-2);
}

.skills .progress ul {
  margin-top: 10px;
  margin-left: -10px;
  font-size: 15px;
  text-align: justify;
}

@media (max-width: 992px) {
  .skills .section-title p {
    width: 90%;
    margin: 0 auto;
  }

  .skills .progress .skill .val {
    margin-top: 10px;
  }

  .skills .progress ul {
    margin-top: 10px;
    margin-left: -10px;
    font-size: 15px;
    text-align: left;
  }
}

/* ------ */
/* Resume */
/* ------ */
.resume {
  position: relative;
  padding: 45px 0 15px 0;
}

.resume .timeline {
  position: relative;
  width: 100%;
}

.resume .timeline::after {
  content: "";
  position: absolute;
  width: 3px;
  background: var(--font-color-3);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.resume .timeline .timeline-item {
  position: relative;
  background: inherit;
  width: 50%;
  margin-bottom: 30px;
}

.resume .timeline .timeline-item.left {
  left: 0;
  padding-right: 30px;
}

.resume .timeline .timeline-item.right {
  left: 50%;
  padding-left: 30px;
}

.resume .timeline .timeline-item::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 48px;
  right: -8px;
  background: var(--background-color);
  border: 3px solid var(--font-color-3);
  border-radius: 16px;
  z-index: 1;
}

.resume .timeline .timeline-item.right::after {
  left: -8px;
}

.resume .timeline .timeline-item::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 46px;
  right: 10px;
  z-index: 1;
  border: 10px solid;
  border-color: transparent transparent transparent var(--font-color-3-sebelumHover);
}

.resume .timeline .timeline-item.right::before {
  left: 10px;
  border-color: transparent var(--font-color-3-sebelumHover) transparent transparent;
}

.resume .timeline .timeline-date {
  position: absolute;
  width: 100%;
  top: 44px;
  font-size: 17px;
  font-weight: 700;
  color: var(--font-color-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.resume .timeline .timeline-item.left .timeline-date {
  text-align: left;
  left: calc(100% + 55px);
}

.resume .timeline .timeline-item.right .timeline-date {
  text-align: right;
  right: calc(100% + 55px);
}

.resume .timeline .timeline-text {
  padding: 30px;
  background: var(--background-color);
  position: relative;
  border-right: 5px solid var(--font-color-3-sebelumHover);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.19);
  transition: all 0.5s;
}

.resume .timeline .timeline-text:hover {
  padding: 30px;
  background: var(--background-color-ss);
  color: var(--background-color);
  position: relative;
  border-right: 5px solid var(--font-color-3-sebelumHover);
}

.resume .timeline .timeline-item.right .timeline-text {
  border-right: none;
  border-left: 5px solid var(--font-color-3-sebelumHover);
}

.resume .timeline .timeline-text h2 {
  margin: 0 0 5px 0;
  font-size: 22px;
  font-weight: 600;
}

.resume .timeline .timeline-text h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
}

.resume .timeline .timeline-text p {
  margin: 0;
  font-size: 16px;
}

@media (max-width: 767.98px) {
  .resume .timeline::after {
    left: 8px;
  }

  .resume .timeline .timeline-item {
    width: 100%;
    padding-left: 38px;
  }

  .resume .timeline .timeline-item.left {
    padding-right: 0;
  }

  .resume .timeline .timeline-item.right {
    left: 0%;
    padding-left: 38px;
  }

  .resume .timeline .timeline-item.left::after,
  .resume .timeline .timeline-item.right::after {
    left: 0;
  }

  .resume .timeline .timeline-item.left::before,
  .resume .timeline .timeline-item.right::before {
    left: 18px;
    border-color: transparent var(--font-color-3-sebelumHover) transparent transparent;
  }

  .resume .timeline .timeline-item.left .timeline-date,
  .resume .timeline .timeline-item.right .timeline-date {
    position: relative;
    top: 0;
    right: auto;
    left: 0;
    text-align: left;
    margin-bottom: 10px;
  }

  .resume .timeline .timeline-item.left .timeline-text,
  .resume .timeline .timeline-item.right .timeline-text {
    border-right: none;
    border-left: 5px solid var(--font-color-3-sebelumHover);
  }
}

/* --------- */
/* Portfolio */
/* --------- */
.portfolio {
  position: relative;
  padding: 45px 0 15px 0;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
  box-sizing: border-box;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 5px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--font-color-2);
  margin-bottom: 5px;
  transition: all 0.4s ease-in-out;
  box-sizing: border-box;
  margin: 0 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: var(--font-color-3);
  font-weight: 800;
  font-size: 16px;
  border-bottom: 2px solid var(--font-color-3);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-item,
.portfolio .portfolio-wrap {
  position: relative;
}

.portfolio .portfolio-img {
  position: relative;
  border: 1px solid var(--font-color-3);
  border-radius: 5px;
  overflow: hidden;
}

.portfolio .portfolio-img img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  border-radius: 5px;
  transition: 0.5s;
}

.portfolio .portfolio-item:hover img {
  margin-left: 15px;
}

.portfolio .portfolio-text {
  position: relative;
  height: auto;
  width: calc(100% - 30px);
  margin: -30px 15px 30px 15px;
  display: flex;
  align-items: center;
  background: var(--background-color);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--font-color-3);
  border-radius: 5px;
  color: var(--background-color-ss);
}

.portfolio .portfolio-text h3 {
  width: calc(100% - 70px);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 0 15px;
  white-space: wrap;
  overflow: hidden;
  padding: 5px;
}

.portfolio .portfolio-text a.btn {
  width: 50px;
  height: 50px;
  padding: 0 0 2px 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 100;
  border-radius: 5px;
  border-color: var(--font-color-3);
  margin: 7px;
  color: var(--font-color-ss);
}

.portfolio .portfolio-item:hover a.btn {
  color: var(--font-color);
  background: transparent;
  box-shadow: inset 0 0 0 0 var(--font-color-3);
  background-color: var(--font-color-3-sebelumHover);
  border-color: var(--background-color);
}

.portfolio .modal .modal-content {
  border: 1px solid var(--background-color);
  border-radius: 7px 2px 7px 2px;
  background-color: var(--background-color-ss);
}

.portfolio .modal .modal-content h5 {
  font-weight: 700;
  font-size: 20px;
  color: var(--background-color);
}

.portfolio .modal .modal-content {
  text-align: justify;
  color: var(--font-color);
}
.portfolio .modal .modal-footer a {
  font-size: 17px;
  color: var(--background-color);
  transition: 0.3s;
  background: var(--font-color-2);
  padding: 3px 7px;
  font-weight: 400;
  border: 1px solid var(--background-color);
  border-radius: 10px 1px 8px 1px;
}

.portfolio .modal .modal-footer a:hover {
  background: var(--font-color-2);
  border: 1px solid var(--background-color);
}
.portfolio .sertifikat .modal-dialog {
  max-width: 900px;
  margin-top: 10px;
}
.portfolio .sertifikat img {
  margin: 15px;
}

/* ------- */
/* Contact */
/* ------- */
.contact .contact-form {
  width: 100%;
  background: var(--background-color);
}

.contact .contact-form .form-group {
  padding-bottom: 8px;
}

.contact .contact-form .error-message {
  display: none;
  color: var(--font-color-ss);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .contact-form .error-message br + br {
  margin-top: 25px;
}

.contact .contact-form .sent-message {
  display: none;
  color: var(--font-color-ss);
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .contact-form .loading {
  display: none;
  background: var(--font-color-1);
  text-align: center;
  padding: 15px;
  border-radius: 4px;
  font-weight: 600;
}

.contact .contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--font-color-3);
  border-top-color: var(--font-color);
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .contact-form input,
.contact .contact-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 17px;
  border: 1px solid var(--font-color-3);
  background-color: var(--font-color-1);
  color: var(--background-color-ss);
}

.contact .contact-form input {
  height: 44px;
}

.contact .contact-form textarea {
  padding: 10px 12px;
}

.contact .contact-form button[type="submit"] {
  background: var(--font-color-1);
  border: 0;
  padding: 10px 35px;
  color: var(--background-color-ss);
  border: 1px solid var(--font-color-3);
  transition: 0.4s;
  border-radius: 50px;
}

.contact .contact-form button[type="submit"]:hover {
  background: var(--font-color-3);
  color: var(--background-color);
}

.contact .contact-form input::-webkit-input-placeholder,
.contact .contact-form textarea::-webkit-input-placeholder {
  color: var(--background-color-ss);
}

.contact .contact-form input:-moz-input-placeholder,
.contact .contact-form textarea:-moz-input-placeholder {
  color: var(--background-color-ss);
}

.contact .contact-form input:-ms-input-placeholder,
.contact .contact-form textarea:-ms-input-placeholder {
  color: var(--background-color-ss);
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ------ */
/* Footer */
/* ------ */
#footer {
  background: var(--font-color-1);
  color: var(--background-color-ss);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 20px 0 15px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--font-color-2);
  color: var(--font-color);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: var(--font-color-3);
  color: var(--font-color);
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
  color: var(--background-color-ss);
}

#footer .credits {
  font-size: 13px;
  color: var(--background-color-ss);
}

#footer .credits a {
  color: var(--font-color-2);
  transition: all 0.3s;
}

#footer .credits a:hover {
  color: var(--background-color-ss);
}
