:root {
  --orange: #ff5b84;
  --bar-color: rgba(68, 68, 68, 0.3);
  --blur-radius: 3px;
  --bar-width: 80%;
  --heading-font: "Poppins", sans-serif;
  --content-font: "Quicksand", sans-serif;
}

::selection{
  color: blue;
  background-color: rgb(255,255,255,0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: black;
  margin: 0;
  color: white;
  background-image: url(Images/wallpaper1.png);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 70%;
  background-attachment: fixed;
}

::-webkit-scrollbar {
  width: 0px;
}

div.cursorContainer div {
  border: 2px solid white;
  box-shadow: 0 0 10px 2px black;
}

div.cursor {
  --circle-size: 40px;
  position: fixed;
  height: var(--circle-size);
  width: var(--circle-size);
  border-radius: 100%;
  top: calc(var(--circle-size) / 2 * -1);
  left: calc(var(--circle-size) / 2 * -1);
  pointer-events: none;
  z-index: 999;
  backdrop-filter: blur(2px);
  transition:
    scale 0.1s ease,
    transform 0s;
  animation: glow 2s linear infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow:
      0 0 10px cyan,
      0 0 10px cyan inset;
  }

  50% {
    box-shadow:
      0 0 10px transparent,
      0 0 10px transparent inset;
  }

  100% {
    box-shadow:
      0 0 10px cyan,
      0 0 10px cyan inset;
  }
}

div.emb-cursor1 {
  width: 4px;
  height: 4px;
  opacity: 0.8;
  transition: 0s linear;
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
}

/* Meteor shower */
canvas#canvas {
  position: fixed;
}


header {
  font-family: var(--content-font);
}

header nav {
  background-color: rgba(28, 26, 25, 0.5);
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-evenly;
  width: 20%;
  border: 1px solid rgb(255, 255, 255, 0.5);
  z-index: 990;
  backdrop-filter: blur(20px);
}

header nav div {
  height: 24px;
  width: 24px;
}

/* Main Section */
main {
  display: flex;
  flex-direction: row;
}

main section#intro {
  background-color: #e0e0e0;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  color: black;
  transform: translateY(10%);
  position: sticky;
  left: 100px;
  top: 35px;
  height: fit-content;
  max-width: 20%;
  font-family: var(--content-font);
}

section#intro img.intro_img {
  height: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

section#intro #socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

section#intro p#name {
  font-weight: 700;
  font-size: 2em;
  font-family: var(--heading-font);
}

section#intro p#short_desc {
  font-size: 1em;
  color: rgb(64, 64, 64);
  font-family: var(--content-font);
}

section#main_page {
  margin-left: 10%;
  margin-top: 2%;
  position: relative;
}

h1.occupation span:nth-child(2),
h1.occupation span:nth-child(3) {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

#scrollText {
  font-size: clamp(1.2rem, 4vw, 3rem);
}

section#main_page h1.occupation {
  line-height: 1.9cm;
  font-family: var(--heading-font);
}

h1.occupation span:nth-child(1) {
  font-size: 1em;
  color: white;
  position: relative;
  top: 2vh;
}

h1.occupation span:nth-child(2) {
  font-size: 2.5em;
  color: rgb(255, 200, 200);
  display: block;
}

h1.occupation span:nth-child(3) {
  font-size: 2.5em;
  color: #ff5b84;
  display: block;
}

/* Scroll text */
#scrollText {
  color: white;
  font-family: var(--heading-font);
  transition: opacity 0.5s ease;
  font-size: 3em;
  margin: 0;
  height: 100px;
  display: grid;
  grid-template-columns: 1fr 6.5fr;
  font-weight: 600;
}

p.ican {
  transform: translateY(calc(-65%));
}

#scrollText ul {
  margin: 0;
  list-style-type: none;
  overflow: scroll;
}

#scrollText li {
  font-weight: 700;
  padding: 0;
  height: min-content;
}

#scrollText li:last-child {
  background-color: red;
  width: fit-content;
}

#scrollText div.scroll {
  display: flex;
  flex-direction: row;
  align-items: center;
}

div.scroll img {
  height: 40px;
  filter: invert(1);
}

p#long_desc {
  margin: 0;
  font-size: 1.2em;
  color: white;
  width: 40%;
  font-family: var(--content-font);
  color: transparent;
  background-clip: text;
  background-image: linear-gradient(-45deg, #f0e4d9, #ffcd9e);
}

section#main_page h2.heading {
  font-size: 5em;
  margin: 0;
  font-family: var(--heading-font);
  text-shadow: 1px 1px 10px white;
}

section#main_page div.project {
  width: var(--bar-width);
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 30px;
  margin-bottom: 20px;
  transition: 0.4s ease;
  font-family: var(--content-font);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0px 0px rgba(255, 255, 255, 0);
  position: relative;
  overflow: hidden;
}

div.project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

div.project::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}

section#techUsed {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

section#techUsed span.projectTech {
  font-size: 1em;
  color: white;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 10px;
}

img.projectPreview {
  height: 100px;
  width: 100px;
  object-fit: cover;
  border-radius: 5px;
}

p.project_title {
  font-size: 2em;
  margin: 0;
}

p.project_exp {
  font-size: 1.2em;
  font-weight: 700;
}

p.project_desc {
  line-height: 1.5em;
  text-align: justify;
}

img.link {
  height: 20px;
  display: inline;
  position: absolute;
  right: 2%;
  top: 10%;
}

/* Experience */
/* div.experience {
  width: var(--bar-width);
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 30px;
  margin-bottom: 20px;
  transition: 0.4s ease;
  font-family: var(--content-font);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0px 0px rgba(255, 255, 255, 0);
  position: relative;
  overflow: hidden;
}

section#main_page div.experience img {
  height: 100px;
  width: 100px;
  object-fit: cover;
  border-radius: 5px;
}

section#main_page div.experience p.experience_title {
  font-size: 2em;
  margin: 0;
  font-weight: 700;
} */

/* Tech stack */
div.detail{
  font-family: var(--content-font);
  font-size: 1em;
}
div#carousel{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin: 10px;
    font-family: var(--content-font);
}

div.card{
  display: flex;
  flex-direction: row;
  border: 1px solid white;
  align-items: center;
  background-color: #00000066;
  color: rgb(255, 255, 255);
  padding: 10px;
  gap: 10px;
  height: 70px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
div.tech{
  opacity: 0;
  transform: translateY(60px);
  transition: transform 1s linear(0, 0.459 7.5%, 0.811 15.5%, 1.054 24%, 1.138 28.5%, 1.198 33.2%, 1.228 37%, 1.245 40.9%, 1.25 45.1%, 1.242 49.6%, 1.202 58%, 1.083 75.3%, 1.038 83.1%, 1.009 91.4%, 1), opacity 0.8s ease;
  will-change: transform;
}
div.tech.show{
  opacity: 1;
  transform: translateY(0);
}
div#carousel img{
  height: 50px;
}


/* Certifications */
/* div.certifications{
  display: flex;
  flex-direction: row;
  font-family: var(--content-font);
}

div.certification{
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(25px);
  border: 1px solid rgb(255,255,255,0.5);
  border-radius: 10px;
  margin: 10px;
  padding: 10px;
}

p.cert_title{
  
}

p.cert_issuer{

}

img.certificate{
  height: 150px;
  border-radius: 5px;
} */

/* Experiments */

h2#scratchpad {
  margin-top: 20px;
  font-family: var(--heading-font);
  color: rgb(255, 255, 255, 1);
}

section.experiments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin: 10px;
}

div.experiment {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.1s linear;

  &:hover{
    transform: translateY(-5px);
  }
}

.experiment a {
  text-decoration: none;
  color: white;
  font-family: var(--content-font);
}

.experiment_img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

div.experiment div.details {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.experiment_title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 8px;
}

.expt_desc {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Footer */
footer {
  height: 100px;
}

span.underline {
  text-decoration: underline red;
}

div.email {
  font-size: 0.9em;
}

div.email a {
  text-decoration: none;
  color: var(--orange);
}

