* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 1600px) {
  .resume-layout {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
  }

  .resume-left, 
  .resume-right {
    width: 100%;
    max-width: 900px;
  }
}

@media (max-width: 1100px) {
  .featured-content-section {
    flex-direction: column;
    padding: 20px;
  }

  .secondary-section {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .reels-scroller {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 20px;
    justify-content: flex-start;
  }
}

@media (max-width: 950px) {
  .introduction {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
  }

  .secondary-section,
  .featured-section,
  .intro-paragraph,
  .life-at-rose,
  .content-description,
  .intro-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    margin: 0 !important;
    text-align: center;
  }

  .reels-scroller {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .reels-scroller::-webkit-scrollbar {
    display: none;
  }

  .reels-scroller > * {
    flex: 0 0 320px;
    max-width: 320px;
    min-width: 320px;
  }

  .social-embed-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .business-card-wrap {
    width: 100%;
    height: 500px;
    overflow: hidden;
  }

  .business-card {
    transform: scale(0.9);
    transform-origin: top center;
    width: 100%;
    height: 100%;
  }

  .resume-left-card, 
  .resume {
    width: 100%;
    height: auto;
    min-height: 500px;
  }

  .featured-photo-wrap,
  .intro-image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 600px) {
  #subsections {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .title {
    font-size: 24px;
  }

  .spotify-embed, 
  .instagram-media,
  .reel-embed {
    width: 100% !important;
    min-width: 100% !important;
  }
}