html,
body,
#root {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body,
#root {
  touch-action: pan-y;
}

#root {
  overflow-y: auto;
}

.burger-button {
  display: none;
  visibility: hidden;
}

.nav {
  box-sizing: border-box;
}

.resume-core-skills {
  gap: 14px;
}

.resume-core-skills-list {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.resume-core-skills-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  min-width: 0;
}

.resume-core-skills-row strong {
  color: #6b7280;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.resume-core-skills-row p {
  min-width: 0;
  margin: 0;
  color: var(--strong-gray);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 512px) {
  .route_container,
  .header,
  .nav,
  #resume-container,
  .resume-common-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .header {
    padding: 0 16px;
  }

  .nav {
    position: relative;
    min-height: 68px;
    height: auto;
    padding: 14px 12px 14px 70px;
    margin-bottom: 0;
    justify-content: flex-start;
    border-bottom: 0;
  }

  .nav > h1 {
    min-width: 0;
    margin: 0;
    font-size: clamp(24px, 8vw, 32px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .burger-button {
    display: flex;
    visibility: visible;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 8px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    z-index: 3;
  }

  .burger-button > div {
    width: 100%;
    margin: 2px 0;
  }

  .resume-core-skills-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .resume-core-skills-row p {
    font-size: 13px;
    line-height: 1.65;
  }
}
