:root {
  --orange: #ff5b84;
  --bar-color: rgba(68, 68, 68, 0.3);
  --blur-radius: 3px;
  --bar-width: 70%;
  --heading-font: "Poppins", sans-serif;
  --content-font: "Quicksand", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #161616;
  margin: 0;
  color: white;
  background-image: url(Images/wallpaper2.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

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;
}

div.emb-cursor{
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
}
div.emb-cursor1{
  width: 8px;
  height: 8px;
  opacity: 0.8;
  transition: 0.2s linear;
}
div.emb-cursor2{
  width: 12px;
  height: 12px;
  opacity: 0.8;
  transition: 0.15s linear;
}

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

header nav {
  background-color: rgba(28, 26, 25, 0.5);
  position: sticky;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  top: 100px;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-evenly;
  width: 20%;
  border: 1px solid rgb(255, 255, 255, 0.5);
}
header nav div {
  transition: 0.2s ease;
  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;
  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%;
}

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

section#main_page span:nth-child(1) {
  font-size: 1em;
  color: white;
  position: relative;
  top: 2vh;
}
section#main_page span:nth-child(2) {
  font-size: 2.5em;
  color: rgb(255, 200, 200);
  display: block;
}
section#main_page span:nth-child(3) {
  font-size: 2.5em;
  color: #ff5b84;
  display: block;
}
p#long_desc {
  margin: 0;
  font-size: 1.2em;
  color: white;
  width: 40%;
  font-family: var(--content-font);
}

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

section#main_page div.project {
  min-width: var(--bar-width);
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 30px;
  margin-bottom: 20px;
  margin-right: 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;
}

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)
  );
}
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;
  vertical-align: middle;
  position: absolute;
  right: 2%;
  top: 10%;
}

/* Experience */
div.experience {
  min-width: var(--bar-width);
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 30px;
  margin-bottom: 20px;
  margin-right: 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: 500;
}

/* Tech stack */

div.carousel img {
  height: 100px;
  aspect-ratio: 1;
}
div.group {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  will-change: transform;
  animation: scrolling 10s linear infinite;
}

.carousel {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  padding: 5px;
  max-width: 60vw;
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Footer */
footer {
  height: 100px;
}

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

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