*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial";
  text-decoration: none;
  scroll-behavior: smooth;
  list-style: none;
}
/* Removing the purple links */
a{
  color: white
}

body{
  background:black;
  color: white;
}

header{
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  background-color: #4e4e4e;
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 3rem;
  z-index: 1000;
  
}

.logo{
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  text-wrap: nowrap;
  white-space: nowrap;
  transition: 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;

}

.logo:hover{
  transform: scale(1.1);
}

.nav-links{
  display: flex;
  gap: 2rem; 
  align-items: center;
  justify-content: center;
  min-height: 50px; 
}

li a{
  position: relative;
  color: white;
  font-weight: 300;
}

li a::before{
  position: absolute;
  content: '';
  width: 0;
  left: 0;
  height: 5px;
  top: 25px;
  border-radius: 1rem;
  transition: 0.3s ease-in-out;
  background: linear-gradient(to right, #D4BCCF, #3b7daa);
}

li a:hover::before{
  width:100%;
}

.visit-btn{
  padding: 0.8rem 1.5rem;
  border-radius: 3rem;
  border: none;
  font-weight: 500;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  text-wrap: nowrap;
  transition: 0.3s ease-in-out;
  background: linear-gradient(to right, #3b7daa, #D4BCCF);
  
}

.visit-btn:hover{
  background: linear-gradient(to right, #D4BCCF, #3b7daa);
  transform: scale(1.03);
}

#menu-icon{
  color: white;
  font-size: 2rem;
  display: none;
}

section{
  min-height: 100vh;
  padding: 8rem 12%;
  width: 100%;
  position: relative;

}

.about{
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .about-container{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;

}
.image-container{
  position: relative;
  width: 350px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
}

.image-container img{
  position: absolute;

  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}



.info-box{
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.info-box h3{
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0.8;

}

.info-box h1{
  font-size: 4rem;
  font-weight: 600;
}

.info-box span{
  background: linear-gradient(to right, #D4BCCF, #3b7daa);
  background-clip: text;
  color: transparent;
  font-size: 2rem;
}

.btn-group{
  display: flex;
  gap: 1rem;
  grid-area: buttons;
  justify-content: center;
  align-items: center;

}

.btn{
  border-radius: 3rem;
  padding: 0.5rem 1.5rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-wrap: nowrap;
  transition: 0.2s ease-in-out;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #4e4e4e;
}

.btn:hover{
  background-color: #E7E7E5;
  color: #4e4e4e;
}

.socials{
  display: flex;
  gap: 2rem;
}

.socials i{
  font-size: 2.5rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  color: white;
}

.socials i:hover{
  transform: scale(1.1);
}

::-webkit-scrollbar{
  background-color: pink;
}

::-webkit-scrollbar-track{
  background-color: white;
}

::-webkit-scrollbar-thumb{
  background: #202833;
}
/* Card Carousel */

.carousel-wrapper{
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.carousel{
  width:100%;
  overflow-x: auto;
  margin: 3em auto;
  display: flex;
  gap: 1em;
  scroll-behavior: smooth;
  min-width: 0;
  overflow-y: hidden;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar{
  display: none;
}

.carousel img.card{
  flex: 0 0 20em;
  min-width: 20em;
  max-width: 20em;
  height: 12em;
  background-color: white;
  border-radius: .5em;
  align-content: center;
  object-fit: cover;
  display: block;
}

.left-arrow, .right-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 2.5rem;
  height: 2.5rem;

  border: none;
  border-radius: 50%;
  background-color: white;
  opacity: 0.5;
  color: black;
  font-size: 1.25rem;
  cursor: pointer;
}

.right-arrow:hover{
  background-color: white;
  opacity: 1;
}

.left-arrow:hover{
  background-color: white;
  opacity: 1;
}

.left-arrow{
  left: 0.5rem;
}

.right-arrow{
  right: 0.5rem;
}

/* About Me Section */

.about-grid{
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto-fit, minmax(0, 1fr);
  gap: 2rem;
}

.about-info{
  width: 100%;
  min-width: 0;
}

.about-card{
  position: sticky;
  top: 150px;
  border-radius: 3rem;
  padding: 2rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  background-color: #4e4e4e;
  min-height: 200px;
  margin-bottom: 2rem;
  display: grid;
  align-items: start;
  grid-template-columns: 0.2fr 1.05fr;

}

.about-card.card-one.active{
  background: #BDD4D3;
  color: #455251;
  transform: scale(1.02);
}

.about-card.card-two.active{
  background: #b381cc;
  color: #455251;
  transform: scale(1.02);
}

.about-card.card-three.active{
  background: #edbc7c;
  color: #455251;
  transform: scale(1.02);
}

.about-card.card-four.active{
  background: #a5f48b;
  color: #455251;
  transform: scale(1.02);
}

.about-card.card-five.active{
  background: #61a296;
  color: #455251;
  transform: scale(1.02);
}

.about-text{
  text-align: left;
  grid-column: 2;
  grid-row: 1;
}
.about-icon{
  padding-top: 10px;
  padding-left: 10px;
  font-size: 2.5rem;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
}

.about-me {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  padding: 5rem;
  display: grid;
  gap: 3rem;
  color: white;
}

#intro{
  text-align: center;
  font-size: 20px;
}



/* Projects Section */


.projects{
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  color: white;
}

.projects-grid{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card{
  position: sticky;
  top: 150px;
  border-radius: 3rem;
  padding: 2rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  background-color: #4e4e4e;
  min-height: 500px;

  display: grid;
  align-items: start;
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  margin-bottom: 2rem;
  grid-template-areas: "text image" "buttons buttons";
  border-style: solid;
  border-width: 7px;
}

.project-card.active{
  transform: scale(1.02);
}

.project-text{
  grid-area: text;
  min-width: 0;
}

.card-content h2{
  font-size: 20px;
}
.project-card h1{
  font-size: 30px;
  font-style: bold;
}

.card-content li{
  list-style-type: disc;
  text-align: left;
  padding-left: -10rem;
  margin-left: 50px;

}

.list{
  border-radius: 3rem;
  padding: 0.5rem 1.5rem;
  background-color: #E7E7E5;
  color: #455251;
}

.stack{
  display:flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
}

.project-card img{
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  border-radius: 1rem;
  border: black;
  object-fit: cover;
  justify-self: end;
  align-self: start;
  grid-area: image;
}

#finance{
  background-color: #F7B2BD;
  color: #7A1F35;
}

#time{
  background-color: #BFE8D4;
  color: #145A43;
}

#fitness{
  background-color: #BFD7FF;
  color: #244A85;
}

#astro{
  background-color: #E6C8FF;
  color: #63358A;
}

#portfolio{
  background-color: #c7d2fe;
  color: #3730a3;
}

#anime{
  background-color: #d9d9d9;
  color: #3f3f46;
}



/* Skills Section */

.section-title{
  text-align: center;
  font-size: 50px;
  font-style: bold ;
}

.title{
  font-size: 25px;
  font-style: bold ;
  text-align: center;
}

.confidence{
  font-style: italic;
}

.skills{
  min-height: 100vh;
  padding: 5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  background-color: #BFE8D4;
  color: white;
}


.skills-grid-card{
  position: sticky;
  top: 150px;
  border-radius: 3rem;
  padding: 2rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  background-color: #4e4e4e;
  min-height: 350px;

  display: grid;
  align-items: start;
  grid-template-columns: 0.95fr 1.05fr ;
  gap: 2rem;
  margin-bottom: 2rem;
  border-style: solid;
  border-width: 7px;
}

.skills-grid-card.active{
  background: #c4e3e7;
  color: #155e63;
  transform: scale(1.02);
}

.skills-grid-card img{
  max-width: 300px;
  border-radius: 1rem;
  justify-self: end;
  align-self: start;
}
.skills-grid-card p{
  font-size: 15px;
}

.skills-grid-card li.title{
  list-style-type: none;
  text-align: left;
  padding-left: -10rem;
  margin-left: 0px;
  font-size: 15px;
  font-style: bold;
}

.skills-grid-card li.confidence{
  list-style: none;
  text-align: left;
  font-style: italic;
  margin-left: 5px;
}

.skills-grid-card li{
  list-style-type: disc;
  text-align: left;
  padding-left: -10rem;
  margin-left: 20px;
  font-size: 15px;
}


.skills-grid-card i{
  font-size: 1, 5rem;
  margin-bottom: 1rem;
}

.skills-grid-card span{
  font-size: 1, 5rem;
  font-weight: 500;
}

/* Contact Form */

.input-box h2{
  padding-top: 30px;
}

.input-box{
  background-color: #F6D9F8;
  border-radius: 2rem;
  border-color: #8B3F8F ;
  border-width: 7px;
  border-style: solid;
  color: #8B3F8F;
  padding: 2rem 1rem;
  width: 100%;
}


form{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  border-radius: 3rem;
  padding: 2rem;
}

input{
  border-radius: 1rem;
  width: 100%;
  height: 3rem;
  font-size: 20px;
  border-width: 2px;
  border-style: solid;
  border-color: #8B3F8F;
  padding: 5px;
}

textarea{
  border-radius: 1rem;
  height: 7rem;
  width: 100%;
  font-size: 20px;
  border-width: 2px;
  border-style: solid;
  border-color: #8B3F8F;
  padding: 5px;
}

label{
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  width: 100%;
}

.form-btn{
  border-radius: 2rem;
  width: 100%;
  height: 3rem;
  background-color: #8B3F8F;
  font-size: 20px;
  color: #F6D9F8;
  border-width: 2px;
  border-style: solid;
  border-color: #F6D9F8;
  font-style: bold;

}

.form-btn:hover{
  background-color: #F6D9F8;
  border-width: 2px;
  border-style: solid;
  border-color: #8B3F8F;
  color: #8B3F8F;
}

footer{
  bottom: 0;
  left: 0;
  height: 10rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  background-color:black;
  
}

footer ul{
  display: flex;
  align-items: center;
  gap: 3rem;

}

footer ul li a{
  color: white;
  font-weight: 600;
}

.copyright{
  font-size: 300;
  margin-top: 2rem;
  color: white;
}

/* Demo Videos */

.return-home{
  display: inline-block;
  font-size: 2.5rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  color: white;

}
  
.return-home i:hover{
  transform: scale(1.1);
}

.video{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
}

.video iframe{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.demo-video{
  text-align: center;
  display: inline-block;
  padding-bottom: 5rem;
}

.github{
  display: inline-block;
  padding: 5rem;
  font-size: 2rem;


}

 

/* Setting rules for smaller screens */

@media(max-width:1280px){
  header{
    padding: 1rem 2rem;
    gap: 2rem;
  }
  .about .about-container{
    gap:3rem;
  }
  .input-box{
    padding: 2rem 5rem;
    font-size: 2.5rem;
  }
  
  
}

@media(max-width:950px){
  .project-card img{
    width: 100%;
    max-width:100%;
    justify-self: center;
  }

  .project-card{
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 
    "image"
    "text"
    "buttons";
    font-size: 15px;
    justify-content: center;
    text-align: center;
  }
  
  .stack{
    justify-content: center;
  }
  .projects{
    padding: 1rem;
  }
}
@media(max-width:768px){
  header{
    gap: 1rem;
    padding: 1rem;
  }

  header .logo{
    font-size: 1rem;
  }
  header .visit-btn{
    display: none;
  }
  .about .about-container{
    width: 100%;
    flex-direction:column;
    padding: 0.5rem;
  }

  .about-me{
    padding: 1rem;
  }

  .about-icon{
    padding-right: 0.5rem;
    padding-left:0;
  }
  
  .image-container{
    justify-content: center;
  }
  .grid{
    grid-template-columns: repeat(1,1fr);
  }
  section{
    padding: 6rem 1.5rem;
    width: 100%;
    
  }
  
  .project-card img{
    width: 100%;
    max-width:100%;
    justify-self: center;
  }
  .about-card{
    position: relative;
    top: auto;
    width: 100%;

  }
  
  .skills-grid-card{
    position: relative;
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 
    "text"
    "image";
  }
  .skills-grid-card img{
    justify-self: center;
    width: 90%;
  }
  .input-box{
    padding: 1rem;
  }
  form{
    padding: 0;
  }
  .github{
    font-size: 20px;
    padding: 1rem;
  }

}



@media(max-width:600px){  
  header #menu-icon{
    display: block
  }
  .nav-links{
    position: absolute;
    top: 100%;
    margin-top: 1rem;
    width: 10rem;
    padding: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #00000075;
    border-radius: 3rem;
    display: none;
    justify-content: space-between;
  }

  nav:hover .nav-links{
    display: flex;
  }
  .nav-links li{
    margin-top: 1.5rem;
    padding: 1rem;
    align-items: center;
  }
  .nav-links.active{
    display: block;
  }
  header{
    padding: 1rem 5rem;

  }
  header .logo{
    font-size: 1.5rem;
  }

  .about-container img{
    width: 80vw;
  }
  .input-box input{
    padding: 0.5rem 3rem;
    width: 80%;
    font-size: 1.5rem;

  }
  .input-box input::placeholder{
    font-size: 1.5rem;

  }
  footer ul{
    gap: 1rem;
  }
}



