@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
:root {
  --footer-color: black;
  --footer-hover: #ededed;
}

.footer {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--footer-color);
}
.footer a {
  color: var(--footer-color);
  font-weight: bold;
}
.footer p {
  margin: 0;
  margin-bottom: 0.3rem;
  color: var(--footer-color);
}
.footer .me-content {
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: var(--footer-color);
}
.footer .me {
  text-decoration: underline;
}
.footer .footer-social {
  display: flex;
  align-items: center;
}
.footer .footer-social-link {
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4rem;
  transition: 0.3s linear;
}
.footer .footer-social-link:hover {
  background-color: var(--footer-hover);
}

:root {
  --body-bg: #eceff1;
  --body-color: #000;
  --user-list-bg: white;
  --user-list-hover: #f6f8f9;
  --subtitle-color: #747c81;
  --toast-bg: black;
  --toast-color: white;
  --btn-bg: #6911e7;
  --btn-color: white;
  --footer-color: #000;
  --footer-hover: #d6dbdf;
}

.dark {
  --body-bg: #172024;
  --body-color: white;
  --user-list-bg: #263238;
  --user-list-hover: #303e44;
  --subtitle-color: #b0bec5;
  --title-color: white;
  --toast-bg: white;
  --toast-color: black;
  --btn-bg: white;
  --btn-color: black;
  --footer-color: white;
  --footer-hover: #243136;
}

*, ::after, ::before {
  box-sizing: border-box;
}

p {
  font-size: 1rem;
  margin: 0 0 0.6rem 0;
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--body-bg);
  color: var(--body-color);
  line-height: 1.5;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
}

.user-list {
  display: flex;
  flex-direction: column;
  background-color: var(--user-list-bg);
  border-radius: 0.8rem;
  padding: 1rem 0;
  min-width: 5rem;
  margin-bottom: 4rem;
}

.user-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.user-row:hover {
  background-color: var(--user-list-hover);
}

.user {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.user .avatar-content {
  margin-bottom: 0.6rem;
}
.user .avatar-content .avatar {
  border-radius: 50%;
  width: 70px;
  height: 70px;
}
.user .user-body {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.user .user-body .title {
  font-weight: 500;
  color: var(--title-color);
  text-decoration: none;
}
.user .user-body .subtitle {
  color: var(--subtitle-color);
}
.user .user-body .skills {
  display: flex;
  flex-direction: column;
}

.user-option {
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.025rem;
  font-family: "Roboto", sans-serif;
  color: var(--btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 0;
  background-color: var(--btn-bg);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding: 0.3rem 1rem;
  white-space: nowrap;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.btn.active {
  opacity: 0.7;
}

@media (min-width: 540px) {
  .user-row {
    flex-direction: row;
    padding: 1rem 2rem;
  }

  .user {
    flex-direction: row;
    text-align: left;
  }
  .user .avatar-content {
    margin-right: 0.6rem;
    margin-bottom: 0;
  }
  .user .user-body {
    margin-right: 1rem;
    margin-bottom: 0;
  }

  .user-option {
    margin-left: auto;
    margin-right: 0;
  }
}
.show-more {
  display: block;
  width: 90%;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 0.25rem;
  color: var(--title-color);
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}
.show-more:hover {
  background-color: var(--user-list-hover);
}

.toast {
  position: fixed;
  bottom: 10%;
  left: 10%;
  z-index: 9000;
  background-color: var(--toast-bg);
  color: var(--toast-color);
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  visibility: hidden;
  font-weight: 500;
  text-align: center;
  font-size: 18px;
}

.toggle-theme-content {
  margin-bottom: 2rem;
}