

.intro{
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
  }

  .intro h1 {
    text-align: center;
    margin-bottom: 3rem;
  }

.wrapperIntro{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  border-radius: 24px;
  margin: 0 2rem;
  padding: 3rem;
  background: rgba(50, 140, 193, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(50, 140, 193, 0.2);
  box-shadow: 0 25px 50px -12px rgba(50, 140, 193, 0.1);
}
#myPicture{
  border-radius: 50%;
  height: 280px; 
  width: 280px;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

#myPicture:hover{
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.introText{
  margin-left: 2rem;
  width: 45%;
  padding: 0;
}

.introText h2{
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.introText p{
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

#aboutTitle{
  margin: auto ;
}


@media only screen and (max-width: 600px) {
  .wrapperIntro {
      flex-direction: column;
  }
}

/* -#-    SKILLS   -#- */


progress {
  width: 220px;
  height: 8px;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 6px;
  background-color: rgba(72, 216, 213, 0.2);
}

/* Styling the progress bar inside the progress element */
progress::-webkit-progress-bar {
  border-radius: 6px;
  background-color: rgba(72, 216, 213, 0.2);
}

/* Styling the progress bar fill inside the progress element */
progress::-webkit-progress-value {
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
}

/* Styling the progress bar fill inside the progress element for Firefox */
progress::-moz-progress-bar {
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
}

/* Same orange color for all skill categories */
.skill[data-category="frontEnd"] progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--tertiary-accent), #fbbf24);
}

.skill[data-category="backEnd"] progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--tertiary-accent), #fbbf24);
}

.skill[data-category="tools"] progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--tertiary-accent), #fbbf24);
}


.progWrapper img{
  height: 40px; 
  width: auto;
  margin-right: 25px; /* Adjust the margin as needed */

}

.wrapperSkills{
  margin-left: 2rem;
  width: 45%;
  padding: 0;
  height: 600px;
  position: relative;
}
.progWrapper {
  display: flex;
  align-items: center;
  margin-top: 35px;
  position: relative;

}

.progress-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-left: 15px;
}

.skill-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  text-align: left;
}


.progressValue {
  margin-left: 10px; /* Adjust the margin as needed */
  color: #eeede4;
  font-size: 25px;
  font-weight: 500;
}



.skill.showSkill {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.skill.hideSkill {
  display: none;
}


.filter-buttonsForSkills button{ 
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem 1rem 0;
  border: 1px solid rgba(217, 131, 16, 0.3);
  background-color: rgba(217, 131, 16, 0.1);
  border-radius: 12px;
  /* cursor: pointer; */
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.filter-buttonsForSkills button:hover{
  color: white;
  transform: translateY(-2px);
}

.filter-buttonsForSkills button[data-filter="frontEnd"]:hover{
  background-color: var(--tertiary-accent);
  border-color: var(--tertiary-accent);
}

.filter-buttonsForSkills button[data-filter="backEnd"]:hover{
  background-color: var(--tertiary-accent);
  border-color: var(--tertiary-accent);
}

.filter-buttonsForSkills button[data-filter="tools"]:hover{
  background-color: var(--tertiary-accent);
  border-color: var(--tertiary-accent);
}

.skill h3{
  color: #be7643;
}

/* Media query for smaller screens */
@media only screen and (max-width: 768px) {
.introText{
  width: 90%;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 15px;
}
.wrapperIntro{
  background: rgb(34,34,34);
  background: linear-gradient(180deg, rgba(34,34,34,0.5) 0%,rgba(108, 158, 144, 0.3) 25%, rgba(67,105,94, 0.3) 75%, rgba(34,34,34,0.5) 100%);
  margin: 0px 25px 0px 25px;

}

.filter-buttonsForSkills button{ 
  font-size: 14px; /* Better readability */
  padding: 0.8rem 1.5rem; /* Better touch targets */
  min-height: 44px;
  margin: 0.3rem;
  border-radius: 25px;
  font-weight: 600;
}

.filter-buttonsForSkills button:active {
  transform: scale(0.95);
  background: var(--primary);
  color: white;
}

  .intro h1 {
    text-align: center;
    margin-right: 0; /* Remove unnecessary margin */
    padding: 0 1rem;
  }

#myPicture{
  border-radius: 50%;
  height: 150px; 
  width: auto;
  display: block;
  margin: 0 auto; /* Center the image horizontally */
}

.introText h2{
  font-size: 22px ;
}
.introText p{
  font-size: 16px ;
}
.wrapperSkills{
  border-radius: 35px;
  width: 90%;
  display: block;
  margin: 0 auto; /* Center the image horizontally */
}

/* Hide progress bars on mobile for cleaner look */
.progWrapper .progress-section progress {
  display: none;
}

.progWrapper .progressValue {
  display: none;
}

/* Adjust layout without progress bars */
.progWrapper .progress-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.progWrapper {
  justify-content: flex-start;
  gap: 1rem;
}
}

/* Media query for even smaller screens */
@media only screen and (max-width: 480px) {
  /* Ensure progress bars stay hidden on very small screens */
  .progWrapper .progress-section progress {
    display: none !important;
  }

  .progWrapper .progressValue {
    display: none !important;
  }
  
  /* Further optimize layout for very small screens */
  .progWrapper {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .progWrapper img {
    width: 30px;
    height: 30px;
  }
  
  .skill-name {
    font-size: 0.9rem;
  }
}

@media only screen and (min-width: 750px) {
.introText p{
  text-align: justify;
  text-justify: inter-word;
}
}
