@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Kode+Mono:wght@400..700&display=swap');


:root {
  --main-text: #f5d061;
  --nested-background: #38393a;
}

body::-webkit-scrollbar {
  display: none;
  /* Hides the scrollbar */
}

.main-background {
  background-color: #17181a;

}

.main-container-radius {
  border-radius: 1rem;
}

.text-background {
  background-color: var(--main-text);
}


.sub-background {
  background-color: #222324;

}

.nested-background {
  background-color: #2c2d2e;

}

.main-text {
  color: #f5d061;
}

.nested-text {
  color: #2c2d2e;
}


.nested-border {
  border: 1px solid #2c2d2e;

}



body {
  user-select: none;
  font-size: 0.95rem;
  /* overflow: hidden; */
  /* cursor: none; */

}

.no-background {
  background: none;
}

.section-head {
  font-size: 0.7rem;
}

.poppins-regular {
  font-family: "Poppins", system-ui;
  font-weight: 400;
  font-style: normal;
}

.nav-sm {

  height: 4rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.5rem);
  z-index: 10;

}

.nav-lg {
  width: 5rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sidebar-toggle-icon {
  width: 3rem;
  height: 3rem;
  background-color: #222324;
}

.close-btn {
  height: 2.5rem;
  width: 2.5rem;
}

/* .offcanvas {
  width: auto;
} */


.icon-bg {
  width: 2.4rem;
  height: 2.4rem;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

.icon-bg:hover {
  color: var(--main-text);

  background-color: #2c2d2e;
}

.icon-bg-share {
  width: 2.4rem;
  height: 2.4rem;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

.icon-bg-share:hover {
  background-color: #2c2d2e;
}

.main-container {
  margin-left: 7rem;

}

@media (max-width: 991.98px) {

  #offcanvasRight {
    width: 35vw;
  }

  .main-container {
    margin-left: 0;
  }

  .hero-img {
    max-width: 100%;
    max-height: 100%;

  }
}

.hero-img {
  max-width: 85%;
  max-height: 85%;
}




@media (max-width: 368px) {



  .contact-detail {
    padding: 0;
  }

  section {
    line-height: 1.5rem !important;
  }

}

@media (max-width: 256px) {



  .contact-head {
    margin-right: 1rem;
  }



}

@media (max-width: 500px) {



  .project-link {
    padding: 0;
  }

  .project-link:nth-child(2) {
    padding-right: 0.3rem;
  }

  .project-link:nth-child(3) {
    padding-left: 0.3rem;
  }


}



@media (max-width: 275px) {



  .contact-icon {
    display: none;
  }



}



@media (max-width: 425px) {



  #offcanvasRight {
    width: 65vw !important;
  }



}

@media (max-width: 300px) {



  #offcanvasRight {
    width: 100vw !important;
  }



}


/* SKILLS ANIMATION */

.progress-container {

  width: 12rem;
  height: 12rem;
  position: relative;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(0deg);
}

.progress-circle {
  transition: stroke-dasharray 1s ease-out;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke: var(--main-text);
  stroke-width: 1.5;
  fill: transparent;
  stroke-linecap: round;
}





/* SKILL CAROUSEL */

.MultiCarousel {
  float: left;
  overflow: hidden;
  padding: 15px;
  width: 100%;
  position: relative;
}

.MultiCarousel .MultiCarousel-inner {
  transition: 1s ease all;
  float: left;
}

.MultiCarousel .MultiCarousel-inner .item {
  float: left;
}


.MultiCarousel .leftLst,
.MultiCarousel .rightLst {
  position: absolute;
  border-radius: 50%;
  top: calc(50% - 20px);
}

.MultiCarousel .leftLst {
  left: 0;
}

.MultiCarousel .rightLst {
  right: 0;
}

.MultiCarousel .leftLst.over,
.MultiCarousel .rightLst.over {
  pointer-events: none;
  background: #ccc;
}


/* TESTIMONIAL */


.MultiCarouselTestimony {
  float: left;
  overflow: hidden;
  /* padding: 15px; */
  width: 100%;
  position: relative;
  padding: 0;
}

.MultiCarouselTestimony .MultiCarouselTestimony-inner {
  transition: 1s ease all;
  float: left;
}

.MultiCarouselTestimony .MultiCarouselTestimony-inner .item {
  float: left;
}


.MultiCarouselTestimony .leftLst,
.MultiCarouselTestimony .rightLst {
  position: absolute;
  border-radius: 50%;
  top: calc(50% - 20px);
}

.MultiCarouselTestimony .leftLst {
  left: 0;
}

.MultiCarouselTestimony .rightLst {
  right: 0;
}

.MultiCarouselTestimony .leftLst.over,
.MultiCarouselTestimony .rightLst.over {
  pointer-events: none;
  background: #ccc;
}

.testimony-img {
  border-radius: 60% 40% / 50% 70%;
}

.contact-field {
  color: white;
  display: block;
  width: 100%;
}

.contact-field:focus {

  border: none;
  outline: 1px solid var(--main-text);
}

.popover {

  border: none;
  background-color: #222324;
  border-radius: 7rem;
  left: -7px !important;
}

.popover-arrow {
  display: none !important;
}

.social-icon:hover {
  color: var(--main-text) !important;
}


.project-col {
  position: relative;
}

.project-col .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;

}

.project-col img {
  transition: filter 0.3s ease;
}




.cat-btn {
  position: absolute;
  right: 7.5%;
  top: 7.5%;
  color: rgba(236, 236, 236, 0.792);
  opacity: 0;

  transition: opacity 0.3s ease;
}

.cat-btn:hover {
  color: var(--main-text);
}

.project-name {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transform: translate(-50%, calc(-50% + 30px));
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.name-1 {
  font-weight: bold;
  /* font-family: "Kode Mono", monospace; */

}

.name-2 {
  /* font-family: "Kode Mono", monospace; */
  font-weight: 500;
  font-style: normal;

}


.project-col:hover .overlay {
  opacity: 1;

}

.project-col:hover .project-name {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.project-col:hover .cat-btn {
  opacity: 1;
}

.project-col:hover img {
  filter: blur(1px);
}



@media (max-width: 767.98px) {
  .cat-btn {
    right: 5%;
    top: 5%;

    font-size: x-small;

  }

  #offcanvasRight {
    width: 45vw;
  }

  .name-2 {
    font-size: medium !important;

  }


}


@media (max-width: 575.96px) {
  body {
    font-size: 0.8rem;


  }

  #offcanvasRight {
    width: 50vw;
  }

  .button {
    font-size: small !important;
    width: 160px !important;
  }


  .button .button__icon {
    transform: translateX(109px) !important;
  }

  .button:hover .button__icon {
    width: 155px !important;
    transform: translateX(0) !important;
  }

  .cat-btn {
    right: 4%;
    top: 2%;

    font-size: 0.4rem;

  }

  .button-top {
    right: 3rem !important;
  }



  .name-1 {
    font-size: x-large !important;

  }

  .name-2 {
    font-size: medium !important;


  }


}

/* CUSTOM CURSOR */

.cursor-dot {
  width: 5px;
  height: 5px;
  /* background-color: white; */
  border: 1px solid grey;

}

.cursor-outline {
  height: 30px;
  width: 30px;
  border: 1px solid grey;
}

.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

/* BACKGROUND ANIMATION */

.lines {

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: auto;
  width: 100vw;
  z-index: -10;

}

.line {

  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-right: 1px dashed var(--nested-background);

}

.line::after {

  content: '';
  display: block;
  position: absolute;
  height: 1.5vh;
  width: 100%;
  top: -5%;
  left: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23f5d061' class='bi bi-caret-down-fill' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat;
  color: var(--main-text);
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  transform: translateX(-50%);
  animation-name: drop;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);

}

.line:nth-child(1) {

  margin-left: calc(100% / 5);

}

.line:nth-child(2) {

  margin-left: calc(-100% / 5);

}

.line:nth-child(3) {

  margin-left: calc(100% / 2.5);

}

.line:nth-child(4) {

  margin-left: calc(-100% / 2.5);

}

.line:nth-child(1)::after {

  animation-duration: 30s;
  animation-delay: 9s;

}

.line:nth-child(2)::after {

  animation-delay: 3s;
  animation-duration: 20s;

}

.line:nth-child(3)::after {

  animation-delay: 12s;
  animation-duration: 40s;

}

.line:nth-child(4)::after {

  animation-duration: 45s;
  animation-direction: reverse;

}

.line:nth-child(5)::after {

  animation-delay: 6s;
  animation-duration: 20s;
  animation-direction: reverse;

}

@keyframes drop {

  0% {
    top: -5%;
  }

  100% {
    top: 105%;
  }

}

.bi-arrow-left-circle,
.bi-arrow-right-circle {

  transition: color 0.3s ease;

}

.bi-arrow-left-circle:hover,
.bi-arrow-right-circle:hover {

  color: var(--main-text);

}



.tooltip-inner {
  background-color: var(--nested-background);
  /* Change this to match the tooltip background */
  color: white;
  /* Change text color if needed */
}

.tooltip .tooltip-arrow {
  display: none;
}



@media (max-width: 390px) {






  .name-1 {
    font-size: large !important;

  }

  .name-2 {
    font-size: xx-small !important;


  }


}





@media (max-width: 275px) {




  .name-1 {
    font-size: medium !important;

  }




}







/* From Uiverse.io by andrew-demchenk0 */
.button {
  position: relative;
  width: 175px;
  height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: 1px solid var(--main-text);
  background-color: transparent;
  overflow: hidden;
}

.button,
.button__icon,
.button__text {
  transition: all 0.3s;
}

.button .button__text {
  transform: translateX(10px);
  color: #fff;
  font-weight: 600;

}

.button .button__icon {
  position: absolute;
  transform: translateX(123px);
  height: 100%;
  width: 45px;
  background-color: var(--main-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.button .svg {
  width: 20px;
  fill: #000;
}

.button:hover {
  background: var(--main-text);
}

.button:hover .button__text {
  color: transparent;
}

.button:hover .button__icon {
  width: 170px;
  transform: translateX(0);
}

.button:active .button__icon {
  background-color: var(--main-text);
}

.button:active {
  border: 1px solid var(--main-text);
}

.mob-social-media:hover {
  color: var(--main-text) !important;
}

/* BACK TO TOP */

.button-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px #a89353;
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
  bottom: 3rem;
  right: 5rem;
  opacity: 0;
  visibility: hidden;
  z-index: 100;

}

.button-top.show {
  opacity: 1;
  visibility: visible;
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

/* OFFCANVAS */