* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  font-family: sans-serif;
  background-color: #d3d3d3;

  display: flex;
  justify-content: center;
  align-items: center;
}

a {
  color: black;
  text-decoration: none;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.d-none {
  display: none;
}

.dimmer {
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  position: fixed;
  width: 100%;
  height: 100%;
}

.spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 5px;
  font-weight: bold;
}

.card {
  background-color: #fff;
  width: 500px;
  height: 600px;
  border-radius: 15px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: transform 0.5s ease;
}

.page {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.front,
.back {
  background-color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform-origin: left;
  transition: transform 1s;
  border-radius: 15px;
}

.flipped .front,
.flipped .back {
  transform: rotateY(-180deg);
}

.front {
  z-index: 1;
  backface-visibility: hidden;
  border-left: 3px solid #d3d3d3;
}

.back {
  z-index: 0;
}

.content {
  width: 100%;
  height: 100%;
}

.user-content {
  transform: rotateY(180deg);
}

#first-page {
  z-index: 3;
}

#second-page {
  z-index: 2;
}

.search-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-title {
  position: absolute;
  top: 50px;
  font-size: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.search-wrap {
  display: flex;
  gap: 10px;
  width: 350px;
}

.search-wrap input {
  padding: 20px 0 20px 25px;
  flex: 1;
  border: none;
  background-color: #d3d3d3;
  border-radius: 30px;
  font-size: 16px;
}

.search-wrap input:focus {
  outline: none;
  border: 1px solid gray;
}

.search-wrap i {
  font-size: 30px;
}

.helper-wrap {
  margin-top: 10px;
  color: red;
  font-size: 14px;
  text-align: center;
}

.helper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.user-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.profile-picture {
  width: 200px;
  height: 200px;
}

.profile-picture img {
  width: 100%;
  border-radius: 50%;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.follow-info {
  line-height: 20px;
  display: flex;
  gap: 5px;
}

.follow-info p span {
  font-weight: bold;
  margin-right: 3px;
}

p i,
a i {
  margin-right: 5px;
}

.profile-btn {
  font-size: 16px;
  border-radius: 15px;
  padding: 20px 40px;
  background-color: lightgray;
  transition: all 0.5s ease;
}

.profile-btn {
  text-decoration: none;
  color: black;
}

.profile-btn:hover {
  background-color: gray;
  color: #fff;
}

#reset-btn {
  cursor: pointer;
  display: flex;
  position: absolute;
  left: 10px;
  top: 5px;
}

#reset-btn i {
  margin-right: 3px;
}

.profile-info .blog {
  text-decoration: none;
  color: black;
}

.profile-info .blog:hover {
  text-decoration: underline;
}

#latest-repos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px;
}

.repo-content h2 {
  padding: 15px 20px;
  font-size: 32px;
}

.repo-content h2 small {
  font-weight: 400;
  font-size: 12px;
}

.repo-list {
  border: 1px solid lightgray;
  border-radius: 3px;
  padding: 15px 10px;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
}

.repo-list p {
  width: 50%;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.repo-list p:hover {
  text-decoration: underline;
}

.repo-info-wrap {
  width: 50%;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.repo-info {
  font-size: 12px;
  padding: 5px;
  border-radius: 10px;
  white-space: nowrap;
}

.repo-info.stars {
  background-color: skyblue;
}

.repo-info.watchers {
  background-color: lightgreen;
}

.repo-info.forks {
  background-color: lightgray;
}

.repo-fallback {
  white-space: nowrap;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
}
