/******************************
  GLOBAL RESET
*******************************/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/******************************
  BASE DOCUMENT STYLES
*******************************/
html, body {
  height: 100%;
}

html {
  font-size: 100%; /*16px default*/
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased; /* For WebKit browsers (e.g., Safari) */
  -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
  text-rendering: optimizeLegibility; /* Improves legibility */
  font-variant-ligatures: common-ligatures; /* Enables common ligatures */
}

main {
  min-height: 100%;
}

/******************************
  MEDIA PROPERTIES
*******************************/
picture {
  display: block;
  max-width: 100%;
  width: 100%;
  min-height: 100%;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
  min-height: 100%;
  border: none;
  object-fit: cover;
}

/******************************
  TYPOGRAPHY & TEXT ELEMENTS
*******************************/
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

ul, ol {
  list-style: none;
}

/******************************
  FORM ELEMENTS
*******************************/
input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
  outline: transparent;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(36, 35, 41, 0.8);
}

button {
  cursor: pointer;
}

/******************************
  ACCESSIBILITY & INTERACTIVITY
*******************************/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --c-141D2F: #141D2F;
  --c-222731: #222731;
  --c-1E2A47: #1E2A47;
  --c-F6F8FF: #F6F8FF;
  --c-4B6A9B: #4B6A9B;
  --c-FFFFFF: #FFFFFF;
  --c-0079FF: #0079FF;
  --c-979797: #979797;
  --c-2B3442: #2B3442;
  --c-697C9A: #697C9A;
  --red: red;
  --ff: "Space Mono", monospace;
  --display-initial: inline-block;
  --display-none: none;
}

/*
*****************************************************
            max-inline width
*****************************************************
*/
/*
*****************************************************
            BORDER PROPS
*****************************************************
*/
/*
*****************************************************
            GETTER - COLOURS
*****************************************************
*/
/*
*****************************************************
            FONT SETUP
*****************************************************
*/
/*
*****************************************************
            Transitions
*****************************************************
*/
html {
  font-family: var(--ff);
}

/*
*********************************
    THEME
*********************************
*/
@media (prefers-color-scheme: light) {
  html:not([data-theme=dark]) main {
    background-color: var(--c-F6F8FF);
  }
  .user__header__logo {
    color: var(--c-222731);
  }
  #theme__text--dark,
  #moon {
    color: var(--c-4B6A9B);
    fill: var(--c-4B6A9B);
  }
  #theme__text--light,
  #sun {
    display: none;
  }
  /*
  *********************************
      SEARCH CONTAINER
  *********************************
  */
  .search__container {
    background-color: var(--c-FFFFFF);
  }
  #search__container__search-user {
    color: var(--c-4B6A9B);
  }
  #search-profile::before {
    background-color: #ffffff;
  }
  /*
  *********************************
      PROFILE INFO CONTAINER
  *********************************
  */
  .profile {
    background-color: var(--c-FFFFFF);
  }
  .profile__info__display-name {
    color: var(--c-2B3442);
  }
  .profile__info__join-date {
    color: var(--c-697C9A);
  }
  .profile__bio {
    color: var(--c-4B6A9B);
  }
  .profile__stats {
    background-color: var(--c-F6F8FF);
  }
  .profile__stats__cols--heading {
    color: var(--c-4B6A9B);
  }
  .profile__stats__cols--count {
    color: var(--c-2B3442);
  }
  .profile__meta {
    color: var(--c-4B6A9B);
  }
  .profile__meta__container--icon {
    fill: var(--c-4B6A9B);
  }
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme=light]) main {
    background-color: var(--c-141D2F);
  }
  .user__header__logo {
    color: var(--c-FFFFFF);
  }
  #theme__text--light,
  #sun {
    color: var(--c-FFFFFF);
    fill: var(--c-FFFFFF);
  }
  #theme__text--dark,
  #moon {
    display: none;
  }
  /*
  *********************************
      SEARCH CONTAINER
  *********************************
  */
  .search__container {
    background-color: var(--c-1E2A47);
  }
  #search__container__search-user {
    color: var(--c-FFFFFF);
  }
  #search-profile::before {
    background-color: #1E2A47;
  }
  /*
  *********************************
      PROFILE INFO CONTAINER
  *********************************
  */
  .profile {
    background-color: var(--c-1E2A47);
  }
  .profile__info__display-name {
    color: var(--c-FFFFFF);
  }
  .profile__info__join-date {
    color: var(--c-FFFFFF);
  }
  .profile__bio {
    color: var(--c-FFFFFF);
  }
  .profile__stats {
    background-color: var(--c-141D2F);
  }
  .profile__stats__cols--heading {
    color: var(--c-FFFFFF);
  }
  .profile__stats__cols--count {
    color: var(--c-FFFFFF);
  }
  .profile__meta {
    color: var(--c-FFFFFF);
  }
  .profile__meta__container--icon {
    fill: var(--c-FFFFFF);
  }
}
html[data-theme=light] {
  /*
  *********************************
      SEARCH CONTAINER
  *********************************
  */
  /*
  *********************************
      PROFILE INFO CONTAINER
  *********************************
  */
}
html[data-theme=light] main {
  background-color: var(--c-F6F8FF);
}
html[data-theme=light] .user__header__logo {
  color: var(--c-222731);
}
html[data-theme=light] #theme__text--dark,
html[data-theme=light] #moon {
  display: initial;
}
html[data-theme=light] #theme__text--dark,
html[data-theme=light] #moon {
  color: var(--c-4B6A9B);
  fill: var(--c-4B6A9B);
}
html[data-theme=light] #theme__text--light,
html[data-theme=light] #sun {
  display: none;
}
html[data-theme=light] .search__container {
  background-color: var(--c-FFFFFF);
}
html[data-theme=light] #search__container__search-user {
  color: var(--c-4B6A9B);
}
html[data-theme=light] #search-profile::before {
  background-color: #ffffff;
}
html[data-theme=light] .profile {
  background-color: var(--c-FFFFFF);
}
html[data-theme=light] .profile__info__display-name {
  color: var(--c-2B3442);
}
html[data-theme=light] .profile__info__join-date {
  color: var(--c-697C9A);
}
html[data-theme=light] .profile__bio {
  color: var(--c-4B6A9B);
}
html[data-theme=light] .profile__stats {
  background-color: var(--c-F6F8FF);
}
html[data-theme=light] .profile__stats__cols--heading {
  color: var(--c-4B6A9B);
}
html[data-theme=light] .profile__stats__cols--count {
  color: var(--c-2B3442);
}
html[data-theme=light] .profile__meta {
  color: var(--c-4B6A9B);
}
html[data-theme=light] .profile__meta__container--icon {
  fill: var(--c-4B6A9B);
}

html[data-theme=dark] {
  /*
  *********************************
      SEARCH CONTAINER
  *********************************
  */
  /*
  *********************************
      PROFILE INFO CONTAINER
  *********************************
  */
}
html[data-theme=dark] main {
  background-color: var(--c-141D2F);
}
html[data-theme=dark] .user__header__logo {
  color: var(--c-FFFFFF);
}
html[data-theme=dark] #theme__text--light,
html[data-theme=dark] #sun {
  display: initial;
}
html[data-theme=dark] #theme__text--light,
html[data-theme=dark] #sun {
  color: var(--c-FFFFFF);
  fill: var(--c-FFFFFF);
}
html[data-theme=dark] #theme__text--dark,
html[data-theme=dark] #moon {
  display: none;
}
html[data-theme=dark] .search__container {
  background-color: var(--c-1E2A47);
}
html[data-theme=dark] #search__container__search-user {
  color: var(--c-FFFFFF);
}
html[data-theme=dark] #search-profile::before {
  background-color: #1E2A47;
}
html[data-theme=dark] .profile {
  background-color: var(--c-1E2A47);
}
html[data-theme=dark] .profile__info__display-name {
  color: var(--c-FFFFFF);
}
html[data-theme=dark] .profile__info__join-date {
  color: var(--c-FFFFFF);
}
html[data-theme=dark] .profile__bio {
  color: var(--c-FFFFFF);
}
html[data-theme=dark] .profile__stats {
  background-color: var(--c-141D2F);
}
html[data-theme=dark] .profile__stats__cols--heading {
  color: var(--c-FFFFFF);
}
html[data-theme=dark] .profile__stats__cols--count {
  color: var(--c-FFFFFF);
}
html[data-theme=dark] .profile__meta {
  color: var(--c-FFFFFF);
}
html[data-theme=dark] .profile__meta__container--icon {
  fill: var(--c-FFFFFF);
}

/*
*********************************
    BASE STYLES
*********************************
*/
main {
  display: grid;
  place-items: center;
  padding-inline: clamp(1.5rem, -5.784rem + 31.08vw, 22.188rem);
  padding-block-start: clamp(1.938rem, -0.549rem + 10.61vw, 9rem);
  padding-block-end: clamp(4.938rem, 3.485rem + 6.197vw, 9.063rem);
  transition: all 0.3s ease-in-out;
}

.user__container {
  max-inline-size: 45.625rem;
  width: 100%;
}

.user__header {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}
.user__header__logo {
  flex: 1;
  font-weight: 700;
  font-size: 1.625rem;
}
.user__header__theme__container {
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.15625rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
}

.search__container {
  border-radius: 0.9375rem;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding: none;
  min-height: 3.75rem;
  padding: clamp(0.438rem, 0.371rem + 0.282vw, 0.625rem);
}
.search__container #search__container__search-icon {
  fill: var(--c-0079FF);
  margin-inline-end: 0.559375rem;
}
@media screen and (min-width: 37.56rem) {
  .search__container #search__container__search-icon {
    margin-inline-end: 1.49625rem;
  }
}
@media screen and (min-width: 75.0625rem) {
  .search__container #search__container__search-icon {
    margin-inline-end: 2.30875rem;
  }
}
.search__container #search-user-span {
  margin-right: auto;
  flex: 1;
}
.search__container #search__container__search-user {
  background-color: transparent;
  border: none;
  font-weight: 400;
  font-size: clamp(0.813rem, 0.702rem + 0.469vw, 1.125rem);
  line-height: 1.5625rem;
}
.search__container #search-profile {
  color: var(--c-FFFFFF);
  background-color: var(--c-0079FF);
  border: none;
  max-inline-size: clamp(5.25rem, 4.766rem + 2.066vw, 6.625rem);
  min-height: 2.875rem;
  border-radius: 0.625rem;
  flex: 1;
  font-weight: bold;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
  position: relative;
  top: 0;
}
.search__container #search-profile #results {
  display: none;
}
@media screen and (min-width: 75.0625rem) {
  .search__container #search-profile #results {
    display: var(--display-none);
    background-color: white;
    color: red;
    position: absolute;
    left: -140px;
    top: 0px;
    padding-inline: 20px;
    padding-block: 10px;
  }
}

.profile {
  margin-block-start: clamp(1rem, 0.824rem + 0.751vw, 1.5rem);
  border-radius: 0.9375rem;
  max-height: fit-content;
  padding-block: clamp(2rem, 1.648rem + 1.502vw, 3rem);
  padding-inline: clamp(1.5rem, 0.972rem + 2.254vw, 3rem);
}
.profile img {
  height: clamp(4.375rem, 3.341rem + 4.413vw, 7.313rem);
  max-width: clamp(4.375rem, 3.341rem + 4.413vw, 7.313rem);
  border: 2px solid transparent;
  border-radius: 100%;
  float: left;
  margin-inline-end: clamp(1.25rem, 0.876rem + 1.596vw, 2.313rem);
}
.profile__info {
  margin-block-end: 2.0625rem;
  float: left;
}
@media screen and (min-width: 75.0625rem) {
  .profile__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 90px;
  }
}
.profile__info__display-name {
  color: var(--c-2B3442);
  font-weight: 700;
  font-size: clamp(1rem, 0.78rem + 0.939vw, 1.625rem);
  margin-block-end: 0.125rem;
}
.profile__info__user-name {
  color: var(--c-0079FF);
  font-weight: 400;
  font-size: clamp(0.813rem, 0.746rem + 0.282vw, 1rem);
  margin-block-end: 0.375rem;
}
.profile__info__join-date {
  font-weight: 400;
  font-size: clamp(0.813rem, 0.768rem + 0.188vw, 0.938rem);
}
.profile__bio {
  clear: both;
  font-weight: 400;
  font-size: clamp(0.813rem, 0.768rem + 0.188vw, 0.938rem);
  line-height: 1.5625rem;
  margin-block-end: clamp(1.438rem, 1.239rem + 0.845vw, 2rem);
}
@media screen and (min-width: 75.0625rem) {
  .profile__bio {
    margin-block-start: 8.75rem;
  }
}
.profile__stats {
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-flow: row wrap;
  text-align: center;
  padding-block: 1.125rem;
  padding-inline: 0.875rem;
}
.profile__stats__cols {
  display: flex;
  flex-flow: column wrap;
  gap: clamp(0.5rem, 0.654rem - 0.657vw, 0.063rem);
}
.profile__stats__cols--heading {
  font-weight: 400;
  font-size: clamp(0.688rem, 0.643rem + 0.188vw, 0.813rem);
}
.profile__stats__cols--count {
  font-weight: 700;
  font-size: clamp(1rem, 0.868rem + 0.563vw, 1.375rem);
}
.profile__meta {
  margin-block-start: clamp(1.5rem, 1.214rem + 1.221vw, 2.313rem);
  font-weight: 400;
  font-size: clamp(0.813rem, 0.768rem + 0.188vw, 0.938rem);
  color: var(--c-4B6A9B);
}
@media screen and (min-width: 37.56rem) {
  .profile__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    align-items: start;
    justify-items: start;
  }
}
.profile__meta__container {
  display: flex;
  flex-flow: row wrap;
  gap: 1.2rem;
  margin-block-end: clamp(1rem, 0.934rem + 0.282vw, 1.188rem);
}
.profile__meta__container .non-valid {
  opacity: 50%;
}
.profile__meta__container .non-valid a {
  cursor: default;
}

/*# sourceMappingURL=style.css.map */
