body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
    Segoe UI Emoji;
  font-size: 14px;
  line-height: 1.5;
  /* padding: 0 32px; */
  padding: 0;
  margin: 0;
  /* background-color: #f6f8fa; */
}

/* .mr-1 {
  margin-right: 1rem;
}

.mr-2 {
  margin-right: 1rem;
} */

.nav-left a {
  text-decoration: none;
  color: #ffffff;
}

.header-link a {
  margin: 0 0.5rem;
}

.header-link a:first-child {
  margin-left: 1.5rem;
}

.header-link a:hover {
  color: hsl(0deg 0% 100% / 70%);
}

header {
  background-color: #24292e;
  padding: 1rem 2rem;
}

header nav {
  display: grid;
  grid-template-columns: 11fr 1fr;
}
/* header nav {
  display: flex;
  justify-content: space-between;
} */

.octicon {
  fill: #ffffff;
  margin-right: 1rem;
}

.octicon-mark-github {
  /* margin-top: 0.05px; */
  display: flex;
}

nav input {
  background-color: #24292e;
  padding: 7px 12px;
  border-radius: 6px;
  outline: none;
  border: 1px solid #444d56;
  color: #ffffff;
  /* max-width: 263px; */
  width: 100%;
  background-image: url('https://github.githubassets.com/images/search-key-slash.svg');
  background-repeat: no-repeat;
  background-position: 235px 0.25rem;
}

nav input::placeholder {
  /* color: #efefef; */
  color: #d7dadb;
  color: hsl(0deg 0% 100% / 70%);
}

.nav-right,
.nav-left {
  display: flex;
  align-items: center;
}

.nav-right {
  justify-content: flex-end;
}

/* .nav-left {
  flex-basis: 75%;
} */

.nav-left label {
  display: flex;
  align-items: center;
  max-width: 263px;
  width: 100%;
}

input :after {
  content: url('https://github.githubassets.com/images/search-key-slash.svg');
}

.nav-right .avatar {
  display: inline-block;
  overflow: hidden;
  line-height: 1;
  vertical-align: middle;
  border-radius: 6px;
  border-radius: 50% !important;
  /* box-shadow: 0 0 0 1px var(--color-avatar-border); */
}

span.dropdown-caret {
  display: inline-block;
  width: 0;
  height: 0;
  color: #ffffff;
  vertical-align: middle;
  content: '';
  border-top-style: solid;
  border-top-width: 4px;
  border-right: 4px solid transparent;
  border-bottom: 0 solid transparent;
  border-left: 4px solid transparent;
}

main {
  margin-top: 24px;
}

.container {
  display: flex;
  padding: 1rem 2rem;
}

.profile {
  flex-basis: 25%;
  margin-top: -3rem;
  position: relative;
}

.profile-wrapper {
  position: sticky;
  top: 20px;
}

.repository {
  flex-basis: 75%;
}

img.avatar-bg {
  width: 282px;
  height: 282px;
  border-radius: 50%;
  border: 1px solid #e1e4e8;
}

.profile h1 {
  font-weight: 600;
  display: flex;
  flex-direction: column;
}

span.fullname {
  font-size: 26px;
  line-height: 1.25;
  color: #24292e;
  font-weight: 600;
}

span.username {
  font-size: 20px;
  font-weight: 300;
  color: #586069;
}

.profile .bio {
  color: #24292e;
}

nav.content-header {
  display: flex;
  border-bottom: 1px solid #e1e4e8;
}

.empty-space {
  flex-basis: 27.2%;
}

/* .tab-wrapper {
  flex-basis: 75%;
} */

nav.content-header a {
  font-size: 14px;
  color: #24292e;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  white-space: nowrap;
  background-color: initial;
  white-space: nowrap;
  background-color: initial;
  border: 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.36s ease-in;
}

nav.content-header a:hover {
  color: #24292e;
  text-decoration: none;
  border-bottom-color: #d1d5da;
  outline: 1px dotted transparent;
  outline-offset: -1px;
  transition-timing-function: ease-out;
  transition-duration: 0.12s;
}

nav.content-header a.active {
  border-bottom-color: #f9826c;
  font-weight: 600;
}
nav.content-header span.counter {
  display: inline-block;
  color: #24292e;
  min-width: 20px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  margin-left: 5px;
  text-align: center;
  background-color: rgba(209, 213, 218, 0.5);
  border: 1px solid transparent;
  border-radius: 2em;
}

nav.content-header a svg {
  margin-right: 7px;
}

.repository .search-field {
  border-bottom: 1px solid #e1e4e8;
  width: 100%;
}

.repository .search-field input {
  padding: 5px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #24292e;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 8px center;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  outline: none;
  width: 95%;
  margin-bottom: 16px;
}

.repository .search-field input:focus {
  border-color: #0366d6;
  /* border: 2px solid #0366d6; */
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.3);
}

.repository .repo-details {
  color: #586069;
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid #e1e4e8;
}

.repository .repo-count {
  border-bottom: 1px solid #e1e4e8;
}

.repository .repo-count p {
  color: #24292e;
}

.repository .repo-count p span {
  font-weight: bold;
}

.repository .tags svg {
  display: inline-block;
  vertical-align: text-top;
  fill: #586069;

  margin-right: 5px;
  /* display: inline-flex;
  align-items: center; */
}

.repository .star-badge button {
  color: #24292e;
  cursor: pointer;
  padding: 3px 12px;
  font-size: 12px;
  line-height: 20px;
  background-color: #fafbfc;
  border: 0.5px solid #e1e4e8;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.repository .star-badge button svg {
  margin-right: 4px;
}

.repository .star-badge button:hover {
  background-color: #f3f4f6;
  border-color: rgba(27, 31, 35, 0.15);
  transition-duration: 0.1s;
}

.repository a.repo-title {
  text-decoration: none;
  color: #0366d6;
  font-size: 20px;
  font-weight: 600;
}

.repository a.repo-title:hover {
  text-decoration: underline;
}

span.planguage-color {
  background-color: #e34c26;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

a.star-count {
  padding: 0 1rem;
  cursor: pointer;
}

nav.mobile-content-header {
  display: none;
}

/* Responsive */

@media screen and (device-width: 1024px) {
  header nav {
    display: grid;
    grid-template-columns: 9fr 1fr;
  }
}

@media screen and (max-device-width: 768px) {
  header,
  .container {
    padding: 1rem 1.5rem;
  }

  header nav {
    display: grid;
    grid-template-columns: 9fr 1.5fr;
  }

  .header-link a {
    margin: 0.25rem;
  }

  .header-link a:first-child {
    margin-left: 0rem;
  }

  .octicon-mark-github {
    margin: 0;
  }

  .nav-left label {
    margin: 0 1rem;
  }

  .profile-img img {
    width: 168px;
    height: 168px;
  }
}

@media screen and (max-device-width: 425px) {
  .container {
    flex-direction: column;
  }

  nav.desktop-content-header {
    display: none;
  }

  nav.mobile-content-header {
    display: block;
  }

  .profile-wrapper {
    display: flex;
    margin-top: -3.2rem;
    align-items: center;
  }

  .profile-img img {
    width: 57px;
    height: 57px;
    margin-right: 1rem;
  }

  .profile {
    margin: 0;
  }

  .empty-space {
    display: none;
  }

  .tab-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
  }

  a.star-count {
    padding: 0 0.5rem;
  }

  .desktop-header {
    display: none;
  }

  header.mobile-header {
    display: block;
  }

  header nav {
    grid-template-columns: 1fr 1fr 0fr;
    align-items: center;
  }
}

.mobile-header {
  display: none;
}

img.small-avatar {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
