@font-face {
      font-family: 'ageya';
      src: url(font/Ageya-Regular.otf);
}

@font-face {
      font-family: 'jmh';
      src: url(font/JMH\ Psychedelic\ CAPS.otf);
}

@font-face {
      font-family: 'eckm';
      src: url(font/Eckmannpsych-Medium.ttf);
}

@font-face {
      font-family: 'aest';
      src: url(font/modernaesthetic.otf);
}

/*--------------- basic styling --------------- */
html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      font-family: "Roboto Mono" !important;
      background: #0f0f0f !important;
      color: #fff !important;
}

.whitespace {
      width: 100%;
      height: 100px;
}

@media(max-width: 768px) {
      .whitespace {
            display: none;
      }
}

/*--------------- typewriter effect --------------- */
.line {
      width: 24em;
      top: 50%;
      margin: auto;
      border-right: 2px solid rgba(255, 255, 255, 0.75);
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      transform: translateY(-50%);
}

.anim-typewriter {
      animation: typewriter 4s steps(40) 1s 1 normal both,
      blinkTextCussor 500ms steps(40) infinite normal;
}

@keyframes typewriter {
      from {
            width: 0;
      }
      to {
            width: 16em;
      }
}

@media(max-width: 768px) {
      @keyframes typewriter {
            from {
                  width: 0;
            }
            to {
                  width: 17em;
            }
      }
}

@keyframes blinkTextCussor {
      from {
            border-right-color: rgba(255, 255, 255, 0.75);
      }
      to {
            border-right-color: transparent;
      }
}

/*--------------- navigation --------------- */
nav {
      width: 100%;
      background: #0f0f0f;
      height: 80px;
      position: fixed;
      z-index: 1;
}

nav #brand {
      float: left;
      display: block;
      margin-left: 82px;
      line-height: 80px;
      font-weight: bold;
}

nav #brand a {
      color: #fff;
      transition: all 0.3s ease-out;
}

nav #brand a:hover {
      text-decoration: none;
}

nav #menu {
      float: left;
      right: 80px;
      position: fixed;
}

nav #menu li {
      padding-left: 40px;
      display: inline-block;
      cursor: pointer;
      font-weight: 300;
      line-height: 80px;
      position: relative;
      transition: all 0.3s ease-out;
}

nav #menu li span {
      font-weight: 700;
}

nav #menu li a {
      color: #fff;
}

nav #menu li a:hover {
      text-decoration: none;
}

#toggle {
      position: absolute;
      right: 30px;
      top: 20px;
      font-weight: 300;
      z-index: 2;
      width: 30px;
      height: 30px;
      cursor: pointer;
      float: right;
      transition: all 0.3s ease-out;
      visibility: hidden;
      opacity: 0;
}

.close-btn {
      position: absolute;
      right: 16px;
      font-weight: 300;
      z-index: 2;
      cursor: pointer;
      top: -2px;
      line-height: 80px;
}

@media (max-width: 768px) {
      /* Mengubah posisi .close-btn menjadi lebih ke kiri pada tampilan mobile */
      .close-btn {
        right: auto;
        left: 16px;
      }
    }

#resize {
      z-index: 1;
      top: 0px;
      position: fixed;
      background: #0f0f0f;
      width: 100%;
      height: 100%;
      visibility: hidden;
      opacity: 0;
      transition: all 1s ease-out;
}

#resize #menu {
      height: 90px;
      position: absolute;
      left: 45%;
      transform: translateX(-40%);
      text-align: center;
      display: table-cell;
      vertical-align: center;
}

#resize #menu li {
      display: block;
      text-align: center;
      padding: 10px 0;
      font-size: 50px;
      min-height: 50px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease-out;
}

#resize li:nth-child(1) {
      margin-top: 140px;
}

#resize #menu li a {
      color: #fff;
}

#resize #menu li a:hover {
      text-decoration: none;
}

#resize.active {
      visibility: visible;
      opacity: 1;
}

@media(max-width: 768px) {
      #toggle {
            visibility: visible;
            opacity: 1;
            margin-top: 6px;
            margin-right: 60px;
      }

      nav #brand {
            margin-left: 24px;
      }

      #menu a {
            font-size: 20px;
            font-weight: 300;
      }

      #resize li span {
            font-weight: bolder;
      }

      nav #menu {
            display: none;
      }
}

@media(min-width: 768px) {
      #resize {
            visibility: hidden !important;
      }
}

/*--------------- hero section --------------- */
.hero {
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
}

.hero h1 {
      font-weight: lighter;
      text-align: center;
      letter-spacing: -2px;
      line-height: 58px;
}

@media(max-width: 768px) {
      .header h1 {
            font-size: 26px;
      }
}

.new-class {
      font-family: 'eckm';
      text-align: center;
      font-size: 100px;
      margin-bottom: 20px;
    }

    @media (max-width: 768px) {
      /* Mengubah font-size dan tata letak pada .new-class untuk tampilan mobile */
      .new-class {
        padding: auto;
        font-size: 90px;
        margin-bottom: 20px;
      }
    }
    .container {
      max-width: 114rem;
      margin: 0 auto;
      width: calc(100% - 2rem);
      padding: 0 1rem;
    }
    
    #skills {
      padding: 4rem 0;
      height: 100%;
      min-height: 100vh;
    }
    
    .section-heading {
      font-family: "Roboto Mono" !important;
      top: 5px;
      padding: 1rem 0;
      text-align: center;
      color: var(--white);
      font-size: 2rem;
      position: relative;
    }
    
    .section-heading::after,
    .section-heading::before {
      position: absolute;
      content: '';
      left: 50%;
      transform: translateX(-50%);
      bottom: 0.3rem;
    }
    
    .section-heading::after {
      width: 1.8rem;
      height: 1.8rem;
      background: var(--section-after);
      border: 0.3rem solid var(--bg);
      bottom: -0.4rem;
    }
    
    .section-heading::before {
      width: 15rem;
      height: 0.4rem;
      background: var(--white);
      border-radius: 1rem;
    }
    
    .progress_container {
      top: -140px;
      font-family: "Roboto Mono" !important;
      padding: 1rem 0;
      position: relative;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      gap: 1rem;
      font-size: 2.5rem;
      color: var(--white);
      text-align: center;
      left: 20px;
    }
    
    .progress_container .box {
      width: 100%;
      display: flex;
      gap: 1rem;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    
    .box:first-child {
      padding: 3rem 1rem;
      background: var(--box);
    }
    
    .box img {
      width: 12rem;
    }
    
    .item-heading {
      font-size: 2.5rem;
    }
    
    .skill {
      position: relative;
    }
    
    svg {
      margin-left: 100px;
      width: 20rem;
      height: 20rem;
      transform: rotate(278deg);
      transform-origin: center;
    }
    
    circle {
      stroke-width: 1.5rem;
      fill: none;
      transition: all 0.5s ease;
    }
    
    circle:nth-child(1) {
      stroke: var(--circle-bg);
      filter: drop-shadow(0 0 0.001rem var(--white));
    }
    
    .progress {
      stroke: var(--stroke);
      position: relative;
      z-index: 1;
      transition: var(--transition);
      stroke-dasharray: var(--stroke-dasharray);
      stroke-dashoffset: var(--stroke-dasharray);
      animation: progress var(--animation-time) ease-in forwards;
      --webkit-stroke-position: inside;
      stroke-linecap: round;
    }
    
    @keyframes progress {
      to {
        stroke-dashoffset: var(--stroke-dashoffset);
      }
    }
    
    .skill .data-progress {
      position: absolute;
      color: var(--white);
      font-size: 2.5rem;
      left: 38%;
      right: 100%;
      top: 55%;

    }
    

    .box strong {
      font-size: 1rem;
      letter-spacing: 0.2rem;
      margin-left: -40px;
    }
    
.section-heading {
  margin-top: -80px; /* Ubah angka sesuai dengan kebutuhan Anda */
}

@media (max-width: 600px) {
      .progress_container {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .box {
        width: 100%;
        margin-bottom: -160px; /* Sesuaikan jarak antara elemen dengan angka yang diinginkan */
      }
      .box:nth-child(3) {
            margin-top: 50px; /* Sesuaikan jarak yang diinginkan untuk menurunkan elemen "Swift" */
          }
    }



.wrapper1{
  margin-top: 0px;
  position: relative;
  align-items: center;
  margin-left: 460px;
  margin-right: 460px;
  padding: 4rem 0;
}

@media (max-width: 1024px) {
      /* Mengubah margin-left dan margin-right ke nilai yang lebih kecil untuk tampilan mobile */
      .wrapper1 {
        margin-left: 50px;
        margin-right: 50px;
      }
    }


.wrapper1 i{
  top: 50%;
  height: 45px;
  width: 46px;
  cursor: pointer;
  position: absolute;
  font-size: 1.2rem;
  text-align: center;
  line-height: 46px;
  background: #000000;
  border-radius: 50%;
  transform: translateY(-50%);
}
.wrapper1 i:first-child{
  left: -23px;
  display: none;
}
.wrapper1 i:last-child{
  right: -23px;
}
.wrapper1 .carousel{
  font-size: 0px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}
.carousel.dragging{
  cursor: grab;
  scroll-behavior: auto;
}
.carousel.dragging img{
  pointer-events: none;
}
.carousel img{
  height: 340px;
  object-fit: cover;
  margin-left: 15px;
  width: calc(100% / 3);
  border-radius: 20px;
}
.carousel img:first-child{
  margin-left: 0pc;
}

@media screen and (max-width: 900px) {
  .carousel img{
    width: calc(100% / 3);
  }
}
@media screen and (max-width: 550px) {
  .carousel img{
    width: 100%;
  }
}


/*--------------- projects section --------------- */
h6 {
      text-align: center;
}

.vertical {
      margin-top: 40px;
      border-left: 1px solid #fff;
      height: 80px;
      position: absolute;
      left: 50%;
}

.project {
      height: 500px;
}

.project1 {
      background: url(https://images.unsplash.com/photo-1540349220179-09d3866f2e74?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2600&q=80) no-repeat 50% 50%;
      background-size: cover;
}

.project1::after {
      content: "timeless flow.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 8%;
      left: -60%;
      right: 0;
      bottom: 0;
}

.project2 {
      background: url(https://images.unsplash.com/photo-1468870045442-e7d799d8c98a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2448&q=80) no-repeat 50% 50%;
      background-size: cover;
}

.project2::after {
      content: "foretime.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 80%;
      left: 90%;
      right: 0;
      bottom: 0;
}

.project3 {
      background: url(https://images.unsplash.com/photo-1482501157762-56897a411e05?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1650&q=80) no-repeat 50% 50%;
      background-size: cover;
}

.project3::after {
      content: "never again.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 80%;
      left: -50%;
      right: 0;
      bottom: 0;
}

.project4 {
      background: url(https://images.unsplash.com/photo-1435685813800-51ba4ceb9c4a?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1785&q=80) no-repeat 50% 50%;
      background-size: cover;
}

.project4::after {
      content: "departure.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 10%;
      left: 90%;
      right: 0;
      bottom: 0;
}

@media(max-width: 768px) {
      .project {
            width: 90% !important;
            margin: 14px auto;
      }

      .vertical {
            display: none;
      }

      .project1::after, .project2::after, .project3::after, .project4::after {
            display: none;
      }
}

/*--------------- footer section --------------- */
.collab {
      text-align: right;
}

.collab p {
      font-weight: lighter !important;
      margin-bottom: 20px;
}

.hr {
      background: rgba(255, 255, 255, 0.2);
      height: 1px;
}

.info h4 {
      font-size: 18px;
      font-weight: lighter;
}

.info p {
      color: grey;
      font-weight: lighter;
}

.info li {
      font-weight: lighter;
      color: #fff;
      font-size: 18px;
      padding-left: 20px;
}

#fb::before {
      display: inline-block;
      content: '';
      border-radius: 100%;
      height: 4px;
      width: 4px;
      margin-right: 6px;
      background: #3b5998;
}


#ig::before {
      display: inline-block;
      content: '';
      border-radius: 100%;
      height: 4px;
      width: 4px;
      margin-right: 6px;
      background: #fcaf45;
}


#tw::before {
      display: inline-block;
      content: '';
      border-radius: 100%;
      height: 4px;
      width: 4px;
      margin-right: 6px;
      background: #55acee;
}


#yt::before {
      display: inline-block;
      content: '';
      border-radius: 100%;
      height: 4px;
      width: 4px;
      margin-right: 6px;
      background: #c4302b;
}

#media, #address {
      text-align: right;
}

#media ul {
      list-style: none;
}

#media ul li {
      display: inline-block;
}

@media(max-width: 768px) {
      .collab, #personal, #media, #address {
            text-align: center;
      }

      .info ul {
            margin: 0 0 0 -22px;
            padding: 0;
      }
}

/*--------------- work page --------------- */

.hero-content {
      margin-left: 0%;
}

.hero-content p {
      font-weight: 300;
      line-height: 36px;
      color: grey;
}

.hero-content h6 {
      text-align: left;
}

@media(max-width: 768px) {
      .hero-content {
            padding-top: 50px;
            width: 96%;
            margin: 0 auto;
      }
}

/*---------------about page --------------- */

.about {
      height: 500px;
      margin-top: 120px;
}

.image {
      background: url(https://images.unsplash.com/photo-1540885762261-a2ca01f290f9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2468&q=80) no-repeat 50% 70%;
}

/*--------------- contact form --------------- */

#contact-form {
      margin: 5% 1.4%;
}

#contact-form ul {
      list-style: none;
      border-radius: 5px;
      margin-bottom: 40px;
}

#contact-form li {
      padding: 10px;
}

#contact-form li:last-of-type {
      border-bottom: none;
}

#contact-form label {
      display: block;
      font-size: .8em;
      color: #999;
      padding-left: 5px;
}

#contact-form input, #contact-form textarea {
      width: 100%;
      padding: 5px;
      border: none;
      resize: vertical;
      background: transparent;
      color: #fff;
      font-weight: bolder;
}

input:focus {
      outline: none;
      border: none;
}

textarea:focus {
      outline: none;
      border: none;
}

.textarea {
      border-bottom: 1px solid #dfdfdf;
}

.send {
      margin-left: 50px;
      text-transform: uppercase;
      padding: 20px 30px;
      background: transparent;
      color: #dfdfdf;
      font-size: 14px;
      letter-spacing: 2px;
}

.send:hover {
      background: #dfdfdf;
      color: #101010;
}

@media(max-width: 768px) {
      #contact-form {
            margin: 5% -8%;
            width: 98%;
      }
}

/*--------------- project page --------------- */

.prev, .next p {
      color: grey;
}

.prev p {
      text-align: left;
}

.next p {
      text-align: right;
}

/* TESTIMONIALS */
.testimonials {
      padding: 4rem 0;
      padding-left: 370px;
      padding-right: 370px;
      margin-top: -600px; /* Penyesuaian posisi ke atas */
      margin-bottom: 0px; /* Penyesuaian posisi ke atas */
    }
    
    /* Media query untuk perangkat mobile */
    @media (max-width: 1080px) {
      .testimonials {
        padding: 50px; /* Ubah padding sesuai kebutuhan pada perangkat mobile */
        padding-left: 20px; /* Ubah padding sesuai kebutuhan pada perangkat mobile */
        padding-right: 20px; /* Ubah padding sesuai kebutuhan pada perangkat mobile */
        margin-top: 20px; /* Penyesuaian posisi ke atas pada perangkat mobile */
        margin-bottom: 20px; /* Penyesuaian posisi ke atas pada perangkat mobile */
      }
    }
    
    .testimonials-item {
      position: center;
      top: 25px;
      background-color: hsl(0, 0%, 8%);
      padding: 30px;
      border-radius: 20px;
      margin-bottom: 60px;
    }
    
    .testimonials-container {
      max-width: 1170px;
      margin: auto;
      padding: 0 15px;
    }
    
    .testimonials-item .info {
      display: flex;
      align-items: center;
    }
    
    .testimonials-item img {
      max-width: 80px;
      border-radius: 50%;
      margin-right: 20px;
      vertical-align: middle;
    }
    
    .testimonials-item .name {
      font-size: 24px;
      text-transform: capitalize;
      font-weight: 600;
      color: hsl(0, 0%, 100%);
      line-height: 1.2;
    }
    
    .testimonials-item .job {
      font-size: 15px;
      text-transform: capitalize;
      color: hsl(0, 0%, 67%);
    }
    
    .testimonials-item p {
      margin-top: 20px;
      color: hsl(0, 0%, 100%);
    }
    
    .testimonials-item .rating {
      margin-top: 15px;
      font-size: 14px;
      color: hsl(36, 88%, 66%);
    }
    
    .testimonials .swiper-pagination {
      position: relative;
      margin-top: -20px;
      bottom: auto;
    }
    
    .testimonials .swiper-pagination-bullet {
      height: 12px;
      width: 12px;
      background-color: hsl(0, 0%, 100%);
    }

    .testimonials .heading {
      text-align: center;
    }
    
    .testimonials .heading h2 {
      font-size: 32px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    
    .testimonials .heading span {
      font-size: 16px;
      color: hsl(0, 0%, 40%);
    }