/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: lightgray;
  color: black;
 
  /* It's better to define these as variables for easier management */

}



/* SECTIONS */


html {
  scroll-behavior: smooth;
}

p {
  color: #000000;
}


.header-box{
  display: flex;
  height: 50px;
  width: 100%;
  background:yellowgreen;;
  gap:40%;
}
.social-icons{
  display: flex;
  gap:10px;
  padding:10px;
}


/* HEADER NAVIGATION */

nav {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  height: 17vh;
  padding: 0 4rem;
}
.nav-name{
   
  padding:10px;          
   font-size: 40px;    
  font-family: cursive;
 
 
 
}

nav .nav-links {
  display: flex;
  justify-content: flex-end; 
  align-items: center;
  gap: 5rem;
  list-style: none;
}

nav .nav-links a {
  font-size: 2rem;
  font-weight: 500;
  color: #3B82F6;
  text-decoration: none;
}










/* SECTIONS */
section {
  padding-top: 0px;
  height: 60vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
  padding-bottom: 0px;
}


/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #555;
}

.title {
  font-size: 3rem;
  text-align: center;
}


  .hero{
    display: flex;
    align-items: left; 
    justify-content: space-between;
    padding: 0px;
   
align-items: justify;
      margin-bottom: 0;
padding-bottom: 0;       
  
  }
  .hero-content{
    flex:1;
    max-width: 50%;
    padding-right: 40px;
  

  }
.hero-content p{
  margin-bottom: 1rem;
  text-align: left;
}
.hero-image  {
  width:300px;
  height: 300px;
  flex-shrink: 0;
  margin-left: auto;
  float: left;
  padding-right: 10px;
  border-radius: 50%;
  margin-right: 70px;
 
   
}
.hero-image img{
  width: 100%;
  height: 100%;
border-radius: 50%;
 object-fit: cover;
 border: 1px;
 box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
 
}

/* BUTTONS */



.btn-color-2 {
  background-color: blue;
  color:white;
border: black 2px solid;
 height: 50px;
 width: 100px;
margin-top: 15px;
margin-bottom: 15px;
gap: 0.5rem;
  transition: background-color 0.3s ease;
overflow: hidden;
}
.btn-cv{
  background-color: blue;
  color:white;
border: black 2px solid;
 height: 50px;
 width: 150px;
 margin-top: 15px;
 margin-left: 15px;
 margin-bottom: 15px;
 gap: 0.5rem;
  transition: background-color 0.3s ease;
  overflow: hidden;
}


.social-links a{
  margin-top: 20px;
  font-size: 20px;
  margin-right: 10px;
  place-self: center;
gap: 15px;
align-items: center;
  transition: color 0.1s ease;
  overflow: hidden;

}

/*about*/
.about{
 
  align-items: justify;
  display: grid;
  
  
}
.top-header1{
  margin-top: 20px;
  display: flex;
place-self:center;
  
  margin-left: 150px;
  margin-bottom: 10px;
}
.about-container{
  display: flex;

gap:1rem;
 margin-right: 0px;
  text-align: left;
  
}
.about-box{
 flex-wrap: wrap;
  flex-direction: column;
width:500px;
height:650px;
 margin-top: 40px;
 text-align: left;
  border: 2px solid black;
padding-left: 10px;
  margin-bottom: 50px;
}
.intro{
  text-align: center;
  
}
.about-text{

 
  
 text-align: left;

  
}

.abt-journey{
  
text-align: justify;
padding : 10px; 
text-align: left;
 
}
/* SKILL SECTION */

.skills{
  margin-top: 20px;
display: grid;


  padding-top: 10px;

  align-items: justify;

}
.top-header{
  text-align: center;
  margin-bottom: 30px;
}
/* ----- ABOUT / SKILLS BOX ----- */


/* Skills Container Layout */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    /* Center the boxes if needed */
}

.skill-box {
    width: 350px;
     height: 400px;
    border: black 2px solid; /* Lighter border or remove completely to match figure */
    padding: 30px;
    
    border-radius: 10px;
    text-align: left;
    margin-bottom: 30px;
}

/* Skill Bar Styling */
.skill {
  
    position: relative;
    color: var(--text-color);
    font-size: 1.1em;
}

.skill-percentage {
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: var(--percentage-color);
    




}

.skill-bar {
    height: 8px; /* Slightly thinner bar */
    background: whitesmoke;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-top: 5px; /* Space between skill name and bar */
}

.skill-progress {
    height: 100%;
    /* Use a solid color or gradient similar to the image's purple */
  background-color: violet;
 /* width:0%;
   /* Start at 0 for the animation */
    transition: width 1s ease-in-out;
}
.skill-progress::after{
  content: "";
  position: relative;
  top:0;
  left: -100%;
  width: 100%;
  height: 100%;

  background: violet;
  animation: shimmer 2s infinite;

}

@keyframes shimmer{
  0%{
    left:-100%;
  }
  100%{
    left:100%
  }
}

/* PROJECTS SECTION */

/* ----- PROJECTS BOX ----- */

.Projects{
  margin-top: 20px;
  text-align: left;

align-items: justify;
}
.top-header{
  text-align: center;
  
}

.project-container{
display: flex;
 gap: 2rem;
 flex-wrap: wrap;
  text-align: left;
 overflow: hidden;

}
.project-box{
    position: relative;
    display: flex;

    align-items: center;
    text-align: center;
    flex-direction: column;
 

        width: 400px; /* Set the width of the box */
    height: 500px; /* Set the height of the box */
   
  /* Add a border */
    /* Add space inside the box (2between content and border) */
    margin-top: 10px; /* Add space outside the box (between the box and other elements) */
   /* Align text within the box */
 
    border: #000000 2px solid;
      margin-bottom: 35px;
      background-color: gray;
   
    
}


.project-1img {
  width: 100%;
  height: 350px;
  border-bottom: #000000 1px solid;
 
}
.btn-pong{
  background-color: blue;
  color:white;
border: black 2px solid;
margin-top: 10px;
width: 150px;
 height: 400px;
 padding: 10px;
 margin-bottom: 40px;

}
.project-2img {
  
   width: 100%;
  height: 350px;
  border-bottom: #000000 1px solid;
 
}
.btn-port1{
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: blue;
  color:white;
  width: 120px;
  height: 50px;
  margin-top: 40px;
margin-bottom: 20px;
padding:10px;



  

  

}
.btn-port2{
  padding-top: 20px;
  background-color: blue;
  color:white;
  width: 150px;
  height: 50px;
  margin-top: 40px;
margin-bottom: 20px;
padding-bottom: 20px;
text-align: justify;


padding: 10px;
gap:2rem;
}

.project-box>i{
    font-size: 50px;
 margin-bottom: 40px  ;

} 
.project-box label{
    font-size: 40px;
 padding-top: 200px;
   column-gap:20px;

}
.project-box::after{
    content: "";
    position: relative;
    bottom: -100%;
 
    width: 100%;
    height: 100%;
    transition: .4s;
    z-index: 1;
       

}
.project-box:hover.project-box::after{

    bottom: 0;
}
.project-box:hover.project-box i,
.project-box:hover.project-box>h3,
.project-box:hover.project-box>label{
    color: var(--color-black);
    z-index: 2;
}


/* CETRIFICATE */
.certificate{
margin-top: 20px;
  align-items: justify;
  text-align:center;
  height: 70vh;
 padding-bottom: 20px;
}


.certificate-container{
display: flex;
  gap: 3rem;
 justify-content: left;
  text-align: left;
  margin-top: 20px;
  overflow: hidden;

  
}

.certificate-box1,
.certificate-box2
{
  width: 400px;
  height: 500px;
 

 
  border: #000000 2px solid;
  gap:1rem;
  text-align: center;
  position:relative;
      background-color: gray;

}

.c1,
.c2{
  width: 100%;
  height: 300px;
  border-bottom: #000000 1px solid;
 
}


/* CONTACT */

.contact {
  margin-top: 30px;
  display: flex;
  align-items: justify;
  flex-direction: column;
  height: 70vh;
  text-align: center ;

input[type="text"],
input[type="email"],
input[type="number"]
{
  width:350px;
  height:40px;
 text-align: center;
 
}
textarea{
width: 350px;
height:100px ;
 text-align: center;

}
}


.contact-container{
 display: flex;
  gap: 3rem;
 


  
}


.contact-info{
width:500px;
height:400px;
  flex-direction: column;
  padding: 10px;
  justify-items: center;
 border: black 2px solid;
  border-radius: 1rem;
 margin-top: 20px;
  text-align: center;
  gap:20px;
 
}



.form{
  width: 400px;
  height: 400px;
text-align: center;

  margin-top: 20px;
  border: #000000 2px solid;
  gap:0.5rem;

}
  


.contact-icon,
.email-icon {
  cursor: default;
}

/*submit button*/
.btn-submit{
  width: 100px;
  height: 30px;
  color: white;
  background-color: blue;
  gap:0.5rem;
}

/* FOOTER */


/* Style the parent container */
.footer-links {
  background-color: violet;
  display: flex; /* Makes the children flex items, positioning them horizontally */
  justify-content: space-around; /* Distributes space evenly between and around the items */
  border-top: 1px solid black;
  margin-top: 50px;
  border-bottom: #000000 1px solid;
  gap: 4rem;
  margin-right: auto;
  padding-left: 100px;
  align-items: justify;
}

/* Style the child columns */
.footer-columns {
  /* This is optional, but helps with spacing and layout */
  flex: 1; /* Allows the columns to grow and shrink, taking up equal space */
  padding-left:  20px; /* Adds some internal padding for better spacing */
}

/* Optional: Additional styling for the lists */
.link-list,
.contact-list {
  list-style: none; /* Removes the default bullet points */
  padding:10px; /* Removes default padding */
}

.contact-list li {
  display: flex; /* Aligns the icon and link horizontally */
  align-items: left; /* Vertically aligns the icon and text */
}

.contact-list li i {
  margin-right: 10px; /* Adds space between the icon and the link text */
}


  
 
  

 p {
  margin-top: 10px;
  color: black;
  font-size: 1.2rem;
  text-align: center;
}
