
html {
  scroll-behavior: smooth;
}

section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

.box, .card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.box.show, .card.show {
  opacity: 1;
  transform: translateY(0);
}



body {
  margin: 0;
  padding: 0;
  margin-top: 10px;
  background-color: #000000;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
}

#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

h2 {
  font-size: 25px;
  font-family: 'Press Start 2P', cursive;
  margin-bottom: 10px;
}

h3 {
  color: #ffffff;
  font-family: 'Press Start 2P', cursive;
  font-size: 18px;
}

.info h1 {
  font-size: 18px;
  font-family: 'Press Start 2P', cursive;
}

.info h1 span {
  
  color: #747474;
  font-weight: bold;
  font-size: 33px;
  display: inline-block;
  font-family: 'Press Start 2P', cursive;
}


.info p {
  color: #ffffff;
  font-size: 12px;
  line-height: 1.5;
  font-family: 'Press Start 2P', cursive;
}

.hero {
  margin-top: 15px;
  display: flex;
  flex-direction: row-reverse; 
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  flex-wrap: wrap;
  gap: 30px;
}

.profile-pic img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  margin-right: 75px;
  box-shadow: #ffffff 0px 0px 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px); 
  }
  100% {
    transform: translateY(0px); 
  }
}


.subtitle {
  font-size: 17px;
  width: fit-content;
  animation: blink-caret 0.75s step-end infinite;
  text-shadow: 0 0 25px #ffffff;
}

.info {
  flex: 1;
  text-align: left;
  max-width: 500px;
  font: 400 16px/1.5 'Press Start 2P', cursive;
  margin-left: 75px;
}

.social-icons {
  margin: 20px 0;
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #ffffff;
  color: #0d0d0d;
  .cf-icon {
    color: #000000;
  }
}

.social-icons a .cf-icon {
  font-size:21px;
  color:#ffffff;
}


.download-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 25px;
  border: 2px solid #ffffff;
  color: #0d0d0d;
  background-color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
}

.download-btn:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255);
  background-color: #000000;
  color: #ffffff;
}

.projects, .skills, .contact, .about-me, .experience {
  padding: 40px 20px;
  text-align: center;
  justify-content: center;
}

.projects h2, .skills h2, .about-me h2, .experience h2, .contact h2 {
  font-size: 25px;
  border: 2px solid #ffffff;
  padding: 10px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 20px;
  width: 32%;
  box-shadow: #ffffff 0px 0px 10px;
  background-color: #ffffff;
  color: #000000;

}

.about-me {
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 20px;
  height: max-content;
}

.about-me p {
  font-size: 12px;
  color: #ffffff;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 600px;
}

.about-me .about-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: max-content;
  max-width: 1000px;
  margin: 0 auto;
}

.about-me .about-text {
  color: #ffffff;
  font-size: 10px;
  line-height: 1.8;
  margin: 30px auto;
  padding: 25px;
  width: 60%;
  max-width: 750px;
  background-color: #1a1a1a;
  border: 2px solid #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-me .about-text p {
  margin: 0 0 25px 0;
  color: #ffffff;
  font-size: 10px;
  line-height: 1.8;
}

.about-me .about-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.about-me .about-text:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.about-me .about-text:hover::before {
  opacity: 1;
}

.about-text .education-section {
  width: 100%;
  margin: 25px 0 0 0;
}

.about-text .education-section h4 {
  font-size: 11px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50px;
  padding: 10px 20px;
  width: fit-content;
  margin: 0 auto 20px auto;
  box-shadow: #ffffff 0px 0px 10px;
  text-align: center;
}

.about-text .education-item {
  background-color: #000000;
  border: 1px solid #666;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(81, 81, 81, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-text .education-item:hover {
  border-color: #ffffff;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.education-item h5 {
  font-size: 11px;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-align: center;
  font-weight: bold;
}

.education-university {
  font-size: 9px;
  color: #ffffff;
  margin: 8px 0;
  text-align: center;
  padding: 8px 15px;
  background-color: #000000;
  border: 1px solid #666;
  border-radius: 8px;
  display: inline-block;
  width: 50%;
  box-sizing: border-box;
}

.education-degree {
  font-size: 8px;
  color: #cccccc;
  margin: 8px 0 0 0;
  text-align: center;
  line-height: 1.5;
}


.about-me h4 {
    text-align: center;
    font-size: 12px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50px;
    padding: 10px;
    width: 32%;
    margin: auto;
    box-shadow: #ffffff 0px 0px 10px;
    margin-bottom: 20px;
  

  }

.experience {
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 20px;
  height: max-content;
}

.experience-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
  background: inherit;
}

.card {
  background: #000000;
  color: #ffffff;
  border-radius: 15px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  text-align: left;
  padding: 25px;
  padding-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.3s ease-in-out, border-color 0.3s;
  height: auto;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
}

.card:hover::before {
  opacity: 1;
}


.card h3 {
  margin: 0;
  display: block;
  text-align: left;
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: lighter;
  padding: 5px;
}

.card .card-description {
  font-size: 0.5rem;
  color: #ffffff;
  line-height: 1.5;
  margin: 5px;
  font-weight: lighter;
  border: 1px solid #666;
  padding: 15px;
  border-radius: 5px;
  background-color: #1a1a1a;
  box-shadow: 0 5px 10px rgba(81, 81, 81, 0.5);
}

.card .card-duration {
  font-size: 0.6rem;
  color: #ffffff;
  margin-bottom: 5px;
  text-align: left;
  padding: 5px 0;
  font-size: 7px;
}

.card a {
  color: #ffffff;
  text-decoration: none;
}

.card h3:hover {
  transition: color 0.3s;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.card .card-role {
  font-size: 0.7rem;
  color: #ffffff;
  margin: 8px 5px;
  text-align: left;
  padding: 8px 12px;
  border-radius: 50px;
  font-weight: bolder;
  background-color: #1a1a1a;
  border: 1px solid #666;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(81, 81, 81, 0.3);
}


.projects {
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 20px;
  height: max-content;
}

.boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.box {
  background-color: #000000;
  padding: 25px;
  border: 2px solid #ffffff;
  border-radius: 15px;
  color: #fff;
  height: auto;
  margin-top: 0;
  transition: box-shadow 0.3s, transform 0.3s ease-in-out, border-color 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
}

.box:hover::before {
  opacity: 1;
}

.box h4 {
  font-size: 13px;
  margin-bottom: 15px;
  text-align: center;
}

.box a {
  display: flex;
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
  color: #000000;
  background-color: #ffffff;
  text-decoration: none;
  padding: 10px;
  border-radius: 50px;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid #ffffff;
}

.box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;

}

.box .proj-description {
  font-size: 0.5rem;
  color: #ffffff;
  line-height: 1.6;
  margin: 10px 5px;
  font-weight: lighter;
  border: 1px solid #666;
  padding: 20px;
  border-radius: 8px;
  background-color: #1a1a1a;
  min-height: 80px;
  flex-grow: 1;
  box-shadow: 0 5px 20px rgba(81, 81, 81, 0.5);
  text-align: left;
}


.box ul li {
  margin: 5px;
  font-size: 8px;
  padding: 5px 10px;
  background-color: #1a1a1a;
  border-radius: 5px;
  border: 1px solid #ffffff;
  transition: all 0.2s ease;
}

.box ul li:hover {
  background-color: #2a2a2a;
  transform: scale(1.05);
}

.box a:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  background-color: #000000;
  color: #ffffff;
  transform: scale(1.02);
}


.skills {
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 20px;
  height: max-content;
}

.skills-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.languages {
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  width: 85%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background-color: #1a1a1a;
  border: 2px solid #ffffff;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.languages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.languages:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.languages:hover::before {
  opacity: 1;
}

.languages h4 {
  font-size: 13px;
  color: #ffffff;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50px;
  padding: 10px 18px;
  width: fit-content;
  margin: 0 auto 18px auto;
  line-height: 1.2em;
  box-shadow: #ffffff 0px 0px 10px;
}

.tools {
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  width: 85%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background-color: #1a1a1a;
  border: 2px solid #ffffff;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tools::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.tools:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.tools:hover::before {
  opacity: 1;
}

.tools h4 {
  font-size: 13px;
  color: #ffffff;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50px;
  padding: 10px 18px;
  width: fit-content;
  margin: 0 auto 18px auto;
  line-height: 1.2em;
  box-shadow: #ffffff 0px 0px 10px;
}

.other-skills {
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  width: 85%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background-color: #1a1a1a;
  border: 2px solid #ffffff;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.other-skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.other-skills:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

.other-skills:hover::before {
  opacity: 1;
}

.other-skills ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;

}

.other-skills ul li {
  margin: 6px;
  font-size: 9px;
  padding: 6px 12px;
  color: #ffffff;
  background-color: #000000;
  border: 1px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.other-skills ul li:hover {
  background-color: #2a2a2a;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.5);
}

.other-skills h4 {
  font-size: 13px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50px;
  padding: 10px 18px;
  width: fit-content;
  margin: 0 auto 18px auto;
  line-height: 1.2em;
  box-shadow: #ffffff 0px 0px 10px;
}

.timeline {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}

.edu-item {
  background-color: #000000;
  padding: 15px;
  border-left: 5px solid #ffffff;
  text-align: left;
  border-radius: 5px;
}

.contact {
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 20px;
  height: max-content;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

form {
  margin-top: 20px;
  display: grid;
  gap: 18px;
  max-width: 450px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #ffffff;
  padding: 30px;
  border-radius: 20px;
  background-color: #1a1a1a;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

form:hover {
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

input, textarea {
  padding: 12px 18px;
  background-color: #000000;
  color: white;
  border: 2px solid #ffffff;
  border-radius: 50px;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  transition: all 0.3s ease;
  outline: none;
}

input:focus, textarea:focus {
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  background-color: #0a0a0a;
}

textarea {
  border-radius: 15px;
  min-height: 120px;
  resize: vertical;
  font-family: 'Press Start 2P', cursive;
}

.submit {
  padding: 12px 25px;
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Press Start 2P', cursive;
  font-size: 9px;
  transition: all 0.3s ease;
  font-weight: bold;
}

.submit:hover {
  background-color: #000000;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.contact-info {
  text-align: left;
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  font-size: 10px;
  line-height: 1.8;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 30px;
  border-radius: 20px;
  background-color: #1a1a1a;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-info:hover {
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.info-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  margin: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item:hover {
  padding-left: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-left: -10px;
  margin-right: -10px;
  padding-left: 20px;
  padding-right: 20px;
}

.info-icon {
  margin-right: 15px;
  margin-left: 5px;
  color: #ffffff;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
  transform: scale(1.2);
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #1a1a1a;
  font-size: 10px;
  color: #888;
}

footer p {
  margin: 10px;
}

.footer-icon {
  font-size: 20px;
  color: #888;
  transition: color 0.3s ease;
}

footer a {
  text-decoration: none;

}

.footer-icon:hover {
  color: #fff;
}

.navbar {
  margin: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: sticky;
  top: 10px;
  z-index: 100;
  border-radius: 25px;
  border: 1px #ffffff solid;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  box-shadow: 0 10px 25px rgb(121, 121, 121,0.3);
}

.logo img {
  width: 35px;
  height: 35px;
  border: 2px solid #ffffff;
  border-radius: 50px;
}

.logo img:hover {
  transform: scale(1.1);
  transition: transform 0.3s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  padding: 10px;
  font-weight: bold;
}

.nav-links li a:hover {
  color: #000000;
  background-color: white;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s;
  
}


.icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.icon-grid img {
  width: 55px;
  height: 55px;
  background-color: #000000;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.icon-grid img:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
  border-color: #ffffff;
}

.icon-with-text span {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 7px;
  color: #ffffff;
  width: 70px;
  line-height: 1.2em;
}

.navbar2 , .sidebar {
  display: none;
}



@media (min-width: 1025px) {
  .contact-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
  }

  form {
    flex: 1;
    max-width: 450px;
  }

  .contact-info {
    flex: 1;
    max-width: 450px;
    margin-top: 20px;
  }
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic img {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .info {
    margin-left: 0;
  }

  .boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience .experience-blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .skills-container {
    max-width: 800px;
    gap: 20px;
    align-items: center;
  }

  .languages,
  .tools,
  .other-skills {
    width: 90%;
    max-width: 750px;
    padding: 20px;
  }

  form {
    max-width: 90%;
  }

  .contact-container {
    flex-direction: column;
  }

  .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap; 
  overflow-x: auto;   
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
}

}

@media (max-width: 700px) {
  body {
    font-size: 8px;
  }

  .info h1 {
    font-size: 15px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 14px;
  }

  .info {
    flex-direction: column;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto; 

  }

  .info h1 span{
    font-size: 30px;
    padding-left: 0px;
    padding-right: 0px;
    
  }

  .info p {
    font-size: 8px;
    line-height: 1.3;
    margin-bottom: 10px;
    width: 75%;
  }

  .boxes {
    grid-template-columns: 1fr;
  }

  .box {
    height:max-content;
  }

  .box h4 {
    font-size: 10px;
  }

  .box .proj-description {
    font-size: 0.4rem;
  }

  .profile-pic img {
    width: 220px;
    height: 220px;
  }

  .icon-grid img {
    width: 40px;
    height: 40px;
  }

  .download-btn {
    padding: 8px 15px;
    font-size: 10px;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 14px;
    .cf-icon {
      font-size: 14px;
    }
  }

  .about-me h4 {
    font-size: 8px;
  }

  .about-me {
    padding: 30px 20px;
    height: max-content;
  }

  .about-me .about-description {
    padding: 0;
    max-width: 100%;
  }

  .about-me .about-text {
    font-size: 8px;
    margin: 20px auto;
    line-height: 1.6;
    width: 90%;
    max-width: 100%;
    padding: 20px;
  }

  .about-me .about-text p {
    font-size: 8px;
    margin-bottom: 20px;
  }

  .about-text .education-section {
    margin-top: 20px;
  }

  .about-text .education-section h4 {
    font-size: 9px;
    padding: 8px 15px;
    margin-bottom: 15px;
  }

  .about-text .education-item {
    padding: 15px;
  }


  .about-me .card-description {
    font-size: 0.4rem;
    padding: 10px;
  }

  .about-me .card {
    width: 70%;
    height: 90%;
    margin: 10px auto;
    
  }


  .card .card-duration {
    margin-left: 5px;
  }

  .about-description {
    padding: 10px 0;
    height: max-content;
    margin-bottom: 10px;
  }

  .skills-container {
    gap: 20px;
  }

  .languages,
  .tools,
  .other-skills {
    width: 90%;
    padding: 20px;
  }

  .languages h4,
  .tools h4,
  .other-skills h4 {
    font-size: 10px;
    padding: 10px 15px;
    margin-bottom: 20px;
  }

  .icon-grid {
    gap: 15px;
  }

  .icon-grid img {
    width: 50px;
    height: 50px;
    padding: 10px;
  }

  .other-skills ul li {
    font-size: 8px;
    padding: 6px 12px;
    margin: 5px;
  }

  .education-section {
    width: 90%;
  }

  .education-section h4 {
    font-size: 10px;
    padding: 10px 20px;
    margin-bottom: 20px;
  }

  .education-item {
    padding: 20px;
  }

  .education-item h5 {
    font-size: 9px;
  }

  .education-university {
    font-size: 8px;
    padding: 6px 12px;
  }

  .education-degree {
    font-size: 7px;
  }

  

  .projects h2, .skills h2, .about-me h2, .experience h2, .contact h2 {
    font-size: 18px;
    width: 60%;
  }

  .contact-container {
    flex-direction: column;
    padding: 0 10px;
    max-width: 80%;
    margin: 0 5px;
    align-items: center;
    justify-content: center;
  }

  form {
    max-width: 100%;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
  }

  .contact-info {
    max-width: 100%;
    padding: 20px;
    margin: 0 auto;
    font-size: 8px;
    line-height: 1.3;
    margin-bottom: 10px;
    width: 100%;
  }

  .experience {
    padding: 20px 15px;
  }

  .experience .experience-blocks {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }

  .experience .card {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
  }

  .navbar {
  display: none;
}

  .navbar2 {
  margin: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  position: sticky;
  top: 10px;
  z-index: 100;
  border-radius: 25px;
  border: 1px #ffffff solid;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  box-shadow: 0 10px 25px rgb(121, 121, 121,0.3);
}

.logo img {
  border-radius: 50%;
}

.open-btn {
  background: none;
  color: rgb(255, 255, 255);
  font-size: 25px;
  cursor: pointer;
  border-radius: 50px;
  font-weight: bold;
  border: none;
}

.subtitle {
    font-size: 11px;
  }

.sidebar {
  position: fixed;
  top: 10px;
  right: 50px;
  background-color: #1c1c1c;
  transition: 0.3s;
  padding-top: 50px;
  z-index: 1000;
  box-shadow: -2px 0 5px rgba(0,0,0,0.5);
  border-radius: 15px;
  height: 50%;
}

.sidebar a {
  display: block;
  padding: 12px 20px;
  color: #ddd;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
  text-align: right;
  position: relative;
  margin: 20px 30px 0 30px;
}

.sidebar a:hover {
  color: #000000;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.close-btn {
  position: absolute;
  top: 10%;
  left: 85%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  font-size: 40px;
  color: rgb(255, 255, 255);
  cursor: pointer;
  transition: color 0.3s;
  background: none;
  border: none;
}

.nav-links a {
  font-size: 5px;
} 

footer p {
  font-size: 7px;
  margin: 5px 0;
  line-height: 1.2;}

.footer-icon {
  font-size: 20px;
}

  .hero {
    margin-top: 30px;
    flex-direction: column;
    text-align: center;
  }
}


