@media (max-width: 768px) {
  body {
    flex-direction: column;
    gap: 50px;
  }

  .blob,
  .navbar,
  .portfolio-id,
  .transcripts {
    display: none;
  }

  main {
    width: 100%;
    margin-left: 0;
    padding-top: 0;
  }

  /* Header styling */
  .header-main {
    width: 100%;
    height: auto;
    position: relative;
  }

  /* Active section indicator styling */
  .section-title {
    display: block;
    position: sticky;
    top: 0;
    z-index: 10;

    background-color: rgba(8, 21, 53, 0.3);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 10px 4vw;
    width: 100%;
  }

  /* Section contents styling */
  .about-me,
  .experience,
  .projects {
    padding: 20px 5px;
  }

  .card-me:hover,
  .experience .card:hover,
  .project-card:hover {
    background: transparent;
    transform: none;
  }

  .experience .card {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
  }

  .project-card {
    width: 100%;
    flex-wrap: wrap;
  }

  .skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 5px 0 10px 0;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .skills li {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .experience,
  .projects {
    padding: 30px 0;
  }

  .experience .card {
    gap: 20px;
  }

  .footer-main {
    padding: 25px 15px;
  }

  .my-cv {
    margin: 20px auto 35px;
    display: inline-block;
  }

  .my-cv:hover {
    color: white;
    border: 2px solid white;
  }

  .footer-main p {
    text-align: center;
  }

  .footer-main p a:hover {
    color: var(--out-color);
  }

  .footer-main p a:hover::after {
    color: var(--out-color);
  }
}

/*@media (min-width: 769px) {
  .card-me:hover,
  .experience .card:hover {
    background: var(--card-color);
    transform: translateX(5px);
  }

  .resume {
    width: 100%;
    padding: 40px 0;
  }

  .experience {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
    padding: 40px;
  }

  .experience .card {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
    padding: 25px;
  }

  .experience .card .date {
    width: fit-content;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .experience .card .date p {
    color: rgba(225, 225, 225, 0.3);
    margin: 0;
  }

  .projects {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 20px;
    padding: 40px;
  }

  .project-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 18px 20px;
  }

  .project-card:hover {
    background: var(--card-color);
  }

  .skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
  }
}*/
