*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
#wrapper{
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}
body.dark #wrapper{
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-image: url(./image/bodybg.png);
    background-size: cover;
}
.container{
    width: 1200px;
    margin: 0 auto;
    
}
.navbar{
    display:flex ;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    

}
.logo-container{
  background-color: white;
  color: white;
      display: flex;
      justify-content: baseline;
      align-items: center;
      border-radius: 50%;
      box-shadow: 0 5px 16px rgb(226 213 213)
      
}
.logo{
    width: 3rem;
    

}
/* .logo-text{
    margin-left: -0.4rem;
    font-size: 28px;
} */
body.dark .logo-text{
    margin-left: -0.4rem;
    font-size: 28px;
    color: #fff;
}
.nav-items{
    display: flex;
    gap: 2rem;
    padding: 0 4rem;

}
.nav-items div{
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.nav-items div a{
    color: black;
}
body.dark .nav-items div a{
    color: #fff;
}
.nav-items1{
    display: flex;
    gap: 2rem;
    padding: 0 4rem;

}
.nav-items1 div{
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.nav-items1 div a{
    color: black;
}
body.dark .nav-items1 div a{
    color: #fff;
}
.nav-items div:hover {
   transition: 0.8s;
    font-weight: bold;

}
.nav-items1 div:hover {
   transition: 0.8s;
    font-weight: bold;

}
body.dark {background-color: #292c35;} /* #9b59b6 */

body.dark h1 {color: #fff;}

.checkbox {
  opacity: 0;
  position: absolute;
}

.checkbox-label {
  background-color: #111;
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-moon {color: #f1c40f;}

.fa-sun {color: #f39c12;}

.checkbox-label .ball {
  background-color: #fff;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
}

.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
}

a{
    text-decoration: none;
}
.heroSection {
    gap: 13rem;
    margin: 4rem auto;
    padding: 0 1rem;
    padding-bottom: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 1200px;
    height:73%;
}

.infoContainer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.fadedText {
    user-select: none;
    font-size: 6em;
    color: transparent;
    bottom: -16%;
    left: 0;
    font-weight: bold;
    background-image:url("./image/fadeimg.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    overflow: hidden;


}
body.dark .fadedText {
    user-select: none;
    font-size: 6em;
    color: transparent;
    bottom: -16%;
    left: 0;
    font-weight: bold;
    background-image:url("./image/fadeimg.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
}

.absolute {
    position: absolute;
}

.heading {
    font-size: 35px;
    color: #343d68;
    line-height: 30px;
}
body.dark .heading {
    font-size: 35px;
    color: #fff;
    line-height: 30px;
}

.role {
    color: transparent;
    font-weight: 900;
    background-image:url("./image/fadeimg.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
}

.subHeading {
    font-size: 45px;
    line-height: 40px;
}

.desc {
    font-size: 16px;
    margin-top: 1rem;
    width: 70%;
    font-weight: 500;
}
body.dark .desc {
    font-size: 16px;
    margin-top: 1rem;
    width: 70%;
    font-weight: 500;
    color: #fff;
}

.btn {
    background-color: #e84949;
    width: fit-content;
    color: white;
    padding: 0.8rem 2.3rem;
    box-shadow: 5px 5px 7px 0px #0000003f;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.5s;
    font-weight: 500;
    border: solid 3px transparent;
    position: relative;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    background-color: #fff;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.8s;
}

.btn:hover::before {
    transform: scaleX(1);
}

.btn:hover {
    border: solid 3px #e84949;
    color: black;
}

.imgContainer {
    position: relative;
}

.userImage {
    padding: 2.5rem;
    transition: all 1s;
    animation: scaleImage 5s linear infinite;
    width: 30rem;
    height: auto;
}

@keyframes scaleImage {
    0% {
        scale: 1;
        filter: grayscale(1);
    }

    50% {
        filter: grayscale(0);
        box-shadow: 3px 3px 10px black;
        scale: 0.8;
    }

    100% {
        scale: 1;
        filter: grayscale(1);
    }
}

.userImage img {
    z-index: -9;
    width: 100%;
    height: 100%;
}

.icons {
    z-index: 9;
}
.icons img{
    width: 2rem;
        height: 2rem;
}

.iconDots {
    bottom: -1rem;
    right: 0;
    animation: dotsAnimation 5s linear infinite;
}

@keyframes dotsAnimation {
    50% {
        transform: translateY(-15px);
    }
}

.iconZigZag {
    z-index: 10;
    top: 1.5em;
    left: -0.3em;
    animation: zigzagAnimation 5s infinite;
}

@keyframes zigzagAnimation {
    50% {
        left: 5%;
        top: 3%;
    }
}

.icon-cube {
    z-index: 9;
    top: -0.8em;
    right: 1em;
    animation-name: cubeRotate;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

@keyframes cubeRotate {
    0% {
        transform: rotateY(0deg) translateY(0px);
    }

    50% {
        transform: rotateY(180deg) translateY(-12px);
    }

    100% {
        transform: rotateY(360deg) translateY(0px);
    }
}

.icon-circle {
    z-index: 9;
    left: 0;
    bottom: 0;
    animation-name: shakeEffect;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes shakeEffect {
    50% {
        left: 5%;
        bottom: 10%;
    }
}

/* Hero Section Ends  */

/* Projects Section  */
body.dark .projectSection {
  margin-top: 4rem;
  background-color: #323131;
}
.projectSection {
  margin-top: 4rem;
  background-color: #dfd9d9;
}

.projectTitle {
  color: transparent;
  font-size: 5rem;
  line-height: 75px;
  padding: 50px 0 30px;
  text-align: center;
  background-image:url("./image/fadeimg.png") ;
  background-size: cover;
  background-position: center;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 4px 3px 3px rgb(255 134 134 / 50%);
}

.projectContainer {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  /* width: 100%; */
}

#project1 {
  background-image: url(./image/projects/cricket.png);
  right: 5%;
}

#project2 {
  background-image: url(./image/projects/cgpa_extention.png);
  left: 5%;
}

#project3 {
  background-image: url(./image/projects/Story.png);
  right: 5%;
}


#project4 {
  background-image: url(./image/projects/resume_Sreener.png);
  left: 5%;
}

.projectCard {
  width: 70%;
  height: 34rem;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  box-shadow: 0px 0px 40px #1f1f1f;
  margin: 1rem auto;
  z-index: 2;
}

.projectCard::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(45deg, #343d68, #343d68be, #343d687c);
  z-index: 1;
  transition: 0.5s all;
  transform-origin: left;
  transform: scaleX(0);
}

.projectCard:hover::before {
  transform: scaleX(1);
}

.projectNumber {
  position: absolute;
  font-size: 12.5rem;
  font-weight: 600;
  
  display: none;
  z-index: 10;
  transition: 0.8s;
  background-image:url("./image/fade.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.rightNumber {
  top: -2.8rem;
  right: -2.8rem;
}

.leftNumber {
  top: -2.8rem;
  left: -2.8rem;
}

.projectCard:hover .projectNumber {
  display: block;
}

.projectCard::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #1f1f1f9a;
  z-index: 0;
}

.projectContent {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  padding: 2em;
  bottom: 20%;
  position: absolute;
  z-index: 5;
  transition: all 0.4s;
}

.leftProjectContent {
  left: 5%;
}

.rightProjectContent {
  right: 5%;
}

.projectSkillsContainer {
  display: flex;
  flex-wrap: wrap;
  max-width: 60%;
  gap: 1em;
}

.projectSkill {
  width: 2.5rem;
}
.projectHeading {
  font-size: 3.125rem;
  font-weight: bold;
  line-height: 3rem;
}

.projectSubHeading {
  font-size: 1rem;
  font-style: italic;
  width: 70%;
}

.projectCard:hover .projectContent {
  transform: scale(1.1);
}

.btnGroup {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.btnGroup .btnProject {
  border: none;
  outline: none;
}
.icon1 {
  cursor: pointer;
  color:black;
  font-size: 2.187rem;
  transition: all 0.4s;
}

.icon1:hover {
  color:rgb(130, 125, 125);
}
.icon {
  cursor: pointer;
  color: white;
  font-size: 2.187rem;
  transition: all 0.4s;
}

.icon:hover {
  color: #e84949;
}

/* Project Section End  */

/* Skill Section Start  */
.skillContainer {
  position: relative;
  display: flex;
  padding: 5rem;
  margin: 10rem auto;
  gap: 1.88rem;
}

.leftSkillContainer {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.skillHeading {
  color: transparent;
  font-weight: 700;
  font-size: 3.125rem;
  line-height: 3.125rem;
  background-image:url("./image/fadeimg.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 4px 3px 3px rgb(255 134 134 / 50%);
}

.skillHeading span {
  font-size: 5.625rem;
  background-image:url("./image/fadeimg.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 4px 3px 3px rgb(255 134 134 / 50%);
}


.skillSubHeading {
  margin-top: 1rem;
  width: 85%;
  text-align: justify;
  text-shadow: 4px 3px 3px rgb(255 134 134 / 50%);
}
.skillSubHeading p {
  margin: 0.9375rem 0;
}
body.dark .skillSubHeading p {
  margin: 0.9375rem 0;
  color: #fff;
}
.rightSkillContainer {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  width: 50%;
  position: relative;
  justify-content: center;
}

.blobStyle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: blobAnimation 3s linear infinite;
}

@keyframes blobAnimation {
  50% {
    top: 54%;
    left: 46%;
  }
}

.skillsLogo {
  width: 5rem;
  transition: all 0.5s;
}

.skillsLogo:hover {
  transform: scale(1.2);
}

.skillFadedText {
  font-size: 12em;
  right: 0;
  bottom: -27%;
  user-select: none;
  color: transparent;
  font-weight: bold;
  background-image:url("./image/fadeimg.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
}

/* Skill Section End  */

/* Contact Me Section Start  */
.contactMeSection {
  width: 100%;
  background-image: url(./image/contactpage.png);
  background-size: cover;
}

.container {
  max-width: 75rem;
  margin: 0 auto;
}

.container h2 {
  font-size: 5em;
  padding-top: 2rem;
  background-image:url("./image/fade.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}


.container h3 {
  font-size: 3em;
  color: #343d68aa;
}

.contactUsForm {
  display: flex;
  margin-top: 1.5625rem;
  justify-content: center;
  align-items: center;
}

.contactUsForm form {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}


.formField {
  width: 100%;
  height: 2.625rem;
  padding: 0 2rem;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  box-shadow: 2px 2px 10px #1f1f1f;
  background: #ffffff97;
  font-weight: 500;
}

.formfield:focus {
  border: none;
}

.formFieldContainer textarea {
  height: auto;
  padding-top: 1rem;
}

.formBtn .btn {
  transition: 0.5s;
  border: none;
  font-size: 1.4rem;
  margin: 1rem 0;
  left:3rem;
}

.formBtn .btn:hover {
  transform: scale(0.9);
}

.formBtn .btn i {
  padding: 0 1rem;
  font-size: 1.5rem;
}


/* Contact Me Section Ends  */

/* Footer Section Start  */
.foo{
  bottom:-1rem;
}
footer {
  
  position: relative;
  padding: 5rem;
  
}
#current-year{
  color: rgb(220, 211, 211);
  font-size: 1.2rem;
}
.foo p{
  color: rgb(220, 211, 211);
  font-size: 1.2rem;
}

.footerFadedText {
  font-size: 5em;
  position: absolute;
  left: 0;
  bottom: -1rem;
  color: transparent;
  user-select: none;
  background-image:url("./image/fadeimg.png") ;
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  
}

.footerContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
}

.linkContainer {
  display: flex;
  gap: 1.2em;
}

.linkContainer div a {
  color: white;
  text-decoration: none;
  transition: all 0.6s;
  font-size: 2rem;
}

.linkContainer div a:hover{
  color: #0c77be;
}

.iconContainer{
  display: flex;
  gap: 1rem;
  z-index: 5;
}
.footer p {
    margin: 0; /* Remove default margin */
        text-align: center;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .footer {
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 6px 0;
    }
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-items {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-items1 {
        flex-direction: column;
        gap: 1rem;
    }

    .heroSection {
        padding: 1rem;
        gap: 1rem;
    }

    .subHeading {
        font-size: 32px;
        line-height: 36px;
    }

    .desc {
        width: 100%;
        font-size: 14px;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 16px;
    }

    .userImage {
        width: 18rem;
        height: auto;
    }
    .profile1{
        width: 18rem;
        height: 20rem;
    }

    .projectCard {
        width: 100%;
        margin: 1rem 0;
    }

    .skillsLogo {
        width: 50px;
        height: 50px;
    }

    .contactText {
        font-size: 28px;
    }

    .formField, .submitButton {
        width: 100%;
        max-width: 100%;
    }

    textarea {
        width: 100%;
    }

    .footerContainer {
        padding: 1rem;
    }
}
@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }

    .nav-items {
        gap: 0.5rem;
    }
    .nav-items1 {
        gap: 0.5rem;
    }

    .heroSection {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .heading {
        font-size: 24px;
    }

    .subHeading {
        font-size: 24px;
        line-height: 28px;
    }

    .desc {
        font-size: 12px;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 14px;
    }

    .userImage {
        width: 16rem;
        height: auto;
    }

    .projectCard {
        margin: 0.5rem 0;
        box-shadow: none;
    }

    .skillsLogo {
        width: 40px;
        height: 40px;
    }

    .contactText {
        font-size: 24px;
    }

    .formField, .submitButton {
        font-size: 14px;
    }

    textarea {
        height: 100px;
    }

    .footerContainer {
        padding: 0.5rem;
    }

    .footerLink {
        font-size: 1rem;
    }
}


/* Footer Section End  */
#start1 {
  height: 100vh;
  width: 100vw;
  background-color: #010101; 
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}
#loader{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: white;
  font-size: 5rem;
  font-weight: 900;
}