*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4458dc;
  --primary-color2: #854fee;
  --title-color: #141313;
  --text-color: #353535;
  --border-color: #201f1f17;
  --gradient-color: linear-gradient(90deg, #4458dc 0%, #854fee 100%);
  --shadow-color: 0px 10px 30px rgba(118, 85, 225, 0.3);
  --box-shadow: 0px 10px 30px rgba(57, 56, 61, 0.205);
  --roboto: "Kodchasan", sans-serif;

  /* custom */
  --nav-bg-color: #01051e;
  --dark-nav-menu-name-color: #66b2ff;
  --nav-menu-font-weight-600: 600;
  --hero-my-name-color: #3399ff;
  --dark-hline-color: #3399ff44;
}

body {
  /* font-family: Verdana, Geneva, Tahoma, sans-serif; */
  /* font-family: "Inter", sans-serif; */
  font-family: "Poppins", sans-serif;
}

.poppins-100 {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.poppins-200 {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.poppins-300 {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.poppins-400 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.poppins-500 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.poppins-600 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-700 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.poppins-800 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.poppins-900 {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.poppins-100i {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.poppins-200i {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.poppins-300i {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.poppins-400i {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.poppins-500i {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.poppins-600i {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.poppins-700i {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.poppins-800i {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.poppins-900i {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}

/* start dark mode */
[data-bs-theme="dark"] {
  color-scheme: dark;
  --bs-body-color: #dee2e6;
  --bs-body-color-rgb: 222, 226, 230;
  --bs-body-bg: #000810;
  --bs-body-bg-rgb: 16, 20, 24;
  --bs-emphasis-color: #fff;
  --bs-emphasis-color-rgb: 255, 255, 255;
  --bs-secondary-color: rgba(222, 226, 230, 0.75);
  --bs-secondary-color-rgb: 222, 226, 230;
  --bs-secondary-bg: #343a40;
  --bs-secondary-bg-rgb: 52, 58, 64;
  --bs-tertiary-color: rgba(222, 226, 230, 0.5);
  --bs-tertiary-color-rgb: 222, 226, 230;
  --bs-tertiary-bg: #2b3035;
  --bs-tertiary-bg-rgb: 43, 48, 53;
  --bs-primary-text-emphasis: #6ea8fe;
  --bs-secondary-text-emphasis: #a7acb1;
  --bs-success-text-emphasis: #75b798;
  --bs-info-text-emphasis: #6edff6;
  --bs-warning-text-emphasis: #ffda6a;
  --bs-danger-text-emphasis: #ea868f;
  --bs-light-text-emphasis: #f8f9fa;
  --bs-dark-text-emphasis: #dee2e6;
  --bs-primary-bg-subtle: #031633;
  --bs-secondary-bg-subtle: #161719;
  --bs-success-bg-subtle: #051b11;
  --bs-info-bg-subtle: #032830;
  --bs-warning-bg-subtle: #332701;
  --bs-danger-bg-subtle: #2c0b0e;
  --bs-light-bg-subtle: #343a40;
  --bs-dark-bg-subtle: #1a1d20;
  --bs-primary-border-subtle: #084298;
  --bs-secondary-border-subtle: #41464b;
  --bs-success-border-subtle: #0f5132;
  --bs-info-border-subtle: #087990;
  --bs-warning-border-subtle: #997404;
  --bs-danger-border-subtle: #842029;
  --bs-light-border-subtle: #495057;
  --bs-dark-border-subtle: #343a40;
  --bs-heading-color: inherit;
  --bs-link-color: #6ea8fe;
  --bs-link-hover-color: #8bb9fe;
  --bs-link-color-rgb: 110, 168, 254;
  --bs-link-hover-color-rgb: 139, 185, 254;
  --bs-code-color: #e685b5;
  --bs-highlight-color: #dee2e6;
  --bs-highlight-bg: #664d03;
  --bs-border-color: #495057;
  --bs-border-color-translucent: rgba(255, 255, 255, 0.15);
  --bs-form-valid-color: #75b798;
  --bs-form-valid-border-color: #75b798;
  --bs-form-invalid-color: #ea868f;
  --bs-form-invalid-border-color: #ea868f;

  /* DARK - nav */
  .navbar {
    background-color: rgb(var(--nav-bg-color), 0.7) !important;
    backdrop-filter: blur(8px) !important;
    border-bottom: 1px solid var(--dark-hline-color);
  }

  .navbar .nav-link,
  .navbar-toggler svg {
    color: var(--dark-nav-menu-name-color) !important;
  }

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

  .nav-link:hover {
    background-color: rgba(51, 153, 255, 0.13);
    border-bottom: 2px solid rgba(51, 153, 255, 0.13);
  }

  #btnThemeSwitch .icon-day {
    display: block;
  }

  #btnThemeSwitch .icon-night {
    display: none;
  }

  /* DARK- collapse */
  .collapse-title-wrap {
    color: #fff !important;
    background-color: #0d1b29 !important;
    border: 1px solid #202831 !important;
    border-radius: 10px !important;
  }

  .collapse-card-content {
    color: #b0b8c4;
    background-color: #0d1b2987 !important;
    border-radius: 0px 0px 10px 10px !important;
  }

  /* DARK- goto-top-link  */
  .goto-top-link {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    color: #b0b8c4;
    background-color: #4b5e71;
    border-radius: 50%;
  }

  .goto-top-link:hover {
    background-color: rgb(59, 74, 89);
  }

  /* DARK- SECTION HERO  */

  .section_home-hero {
    background-color: #000;
    
    /* background-image: radial-gradient(
        white,
        rgba(255, 255, 255, 0.2) 2px,
        transparent 40px
      ),
      radial-gradient(white, rgba(255, 255, 255, 0.15) 1px, transparent 30px),
      radial-gradient(white, rgba(255, 255, 255, 0.1) 2px, transparent 40px),
      radial-gradient(
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.1) 2px,
        transparent 30px
      );
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px; */

    /* box-shadow: 0px 25px 25px 5px rgba(0, 0, 0, 0.95);
    -webkit-box-shadow: 0px 25px 25px 5px rgba(0, 0, 0, 0.95);
    -moz-box-shadow: 0px 25px 25px 5px rgba(0, 0, 0, 0.95); */
  }

  .section_home-hero::after {
    content: "";
    position: absolute;
    background: linear-gradient(transparent, var(--bs-body-bg));
    height: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
    z-index: 1;
  }
}

/* END dark mode */

/* WHITE MODE */

/* SYSTEM- screen-1366px */
.w-full {
  width: 100%;
}

/* system padding */
.spacer-navbar {
  padding-top: 6rem;
}

.padding-section-x-40 {
  padding-inline: 40px;
}

.padding-section-y-40 {
  padding-block: 40px;
}

hr {
  margin: 0;
  margin-block: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  opacity: 0.5;
}

/* system flex */

.d-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* system button */
.btn {
  -webkit-appearance: button;
  overflow: visible;
  position: relative;
}

.btn-site-link::after,
.btn-site-link.bordered::after {
  position: absolute;
  top: -2px;
  left: -2px;
  bottom: -2px;
  right: -2px;
  background: var(--gradient-color);
  content: " ";
  z-index: -1;
  border-radius: 4px;
}

.btn-site-link {
  background: var(--gradient-color);
  background-clip: padding-box;
  color: whitesmoke;
  transition: all 0.6s ease;
  box-shadow: var(--box-shadow);
}

.btn-site-link:hover {
  background: whitesmoke;
  background-clip: padding-box;
  color: black;
}

.btn-site-link a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: inherit !important;
}

.btn-site-link.bordered {
  color: black;
  background: white;
  background-clip: padding-box;
  transition: all 0.6s ease;
}

.btn-site-link.bordered:hover {
  background: var(--gradient-color);
  color: whitesmoke;
  box-shadow: var(--box-shadow);
}

/* NAVBAR */
.navbar-wrap {
  width: 100%;
  position: fixed;
  top: 0;
  transition: transform 0.3s ease-in-out;
  z-index: 999;
}

.navbar {
  padding: 0;
  background-color: white !important;
}

.nav-logo-wrap {
  display: block;
}

.website-logo {
  width: 100%;
  height: 80px;
  display: flex;
  align-content: center;
  justify-content: center;
}

.nav-item {
  width: 100%;
}

.navbar-toggler {
  border: 0px;
}

.navbar .nav-link,
.navbar-toggler svg {
  color: #1f2937;
}

.nav-link {
  height: 100px;
  padding-inline: 20px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.navbar .nav-link.active {
  color: #1f2937;
  font-weight: 600;
}

.nav-link:hover {
  background-color: rgb(237 237 237 / 96%);
  border-bottom: 2px solid black;
}

.navbar-brand {
  display: block;
  width: 100%;
  max-width: 80px;
  border-radius: 50%;
}

.navbar-brand img {
  width: 100%;
  border-radius: 50%;
}

#btnThemeSwitch .icon-day {
  display: none;
}

#btnThemeSwitch .icon-night {
  display: block;
}

/* SECTION_HERO */
#sect-hero-bg-anim {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.section_home-hero {
  position: relative;
  height: 100%;
  overflow: hidden;
  background-color: #000810;
}
.hero-wrap {
  position: relative;
  z-index: 2;
}

.hero_bg {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  z-index: 1;
  max-height: 600px;
}

.hero-wrapper {
  height: 82vh;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  justify-items: center;
}

.hero-left-details {
  color: white;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.hero-inner-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-content: flex-start;
  gap: 20px;

}
.hero-inner-details p {
  margin-bottom: 0px;

}
.hero-title-wrap {
  padding-block: 10px;
  margin-bottom: 10px;
}

.hero-title span {
  color: var(--hero-my-name-color);
  font-weight: var(--nav-menu-font-weight-600);
}

.hero-sub-title {
  height: 45px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
}

.username {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
}

/* hero- contact label */
.contact-lable-wrap {
  position: absolute;
  top: 20px;
  left: auto;
  right: -50%;
  font-family: "Caveat", cursive;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  rotate: 316deg;
}

.contact-lable-wrap img {
  padding-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  rotate: 210deg;
}

.hero-left-top-details,
.hero-right-lottie-wrap {
  pointer-events: none !important;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

/* Animate Lottie Infite */
.hero-right-lottie {
  /* animation: moveInfinite1 60s ease infinite; */
}

@keyframes moveInfinite {
  /** from center point */
  0% {
    transform: translate(0, 0);
    scale: 1.5;
  }

  10% {
    transform: translate(-30px, 30px);
    scale: 1;
  }

  20% {
    transform: translate(60px, -60px);
    scale: 0.9;
  }

  30% {
    transform: translate(-100px, -20px);
    scale: 0.7;
  }

  40% {
    transform: translate(100px, -80px);
    scale: 0.5;
  }

  50% {
    transform: translate(-70px, 10px);
    scale: 0.8;
  }

  60% {
    transform: translate(0px, 0px);
    scale: 1.3;
  }

  70% {
    transform: translate(30px, -80px);
    scale: 0.2;
  }

  80% {
    transform: translate(120px, 100px);
    scale: 0.5;
  }

  90% {
    transform: translate(-50px, 0px);
    scale: 0.9;
  }

  100% {
    transform: translate(0px, 0px);
    scale: 1.5;
  }
}

/* SECTION Experience */

.collapse-title-wrap {
  color: #fff !important;
  background-color: #0d1b29 !important;
  border: 1px solid #202831 !important;
  border-radius: 10px !important;
}

.collapse-card-content {
  padding: 30px 60px;
  /* color: #b0b8c4;
  background-color: #0d1b2936 !important; */
  /* background-color: #fff; */
  border-radius: 0px 0px 10px 10px !important;
}

.collapse-toggle[aria-expanded="false"] .collapse-arrow-down {
  /* default */
  transform: rotate(0deg) !important;
  transition: all 0.5s ease;
}

.collapse-toggle:has(.collapsed) .collapse-arrow-down {
  transform: rotate(0deg);
  transition: all 0.5s ease;
}

.collapse-toggle:not(.collapsed) .collapse-arrow-down {
  transform: rotate(90deg);
  transition: all 0.5s ease;
}

.skill-img-wrap img {
  width: 100%;
  /* max-width: 100px; */
  object-position: center;
  object-fit: cover;
  max-width: 200px;
}

.pro-img-wrap {
  width: 100%;
  height: -webkit-fill-available;
  display: flex;
  justify-content: center;
  transition: all 0.6s ease;
  filter: blur(4px);
  border-radius: 15px;
}

.pro-img-wrap:hover {
  transform: scale(1.1);
  filter: blur(0px);
}

.pro-img-wrap img {
  position: relative;
  width: 100%;
  object-position: center;
  object-fit: cover;
  border-radius: 15px;
}

.skill-col,
.pro-col {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

/* section-footer */

section.section-footer::before {
  content: "";
  background: url(../images/wave-blue.svg) no-repeat;
  position: absolute;
  height: 5rem;
  width: 100%;
  z-index: -1;
  margin-top: -80px;
}

.hline {
  height: 1px;
  background-color: var(--dark-hline-color);
}

/* goTo Top link */
.goto-top-link {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  color: #004c99;
  background-color: #c2e0ff;
  border-radius: 50%;
  z-index: 999;
}

.goto-top-link:hover {
  background-color: #99ccf3;
}

@media (min-width: 767px) {
  /* .section_home-hero {
    height: 100vh;
  } */
}
