@import url("https://fonts.googleapis.com/css2?family=Clicker+Script&family=Lato:wght@300;400;700;900&family=Poppins:wght@200;300;400;500;600;700&display=swap");

:root {
  --bg-black-900: #f2f2fc;
  --bg-black-100: #fdf9ff;
  --bg-black-50: #e8dfec;
  --text-black-900: #000000;
  --text-black-700: #010101;
}

/* Global CSS Start */
* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  box-sizing: border-box;
}

body {
  line-height: 1.5;
  font-size: 16px;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

body.dark {
  --bg-black-900: #151515;
  --bg-black-100: #222222;
  --bg-black-50: #393939;
  --text-black-900: #ffffff;
  --text-black-700: #e9e9e9;
}

::before,
::after {
  box-sizing: border-box;
}

ul {
  list-style: none;
}

.section {
  /* background: var(--bg-black-900); */
  min-height: 100vh;
  display: block;
  padding: 0 30px;
  opacity: 1;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.section.back-section {
  z-index: 1;
}

.section.active {
  z-index: 2;
  opacity: 1;
  animation: slideSection 1s ease;
}

@keyframes slideSection {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0%);
  }
}

.hidden {
  display: none !important;
}

.padd-15 {
  padding-left: 15px;
  padding-right: 15px;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: auto;
}

.section .container {
  padding-top: 60px;
  padding-bottom: 70px;
}

.section-title {
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  color: var(--text-black-900);
  font-weight: 700;
  position: relative;
}

.section-title h2::before {
  content: "";
  height: 4px;
  width: 50px;
  background: var(--skin-color);
  position: absolute;
  left: 0;
  top: 100%;
}

.section-title h2::after {
  content: "";
  height: 4px;
  width: 25px;
  background: var(--skin-color);
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  position: relative;
}

.btn {
  font-size: 16px;
  font-weight: 500;
  padding: 12px 35px;
  color: white;
  border-radius: 40px;
  display: inline-block;
  white-space: nowrap;
  border: 1px solid var(--skin-color);
  background: var(--skin-color);
  transition: all 0.3s ease;
}

.shadow-dark {
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
/* Global CSS End */

/* Aside Start */
.aside {
  width: 240px;
  height: 100%;
  background: var(--bg-black-900);
  position: fixed;
  left: 0;
  top: 0;
  padding: 20px;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.aside .logo {
  position: absolute;
  top: 30px;
  font-size: 30px;
  text-transform: capitalize;
}

.aside .logo a {
  color: var(--text-black-700);
  font-weight: 700;
  padding: 15px 20px;
  font-size: 30px;
  letter-spacing: 5px;
  position: relative;
}

.aside .logo a span {
  font-family: "Clicker Script", cursive;
  font-size: 40px;
}

.aside .logo a::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-bottom: 5px solid var(--skin-color);
  border-left: 5px solid var(--skin-color);
  bottom: 0;
  left: 0;
}

.aside .logo a::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-top: 5px solid var(--skin-color);
  border-right: 5px solid var(--skin-color);
  top: 0;
  right: 0;
}

.aside .nav {
  width: 100%;
  height: 90vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: 31.3px;
}

.aside .nav li {
  margin-bottom: 10px;
}

.aside .nav li a {
  font-size: 80px;
  font-weight: 600;
  color: var(--text-black-900);
  padding: 12px 20px;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
  transform: rotate(-90deg);
  white-space: nowrap;
  text-align: center;
}

.aside .nav li a::before {
  content: "";
  position: absolute;
  width: 100%;
  border-bottom: 6px solid var(--skin-color);
  bottom: 0;
  left: 0;
}

.aside .nav li a.active {
  color: var(--skin-color);
}

.aside .nav li a:hover {
  color: var(--skin-color);
  background-color: transparent;
}

.aside .nav li a i {
  display: none;
}
/* Aside End */

/* Home Start */
.home {
  min-height: 100vh;
  display: flex;
  color: var(--text-black-900);
}

.home .home-info {
  flex: 0 0 60%;
  max-width: 60%;
}

h3.hello {
  font-size: 28px;
  margin: 15px 0;
}

h3.hello span {
  font-size: 30px;
  font-weight: 700;
  color: var(--skin-color);
}

h3.my-profession {
  font-size: 30px;
  margin: 15px 0;
}

.typing {
  color: var(--skin-color);
}

.title {
  font-weight: bold;
}

.secure {
  color: var(--skin-color);
  font-weight: bold;
}

.color {
  color: var(--skin-color);
  font-weight: bold;
}

.undercolor {
  color: var(--skin-color);
  font-weight: bold;
  text-decoration: underline;
}

.underline {
  text-decoration: underline;
}

.home-info p {
  font-size: 20px;
  margin-bottom: 70px;
  color: var(--text-black-700);
}

.home .home-img {
  flex: 0 0 40%;
  max-width: 40%;
  text-align: center;
  position: relative;
}

.home .home-img::before {
  content: "";
  position: absolute;
  height: 80px;
  width: 80px;
  border-left: 10px solid var(--skin-color);
  border-top: 10px solid var(--skin-color);
  left: 20px;
  top: -40px;
}

.home .home-img::after {
  content: "";
  position: absolute;
  height: 80px;
  width: 80px;
  border-right: 10px solid var(--skin-color);
  border-bottom: 10px solid var(--skin-color);
  right: 20px;
  bottom: -40px;
}

.home .home-img img {
  height: 400px;
  margin: auto;
  border-radius: 5px;
}

.tech-logos {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.tech-logos img {
  width: 50px;
  height: 50px;
  filter: blur(10px);
  transition: filter 0.3s ease;
}

#background-video {
  width: 120%;
  height: 120%;
  filter: blur(25px) brightness(50%);
  transition: transform 0.1s ease, filter 0.3s ease;
  position: absolute;
  object-fit: cover;
  top: -10%;
  left: -10%;
  pointer-events: none;
}

.background-overlay-top,
.background-overlay-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--bg-black-900);
  background-image: url('../assets/images/atmosphere.png');
  z-index: 2;
  pointer-events: none;
}

.background-overlay-top {
  top: 0;
  animation: scrollLeft 40s linear infinite;
}

.background-overlay-bottom {
  bottom: 0;
  animation: scrollRight 40s linear infinite;
}

.puzzle-box {
  border-radius: 5px;
  text-align: left;
}

.puzzle-box input {
  padding: 10px;
  width: 80%;
  border: 1px solid #ccc;
  border-radius: 5px;
  border: 1px solid var(--skin-color);
  background-color: var(--bg-black-900);
  color: #ffffff;
}

.puzzle-box button {
  padding: 10px 10px;
  border: 1px solid var(--skin-color);
  background-color: var(--bg-black-900);
  color: #ffffff;
  border-radius: 5px;
  margin-top: 10px;
  cursor: pointer;
}

.puzzle-box button:hover {
  color: var(--bg-black-100);
  background-color: var(--skin-color);
}

#result {
  margin-top: 10px;
  font-weight: bold;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-black-900);
  background-image: url('../assets/images/atmosphere.png');
  animation: scrollRightUp 40s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  /* animation: fadeOut 1s forwards 5s; */
}

.loading-overlay::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-bottom: 5px solid var(--skin-color);
  border-left: 5px solid var(--skin-color);
  bottom: 0;
  left: 0;
}

.loading-overlay::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-top: 5px solid var(--skin-color);
  border-right: 5px solid var(--skin-color);
  top: 0;
  right: 0;
}

.loading-overlay .top-left {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-top: 5px solid var(--skin-color);
  border-left: 5px solid var(--skin-color);
  top: 0;
  left: 0;
}

.loading-overlay .bottom-right {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-bottom: 5px solid var(--skin-color);
  border-right: 5px solid var(--skin-color);
  bottom: 0;
  right: 0;
}

.circle-container {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-black-900);
  border: 1px solid var(--skin-color);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8);
  /* animation: shake 4s ease-in-out 1; */
}

.circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  position: absolute;
  top: 0;
  left: 0;
  animation: rotateCircle 2s linear infinite;
}

.circle path {
  fill: var(--bg-black-900);
  stroke-width: 10;
  stroke-linecap: round;
  stroke: #2571B4;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  transition: stroke-dashoffset 0.5s linear;
}

.circle-text {
  position: absolute;
  font-size: 20px;
  color: #ffffff;
  font-weight: bold;
  z-index: 1;
  text-align: center;
  line-height: 1.5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.glitch-word {
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.glitch-hide {
  opacity: 0;
  filter: blur(3px);
}

@keyframes shake {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  5%   { transform: translate(-5px, 4px) rotate(-2deg); }
  10%  { transform: translate(4px, -5px) rotate(2deg); }
  15%  { transform: translate(-6px, 3px) rotate(-2deg); }
  20%  { transform: translate(3px, -4px) rotate(2deg); }
  25%  { transform: translate(-4px, 5px) rotate(-2deg); }
  30%  { transform: translate(5px, -3px) rotate(2deg); }
  35%  { transform: translate(-3px, 4px) rotate(-2deg); }
  40%  { transform: translate(4px, -5px) rotate(2deg); }
  45%  { transform: translate(-5px, 3px) rotate(-1.5deg); }
  50%  { transform: translate(3px, -4px) rotate(1.5deg); }
  55%  { transform: translate(-4px, 2px) rotate(-1.5deg); }
  60%  { transform: translate(2px, -3px) rotate(1.5deg); }
  65%  { transform: translate(-3px, 1px) rotate(-1deg); }
  70%  { transform: translate(1px, -2px) rotate(1deg); }
  75%  { transform: translate(-2px, 1px) rotate(-0.5deg); }
  80%  { transform: translate(1px, -1px) rotate(0.5deg); }
  85%  { transform: translate(-1px, 1px) rotate(0deg); }
  90%  { transform: translate(0px, 0px) rotate(0deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

@keyframes progress {
  0% {
    stroke-dashoffset: 340;
    stroke: #ffffff;
  }
  50% {
    stroke-dashoffset: 170;
    stroke: #2571B4;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: #2571B4;
  }
}

@keyframes rotateCircle {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
/* Home End */

/* Device Responsive Start */
@media (max-width: 1190px) {
  .aside {
    left: -240px;
  }

  .aside.open {
    left: 0;
  }

  .aside .nav-toggler {
    display: flex;
    left: 30px;
  }

  .aside .nav-toggler.open {
    left: 300px;
  }

  .section {
    left: 0;
  }

  .about .about-content .personal-info .info-item p span {
    display: block;
    margin-left: 0;
  }
}

.style-switcher {
  position: fixed;
  right: 0;
  top: 60px;
  padding: 15px;
  width: 200px;
  border: 1px solid var(--skin-color);
  background: var(--bg-black-100);
  background-image: url('../assets/images/atmosphere.png');
  background-size: 50%;
  animation: scrollRightUp 40s linear infinite;
  z-index: 101;
  border-radius: 4px;
  transition: all 0.3s ease;
  transform: translateX(100%);
  max-height: 150px;
}

.style-switcher.open {
  transform: translateX(-25px);
}

.volume-bar {
  position: fixed;
  left: -1px;
  top: calc(60px + 100px);
  width: 200px;
  background: var(--bg-black-100);
  background-image: url('../assets/images/atmosphere.png');
  background-size: 50%;
  animation: scrollRightUp 40s linear infinite;
  border: 1px solid var(--skin-color);
  padding: 10px;
  border-radius: 4px;
  z-index: 100;
  transition: all 0.3s ease;
}

.volume-bar h4 {
  color: var(--text-black-700);
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: normal;
  text-align: center;
}

.volume-bar input[type="range"] {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: var(--bg-black-300);
  border-radius: 5px;
  outline: none;
  transition: background-color 0.3s ease;
  position: relative;
  border: none;
}

.volume-bar input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: var(--skin-color);
  border-radius: 5px;
  border: none;
}

.volume-bar input[type="range"]::-moz-range-track {
  height: 8px;
  background: var(--skin-color);
  border-radius: 5px;
  border: none;
}

.volume-bar input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--skin-color);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--bg-black-100);
  position: relative;
  margin-top: -7px;
}

.volume-bar input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--skin-color);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--bg-black-100);
}

.volume-bar input[type="range"]::-webkit-slider-thumb:hover {
  background-color: var(--skin-color);
  transform: scale(1.1);
}

.volume-bar input[type="range"]::-moz-range-thumb:hover {
  background-color: var(--skin-color);
  transform: scale(1.1);
}

.style-switcher .s-icon {
  position: absolute;
  height: 42px;
  width: 42px;
  text-align: center;
  font-size: 20px;
  background: var(--bg-black-100);
  color: var(--text-black-900);
  right: 100%;
  border: 1px solid var(--skin-color);
  margin-right: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.style-switcher .s-icon:hover {
  background-color: var(--skin-color);
  color: var(--text-white);
  transform: scale(1.15);
}

.style-switcher .s-icon i {
  line-height: 40px;
}

.style-switcher .style-switcher-toggler {
  top: 0;
}

.style-switcher .day-night {
  top: 55px;
}

.style-switcher .expand {
  top: 110px;
}

.style-switcher .music-play {
  top: 165px;
  /* animation: pulseEffect 1.5s infinite; */
  cursor: pointer;
}

@keyframes pulseEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.style-switcher h4 {
  margin: 0 0 10px;
  color: var(--text-black-700);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-transform: capitalize;
}

.style-switcher .colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: flex-start;
}

.style-switcher .colors span {
  display: inline-block;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  flex: 1 1 calc(25% - 10px);
}

.style-switcher .colors span:hover {
  transform: scale(1.15);
}

.style-switcher .colors .color-1 {
  background: #2571b4;
}

.style-switcher .colors .color-2 {
  background: #f1948a;
}

.style-switcher .colors .color-3 {
  background: #82e0aa;
}

.style-switcher .colors .color-4 {
  background: #f7dc6f;
}

.style-switcher .colors .color-5 {
  background: #bb8fce;
}

.style-switcher .colors .color-6 {
  background: #b2babb;
}

.style-switcher .colors .color-7 {
  background: #f8c471;
}

.style-switcher .colors .color-8 {
  background: #808b96;
}

.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9998;
}

.serious-snowflake {
  position: absolute;
  font-size: 1em;
  color: var(--skin-color);
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
  z-index: 9999;
  animation: Serious-Snow-Fall 10s linear infinite, Serious-Snow-Rotate 10s linear infinite;
}

.blurred {
  filter: blur(5px);
  cursor: pointer;
  transition: filter 0.3s ease;
  user-select: none;
}

.blurred.revealed {
  filter: none;
}

@keyframes scrollLeft {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -1000px 0;
  }
}

@keyframes scrollRight {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes scrollRightUp {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 1000px -1000px;
  }
}

@keyframes Serious-Snow-Fall {
  0% {
    top: -10%;
    left: calc(100% * var(--random-x));
    opacity: 1;
  }
  100% {
    top: 100%;
    left: calc(100% * var(--random-x));
    opacity: 0;
  }
}

@keyframes Serious-Snow-Rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 990px) {

  .contact .contact-info-item,
  .blog .blog-item,
  .portfolio .portfolio-item,
  .service .service-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .home .home-info {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .home .home-img {
    display: none;
  }
}

@media (max-width: 760px) {

  .contact .contact-form .col-6,
  .contact .contact-info-item,
  .blog .blog-item,
  .portfolio .portfolio-item,
  .service .service-item,
  .about .about-content .education,
  .about .about-content .experience,
  .about .about-content .skills,
  .about .about-content .personal-info {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .btn {
    padding: 10px 20px;
  }
}

@media (max-width: 416px) {
  h3.hello {
    font-size: 26px;
  }

  h3.my-profession {
    font-size: 25px;
  }

  .home-info p {
    font-size: 18px;
  }
}

/* Device Responsive End */