@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  display: flex;
  background-color: #080808;
  font-family: "Inter", sans-serif;
  overflow: hidden;
  user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}

html, body {
  margin: 0;
  padding: 0;
}

::selection {
  background-color: #3f3f3fc0;
}

.profile {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  overflow-y: auto;
  padding: 20px;
  border-radius: 12px;
}

.profile .head {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 15px;
}

.profile .head .avatar {
  width: 100px;
  height: 100px;
  opacity: 1;
  border-radius: 12px;
}

.profile .head .text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile  .head .text .username {
  font-weight: 600;
  font-size: 30px;
  background: linear-gradient(to right, #a50404, #fc1c0c, #a50404);
  background-size: 200% 100%;
  background-position: 0%;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: snake-text 1s infinite linear;
}

@keyframes snake-text {
  0% {
    background-position: 200%;
  }
  50% {
    background-position: 100%;
  }
  100% {
    background-position: 0%;
  }
}

.profile .head .text .location {
  display: flex;
  width: min-content;
  justify-content: start;
  align-items: center;
  color: #bebebe;
  gap: 4px;
  transition: color 0.12s ease;
}

.profile .head .text .location:hover {
  color: #fc1c0c;
}

.profile .head .text .location:active {
  color: #a50404;
}

.profile .head .text .location label {
  font-size: 18px;
}

.profile .head .text .location svg {
  width: 20px;
  height: 20px;
}

.profile .splitter {
  height: 2px;
  background: linear-gradient(to right, #5c5c5c, #4b4b4b);
  width: 100%;
  margin-top: 20px;
  margin-bottom: 15px;
}

.profile .description {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-y: auto;
  user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  -webkit-user-select: text;
}

.profile .description p {
  font-size: 20px;
  color: #a1a1a1;
  margin: 0;
}

.profile .description .space {
  margin-top: 6px;
  margin-bottom: 6px;
}

.profile .social {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.profile .social a {
  color: #a1a1a1;
  transition: color 0.15s ease;
}

.profile .social a:hover {
  color: #eb0f0f;
}

.profile .social a:active {
  color: #ad0909;
}

.profile .social a svg {
  width: 40px;
  height: 40px;
}

.repos {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  height: 100vh;
  padding: 20px;
  width: 600px;
  background-color: #111;
  border-left: 1px solid #333;
}

.repos .header {
  font-size: 16px;
  color: #999;
  margin-top: 20px;
  margin-bottom: 50px;
  text-align: center;
}

.repos .list {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 8px;
  overflow-y: auto;
  height: 100%;
  width: 100%;
}

.repos .list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.repos .list .repo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  background-color: #161616;
  border: 1px solid #292929;
  padding: 8px 12px;
  border-radius: 12px;
}

.repos .list .repo:hover {
  background-color: #1f1f1f;
  border-color: #424242;
}

.repos .list .repo .header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  color: #d1d1d1;
  margin-top: 0;
  margin-bottom: 6px;
}

.repos .list .repo .header .name,
.repos .list .repo .header .stat {
  display: flex;
  align-items: center;
}

.repos .list .repo .header .name {
  justify-content: center;
  gap: 8px;
}

.repos .list .repo .header .stat {
  min-width: 160px;
  justify-content: space-between;
}

.repos .list .repo .header .name svg {
  width: 24px;
  height: 24px;
}

.repos .list .repo .header .name label {
  font-size: 18px;
  font-weight: 600;
}

.repos .list .repo .header .stat .el {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.repos .list .repo .header .stat .el svg {
  width: 18px;
  height: 18px;
}

.repos .list .repo .header .stat .el label {
  font-size: 16px;
  font-weight: 500;
}

.repos .list .repo .description {
  font-size: 16px;
  font-weight: 500;
  color: #858484;
  max-width: 700px;
  margin: 0;
}

.repos .list .repo .splitter {
  height: 1px;
  background-color: #444;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 4px;
}

.repos .list .repo .languages {
  font-size: 15px;
  font-weight: 500;
  color: #1aa109;
  gap: 10px;
}

.repos .list .repo .languages label[lang="rust"] {
  color: #ce8656;
}

.repos .list .repo .languages label[lang="typescript"] {
  color: #3979ee;
}

.repos .list .repo .languages label[lang="javascript"] {
  color: #dbc925;
}

.repos .list .repo .languages label[lang="html"] {
  color: #ca480c;
}

.repos .list .repo .languages label[lang="css"] {
  color: #670dce;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
    overflow-y: auto;
  }

  .profile {
    height: auto;
  }

  .repos {
    width: 100%;
    height: auto;
    border-left: none;
    border-top: 1px solid #333;
  }
}
