.top-nav-container {
  padding-top: 0;
  padding-bottom: 0.15rem;
}

.top-nav-container .top-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2rem;
  min-height: 0;
  width: 100%;
}

.top-nav-container .top-nav .top-nav-menu {
  align-items: center;
  display: flex;
  flex-grow: 0;
  justify-content: flex-end;
  margin: 0;
}

.top-nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.nav-name-link {
  display: inline-block;
  font-size: 1.8rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  color: #8f2d2d;
  padding: 0.06rem 0.15rem;
}

.nav-name-link:hover,
.nav-name-link:focus {
  color: #8f2d2d;
}

.nav-text-link {
  display: inline-block;
  letter-spacing: 0;
  text-transform: lowercase;
  font-weight: 500;
  color: #6b5b53;
  padding: 0.06rem 0.14rem;
}

.nav-text-link:hover,
.nav-text-link:focus {
  color: #8f2d2d;
}

.nav-icon-link {
  color: #3f3632;
}

.nav-icon-link:hover,
.nav-icon-link:focus {
  color: #8f2d2d;
}

.footer-social-wrap {
  padding-bottom: 0.75rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.footer-social-link {
  color: #3f3632;
}

.footer-social-link:hover,
.footer-social-link:focus {
  color: #8f2d2d;
}

@media (max-width: 768px) {
  .top-nav-container {
    padding-top: 0.1rem;
    padding-bottom: 0.05rem;
  }

  .top-nav {
    margin-bottom: 0.08rem;
  }

  .top-nav-links {
    gap: 0.45rem;
  }

  .nav-name-link {
    font-size: 1.1rem;
    padding: 0.03rem 0.08rem;
  }

  .nav-text-link {
    font-size: 0.72rem;
    padding: 0.03rem 0.08rem;
  }
}

@media (max-width: 320px) {
  .top-nav-container {
    margin-left: -1rem;
    width: calc(100vw - 2rem);
  }

  .top-nav-container .top-nav {
    flex-wrap: wrap;
    row-gap: 0.2rem;
  }

  .top-nav-links {
    gap: 0.25rem;
  }
}
