* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #0f0d0d;
  color: white;
}

html,
body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

a{
  text-decoration: none;
}

*::selection {
  background-color: rgb(255, 106, 0);
  color: #000;
}

nav {
  position: fixed;
  /* background-color: rebeccapurple; */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2vw 10vw;
  z-index: 10;
  background-color: #0f0d0d;
  font-family: "Rowdies";
}
nav h1 {
  font-size: 1.5vw;
  font-family: "Rowdies";
  color: #0f0d0d;
  background-color: white;
  padding: 4px;
  border-radius: 2px;
}

nav h1:hover {
  color: white;
  background-color: #0f0d0d;
  cursor: pointer;
  transition: ease-in 0.15s;
}

nav button {
  border: none;
  font-size: 1.2vw;
  padding: 3px 15px;
  background-color: green;
  border-radius: 18px;
  cursor: pointer;
}
.navOptions {
  display: flex;
  gap: 5vw;
  font-size: 1vw;
  align-items: center;
  /* border: 2px solid red; */
}
.navOptions h4 {
  cursor: pointer;
  font-weight: 200;
  font-size: 1.1vw;
}

.background-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  background: linear-gradient(
      to right,
      rgba(0, 255, 247, 0.039) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(0, 179, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
}

.pageHeading {
  font-size: 3vw;
  font-family: Futura;
  padding: 20px 0;
  /* opacity: 0; */
}

#page1 {
  min-height: 90vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 3vw;
  padding-top: 15.5vh;
  background-color: #0f0d0d;
  color: #fff;
  /* border: 2px solid red; */
}

#page1 h2 {
  font-size: 5.5vw;
  font-family: Futura;
}
#page1 h3 {
  font-size: 1.1vw;
  width: 80%;
  font-family: "Manrope";
  margin-top: 25px;
  line-height: 1.8;
  color: #cecece;
  background-color: rgba(2, 158, 255, 0.055);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 15px;
  border-radius: 5px;
}

.headingFrame :hover {
  position: relative;
  border: 2px solid white;
}

#moving_div {
  width: 100%;
  height: 30vh;
  background-color: #0a0a0a;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  /* border: 2px solid red; */
}

.move {
  display: flex;
  position: relative;
  background-color: #0a0a0a;
  animation: moveAnim 23s linear infinite;
}

#moving_div img {
  height: 8vw;
  margin: 1vw;
  background-color: #0a0a0a;
}

/* Infinite scrolling animation */
@keyframes moveAnim {
  0% {
    transform: translateX(0); /* Start from the initial position */
  }
  100% {
    transform: translateX(
      -100%
    ); /* Scroll halfway through the duplicated content */
  }
}

#moving_div h2 {
  font-size: 20px;
  color: whitesmoke;
}

#skills {
  padding: 2vw 1vw;
  background-color: rgba(0, 255, 255, 0.983);
  font-size: 1vw;
  font-family: futura;
  font-weight: 600;
  text-transform: uppercase;
  position: fixed;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  z-index: 10;
  transition: transform 0.3s ease, opacity 0.5s ease;
}

.imageFrame {
  /* border: 2px solid red; */
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#portfolioImage {
  width: 85%;
  border-radius: 1%;
}

#page2 {
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding: 3vw;
  padding-top: 16vh;
  background-color: #0f0d0d;
  color: #fff;
}

.workEx1 {
  /* border: 2px solid red; */
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  margin-top: 30px;
  background-color: #0a0a0a;
  border-radius: 2%;
}

#workEx1Left {
  width: 40%;
  box-sizing: border-box;
  padding: 10px;
  background-color: #0a0a0a;
}

#workEx1Left h3 {
  font-family: "Manrope";
  font-size: 1.4vw;
  background-color: #0a0a0a;
}

#workEx1Left h4 {
  margin-top: 20px;
  font-family: "Manrope";
  font-size: 1.4vw;
  color: aqua;
  background-color: #0a0a0a;
}

#workEx1right {
  width: 50%;
}

.page2_right_elem {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.page2_right_desc {
  position: relative;
  height: 100%;
  font-size: 1.5vw;
  /* border: 2px solid white; */
  font-family: "Manrope";
  border-bottom: 1px solid #333;
  padding: 25px;
  cursor: pointer;
  background-color: #0a0a0a;
}
.page2_right_desc p {
  color: #ffffffc3;
  background-color: #0a0a0a;
}
.page2_right_desc img {
  position: absolute;
  width: 6vw;
  height: 6vw;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  scale: 0;
}

.skillUsed {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  padding: 15px 0;
  gap: 10px;
  background-color: #0a0a0a;
}

.skillUsed .internSkill {
  color: white;
  padding: 5px 10px;
  background-color: rgba(2, 158, 255, 0.13);
  border-radius: 5px;
  display: inline-block;
  font-family: "Manrope";
  font-weight: 700;
}

#page3 {
  width: 100vw;
  min-height: 100vh;
  background-color: black;
  position: relative;
  padding: 5vw 3vw;
  margin-top: 6rem;
  /* overflow: hidden; */
}
#page3 h2 {
  background-color: black;
}
#page3 span {
  background-color: black;
}

.projWrapper {
  width: 100%;
  min-height: 50vh;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3vw;
  /* border: 2px solid red; */
}

#projElem {
  width: 30%;
  height: 250px;
  margin: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease-in-out;
  transform-style: preserve-3d;
  transform-origin: center;
  perspective: 1000px;
}



#projElem h2 {
  color: white;
  background-color: inherit;
  font-family: "Rowdies";
  text-transform: uppercase;
  font-size: 2rem;
  padding: 10px 20px;
  border-radius: 10px;
}

/* #projElem:nth-child(3n + 1) {
  background-color: rgb(205, 202, 7);
}

#projElem:nth-child(3n + 2) {
  background-color: rgb(255, 38, 0);
}

#projElem:nth-child(3n + 3) {
  background-color: green;
} */
.linkIcons {
  position: relative;
  width: 80%;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px;
  margin-top: 5px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.linkIcons svg {
  width: 35px;
  height: 35px;
  fill: rgba(255, 255, 255, 0.8); 
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
}

.linkIcons svg:hover {
 cursor: pointer;
}


#skillsWrapper {
  margin-top: 3.5rem;
  padding: 2vw;
  border-radius: 10px;
  background-size: contain;
  background-color: rgba(6, 138, 209, 0.055);
  box-shadow: 0 10px 38px 0 rgba(31, 48, 135, 0.37);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  border-radius: 10px;
  border: 1px solid rgba(5, 47, 237, 0.612);
  padding: 15px;
  border-radius: 5px;
}

.skillDivision {
  display: flex;
  padding: 1vw;
  background-color: rgba(2, 158, 255, 0);
}

.skillDivision h2 {
  color: rgb(0, 68, 255);
  font-family: "Rowdies";
  font-weight: 200;
  text-transform: uppercase;
  padding-right: 15px;
  font-size: 2rem;
  background-color: rgba(2, 158, 255, 0);
}

.skillNameWrap {
  width: 50%;
  /* border: 2px solid red; */
  display: flex;
  background-color: black;
  flex-wrap: wrap;
  justify-content: start;
  gap: 15px;
  background-color: rgba(2, 158, 255, 0);
}

.skillName {
  background-color: rgba(1, 49, 112, 0.364);
  padding: 5px 8px;
  font-family: "Manrope";
  border-radius: 5px;
}


#page4{
  width: 100vw;
  min-height: 80vh;
  /* border: 3px solid red; */
  padding: 3vw;
}

.eduCardWrap {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  grid-template-rows: auto auto; /* Flexible row height */
  grid-template-areas:
    "card1 card3"
    "card2 card3"; /* Stacking first two divs, third taking full height */
  gap: 15px;
  padding: 10px;
}

.eduCard:nth-child(1) {
  grid-area: card1;
}

.eduCard:nth-child(2) {
  grid-area: card2;
}

.eduCard:nth-child(3) {
  grid-area: card3;
}



.eduCard {
  width: 100%;
  min-height: 200px;
  padding: 20px;
  border-radius: 15px;
  background: black;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  position: relative;
  margin: 15px;
}
.eduTime {
  display: inline-block;
  padding: 5px 10px;
  background: #7373734c;
  color: white;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: bold;
  font-family: 'Manrope';
}
.eduType{
  padding: 2px 4px;
  background-color: #0000002f;
  font-family: 'Manrope';
  font-size: 0.85rem;  
}
.eduHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: black;
}
.degree {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  background: black;
  padding: 8px 12px;
  border-radius: 10px;
}
.degree span {
  font-family: 'Manrope';
  background: black;
}
.eduTitle {
  font-size: 1.4rem;
  margin: 15px 0;
  font-weight: 300;
  background: black;
  font-family: 'Rowdies';

}
.eduDetails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: black;
}
.eduDetails h3{
  font-size: 16px;
  background-color: black;
  font-family: 'Manrope';
  color: rgba(0, 255, 255, 0.794);
}