@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 1s;
  transition-timing-function: ease-in-out;
}

body {
  font-family: "Chakra Petch", sans-serif;
}

nav {
  width: 100%;
  padding: 1rem 0;
}

.nav_container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

h1 {
  font-size: 2.1rem;
}

.github-logo {
  font-size: 1.5rem;
}

.theme-toggle {
  cursor: pointer;
  background-color: #1E2A47;
  width: 4.3rem;
  padding: 0.2rem 0.5rem;
  font-size: 1.2rem;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.theme-toggle span {
  position: absolute;
}
.theme-toggle .toggle-button {
  width: 38%;
  height: 80%;
  border-radius: 50%;
  top: 10%;
  left: 5%;
  transition: left 1s;
  transition-timing-function: ease-in-out;
}
.theme-toggle .light-theme {
  top: 10%;
  right: 10%;
  transition: 1s;
  transition-timing-function: ease-in-out;
}
.theme-toggle .dark-theme {
  bottom: -100%;
  transition: bottom 1s;
  transition-timing-function: ease-in-out;
}

.theme-toggle-pressed .toggle-button {
  left: 55%;
  top: 10%;
}
.theme-toggle-pressed .light-theme {
  top: -100%;
  right: 10%;
}
.theme-toggle-pressed .dark-theme {
  bottom: 8%;
}

.container {
  width: 90%;
  margin: auto;
}

.error-message {
  background-color: rgb(228, 27, 27);
  color: white;
  padding: 0.5rem;
  border-radius: 5px;
  transform-origin: top;
  transform: scale(1, 0);
  transition: transform 0.5s;
}

.error-message-pop-up {
  transform: scale(1);
}

form {
  position: relative;
}
form i {
  position: absolute;
  left: 3%;
  bottom: 12px;
  font-size: 1.3rem;
}
form input[type=text] {
  display: block;
  width: 100%;
  padding: 1rem 0.8rem;
  border-radius: 20px;
  border: none;
  margin-top: 1rem;
  font-size: 1rem;
  outline: none;
  text-indent: 8%;
}

.profile-info-container {
  margin-top: 1.2rem;
}

.profile-pic-container {
  width: 100%;
  margin-bottom: 1rem;
}
.profile-pic-container img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
.profile-pic-container button {
  cursor: pointer;
  width: 100%;
  padding: 0.8rem;
  border-radius: 20px;
  border: none;
  margin-top: 0.5rem;
}
.profile-pic-container button a {
  text-decoration: none;
  font-family: inherit;
  color: white;
  font-size: 0.9rem;
}

.repos-title {
  margin: 1.2rem 0 1.2rem 1.2rem;
}

.profile-details .extra-info {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
}
.profile-details .extra-info span {
  border: 1px solid silver;
  padding: 0.5rem;
  margin: 0.2rem;
}
.profile-details .extra-info .name {
  margin: 0;
}
.profile-details p {
  padding: 0.5rem 0;
  border-bottom: 1px solid silver;
}
.profile-details .user-login {
  padding: 0.2;
  border-bottom: none;
}
.profile-details .user-login span {
  font-size: 1.2rem;
  font-weight: 500;
}

.repos-container .repo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid silver;
  padding: 0.5rem 0;
}
.repos-container .repo a {
  color: inherit;
  text-decoration: none;
  transition: font-weight 0.5s;
}
.repos-container .repo a:hover {
  font-weight: bold;
}
.repos-container .repo .points {
  display: flex;
  flex-wrap: wrap;
}
.repos-container .repo .points span {
  margin: 0 0.2rem;
  padding: 0.1rem 0.2rem;
  border-radius: 5px;
  color: white;
}
.repos-container .repo .points .detail-stars {
  background-color: rgb(74, 74, 172);
}
.repos-container .repo .points .detail-watchers {
  background-color: rgb(175, 110, 25);
}
.repos-container .repo .points .detail-forks {
  background-color: rgb(45, 194, 45);
}

footer {
  margin-top: 1rem;
  padding: 1rem 1.5rem 0.2rem;
}
footer .attribution {
  text-align: center;
  font-size: 0.8rem;
}
footer .attribution a {
  text-decoration: none;
}

@media screen and (min-width: 500px) {
  .nav_container {
    width: 80%;
  }
}
@media screen and (min-width: 600px) {
  .nav_container {
    width: 60%;
  }
}
@media screen and (min-width: 800px) {
  .nav_container {
    width: 90%;
  }
}
@media screen and (min-width: 1000px) {
  .nav_container {
    width: 70%;
  }
}

@media screen and (min-width: 900px) {
  form input[type=text] {
    text-indent: 6%;
  }
}

@media screen and (min-width: 500px) {
  .container {
    width: 80%;
  }
}
@media screen and (min-width: 600px) {
  .container {
    width: 60%;
  }
}
@media screen and (min-width: 800px) {
  .container {
    width: 90%;
  }
}
@media screen and (min-width: 1000px) {
  .container {
    width: 70%;
  }
}

@media screen and (min-width: 800px) {
  .profile-info-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
  }
}/*# sourceMappingURL=style.css.map */