* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  height: 100%;
  width: 100%;
  background-color: #000;
}

::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background-color: #000000;
}

::-webkit-scrollbar-thumb {
  background: #EDFF06;
  border-radius: 20px;
  border: 3px solid #000000; 
}

#main {
  position: relative;
  z-index: 10;
}

* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* .pre-loader {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon( 0% 0%, 100% 0%, 100% 100%, 0% 100% );
}

.loader {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: whitesmoke;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-content {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  display: flex;
  width: fit-content;
  z-index: 2;
  color: whitesmoke;
}

.count {
  flex: 2;
  text-align: right;
  line-height: 1;
  width: 50px;
  padding: 0 1em;
}

.copy {
  flex: 6;
  font-size: 30px;
  text-transform: uppercase;
  line-height: 1;
  width: 480px;
}

.ml16 {
  overflow: hidden;
  width: fit-content;
}

.ml16 .letter {
  display: inline-block;
  line-height: 1;
}

.loader-bg {
  position: absolute;
  display: block;
  top: 0;
  width: 100%;
  height: 100%;
  background: #EDFF06;
  z-index: -1;
}

.loader-2 {
  position: absolute;
  display: block;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(/assets/Untitled\ design.png) no-repeat 50% 50%;
  z-index: -1;
  clip-path: polygon(0% 0%, 100% 0%, 100%, 0% 100%);
}

#site-content {
  position: relative;
  z-index: -2;
} */

.container {
  background-color: #000;
}

/* ...........................................NAV BAR........................................... */

#hero-page {
  height: 110vh;
  width: 100%;
}

#navbar_full  {
  display: flex;
  justify-content: center;
  width: 100%;
  /* position: fixed; */
  top: 10px;
  align-items: center;
}

#navbar-portfolio {
  color: whitesmoke;
  height: fit-content;
  position: absolute;
  left: 50px;
  top: 20px;
  font-size: larger;
}

#navbar {
  margin-top: 30px;
  width: 80vmin;
  height: fit-content;
  justify-content: center;
  display: flex;
  gap: 3vmin;
  box-shadow: 2px 4px 8px 1px #EDFF06;
  border-radius: 20px;
  background-color: black;
}

.nav-item {
  padding: 2vmin;
}

.nav-item p {
  font-size: 17px;
  width: fit-content;
  height: fit-content;
}

.nav-item a {
  color: #EDFF06;
  text-decoration: none;
}

#navbar-resume {
  color: whitesmoke;
  height: fit-content;
  position: absolute;
  right: 300px;
  top: 44px;
  font-size: larger;
}

#resumelink {
  color: whitesmoke;
}

#navbar-line {
  background-color: #EDFF06;
  height: 4px;
  width: 50px;
  position: absolute;
  right: 230px;
  top: 54px;
}

#navbar-contact {
  color: whitesmoke;
  height: fit-content;
  position: absolute;
  right: 140px;
  top: 44px;
  font-size: larger;
}

#navbar-contact-a {
  color: whitesmoke;
}

/* Code when hover on line, work on it later */

/* #navbar-line:hover {
  background-color: #EDFF06;
  height: 50px;
  width: 4px;
  position: absolute;
  right: 250px;
  top: 31px;
} */

/* The below code was for Khushang Singh text */

/* #hero-name {
  color: #EDFF06;
  font-family: 'TAN MERINGUE', "Inter";
  font-size: 150px;
  font-style: normal;
  font-weight: 700;
  line-height: 150px;
  margin-left: 100px;
  text-align: left;
} */

/* .hero-name-div {
  margin-top: 190px;
  width: fit-content;
} */

/* Code for Khushang Singh image */

/* ...........................................HOME PAGE........................................... */

#hero-page-name {
  display: flex;
  width: 100%;
  height: 500px;
}

.hero-name-div {
  width: fit-content;
  height: fit-content;
  margin-top: 110px;
  margin-left: 150px;
}

.hero-caption-div {
  width: fit-content;
  height: fit-content;
}

#hero-caption {
  color: white;
  font-family: Inter;
  font-size: 40px;
  font-style: normal;
  font-weight: 150;
  line-height: normal;
  margin-left: 150px;
}

.mutli-text {
  color: white;
  font-family: Inter;
  font-size: 40px;
  font-style: normal;
  font-weight: 150;
  overflow: hidden;
  line-height: normal;
}

.caption-social {
  align-items: center;
  display: flex;
  width: 100%;
  gap: 650px;
}

#social-icons {
  height: fit-content;
  width: fit-content;
}

#social-icons svg{
  margin: 1.5vmin;
}

#social-icons a {
  text-decoration: none;
  color: inherit;
  fill: inherit;
  outline: none;
}

#hero-line {
  height: 10px;
  width: 700px;
  background-color: white;
  position: absolute;
  right: 0px;
  top: 400px;
  right: -100%; /* Start outside the screen */
  animation: moveIn 0.7s ease-out forwards;
}

@keyframes moveIn {
  from {
      right: -100%;
  }
  to {
      right: 0;
  }
}

/* #video-section {
  height: fit-content;
  width: 100%;
  display: flex;
  position: relative;
} */

/* #video-container {
  width: 100%;
  height: 100px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto;
  top: -50px;
} */

#moving-text {
  color: whitesmoke;
  align-self: center;
  overflow-x: auto;
  padding-bottom: 200px;
}

#moving-text::-webkit-scrollbar {
  display: none;
}

.moving-text-container {
  white-space: nowrap;
  display: inline-block;
  animation-name: move;
  animation-duration: 70s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#moving-text .move-txt {
  font-size: 9vw;
  display: inline-block;
  margin: 0px 40px;
}

#moving-text .creativity {
  font-size: 9vw;
  display: inline-block;
  margin-left: 40px;
  color: #EDFF06;
}

#moving-circle {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #EDFF06;
  display: inline-block;
}

@keyframes move {
  from {
    transform: translate(0);
  }
  to {
    transform: translate(-100%);
  }
}

.section-title {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
}

.section-title img {
  position: absolute;
  left: 30px;
}

/* ...........................................SKILLS Section........................................... */

#skills {
  height: 105vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.skill-set {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.tech-skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 30px;
  flex-grow: 1;
  margin-bottom: 50px;
}

.tech-skills h3,
.pro-skills h3 {
  margin-top:50px;
  color: whitesmoke;
  margin-bottom: 50px;
  font-size: 4vmin;
  font-weight: 400;

}

.tech-skills hr,
.pro-skills hr {
  width: 200px;
  height: 2px;
  position: relative;
  bottom: 35px;
  background-color: #EDFF06;
  border-style: none;
  border-radius: 2px;
}

.tech-skills li {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-bar {
  margin-top: 10px;
  height: 10px;
  width: 350px;
  background-color: #1a1a1a;
  border-radius: 10px;
  animation: animate 0.8s cubic-bezier(1, 0, 0.5, 1) forwards;
  transform-origin: left;
}

.skill-bar .html,
.skill-bar .css,
.skill-bar .js,
.skill-bar .cpp,
.skill-bar .python,
.skill-bar .java {
  height: 9px;
  background-color: #EDFF06;
  animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 10px;
}

@keyframes animate {
  100% {
    transform: scaleX(1);
  }
}

.skill-bar .html {
  width: 95%;
}

.skill-bar .css {
  width: 80%;
}

.skill-bar .js {
  width: 50%;
}

.skill-bar .cpp {
  width: 70%;
}

.skill-bar .python {
  width: 85%;
}

.skill-bar .java {
  width: 85%;
}

.pro-skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
  flex-grow: 1;
}

.pro-skill {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 30px;
  gap: 100px;
}

.progress-bar {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 20px auto;
  border-radius: 50%;
  /* background: conic-gradient(#EDFF06 calc(var(--percentage) * 1%), rgba(255, 255, 255, 0.04) calc(var(--percentage) * 1%)); */
  display: flex;
  background-color: #EDFF06;
  justify-content: center;
  align-items: center;
  animation: fill-progress 2s forwards;
}

/* @keyframes fill-progress {
  from {
    background: conic-gradient(#EDFF06 0deg, rgba(255, 255, 255, 0.04) 0deg);
  }

  to {
    background: conic-gradient(#EDFF06 calc(var(--percentage) * 1%), rgba(255, 255, 255, 0.04) calc(var(--percentage) * 1%));
  }
} */

.progress-ring {
  width: 63px;
  height: 63px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-value {
  font-size: 15px;
  color: whitesmoke;
}

.progress-info {
  color: whitesmoke;
  text-align: center;
}

/* #skill-container-large {
  width: 80%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: center;
  padding: 20px;
  margin: 0 auto;
}

.skill-container {
  background: #EDFF06;
  border-radius: 10px;
  color: #000000;
  text-align: center;
  border: #EDFF06 4px solid;
  height: 75px;
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.3s ease-in-out;
}

.skill-name {
  font-size: 25px;
  font-weight: 700;
  position: absolute;
  transition: color 0.3s ease-in-out;
}

.skill-container:hover {
  background-color: #000000;
  box-shadow: 1px 3px 6px #EDFF06;
}
.skill-container:hover .skill-name {
  color: #EDFF06;
  font-weight: bolder;
}

.skills-note {
  height: fit-content;
  width: fit-content;
  bottom: 20px;
  right: 30px;
  position: absolute;
  margin-bottom: 50px;
  order: 3;
}

.skills-note p {
  font-size: smaller;
  color: whitesmoke;
} */

/* ...........................................PROJECTS Section........................................... */

#projects {
  height: 110vh;
  width: 100%;
  position: relative;
  display: flex;
  background-color: #EDFF06;
  flex-direction: column;
}

#projects-container-large {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  order: 2;
}

.project-box {
  margin: 10px; 
  height: 300px;
  width: 500px; 
  background-color: black; 
  color: white; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

#cross-moving-text {
  color: whitesmoke;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;         /* Hide overflow of moving text */
  padding-bottom: 100px;
}

#cross-moving-text::-webkit-scrollbar {
  display: none;
}

.moving-text-container-2 {
  white-space: nowrap;
  display: inline-block;
  animation-name: move;
  animation-duration: 70s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  justify-content: center;
}

#cross-moving-text .move-txt {
  font-size: 6vw;
  display: inline-block;
  margin: 0px 40px;
}

.tilt-1, .tilt-2 {
  background-color: #EDFF06;
  color: #000;
  position: absolute;
  top: 50%;
  width: 110vw;
  left: 50%;
  transform-origin: center;
  transform: translate(-50%, -50%); /* Center the tilted div */
}

.tilt-1 {
  transform: translate(-50%, -50%) rotate(15deg);  /* Rotate by 15 degrees */
}

.tilt-2 {
  transform: translate(-50%, -50%) rotate(-10deg); /* Rotate by -10 degrees */
}

/* ...........................................CERTIFICATIONS Section........................................... */

#certifications {
  height: auto;
  width: 100%;
  position: relative;
  display: flex;
  background-color: black;
  flex-direction: column;
}

#certifications-container-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  margin: 10px;
  order: 2;
}

.certificates-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  height: fit-content;
  margin: 10px;

}

.certificates-box img {
  width: 350px;
  height: auto;
  justify-content: center;
}

.certificates-box p {
  color: whitesmoke;
  font-style: italic;
  justify-self: center;
  margin-top: 15px;
}

.certificates-box p1 {
  position: relative;
  color: whitesmoke;
  font-style: italic;
  justify-self: center;
  padding-left: 8px;
  margin-left: 8px;
  border-left: 2px solid whitesmoke;
}

/* ...........................................ABOUT Section........................................... */

#about {
  padding-top: 50px;
  height: 110vh;
  width: 100%;
  position: relative;
  display: flex;
  background-color: black;
  flex-direction: column;
}

#about-container-large {
  position: relative;
  left: 50px;
  top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #1a1a1a;
  padding: 10px;
  border-radius: 10px;
  width: 700px;
  height: 300px;
  text-align: left;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 17px;
}

#about-container-small {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 85%;
  height: fit-content;
  align-self: center;
}

#about-info {
  text-align: justify;
  font-size: 17px;
  margin-top: 10px;
}

#about-container-large p, span {
  color: rgb(255, 255, 255);
  width: fit-content;
  height: fit-content;
}

#message-me {
  height: 100vh;
  position: absolute;
  top: 180px;
  left: 950px;
  display: flex;
  justify-items: center;
  justify-content: space-evenly;
}

.contact-me {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  height: auto;
}

.contact-me-title {
  top: 200px;
  color: whitesmoke;
  font-size: 20px;
}

.contact-me-title h1 {
  font-weight: 300;
}

.contact-me-title hr {
  border: none;
  height: 3px;
  width: 180px;
  background-color: #EDFF06;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.contact-inputs {
  width: 400px;
  height: 50px;
  border: none;
  outline: none;
  padding-left: 20px;
  font-weight: 300px;
  color: whitesmoke;
  background-color: #1a1a1a;
  border-radius: 10px;
}

.contact-me textarea {
  min-height: 50px;
  padding-top: 17px;
  border-radius: 10px;
}

.contact-inputs:focus {
  border: 2px solid #EDFF06;
}

.contact-inputs::placeholder {
  color: ;
}

.contact-me button {
  background-color: #EDFF06;
  color: #000000;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  border-radius: 10px;
  display: absolute;
  align-self: center;
  width: 100px;
  height: auto;
}

#force-scroll {
  position: absolute;
  color: #5f5f5f;
  top: 690px;
  width: 65px;
  height: 35px;
  background-color: #1a1a1a;
  align-self: center;
  text-align: center;
  align-content: center;
  border-radius: 20px;
}

/* ...........................................THANK YOU Section........................................... */

#Thank-You-Page {
  height: 60vh;
  width: 100%;
}

#footer-thank-you {
  position: fixed;
  height: 90vh;
  width: 100%;
  background-color: #EDFF06;
  bottom: 0;
  z-index: 9;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-top: 250px;
}

#copyright {
  padding-top: 100px;
  width: fit-content;
  height: fit-content;
}
