@import url('https://fonts.googleapis.com/css2?family=Lato&family=Open+Sans:wght@300;500&family=Roboto+Flex:opsz,wght@8..144,500&family=Roboto+Mono&display=swap');

/* Utility Classes */
.font-lato {
  font-family: 'Lato', sans-serif;
}

.font-sans {
  font-family: 'Open Sans', sans-serif;
}

.font-mono {
  font-family: "Roboto Mono", monospace;
}

.color-blue {
  color: #64ffda;
}

.hover {
  transition: 0.4s;
}

.hover:hover {
  color: #64ffda;
  position: relative;
  top: -3px;
}

.nav-links-item .underline a {
  text-decoration: none;
  color: #8892b0;
}

.underline::after {
  content: "";
  width: 0px;
  height: 1px;
  display: block;
  background: #64ffda;
  transition: 350ms;
}

.underline:hover::after {
  width: 100%;
}

* {
  padding: 0;
  margin: 0;
  transition-duration: 0.6s;
  background-color: #0a192f;
  scroll-behavior: smooth;
}

.hero {
  filter: blur(5px);
  scale: 0.9;
  z-index: 1;
}

.mybody {
  overflow: hidden;
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 0.4em;
  height: 0.4em;
}

::-webkit-scrollbar-thumb {
  background-color: #8892b040;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #8892b06f;
}

body {
  overflow-x: hidden;
  transition-duration: 0.5s;
}

#site {
  display: none;
}

/* Loader Animation */
.loader-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 120;
}

.loader {
  height: 60px;
  width: 60px;
  position: relative;
  margin: 0 auto;
}

.abs {
  position: absolute;
  background-color: #64ffda;
}

.top {
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  animation: topanim 0.5s;
  animation-fill-mode: forwards;
}

@keyframes topanim {
  100% {
    width: 100%;
  }
}

.right {
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  animation: rightanim 0.5s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes rightanim {
  100% {
    height: 100%;
  }
}

@keyframes grow-height {
  from {
    height: 100%;
  }

  to {
    height: 0;
  }
}

.bottom {
  bottom: 0;
  right: 0;
  height: 4px;
  width: 0;
  animation: topanim 0.5s 1s forwards;
  /* animation-delay: 1s;
  animation-fill-mode: forwards; */
}

.left {
  bottom: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.left-cover {
  top: 4px;
  left: 0;
  height: 100%;
  width: 4px;
  background-color: #0a192f;
  transition-duration: 0;
  animation: grow-height 0.5s 1.5s forwards;
}

.loader-name {
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 20px;
  background-color: #64ffdb10;
  opacity: 0;
  animation: nameanim 0.5s 2s forwards;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes nameanim {
  100% {
    opacity: 1;
  }
}

/*Navbar CSS*/
#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(5px);
  background-color: transparent;
  /* border: 1px solid white; */
}

.logo {
  border: 2px solid #64ffda;
  color: #64ffda;
  padding: 15px;
  font-size: 22px;
  font-family: monospace;
  user-select: none;
  -webkit-user-select: none;
    /* Safari */
  -moz-user-select: none;
    /* Firefox */
  -ms-user-select: none;
}

.logo:hover {
  background-color: #64ffdb17;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  transform: none;
}

.nav-links,
.nav-links *,
.nav-links .nav-links-item * {
  background-color: transparent;
}

.nav-links-item {
  display: flex;
  padding: 20px;
  /* margin: 20px; */
}

.nav-links-item>li {
  padding: 5px 25px;
  color: #8892b0;
  list-style-position: inside;
  font-family: "Roboto Mono", monospace;
}

.nav-links-item>li:hover {
  cursor: pointer;
}


.btn {
  border: 2px solid #64ffda;
  padding: 10px 20px;
  font-size: 15px;
  color: #64ffda;
  border-radius: 5px;
  text-decoration: none;
  font-family: "Roboto Mono", monospace;

  /* margin: 20px 0px; */
}

.btn:hover {
  background-color: #64ffdb17;
}

.nav-menu {
  font-size: 30px;
  color: #a8b2d1;
  display: none;
  cursor: pointer;
  height: 32px;
  width: 32px;
  background-color: transparent;
  /* border: 1px solid white; */
}

.line {
  width: 100%;
  height: 4px;
  background-color: #8892b0;
  border-radius: 3px;
  margin-bottom: 6px;
  transform: 0;
}

.centerclass {
  position: absolute;
  left: 0;
  top: 16;
}

.lin2-trans {
  transform: translateX(200px);
}

.line1-trans {
  transform: rotate(45deg);
}

.line3-trans {
  transform: rotate(-45deg);
}

/* Hero Section CSs  */

#hero {
  width: 60%;
  margin: auto;
  margin-top: 180px;
}

.name {
  color: #64ffda;
  font-family: "Roboto Mono", monospace;
  margin: 10px 0px;
}

#hero-section-content>h1 {
  font-size: 4.5rem;
  color: #ccd6f6;
  font-family: "Lato", sans-serif;
  /* margin-bottom: 1000px; */
}

#hero-section-content>h1>span {
  color: #8892b0;
  font-size: 4rem;
}

.intro-text {
  width: 60%;
  margin: 20px 0px;
  margin-bottom: 40px;
  color: #8892b0;
  font-family: "Lato", sans-serif;
  line-height: 25px;
}

.intro-text>span {
  color: #64ffda;
}

.intro-text>span:hover {
  text-decoration: underline;
}

/* SOcial Icon Css  */

.social-icon {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0px;
  left: 60px;
  height: 300px;
  justify-content: space-between;
}

.social-icon>a>i {
  font-size: 20px;
  color: #8892b0;
  transition: 400ms;
}

.social-icon>a>i:hover {
  outline: none;
  border: none;
  color: #64ffda;
  cursor: pointer;
  position: relative;
  top: -2px;
  /* margin-top: -2px; */

  /* margin-bottom: 50px; */
}

.social-icon>a:focus {
  color: #64ffda;
  outline: none;
  border: none;
}

.vl {
  border-left: 3px solid #8892b0;
  height: 80px;
  margin-left: 8px;
}

.email-section {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0px;
  right: 60px;
  /* height: 300px; */
  justify-content: flex-end;
  align-items: center;
}

.email {
  writing-mode: vertical-lr;
  color: #8892b0;
  letter-spacing: 1.5px;
  font-family: monospace;
  text-decoration: none;
  margin-bottom: 20px;
}

.email:hover {
  color: #64ffda;
  cursor: pointer;
}

/* About section CSS  */

#about {
  width: 60%;
  margin: auto;
  padding-top: 150px;
  margin-top: 100px;
  /* border: 1px solid red; */
  color: white;
  margin-bottom: 50px;
}

.section-title {
  display: flex;
  color: #ccd6f6;
  font-size: 1.5rem;
  font-family: "Lato", sans-serif;
  margin-top: 20px;
  margin-bottom: 50px;
  width: max-content;
  align-items: center;
}

.section-number {
  color: #64ffda;
  font-family: monospace;
  margin-right: 10px;
  font-weight: 300;
}

.about-data {
  display: flex;
  justify-content: space-between;
}

.about-text {
  display: flex;
  width: 55%;
  flex-direction: column;
  font-weight: 400;
  color: #8892b0;
}

.underline-new {
  display: inline-block;
}

.underline-new::after {
  content: '';
  display: inline;
  width: 0px;
  height: 1px;
  position: relative;
  bottom: 0.37em;
  background-color: #64ffda;
}

.underline-new:hover::after {
  width: 100%;
}

.tech {
  display: flex;
}

.tech-list {
  /* border: 1px solid white; */
  list-style: inside;
  line-height: 22px;
  margin-top: 10px;
  margin-right: 40px;
}

.tech-list li {
  color: #8892b0;
  font-size: 15px;
}

/* About Image */
.about-img {
  width: 35%;
  padding: 20px;
  /* padding-top: 105px; */
  position: relative;
}

.about-img-container {
  position: relative;
  width: 100%;
  /*35%*/
}

.actual-img {
  border-radius: 6px;
  position: relative;
  z-index: 10;
}

.img-filter {
  position: absolute;
  z-index: 20;
  width: 100%;
  height: 98.5%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 5px !important;
  background-color: #64ffdb3d;
  transition-duration: 400ms;
}

.about-img-container:hover>.img-filter {
  background-color: transparent;
}

.about-img-container:hover>.border-img {
  top: 10px;
  left: 10px;
}

.border-img {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 15px;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 2px solid #64ffda;
  border-radius: 5px !important;
  transition-duration: 400ms;
}

.hl {
  width: 250px;
  height: 1px;
  border-top: 1px solid #8892b06f;
  margin-left: 15px;

}

/* Skills Section */

.skills-class {
  width: 50%;
  margin: 50px auto;
  padding: 100px 0;
}

.skills-container {
  display: flex;
}

.skill-item-container {
  display: flex;
  flex-direction: column;
  width: 30%;
}

.skill-item {
  padding: 15px 20px;
  border: none;
  font-size: 14px;
  border-left: 2px solid #8892b0a8;
  transition-duration: 0.5s;
  color: #8892b0;
}

.skill-item:hover {
  cursor: pointer;
}

.skill-item:hover,
.active-item {
  background-color: #64ffdb17;
  color: #64ffda;
  border-left: 2px solid #64ffda;
}

.skills-description {
  margin-left: 30px;
  color: #ccd6f6;
}

.job-role {
  font-size: 21px;
  color: #ccd6f6;
  margin-bottom: 7px;
  font-weight: 600;
}

.job-timeline {
  font-size: 14px;
  color: #8892b0;
  margin-bottom: 1rem;
}

.job-description {
  font-size: 15px;
  color: #8892b0;
}

.li-item {
  list-style: none;
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.li-item::before {
  content: '▹';
  color: #64ffda;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -3px;
}

/* Projects Section Start */

#projects {
  width: 70%;
  margin: 50px auto;
  padding: 150px 0;
}

.project-container {
  width: 100%;
  height: 100%;
  display: grid;
  position: relative;
  -webkit-box-align: center;
  align-items: center;
  grid-gap: 5px;
  grid-template-columns: repeat(12, 1fr);
  /* grid-auto-rows: minmax(200px, max-content); */
  grid-template-rows: 1fr;
  margin-bottom: 100px;
}

.project-image-container {
  border-radius: 3px;
  /* grid-column: 1/8; */
  grid-row: 1 / 2;
  z-index: 10;
  position: relative;
  display: flex;
  align-self: center;
  /* height: 300px; */
  height: 100%;
  /* min-height: 350px; */
  box-shadow: 0 10px 30px -15px #020c1bb3;
}

.project-image {
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.5;
  z-index: 10;
}

.filter {
  /* grid-column-start: 1;
  grid-column-end: 7; */
  z-index: 20;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #64ffdb17;
  border-radius: 3px;
  transition-duration: 0.5s;
}

.project-image-container:hover .filter {
  background-color: transparent;
}

.project-details {
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  /* grid-column: 7 / 13; */
  grid-row: 1 / 2;
  z-index: 25;
  justify-self: right;
  padding: 20px 0;
  background-color: transparent;
}

.project-container:nth-child(even) .project-image-container {
  grid-column: 6 / -1;
}

.project-container:nth-child(even) .project-details {
  grid-column: 1 / 8;
  align-items: flex-start;
}

.project-container:nth-child(even) .project-desc {
  text-align: left;
}

.project-container:nth-child(even) .tech-items {
  margin-right: 18px;
}

.project-container:nth-child(odd) .project-image-container {
  grid-column: 1 / 8;
}

.project-container:nth-child(odd) .project-details {
  grid-column: 6 / 13;
  align-items: flex-end;
}

.project-container:nth-child(odd) .project-desc {
  text-align: right;
}

.project-container:nth-child(odd) .tech-items {
  margin-left: 18px;
}

.project-details * {
  background-color: transparent;
}

.project-stt {
  font-size: 15px;
  /* color: #8892b0; */
  margin-bottom: 10px;
}

.project-title {
  color: #ccd6f6;
  font-size: 28px;
  margin-bottom: 20px;
}

.project-desc {
  background-color: #112240;
  color: #a8b2d1;
  text-align: right;
  padding: 25px;
  font-size: 15px;
  border-radius: 5px;
  box-shadow: 0 0 20px 0 #0a192f;
  margin-bottom: 20px;
}

.techs {
  color: #8892b0;
  margin-bottom: 20px;
  text-align: right;
  /* width: 70%; */
}

.tech-items {
  list-style: none;
  font-size: 15px;
  display: inline;
}

.links {
  color: #8892b0;
  font-size: 21px;
}

.links i:first-child {
  margin-right: 17px;
  transition-duration: 0.4s;
}

.links i:hover {
  cursor: pointer;
  color: #64ffda;
}

/* Get in Touch Section */

.get-in-touch {
  z-index: -5;
}

.git-container {
  width: 50%;
  margin: 50px auto;
  padding: 100px 0;
}

.get-in-touch-secondary-hadding {
  color: #64ffda;
  font-family: monospace;
  text-align: center;
  margin: 0 auto;
}

.get-in-touch-main-hadding {
  color: #ccd6f6;
  text-align: center;
  font-size: 4rem;
  margin: 20px 0px;
}

.get-in-touch-desc {
  /* margin:  0 auto; */
  text-align: center;
  color: #8892b0;
  font-size: 1.2rem;
}

.get-in-touch-btn {
  width: max-content;
  margin: 40px auto;
}


/* Footer */
.footer {

  display: none;
  flex-direction: column;
  width: 50%;
  justify-content: center;
  margin: 50px auto 10px;

}

.item-cont {
  display: flex;
  justify-content: center;
}

.item-cont a {
  transition: 0.4s;
}

.footer a {
  color: #a8b2d1;
  font-size: 20px;
  margin: 0 15px;
  text-decoration: none;
}

.copyright {
  display: block;
  color: #8892b0;
  text-align: center;
  margin: 0 auto 30px;
  font-size: 14px;
}

.credits {
  text-decoration: underline;
  text-decoration-color: #64ffda70;
}

@media screen and (max-width: 850px) {
  #projects {
    width: 90%;
  }

  .project-container {
    grid-template-columns: repeat(6, 1fr);
    background-color: transparent;
    justify-items: stretch;
    grid-auto-rows: minmax(min-content, max-content);
  }

  .project-container:nth-child(odd) .project-image-container,
  .project-container:nth-child(odd) .project-details,
  .project-container:nth-child(even) .project-image-container,
  .project-container:nth-child(even) .project-details {
    grid-column: 1 / -1;
  }

  .project-container:nth-child(odd) .project-details {
    align-items: flex-start;
    justify-content: center;
  }

  .project-container:nth-child(odd) .project-desc {
    text-align: left;
  }

  .project-container:nth-child(odd) .tech-items {
    margin-left: 0;
  }

  .project-details {
    padding: 35px 30px;
    /* align-items: flex-start; */
    /* justify-content: center; */
    height: 100%;
  }

  .project-desc {
    text-align: left;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .tech-items {
    margin-left: 0;
    margin-right: 17px;
  }

  .techs {
    text-align: left;
  }

  .links {
    text-align: left;
  }

  .links i {
    margin-left: 0;
    margin-right: 10px;
  }

  .project-image {
    opacity: 0.1;
  }

  .filter {
    background-color: #64ffdb10;
  }

  /* Skills */
  .skills-class {
    width: 90%;
  }

  .skills-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .skill-item-container {
    flex-direction: row;
    width: 100%;
    margin: 0 auto 30px;
    overflow-x: auto;
  }

  .skill-item {
    border-left: none;
    text-align: center;
    border-bottom: 2px solid #8892b0a8;
  }

  .skill-item:hover,
  .active-item {
    border-left: none;
    border-bottom: 2px solid #64ffda;
  }

  .skills-description {
    margin: 0;
  }

  .social-icon,
  .email-section {
    display: none;
  }

  .footer {
    display: flex;
  }

  /* About */
  #about {
    width: 90%;
  }

  .about-data {
    flex-direction: column-reverse;
    align-items: center;
  }

  .about-text {
    width: 100%;
  }

  .about-img {
    width: 40%;
    margin-bottom: 30px;
  }

  /* Section Line */
  .hl {
    width: max-content;
    min-width: 50px;
  }

  /* Hero section */
  #hero {
    width: 90%;
    margin-top: 150px;
    margin-bottom: 50px;
  }

  .intro-text {
    width: 80%;
  }

  #hero-section-content h1 {
    font-size: 3rem;
  }

  #hero-section-content h1 span {
    font-size: 3rem;
  }


  /* Responsive navbar */
  #navbar {
    padding: 15px 15px 10px;
  }

  .logo {
    padding: 10px;
  }

  .nav-menu {
    display: block;
  }

  .nav-links {
    /* display: none; */
    position: fixed;
    top: 0;
    left: -150%;
    /* transform: translate(-150%); */
    height: 100vh;
    /* view height view width (vw) */
    width: 50vw;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px;
    transition: 0.5s;
    background-color: #020c1b;
    box-shadow: 5px 0 50px 1px #020c1bb3;
    z-index: 40;
  }

  #check {
    display: block;
  }

  /* .cbox:checked .nav-links {
    transform: translateX(0);
  } */

  .nav-links * {
    background-color: transparent;
  }

  .nav-links-item {
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    font-size: 1.3rem;
    padding: 20px 0;
  }

  .underline {
    text-align: left;
    margin-bottom: 20px;
  }

  .nav-links .btn {
    margin-left: 20px;
  }

  /* Get in touch */
  .git-container {
    width: 80%;
  }

  .get-in-touch-main-hadding {
    font-size: 2.5rem;
  }
}