* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #444452;
  background-color: #fff;
  line-height: 1.5;
  max-width: 100%;
  margin: 0 auto;
  font-family: Rubik, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  overflow-x: hidden;
}

/* Common Styles */
.intro {
  padding: 2rem 1rem;
  margin: 0 2px;
  width: 100%;
}

.intro-hello {
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.intro-tagline {
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 1px;
  width: 100%;
  margin: 1.25rem 0;
}

.intro-tagline a {
  text-decoration: none;
  color: #444452;
}

.name {
  font-weight: 500;
}

.intro__contact {
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.tag {
  position: relative;
}

/* .intro-tagline .emoji {
  background-image: url(Boy.png);
  display: inline-block;
  vertical-align: text-top;
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 20px;
  position: relative;
} */

.intro__contact a {
  text-decoration: none;
  color: #444452;
  font-weight: 400;
}

.intro__contact .highlight-link {
  box-shadow: inset 0 -2px 0 #007bff;
  padding: 5px 0;
}

.intro__contact .pointer {
  font-size: 1.25rem;
}

.personal p {
  max-width: 100%;
}

.github_url {
  /* text-align: center; */
  /* margin-bottom: 2.25rem; */
}


.github-button {
  gap: 0.75rem;
  background-color: #24292e;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.375rem;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.github-button i {
  font-size: 0.8125rem;
}

.github-button:hover {
  background-color: #0366d6;
  transform: scale(1.1);
}

.github-button:active {
  transform: scale(0.95);
}

/*animated hand*/
.wave {
  animation-name: wave-animation;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

@keyframes wave-animation {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.intro__contact a {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  font-weight: 700;
  color: inherit;
}

/*BACKGROUND*/

.container {
  width: 90%;
  padding: 0 1rem;
  margin: 0 auto;
}

.common {
  /* border: 1px solid #007bff; */
  padding: 2rem;
  font-size: 1.1rem;
}

.common2 {
  /* border: 1px solid #007bff; */
  padding: 4rem;
  font-size: 1.1rem;
}

.background-title {
  font-size: 0.8rem;
  color: #007bff;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}

.background-title h2 {
  margin-left: 0;
}

.expereince h2 {
margin-top: 1rem ;
}


.section-content {
  font-weight: 300;
  display: flex;
  flex-direction: column;
}

.section-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.075rem;
  line-height: 1.5;
  word-spacing: 0.125rem;
  width: 100%;
}

.background-section {
  display: flex;
  flex-direction: column;
  margin: 2rem 0;
  padding: 1rem;
}

.section-content a {
  text-decoration: none;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}

.cv {
  text-decoration: none;
}

.cv:hover {
  text-decoration: underline;
  color: #007bff;
}


/*Skills section*/

.skills-section {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  margin: 2rem 0;
}

/*languages Section*/

.langauges-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  width: 100%;
}

.format {
  margin-bottom: 1.5rem;
}

.format h4 {
  font-size: 1rem;
  letter-spacing: 0.125rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.langauges-section li,
.format ul li {
  line-height: 1.5;
  list-style: none;
  font-weight: 300;
  letter-spacing: 0.025rem;
  word-spacing: 0.0625rem;
  font-size: 0.875rem;
}

.company_container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.present_root {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.duration {
  margin-top: 0.25rem;
}

.duration li {
  line-height: 1.5;
  list-style: none;
  font-weight: 300;
  letter-spacing: 0.031rem;
  word-spacing: 0.125rem;
  font-size: 0.8125rem;
}

.company_name h4 {
  font-size: 1rem;
  letter-spacing: 0.125rem;
  line-height: 1.7;
  font-weight: 600;
  padding: 1px;
}
  .company_name {
    margin-left: 0.5rem;
  }

.company_name li {
  line-height: 1.5;
  list-style: none;
  font-weight: 300;
  letter-spacing: 0.0375rem;
  word-spacing: 0.0625rem;
  font-size: 0.875rem;
}

.resume {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.resume span {
  font-size: 2em;
  color: #007bff;
  padding-left: 0.9375rem;
}

.resume h3 {
  line-height: 1.5;
  font-weight: 450;
  word-spacing: 0.0625rem;
}

.project_names_container {
  display: flex;
  margin: 2rem 0;
}

.project_names {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  margin-bottom: 1rem;
}

.project_names_2 {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.project_names h4,
.project_names_2 h4 {
  font-size: 1rem;
  letter-spacing: 0.0625rem;
  line-height: 1.7;
  font-weight: 600;
}

.project_names span,
.project_names_2 span {
  color: #007bff;
  font-size: 1.2em;
}

.project_section,
.project_section_2 {
  width: 100%;
  margin-bottom: 2rem;
  padding: 0.5rem;
}

.project_intro {
  margin: 1rem 0;
}

.project_intro p {
  line-height: 1.5;
  font-weight: 350;
  letter-spacing: 0.01875rem;
  word-spacing: 0.125rem;
  font-size: 0.875rem;
  width: 100%;
  margin-bottom: 0.75rem;
}

.project_intro p b {
  margin-right: 0.25rem;
}

.code_repository h3 {
  line-height: 2.5;
  letter-spacing: 0.0625rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.tech_stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8125rem;
  margin-bottom: 1rem;
}

.tech_stack button {
  border: none;
  padding: 0.125rem 0.9375rem;
  font-size: 0.625rem;
  border-radius: 0.15625rem;
  color: #007bff;
  background-color: transparent;
  border: 1px solid #007bff;
  height: auto;
  min-height: 1.5rem;
  word-spacing: 0.0625rem;
  letter-spacing: 0.05625rem;
  white-space: nowrap;
}

.personal_media {
  margin: 2rem 0;
}

.details {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 1rem 0;
}

.details2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.handles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.adventure p {
  font-size: 1rem;
  font-weight: 550;
  word-spacing: 0.0625rem;
  letter-spacing: 0.05625rem;
  margin-bottom: 1rem;
}

.handles h3 a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #007bff;
  word-spacing: 0.0625rem;
  letter-spacing: 0.05625rem;
  text-decoration: none;
}

/* Tablet (768px to 1023px) */
@media screen and (min-width: 768px) {
  .intro {
    padding: 3rem 2rem;
  }
  
  .intro-hello {
    font-size: 2rem;
  }
  
  .intro-tagline {
    font-size: 1.25rem;
  }

  .container {
    width: 90%;
    padding: 0 2rem;
  }
  
  .background-title h2 {
    margin-left: 1.25rem;
  }
  
  .background-section {
    flex-direction: row;
    gap: 2rem;
    padding: 2rem;
  }
  
  .section-content p {
    width: 100%;
  }
  
  .langauges-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .present_root {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .details {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .handles {
    flex-direction: row;
    gap: 2rem;
  }
  
  .tech_stack button {
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
  }
  
  .project_intro p {
    font-size: 0.9375rem;
  }

  .expereince .background-title {
    margin-bottom: 2rem;
  }

  .project_names_container .background-title {
    margin-bottom: 2rem;
  }
}

/* Desktop (1024px and above) */
@media screen and (min-width: 1024px) {
  .intro {
    padding: 4rem 3rem;
    width: 90%;
    margin-left: 2rem;
  }
  
  .intro-hello {
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 3.125rem;
  }
  
  .intro-tagline {
    font-size: 1.5rem;
    width: 69%;
  }
  
  .intro-tagline .emoji {
    width: 3.125rem;
    height: 3.125rem;
    background-size: 45px 45px;
  }
  
  .intro__contact {
    font-size: 1.1rem;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .background-section {
    margin-left: 3rem;
    justify-content: space-evenly;
    padding: 3rem;
  }
  
  .background-title h2 {
    margin-left: 2.5rem;
  }
  
  .section-content p {
    width: 80%;
  }
  
  .skills-section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 2rem;
    margin-top: 3rem;
    margin-left: 4rem;
    gap: 3rem;
  }
  
  .langauges-section {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 56.25rem;
  }
  
  .format h4 {
    margin-right: 6rem;
  }
  
 
  .expereince {
    display: flex;
    justify-content: space-evenly;
    margin-left: 6rem;
    margin-top: 4rem;
  }
  
  .present_root {
    width: 41.875rem;
    margin-right: 13rem;
  }
  
  .resume_container {
    width: 50rem;
    margin: 4.0625rem 4.3125rem;
    margin-left: 1.125rem;
  }
  
  .resume  {
    /* border: 1px solid #007bff; */
    margin-right: 23rem;
  }

  .project_names_container {
    margin-left: 6rem;
    margin-top: 3rem;
    height: 5.625rem;
  }
  
  .project_names {
    margin: 0 9rem;
    margin-left: 23rem;
  }
  
  .project_names_2 {
    margin-left: 23rem;
  }
  
  .project_section {
    width: 72%;
    margin-right: 25rem;
  }
  
  .project_intro {
    margin-left: 22.9rem;
  }
  
  .project_intro p {
    width: 53.125rem;
  }
  
  .details {
    width: 80%;
    justify-content: space-between;
    margin: 4rem auto;
  }
  
  .handles {
    gap: 3rem;
  }

  /* Fix for section title alignment */
  .background-title {
    margin-left: 0;
  }
  
  /* Fix for the "PROJECTS WORKED ON" title */
  .project_names_container .background-title h2 {
    margin-top: 2.5rem;
  }

  /* Fix for experience title */
  .expereince .background-title h2 {
    margin-bottom: 2rem;
  }
}




@media only screen and (max-width: 600px) {
 
  .personal_media {
    margin-left: 1rem;
  }

  .common2 {
    padding: 1rem;
    margin-bottom: -3rem;
    margin-top: 2rem 
  }

  .details2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}