@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
html {
  box-sizing: border-box;
  font-family: "Inter", "sans-serif";
  font-size: 14px;
}

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

* {
  margin: 0;
  padding: 0;
}

body.dark {
  --bg: #1e202a;
  --primary-text-color: white;
  --secondary-text-color: #8b97c6;
  --card-bg-color: #252a41;
  --top-pattern-color: #1f212e;
  --bg-toggle-button: linear-gradient(to right, #378fe6, #3eda82);
  --card-hover-color: #333a56;
}

body.light {
  --bg: white;
  --primary-text-color: #1e202a;
  --secondary-text-color: #63687e;
  --card-bg-color: #f0f2fa;
  --top-pattern-color: #f5f7ff;
  --bg-toggle-button: #aeb3cb;
  --card-hover-color: #e1e3f0;
}

body {
  background: var(--bg);
  color: var(--primary-text-color);
  transition: color 0.3s, background-color 0.3s;
  position: relative;
}
body::after {
  width: 100%;
  height: 260px;
  border-radius: 0 0 10px 10px;
  transition: background-color 0.3s;
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  background: var(--top-pattern-color);
  z-index: -1;
}

.page__inner {
  width: 80%;
  margin: 0 auto;
}
@media only screen and (min-width: 700px) {
  .page__inner {
    width: 75%;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "sans-serif";
  font-weight: bold;
  transition: color 0.3s;
}

button {
  outline: none;
  border: none;
}

.overview {
  padding: 3.5rem 0;
}

.overview__header {
  display: flex;
  flex-direction: column;
}
@media only screen and (min-width: 768px) {
  .overview__header {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }
}

.overview__headings-wrapper {
  padding-bottom: 1.687rem;
  border-bottom: 1px solid var(--secondary-text-color);
  margin-bottom: 1.5rem;
}
@media only screen and (min-width: 768px) {
  .overview__headings-wrapper {
    border-bottom: none;
    margin-bottom: 0;
  }
}

.overview__heading {
  margin-bottom: 0.428rem;
  font-size: 2rem;
}

.overview__resume {
  color: var(--secondary-text-color);
  transition: color 0.3s;
  font-size: 1rem;
}

.overview__social-media-cards {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 100%;
  gap: 1.3rem;
}
@media only screen and (min-width: 700px) {
  .overview__social-media-cards {
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, 48%);
    justify-content: space-between;
    grid-row-gap: 1rem;
  }
}
@media only screen and (min-width: 1100px) {
  .overview__social-media-cards {
    grid-template-columns: repeat(4, 23%);
  }
}

.overview__card {
  background-color: var(--card-bg-color);
  transition: background-color 0.3s;
  text-align: center;
  border-radius: 5px;
  padding: 2.6rem 0 1.9rem 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.overview__card:hover {
  background: var(--card-hover-color);
}

.overview__top-card {
  width: 100%;
  height: 4px;
  background: transparent;
  left: 0;
  top: 0;
  position: absolute;
}
.overview__top-card_color_facebook {
  background: #198ff5;
}
.overview__top-card_color_twitter {
  background: #1ca0f2;
}
.overview__top-card_color_instagram {
  background: linear-gradient(to right, #fdc468, #df4996);
}
.overview__top-card_color_youtube {
  background: #c4032a;
}

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

.overview__card-username {
  margin-left: 0.5rem;
  color: var(--secondary-text-color);
  font-weight: bold;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.overview__card-body {
  margin: 1rem 0 1.5rem 0;
}

.overview__card-body p {
  color: var(--secondary-text-color);
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.overview__card-followers {
  font-size: 4.1rem;
  font-weight: bold;
  letter-spacing: -1px;
  color: var(--primary-text-color);
}

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

.overview__card-footer p {
  font-weight: bold;
  font-size: 0.857rem;
  margin-left: 5px;
}

.overview_status_up {
  font-weight: bold;
  color: #1EB589;
}

.overview_status_down {
  font-weight: bold;
  color: #DC414C;
}

.theme-switcher {
  width: 100%;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .theme-switcher {
    width: auto;
  }
}

.theme-switcher__wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}
@media only screen and (max-width: 768px) {
  .theme-switcher__wrapper {
    justify-content: space-between;
  }
}

.theme-switcher__label {
  color: var(--secondary-text-color);
  font-weight: bold;
  cursor: pointer;
}
.theme-switcher__label:hover {
  filter: brightness(1.3);
}
@media only screen and (min-width: 768px) {
  .theme-switcher__label {
    margin-right: 1.2rem;
  }
}

.theme-switcher__mode {
  height: 1.45em;
  width: 1.45em;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  background-color: var(--top-pattern-color);
  transition: left 0.3s, background-color 0.1s;
  left: 0px;
}
.theme-switcher__mode.theme-switcher_dark-mode_true {
  left: 3px;
}
.theme-switcher__mode.theme-switcher_dark-mode_false {
  left: calc(100% - 50% + 3px);
}

.theme-switcher__button {
  width: 3.7rem;
  height: 1.9rem;
  padding: 0.56rem;
  border-radius: 20px;
  background: var(--bg-toggle-button);
  position: relative;
  cursor: pointer;
}
.theme-switcher__button:hover {
  filter: brightness(1.3);
}
.theme-switcher__button:hover + label {
  filter: brightness(1.3);
}

.statistics {
  width: 100%;
  padding: 0 0 3.5rem 0;
}

.statistics__header h2 {
  font-size: 1.65rem;
}

.statistics__cards-wrapper {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 100%;
  grid-row-gap: 1.5rem;
}
@media only screen and (min-width: 700px) {
  .statistics__cards-wrapper {
    grid-template-columns: repeat(2, 48%);
    justify-content: space-between;
  }
}
@media only screen and (min-width: 800px) {
  .statistics__cards-wrapper {
    grid-template-columns: repeat(3, 31.5%);
    justify-content: space-between;
  }
}
@media only screen and (min-width: 1100px) {
  .statistics__cards-wrapper {
    grid-template-columns: repeat(4, 23%);
  }
}

.statistics__card {
  background: var(--card-bg-color);
  padding: 1.4rem 1.4rem 1.1rem 1.4rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.statistics__card:hover {
  background: var(--card-hover-color);
}

.statistics__card-header {
  display: flex;
  justify-content: space-between;
}

.statistics__card-header {
  color: var(--secondary-text-color);
  font-weight: bold;
  font-size: 1rem;
}

.statistics__card-footer {
  margin: 1.5rem 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.statistics__status p {
  display: inline-block;
  vertical-align: sub;
  font-weight: bold;
  font-size: 0.9rem;
}

.statistics__card-value {
  font-size: 2rem;
}

.static_status_down {
  color: #DC414C;
}

.static_status_up {
  color: #1EB589;
}

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