@media (max-width: 600px) {
  nav {
    overflow-x: auto;
    white-space: nowrap;
    gap: 1.25rem;
  }
  .logo {
    font-weight: 500;
    margin: 0;
    font-size: larger;
  }
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 1rem;
  }
  nav::-webkit-scrollbar {
    display: none;
  }
  h1 {
    font-size: 2rem;
  }
  .accent.jop {
    font-size: 23px;
  }
  p {
    font-size: 1.3rem;
    width: 100%;
    padding: 1rem;
  }
  li a {
    font-size: 25px;
  }
  .br {
    margin: 2rem auto;
  }
  .aboutme span,
  .projects-hed span,
  .certificates span,
  .contact span {
    font-size: 2.3rem;
  }
  .about {
    flex-direction: column;
    align-items: center;
    margin: 1rem;
  }
  .about img {
    width: 100%;
    max-width: 80%;
    margin-bottom: 4rem;
  }
  .projects {
    display: block;
  }
  .projects div {
    margin: 1rem;
  }
  .projects p {
    width: 90%;
    padding: 1rem;
    font-size: larger;
  }
  .skills span {
    font-size: 26px;
    padding: 0 0 1rem;
  }
  .certifivates-photos {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .certifivates-photos figure {
    min-width: 90%;
  }
  .conectme {
    margin: 2rem auto 0;
  }
  .connect-container .contact-linkes ul {
    flex-direction: row;
  }
  .connect-container .contact-linkes ul li a {
    font-size: 1.4rem;
    width: auto;
  }
  .connect-container {
    flex-direction: column;
    align-items: center;
  }
  .connectside,
  .form {
    max-width: 90%;
  }

  .form-row {
    flex-direction: column;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5rem;
    padding: 1rem 1rem;
  }
  h1 {
    font-size: 60px;
  }
  nav .logo {
    font-weight: 500;
    font-size: 1.8rem;
    margin: 0;
  }
  nav .nav-links {
    gap: 2rem;
  }
  nav .nav-links a {
    font-size: 1.1rem;
  }
  p {
    font-size: 2.5rem;
    width: 100%;
  }
  .about {
    flex-direction: column;
    align-items: center;
  }
  .about img {
    min-width: 70%;
  }
  .aboutme span,
  .projects-hed span,
  .skills span,
  .certificates span,
  .contact span {
    font-size: 4.5rem;
  }
  .education h3 {
    font-size: 65px;
    margin: -10px 0 1rem;
  }
  .education {
    margin: 0 auto;
    font-size: 35px;
  }
  .conectme {
    font-size: 41px;
    margin: 3rem auto 1rem;
  }
  .programming-skills table {
    width: 85%;
  }
  .certifivates-photos figure img {
    width: 90%;
  }
  .connect-container .contact-linkes ul {
    flex-direction: row;
  }

  .connect-container {
    flex-direction: row;
    align-items: center;
  }
  .connectside p {
    margin: -33px auto 0;
    font-size: 38px;
  }
  .connect-container .contact-linkes ul li a {
    font-size: 40px;
    justify-content: center;
    align-items: center;
    width: fit-content;
  }

  .form-row {
    flex-direction: column;
  }
  .connect-container {
    flex-direction: column;
  }
  .connectside,
  .form {
    width: 90%;
  }
}
