@media (min-width: 1023px) {
  section#hero .hero-content {
    max-width: 1023px;
    left: 120px;
    border-bottom-left-radius: 30px;
  }
}
@media (max-width: 1023px) {
  h2.section-header {
    width: 100%;
    background-color: var(--bg);
    position: sticky;
    top: 60px;
    border-top: 1px solid var(--color-two);
    box-shadow: 0 3px 5px var(--color-opacity);
    opacity: 0.85;
    z-index: 10;
  }
  #hamburger {
    display: block;
    cursor: pointer;
    z-index: 1000;
  }
  .navbar-list.active {
    transform: none;
    visibility: visible;
  }
  .navbar-list {
    padding-top: 80px;
    background-color: var(--bg);
    position: absolute;
    visibility: hidden;
    display: flex;
    justify-content: flex-start;
    transform: translateY(-100%);
    transition: all 0.4s ease-out;
    width: 100%;
    height: 100vh;
    gap: 32px;
    flex-direction: column;
  }
  section#hero {
    background-position: 50%;
    width: 100%;
  }
  .horizontal-desktop {
    flex-direction: column;
  }
  section {
    padding: 8px;
  }
  .circle-bg {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .projects-grid .project-card {
    max-width: 98%;
    border-radius: 10px;
  }
}
@media (min-width: 601px) and (max-width: 1023px) {
  .projects-grid {
    flex-direction: column;
  }
  .projects-grid .project-card {
    flex-direction: row;
  }
  .project-card > div {
    width: 50%;
    justify-content: center;
  }
  .card-text h4 {
    font-size: 1.5rem;
  }
}
@media (max-width: 600px) {
  .logo-container h4 {
    max-width: 140px;
  }
  section#hero .hero-content h1 {
    font-size: 4rem;
    letter-spacing: -0.1rem;
  }
  section#hero .hero-content a {
    font-size: 1rem;
    margin-left: 8px;
  }
  h2.fancy-header {
    font-size: 2rem;
  }
  .btns a {
    font-size: 0.8rem;
    letter-spacing: -0.03rem;
  }
  section#projects .projects-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 0 auto;
  }
  .project-card .card-text {
    padding: 16px;
    text-align: center;
  }
}
