main {
  margin: 0rem 2rem 0rem 2rem;
}

.profile {
  padding-bottom: 0.5rem;
}

.profile h1 {
  font-size: xx-large;
}

.profile img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 5px solid #272727;
}

.profile img:hover {
  border-color: #4facfe;
  transition: border-color 0.3s ease;
}

.sec-profile {
  text-align: center;
  margin: 20px 0;
  margin-top: 5rem;
}

.soft-skills button {
  color: #fff;
  background-color: #4facfe;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  margin: 0 0.1rem;
}

.soft-skills button:hover {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: black;
}

/* 2nd section */
.about-content {
  margin-left: 3rem;
}

.about-content p {
  font-weight: 100;
  line-height: 1.5;
}
.about-content span {
  font-weight: bold;
  color: #4facfe;
}

.about-me img {
  width: 500px;
  height: 650px;
}

.about-me {
  display: flex;
  flex-direction: row;
  margin-top: 5rem;
}

.about-me p {
  text-align: justify;
}

.icons img {
  background-color: #141414;
  width: 50px;
  height: 50px;
  padding: 5px 5px;
  border-radius: 50px;
}

.icons a {
  text-decoration: none;
}

.icons img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 2px 12px 0 rgba(79, 172, 254, 0.25),
    0 2px 24px 0 rgba(0, 242, 254, 0.18);
}

/* 3rd section */

.section-title {
  text-align: center;
  margin-top: 1rem;
}

.section-title h1 {
  font-size: 2rem;
}

.experience-img {
  width: 350px;
  height: 250px;
  border-radius: 5px;
  margin-left: 10rem;
}

.experience-content h5 {
  font-weight: 500;
}

.position {
  color: #6ec1e4;
}

.experience-content h2,
h5,
h4 {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0.5rem;
}

.experience {
  display: flex;
  flex-direction: row;
  margin-top: 4rem;
}

.experience-content p {
  margin-top: 2.5rem;
  font-weight: 100;
  text-align: justify;
}

.tech-stack {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tech-tag {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: black;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

/* 4K responsive design */
/* @media (min-width: 1968px) {
  main {
    max-width: 2200px;
    margin: 0 auto;
  }

  .profile img {
    width: 420px;
    height: 420px;
    border-width: 8px;
  }

  .profile h1 {
    font-size: 3.5rem;
  }

  .sec-profile {
    margin-top: 9rem;
  }

  .soft-skills button {
    font-size: 1.6rem;
    padding: 1rem 2.2rem;
  }

  .about-me img {
    width: 420px;
    height: 520px;
  }

  .about-content {
    margin-left: 7rem;
    font-size: 1.6rem;
  }

  .about-content p {
    font-size: 1.5rem;
    line-height: 2.2;
  }

  .icons img,{
    width: 90px;
    height: 90px;
    padding: 12px;
  }

  .section-title h1 {
    font-size: 3.7rem;
  }

  .experience-img {
    width: 750px;
    height: 500px;
    margin-left: 20rem;
  }

  .experience-content h2 {
    font-size: 3rem;
  }

  .experience-content h4 {
    font-size: 2rem;
  }

  .experience-content h5 {
    font-size: 1.6rem;
  }

  .experience-content p {
    font-size: 1.6rem;
    line-height: 2.2;
  }
} */

@media (max-width: 1024px) {
  .about-content p {
    font-weight: 100;
    line-height: 1.5;
    font-size: 13px;
  }
}

/* Tablet responsive design */
@media (max-width: 768px) {
  main {
    margin: 0 1.5rem;
  }

  .profile img {
    width: 180px;
    height: 180px;
    border-width: 4px;
  }

  .profile h1 {
    font-size: 2rem;
  }

  .sec-profile {
    margin-top: 3rem;
    padding: 0 1rem;
  }

  .soft-skills button {
    padding: 0.45rem 0.9rem;
    font-size: 0.95rem;
    margin: 0.15rem;
    display: inline-block;
  }

  /* About Me Section */
  .about-me {
    flex-direction: column;
    margin-top: 3rem;
    text-align: center;
    align-items: center;
  }

  .about-me img {
    width: 300px;
    height: 380px;
    margin: 0 auto 1rem auto;
  }

  .about-content {
    margin-left: 0;
    padding: 0 1rem;
  }

  .about-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .icons {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .icons img {
    width: 45px;
    height: 45px;
    padding: 4px;
  }

  /* Experience Section */
  .section-title h1 {
    font-size: 1.7rem;
    margin: 1rem 0;
  }

  .experience {
    flex-direction: column;
    margin-top: 2.5rem;
    text-align: center;
    align-items: center;
  }

  .experience-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 1rem auto;
  }

  .experience-content {
    padding: 0 1rem;
  }

  .experience-content h2 {
    font-size: 1.5rem;
  }

  .experience-content h4 {
    font-size: 1.1rem;
  }

  .experience-content h5 {
    font-size: 1rem;
  }

  .experience-content p {
    margin-top: 1.2rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Tech Stack */
  .tech-stack {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
}

/* Mobile responsive design */
@media (max-width: 425px) {
  main {
    margin: 0 1rem;
  }

  .profile img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #272727;
  }

  .profile h1 {
    font-size: 1.8rem;
  }

  .sec-profile {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .soft-skills button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    margin: 0.2rem;
    display: inline-block;
  }

  /* About Me Section */
  .about-me {
    flex-direction: column;
    margin-top: 2rem;
    text-align: center;
  }

  .about-content {
    margin-left: 0;
    padding: 0 1rem;
  }

  .about-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .icons img {
    width: 40px;
    height: 40px;
    padding: 3px;
  }

  /* Experience Section */
  .section-title h1 {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .experience {
    flex-direction: column;
    margin-top: 2rem;
    text-align: center;
  }

  .experience-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 1rem auto;
  }

  .experience-content {
    padding: 0 1rem;
  }

  .experience-content h2 {
    font-size: 1.3rem;
  }

  .experience-content h4 {
    font-size: 1rem;
  }

  .experience-content h5 {
    font-size: 0.9rem;
  }

  .experience-content p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Tech Stack */
  .tech-stack {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 375px) {
  main {
    margin: 0 1rem;
  }

  .profile img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #272727;
  }

  .profile h1 {
    font-size: 1.8rem;
  }

  .sec-profile {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .soft-skills button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    margin: 0.2rem;
    display: inline-block;
  }

  /* About Me Section */
  .about-me {
    flex-direction: column;
    margin-top: 2rem;
    text-align: center;
  }

  .about-me img {
    width: 250px;
    height: 300px;
  }

  .about-content {
    margin-left: 0;
    padding: 0 1rem;
  }

  .about-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .icons img {
    width: 40px;
    height: 40px;
    padding: 3px;
  }

  /* Experience Section */
  .section-title h1 {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .experience {
    flex-direction: column;
    margin-top: 2rem;
    text-align: center;
  }

  .experience-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 1rem auto;
  }

  .experience-content {
    padding: 0 1rem;
  }

  .experience-content h2 {
    font-size: 1.3rem;
  }

  .experience-content h4 {
    font-size: 1rem;
  }

  .experience-content h5 {
    font-size: 0.9rem;
  }

  .experience-content p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Tech Stack */
  .tech-stack {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 320px) {
  main {
    margin: 0 1rem;
  }

  .profile img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #272727;
  }

  .profile h1 {
    font-size: 1.8rem;
  }

  .sec-profile {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .soft-skills button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    margin: 0.2rem;
    display: inline-block;
  }

  /* About Me Section */
  .about-me {
    flex-direction: column;
    margin-top: 2rem;
    text-align: center;
  }

  .about-me img {
    width: 200px;
    height: 250px;
  }

  .about-content {
    margin-left: 0;
    padding: 0 1rem;
  }

  .about-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
  }

  .icons img {
    width: 40px;
    height: 40px;
    padding: 3px;
  }

  /* Experience Section */
  .section-title h1 {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .experience {
    flex-direction: column;
    margin-top: 2rem;
    text-align: center;
  }

  .experience-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 1rem auto;
  }

  .experience-content {
    padding: 0 1rem;
  }

  .experience-content h2 {
    font-size: 1.3rem;
  }

  .experience-content h4 {
    font-size: 1rem;
  }

  .experience-content h5 {
    font-size: 0.9rem;
  }

  .experience-content p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Tech Stack */
  .tech-stack {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }
}
