/* ///// Google Font link for roboto, poppins, handwritting font ///// */
@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Caveat:wght@400;500;600;700&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,800;1,900&family=Tillana:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  border: none;
  outline-color: none;
  text-decoration: none;
  list-style: none;
  color: white;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}

:root {
  --dark-navy: #020c1b;
  --navy: #0a192f;
  --light-navy: #112240;
  --lightest-navy: #233554;
  --navy-shadow: rgba(2, 12, 27, 0.7);
  --dark-slate: #495670;
  --slate: #8892b0;
  --light-slate: #a8b2d1;
  --lightest-slate: #ccd6f6;
  --white: #e6f1ff;
  --green: #64ffda;
  --green-tint: rgba(100, 255, 218, 0.1);
  --pink: #f57dff;
  --blue: #57cbff;
  --fz-xxs: 12px;
  --fz-xs: 13px;
  --fz-sm: 14px;
  --fz-md: 16px;
  --fz-lg: 18px;
  --fz-xl: 20px;
  --fz-xxl: 22px;
  --fz-heading: 32px;
}

:root {
  /* color scheme */

  --background: #091930;
  --background-2: #193153;

  /* --theme: #3BB09E;
  --theme-2: #16A591; */

  --theme: #3BB09E;
  --theme-2: #64ffda;

  --heading-primary: #C9D4F1;
  --heading-secodery: #74E2D2;
  --heading-normal: #3BB2A1;

  --paragraph: #99A7C2;

  --gredient-1: linear-gradient(to top, var(--theme), teal);
  --gredient-2: linear-gradient(to right, #1D976C, #93F9B9);

  /* font family */
  --font-sans: 'Calibre', 'Inter', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  /* font size */
  --font-size-h1: 5rem;
  --font-size-h1-span: calc(var(--font-size-h1) - 1rem);
  --font-size-h2: 1.5rem;
  /* primary heading */
  --font-size-h3: 1.2rem;
  /* secoderyheading */
  --font-size-h4: 1rem;
  /* normal heading */
  --font-size-h5: 1.5rem;
  --font-size-p: 1rem;
  --button-font-size: 1.2rem;


  /* font weight */
  --font-weight-h1: 700;
  --font-weight-h2: 500;
  --font-weight-h3: 600;
  --font-weight-h4: 500;
  --font-weight-h5: 500;

  /* border */
  --border-width: 3px;

  /* transitions */
  --transition: all .4s ease;

  /* container width for different devices */

  --container-w: 70%;

  /* box shadow */
  --box-shadow: 2px 3px 5px rgba(0, 0, 0, .6);

  /* letter spacing */
  --letter-spacing: 1em;

  /* line height */
  --line-height: 1.7;

  /* nav height */
  --nav-height: 70px;

  /* section */
  --section-height: 100vh;
  --section-padding: 3rem 0;
}

/*===== BASE =====*/
*::before,
*::after {
  box-sizing: border-box;
  position: absolute;
  content: "";
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  color: var(--white);
  background-color: #091930;
}

/* ///// Default Styles ///// */

h1 {
  font-weight: 700;
  font-size: clamp(40px, 8vw, 80px);
  color: var(--lightest-slate);
  margin: .6rem 0 1.2rem 0;
  line-height: 1.1;
}

h1 u {
  font-size: 4rem;
  visibility: none;
}

@media screen and (max-width: 900px) {

  .side-nav--left,
  .side-nav--right {
    display: none;
  }

  h1 u {
    font-size: 3rem;
    visibility: none;
  }
}

h1 span {
  color: var(--slate);
  line-height: .9;
}

@media screen and (max-width: 457px) {

  h1 span {
    font-size: 30px;
  }

}

hr {
  border: 0;
  margin: 0 auto;
  width: 90%;
  display: block;
  background-color: var(--theme);
  height: .2px;
  border-radius: 5px;
}

p {
  letter-spacing: .8px;
  color: var(--paragraph);
  font-size: var(--font-size-p);
}

.range {
  margin: 0 0 1rem 0;
  color: #656991;
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  transform: skewX(-5deg);
  font-family: Arial, Helvetica, sans-serif;
}

.numbered_heading {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  position: relative;
  margin: 10px 0px 40px;
  width: 100%;
  font-size: clamp(26px, 5vw, var(--font-size-h2));
  white-space: nowrap;
}

.numbered_heading::after {
  content: "";
  display: block;
  position: relative;
  /* top: -5px; */
  width: 300px;
  height: 1px;
  margin-left: 20px;
  background-color: var(--lightest-navy);
}

.sr_no {
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--theme-2);
  margin: .6rem .4rem 0 0;
}

.sr_no--sm {
  font-size: .9rem;
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  color: var(--theme);
  margin: 1rem 0;
  display: inline-block;
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4);
  color: var(--var(--paragraph));
  font-family: var(--font-mono);
  display: inline-block;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--white);
}

a.footer_greeting {
  color: var(--theme);
  font-size: 14px;
  font-family: var(--font-mono);
  text-align: center;
}

img {
  width: 100%;
  object-fit: cover;
  display: block;
}

button {
  background: transparent;
  border: 1px solid var(--theme);
  border-radius: 3px;
  transition: all 300ms ease-in-out;
  font-weight: 800;
  font-family: var(--font-mono);
  display: inline-block;
  padding: 1rem 2rem;
  position: relative;
  color: var(--lightest-slate);
}

a.btn {
  display: inline-block;
  margin-block: 1rem 0;
}

button:hover {
  transform: translate(-2px, -2px);
}

button:hover::after {
  bottom: -1px;
  right: -4px;
  width: 4px;
  background: var(--theme);
  height: 100%;
  border-bottom: 3px solid var(--theme);
  border-right: 3px solid var(--theme);
  border-top-right-radius: 4px;
}

button:hover::before {
  bottom: -4px;
  right: -4px;
  height: 4px;
  background: var(--theme);
  width: calc(100% + 4px);
  border-bottom: 5px solid var(--theme);
  border-right: 5px solid var(--theme);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

section {
  padding: var(--section-padding);
  min-height: fit-content;
  overflow: hidden;
}

.container {
  width: var(--container-w);
  margin: 0 auto;
}

/* The side bars web icons only visible for desktop */

.side-nav--right {
  width: 40px;
  position: fixed;
  bottom: 0px;
  left: auto;
  right: 40px;
  z-index: 10;
  color: var(--light-slate);
}

.side-nav--left {
  width: 40px;
  position: fixed;
  bottom: 0px;
  left: 40px;
  right: auto;
  z-index: 10;
  color: var(--light-slate);
}

.right-nav--box {
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  position: relative;
}

.left-nav--box {
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.left-nav--box .web-icons {
  flex-direction: column;
  margin: 0 0 calc(1.5rem + 90px);
  gap: 1.5rem;
}

.right-nav--box a {
  margin: 20px auto calc(1rem + 90px);
  padding: 10px;
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: var(--fz-lg);
  letter-spacing: 0.1em;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  transition: all 400ms ease;
  letter-spacing: 2px;
}

.right-nav--box a:hover {
  transform: translateY(-.5rem);
  color: var(--theme);
}

.right-nav--box::after {
  content: "";
  display: block;
  bottom: 0;
  width: 1px;
  height: 90px;
  margin: 3rem 0px auto;
  background-color: var(--light-slate);
}

.left-nav--box::after {
  content: "";
  display: block;
  bottom: 0;
  width: 1px;
  height: 90px;
  margin: 0px auto;
  background-color: var(--light-slate);
}

.web-icons {
  display: flex;
  gap: .8rem;
  border: 2px solid white lawngreen;
  margin-block: 1rem;
}

.web-icons a {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.web-icons a i {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.web-icons a i {
  color: var(--lightest-slate);
}

.web-icons .fa-folder {
  font-size: 2rem;
  color: var(--theme-2);
}

i {
  color: var(--theme-2);
  transition: var(--transition);
  font-size: 1.5rem;
}

i:hover {
  margin-bottom: .5rem;
  color: var(--theme);
}

.highlight {
  color: var(--theme-2);
  font-weight: 600;
}

/* font family class */
.mono {
  font-family: var(--font-mono);
}

.sans {
  font-family: var(--font-sans);
}

/* ///// Website Preloader ///// */

.loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 9999;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hide {
  animation: hide 1s forwards ease-out;
  animation-delay: 4.2s;
}

@keyframes hide {
  100% {
    top: -150%;
  }
}

.loaderWrapper {
  height: 90px;
  overflow: hidden;
}

.loaderInner {
  position: relative;
  animation-name: languageSwitch;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-delay: 2.5s;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.loaderinside {
  display: flex;
  align-items: baseline;
  width: auto;
  width: 190px;
  height: 90px;
}

.letter {
  display: inline-block;
  font-family: sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: white;
  animation-name: letterAppears;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  width: 1px;
  visibility: hidden;
  animation-delay: 1.5s;
}

.letterO {
  background-color: white;
  height: 40px;
  border-radius: 20px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  animation-name: loader;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  border: 10px solid white;
}

.welcome {
  font-family: sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: white;
  height: 90px;
  display: flex;
  align-items: center;
}

/* animation keyframes */

@keyframes loader {
  0% {
    width: 1px;
  }

  60% {
    background-color: white;
    width: 100%;
  }

  90% {
    background-color: var(--theme);
  }

  100% {
    background-color: var(--theme);
    width: 100%;
  }
}

@keyframes letterAppears {
  0% {
    width: 1px;
    transform: rotate(15deg);
  }

  100% {
    width: 100%;
    transform: rotate(0);
    visibility: visible;
  }
}

@keyframes languageSwitch {
  0% {
    bottom: 0;
  }

  15% {
    bottom: 0;
  }

  20% {
    bottom: 90px;
  }

  35% {
    bottom: 90px;
  }

  40% {
    bottom: 180px;
  }

  55% {
    bottom: 180px;
  }

  60% {
    bottom: 270px;
  }

  75% {
    bottom: 270px;
  }

  80% {
    bottom: 360px;
  }

  95% {
    bottom: 360px;
  }

  100% {
    bottom: 450px;
  }
}

/* ///// Navigation Section ///// */

nav {
  height: var(--nav-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

nav.hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

/* Add a style for the visible class */
nav.visible {
  transform: translateY(0);
}

/* added class with Javascript */
.window-scroll {
  background: #091d3a;
}

.nav__container {
  width: 95%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 4rem;
  overflow: hidden;
  z-index: 98;
}

.nav__navigation ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav__navigation ul li a {
  font-family: var(--font-mono);
  color: var(--light-slate);
  font-weight: 800;
  width: 100%;
  height: 100%;
  font-size: 1rem;
}

.nav__navigation ul li a:hover {
  color: var(--theme);
}

.menuBtn {
  margin-right: .6rem;
  display: none;
}

/* ///// header section ///// */

header {
  height: 100vh;
  width: 100%;
}

.container--header {
  height: 100%;
  display: flex;
  align-items: center;
}

.header__info h4 {
  color: var(--theme)
}

.header__info p {
  width: 50%;
}

/* ///// about ///// */
#about,
#education {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.container--about {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
}

ul.skills li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 5px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .4px;
}

ul.skills li {
  color: var(--paragraph);
}

ul.skills li::before {
  content: "▹";
  position: absolute;
  left: 0px;
  color: var(--green);
}

ul.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 80%;
}

ul.skills li:hover {
  border-color: var(--theme);
  color: var(--theme);
}

.about-img {
  width: 60%;
  border-radius: 5px;
  position: relative;
  transition: all .6s ease;
}

.about-img::before,
.about-img::after {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  transition: 400ms ease;
}

.about-img::before {
  transform: translate(10%, 10%);
  border: 2px solid var(--theme);
  z-index: -1;
  border-radius: 3px;
}

.about-img::after {
  background: var(--theme-2);
  opacity: .5;
  z-index: 3;
}

.about-img img {
  border-radius: 2px;
  z-index: 2;
}

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

.about-img:hover::before {
  transform: translate(7%, 7%);
}

.about-img:hover::after {
  display: none;
}

/* Experience section starts here 
*/

.container--exp {
  width: 60%;
  margin: auto;
}

.spa-box {
  display: flex;
  gap: 5%;
}

.spa-nav {
  width: 20%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 2px solid #233554;
}

.spa-nav li {
  width: 100%;
  height: 2.5rem;
  padding-right: .6rem;
}

.spa-nav li:hover {
  background: #233554a8;
  color: var(--theme-2);
}

.spa-nav li a {
  font-family: var(--font-mono);
  padding-left: .6rem;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--paragraph);
}

.spa-nav a.spa--active {
  position: relative;
  transition: all 400ms ease;
  color: var(--theme-2);
}

.spa-nav a.spa--active::before {
  width: 2px;
  height: 100%;
  background-color: var(--theme-2);
  left: -1px;
  bottom: 0;
  border-radius: 5px;
}

.spa-content {
  width: 100%;
}

.spa-content p.content--head {
  line-height: 1.2;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: .3rem;
  font-family: var(--fz-heading);
}

.content--subhead {
  color: var(--theme);
  font-size: 1rem;
  font-weight: bold;
}

.tab-content {
  display: none;
  margin-bottom: 30px;
}

.tab-content.spa--active {
  display: block;
}

.tab-content ul {
  padding-left: 30px;
  margin: 0px;
  list-style: none;
  font-size: var(--font-size-p);
}

.tab-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .4px;
}

.tab-content ul li {
  font-size: 14px;
  color: var(--paragraph);
}

.tab-content ul li::before {
  content: "▹";
  position: absolute;
  left: 0px;
  color: var(--green);
}

/* Education Section starts here */
.edu-box {
  max-width: 80%;
  margin: 0 auto;
  position: relative;
}

.edu-box .fa-graduation-cap {
  font-size: 2rem;
  position: absolute;
  top: -1rem;
  left: -1.15rem;
}

.edu-hold {
  padding-block: 25px;
  padding-left: 30px;
  padding-top: .8rem;
  position: relative;
  border-left: 3px solid #16A59152;
  max-width: 60%;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}

.edu-hold .range {
  margin: 0 0 0 0;
}

.edu-box::before {
  bottom: 0;
  left: -1.5px;
  width: 6px;
  background: var(--theme-2);
  border-radius: 10px;
}

.edu-box.animate::before {
  animation: heightIncrease 6000ms ease forwards;
}

@keyframes heightIncrease {
  0% {
    height: 0;
  }

  100% {
    height: 90%;
  }
}

.edu-hold:nth-child(4)::after {
  bottom: -7.5px;
  left: -9px;
  width: 15px;
  height: 15px;
  background: var(--theme-2);
  border-radius: 10px;
}

.edu-hold .content--head {
  font-weight: 600;
  color: #CCCDD9;
  font-size: 1.1rem;
  padding: 0;
  margin: 0 0 0 0;
}

.edu-hold .journey-stop::before {
  width: 17px;
  height: 17px;
  border-radius: 10px;
  background: transparent;
  border: 2px solid var(--theme);
  background: var(--background);
  left: -10px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center
}

.edu-hold .content--head::nth-child(1)::after {
  display: none;
}

/* ///// projects section ///// */

.project {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -webkit-box-align: center;
  align-items: center;
  /* border: 2px solid red; */
  margin-bottom: 200px;
}

/* .project:not(:last-of-type) {
} */

.project--right {
  text-align: right;
  grid-column-start: 6;
  grid-column-end: 13;
  grid-row-start: 1;
}

.project--left {
  text-align: left;
  grid-column-start: 1;
  grid-column-end: 7;
  grid-row-start: 1;
}

.project_content p.project__overline {
  font-size: .9rem;
  color: light-slate;
  margin: 8px 0px;
  font-weight: 500;
  line-height: 1;
}

.project_content .project__title {
  font-size: clamp(24px, 5vw, 28px);
  margin: 0 0 15px 0;
  line-height: 1.1;
  color: white;
  z-index: 4;
}

.project__title h3 {
  color: white;
  line-height: 1.5;
}

.project_content .project__discription {
  border-radius: 3px;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 4;
  padding: 25px;
  background-color: var(--light-navy);
  color: var(--light-slate);
  font-size: var(--fz-xs);
}

.project__tech_list {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
  margin: 20px 0px 10px;
  list-style: none;
}

.project__tech_list li {
  margin: 0px 20px 5px 0px;
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  white-space: nowrap;
}

.project_content .web-icons {
  justify-content: right;
  margin-right: 14px;
}

.project--right .web-icons {
  justify-content: right;
}

.project--left .web-icons {
  justify-content: left;
}

.project--right .project__tech_list {
  justify-content: right;
}

.project--left .project__tech_list {
  justify-content: left;
}

.project__image {
  box-shadow: 10px 10px 30px var(--navy-shadow);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}

.project__image::before {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--theme);
  opacity: .8;
  z-index: 2;
  transition: all 1000ms ease;
  /* display: none; */
}

.project__image:hover::before {
  transition: all 1000ms ease;
  display: none;
}
/* 
@media screen and (max-width: 900px) {

} */

.project__image img {
  width: 100%;
  height: 100%;
}

/* other projects section */

.container--other_projects {
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
}

p.inline_link {
  font-size: var(--fz-sm);
  text-align: center;
  min-width: 60%;
  max-width: 80%;
  margin: 0 auto;
}

.project__grid {
  list-style: none;
  padding: 0px;
  margin: 50px 0px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  column-gap: 1rem;
  row-gap: 2.4rem;
  position: relative;
  box-sizing: inherit;
}

ul.project__grid li {
  position: relative;
  cursor: default;
  display: list-item;
  text-align: -webkit-match-parent;
  z-index: 1;
  /* margin-bottom: 30px; */
  transition: all 400ms ease-in-out;
}

ul.project__grid li:hover {
  transform: translateY(-2%);
}

.project__inner {
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  display: flex;
  -webkit-box-pack: justify;
  -webkit-box-align: center;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  height: 100%;
  padding: 1.5rem 1.75rem 0 1.75rem;
  border-radius: var(--border-radius);
  background-color: var(--light-navy);
  transition: var(--transition);
  overflow: auto;
}

.project__top {
  width: 100%;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
}

.project__top .web-icons:nth-child(2) a i {
  color: var(--light-slate);
}

.fa-folder {
  height: 2rem;
  width: 2rem;
  font-size: 2rem;
}

.project__links {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  margin-right: -10px;
  color: var(--light-slate);
}

.project__title a {
  position: static;
}

.project__title {
  line-height: 1;
  margin: none;
  padding: 0;
}

.project__title {
  color: var(--theme-2);
}

.project__title a::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
}

.project__inner .project__discription p {
  font-size: 14px;
}

.project__inner .project__tech_list {
  margin-bottom: 0;
}

.project-links a i {
  width: 22px;
  height: 22px;
  margin-top: -10px;
}


/* ----------<<<<<>>>>---------- 
  WHAT TO READ SECTION STARTS HERE  */

.card-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  width: 90%;
  margin: 0 auto 0 auto;
}

/*
  @media screen and (min-width: 700px) {
   .card-slider {
     min-height: 30vh;
   }
  }
  */
.wrapper {
  max-width: 100%;
  width: 100%;
  position: relative;
}

.wrapper i {
  height: 50px;
  width: 50px;
  color: #fff;
  font-weight: 600;
  background: #3d436ab8;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  font-size: 1.25rem;
  transform: translateY(-50%);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
}

.wrapper i:first-child {
  left: -25px;
}

.wrapper i:last-child {
  right: -22px;
}

.wrapper .carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% / 3) - 12px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel.dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.carousel.no-transition {
  scroll-behavior: auto;
}

.carousel.dragging .card {
  cursor: grab;
  user-select: none;
}

.carousel .card {
  scroll-snap-align: start;
  list-style: none;
  border-radius: 8px;
  cursor: pointer;
  width: 98%;
  padding: 10px;
  flex-direction: column;
  border: 2px solid var(--theme);
  box-sizing: border-box;
  text-align: center;
}

.card h3 {
  font-weight: 500;
  font-size: 1.56rem;
  margin: 30px 0 5px;
  border: none;
  color: var(--white);
}

.card span {
  color: greenyellow;
  font-size: .8rem;
}

.card p {
  font-size: .9rem;
  color: #D5D5D5;
}

.card button {
  margin: 10px 0 0 0;
}

@media screen and (max-width: 900px) {
  .wrapper .carousel {
    grid-auto-columns: calc((100% / 2) - 9px);
  }
}

@media screen and (max-width: 600px) {
  .wrapper .carousel {
    grid-auto-columns: 100%;
  }
}



/* ///// Get in touch ///// */

.container--contact {
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ///// logo section ///// */

.container-git {
  max-width: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Device Defaults */

@media screen and (max-width:1160px) {

  :root {

    /* font size */
    --font-size-h1: 3rem;
    --font-size-h1-span: 2.5rem;

    /* container width */

    --container-w: 70%;

    /* box shadow */
    --box-shadow: 2px 3px 5px rgba(0, 0, 0, .6);

    /* letter spacing */
    --letter-spacing: 1em;

    /* line height */
    --line-height: 1.7;

    /* nav height */
    --nav-height: 5rem;

    /* section */
    --section-height: 100vh;
    --section-padding: 3rem 0;
  }
}

@media screen and (max-width:1120px) {
  .about-img {
    width: 80%;
  }
}

@media screen and (max-width: 900px) {

  /* ///// logo section ///// */

  .logo {
    width: 3rem;
  }

  /* ///// Animated text section ///// */
  .nav-container {
    width: 90%;
  }

  section.animate-section {
    min-height: 10vh;
  }

  .animate-text span {
    font-size: 2rem;
  }

  .nav__navigation {
    position: absolute;
    top: 0;
    right: -100%;
    width: 70%;
    height: calc(100vh + var(--nav-height));
    background: var(--background);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: grid;
    place-items: center;
  }


  /* added class with JavaScript */
  .active {
    right: 0;
    transition: var(--transition);
  }

  .nav__navigation ul {
    height: 40%;
    display: flex;
    flex-direction: column;
    margin-block: auto;
  }

  .nav__navigation ul li {
    width: 100%;
    height: 100%;
    transition: var(--transition);
  }

  .nav__navigation ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .nav__navigation ul li:active {
    color: var(--theme);
    background: var(--background-2);
  }

  /* ///// Navigation section ///// */
  .menuBtn {
    width: 2.2rem;
    height: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .menuBtn span {
    position: absolute;
    width: 100%;
    height: .25rem;
    background: var(--theme);
    transition: var(--transition);
    border-radius: 4px;
  }

  .menuBtn span:nth-child(1) {
    transform: translateY(-.7rem);
    width: 50%;
    right: 0;
  }

  .menuBtn span:nth-child(3) {
    transform: translateY(.7rem);
    width: 50%;
    right: 0;
  }

  .menu-active {
    transition: var(--transition);
  }

  /* menu-active = added class with JavaScript */
  .menu-active span:nth-child(2) {
    transform: translateX(-3rem);
    animation: hide .3s forwards ease;
  }

  .menu-active span:nth-child(1) {
    width: 100%;
    transform: translateY(0) rotate(45deg);
  }

  .menu-active span:nth-child(3) {
    width: 100%;
    transform: translateX(0) rotate(855deg);
  }

  /* ///// About section ///// */

  .about-container {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  ul.skills {
    max-width: 100%;
  }

  /* Add this style to your CSS file */

  @keyframes shake {

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

    25%,
    75% {
      transform: translateX(-5px);
    }

    50% {
      transform: translateX(5px);
    }
  }

  .col-info p span.highlight {
    animation: shake 3s infinite;
    /* Adjust the duration as needed */
  }

  .about-img {
    width: 65%;
  }

  .header__info p {
    width: 85%;
  }

  .container--exp {
    width: 90%;
  }

  .content--head {
    margin: 1.5rem 0 .3rem 0;
  }

  /* ///// Educatuion section  ///// */
  .edu-hold {
    max-width: 100%;
  }

  .edu-holder::before {
    left: -14.5%;
  }

  .edu-holder-top {
    flex-direction: column;
  }

  .project-holder {
    grid-template-columns: repeat(auto-fit, minmax(6rem, 80%));
    grid-template-rows: repeat(7, 20rem);
    justify-content: center;
  }

  /* project */
  .project {
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: .1px solid white
  }

  .project--right,
  .project--left {
    text-align: left;
    grid-column-start: 1;
    grid-column-end: 13;
    grid-row-start: 1;
  }

  .project_content {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 1rem 2rem;
  }

  .project__image {
    /* display: none; */
    z-index: -2;
    width: 100%;
    height: 100%;
  }

  .project_content .project__discription {
    background: transparent;
    box-shadow: none;
    padding: 0;
    color: #42445A;
  }

  .project_content .project__tech_list {
    justify-content: left;
  }

  .project_content .web-icons {
    justify-content: left;
  }

  .project-bottom-box h3 {
    font-size: 1rem;
  }

  .container-git {
    max-width: 85%;
  }

}

@media screen and (max-width:768px) {

  :root {

    /* font size */
    --font-size-h1: 2rem;

    --h1-span: 1.2rem;
    --font-size-h2: 1.5rem;
    /* primary heading */
    --font-size-h3: 1rem;
    /* secoderyheading */
    --font-size-h4: .7rem;
    /* normal heading */
    --font-size-h5: 1.5rem;
    --font-size-p: .8rem;
    --button-font-size: 1rem;


    /* font weight */
    --font-weight-h1: 800;
    --font-weight-h2: 700;
    --font-weight-h3: 600;
    --font-weight-h4: 500;
    --font-weight-h5: 500;

    /* border */
    --border-width: 2px;

    /* transitions */
    --transition: all .4s ease;

    /* container width for different devices */

    --container-w: 90%;

    /* box shadow */
    --box-shadow: 2px 3px 5px rgba(0, 0, 0, .6);

    /* letter spacing */
    --letter-spacing: 1em;

    /* line height */
    --line-height: 1.5;

    /* nav height */
    --nav-height: 4rem;

    /* section */
    --section-height: auto;
    --section-padding: 6rem 0;
  }

  .spa-box {
    flex-direction: column;
    gap: 20px;
  }

  .spa-nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-left: none;
  }

  .spa-nav::-webkit-scrollbar {
    height: .5rem;
    margin-top: 2rem;
  }

  /* .spa-nav::-webkit-scrollbar {
    display: flex;
    overflow-x: auto;
    width: calc(100% + 100px);
    padding-left: 50px;
    margin-left: -50px;
    margin-bottom: 30px;
    } */


  .spa-nav::-webkit-scrollbar-track {
    background-color: #23355454;
    border-radius: 5px;
  }

  .spa-nav::-webkit-scrollbar-thumb {
    background-color: #233554;
    border-radius: 5px;
  }

  .spa-nav ul {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    border-bottom: 2px solid #233554;
    margin-bottom: .5rem;
  }

  .spa-nav li {
    padding: 0;
  }

  .spa-nav li a {
    padding: 0 .5rem;
    padding-left: 0;
    width: 100%;
    min-width: 80px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .spa-nav a.spa--active {
    border: none;
    padding-left: 0;
    transition: all 400ms ease;
    padding-left: 0;
  }

  .spa-nav a.spa--active::before {
    width: 100%;
    height: 2px;
    background-color: var(--theme-2);
    left: 0;
    bottom: -1px;
    border-radius: 5px;
  }


}

/* ////// Styling for devices ///// */
@media screen and (max-width: 500px) {
  .container--about {
    display: flex;
    flex-direction: column;
  }

  .col-info {
    width: 100%;
    text-align: left;
  }

  .col-img {
    margin-block: 2rem 0;
    width: 100%;
  }
}

/* Feedback Section starts here */

.feedbck-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .feedback-container {
    max-width: 50%;
    margin: 0 auto;
  }
}

.feedback-container h2 {
  margin-bottom: 20px;
  color: #16a591;
  text-align: center;
}

.emoji-buttons {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.emoji-btn {
  background-color: #16A59166;
  border-radius: 10px;
  color: #16a591;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  gap: .3rem;
  align-items: center;
}

.emoji {
  font-size: 20px;
}

.emoji-expression {
  display: none;
  font-size: 14px;
  color: #16a591;
  margin-left: 5px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  font-weight: 500;
}

.emoji-btn:hover {
  color: #091930;
}

.feedback-input {
  display: none;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

textarea {
  width: calc(100% - 22px);
  height: 100px;
  border: 2px solid #16a591;
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
  background-color: #091930;
  color: white;
  outline: none;
  transition: all 400ms ease;
}

textarea:hover {
  border: 2px solid #16A59152;
}

.submit-feedback-btn {
  margin-top: 10px;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

.form-btn-box {
  width: 100%;
  display: grid;
  place-items: center;
}

/* Popup styles */
.feedback-popup,
.error-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.feedback-popup-content {
  background-color: #091930;
  color: #16a591;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
}

.feedback-popup-content button {
  margin-top: .5rem;
}

.feedback-popup .popup-content {
  background-color: #16a591;
}

/* Fun section starts here */

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

main h2 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

#board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-gap: 5px;
}

.cell {
  width: 100px;
  height: 100px;
  border: 2px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 24px;
  background-color: #091930;
  color: #3BB09E;
  transition: background-color 0.3s;
  overflow: hidden;
}

.cell:hover {
  background-color: #3BB09E;
  color: #091930;
}

#result-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: var(--background);
  border: 2px solid #dedede;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  text-align: center;
  color: #3BB09E;
}

#result-popup img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
  margin: 0 auto 0;
}

#buttons {
  margin-top: 15px;
  display: none;
}

#visitor-message {
  background: rgba(0, 166, 78, 0);
  /* Dark transparent theme */
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
}

.visitor-text {
  font-weight: 400;
  letter-spacing: 0.5px;
  text-align: center;
}