:root {
  --Lime-Green: hsl(163, 72%, 41%);
  --Bright-Red: hsl(356, 69%, 56%);
  --Facebook: hsl(208, 92%, 53%);
  --Twitter: hsl(203, 89%, 53%);
  --Instagram: linear-gradient(to right, hsl(37, 97%, 70%), hsl(329, 70%, 58%));
  --YouTube: hsl(348, 97%, 39%);
  --Toggle: hsl(230, 22%, 74%);
  --Toggle-Hover: linear-gradient( to right, hsl(210, 78%, 56%), hsl(146, 68%, 55%));
  --Background-Color: hsl(0, 0%, 100%);
  --Card-Background: hsl(225, 100%, 98%);
  --Card-Background-Hover: hsl(227, 47%, 96%);
  --Heading-Text-Color: hsl(228, 12%, 44%);
  --Secondary-Text-Color: hsl(230, 17%, 14%);
}

[data-theme="dark"] {
  --Toggle: linear-gradient(to right, hsl(210, 78%, 56%), hsl(146, 68%, 55%));
  --Toggle-Hover: hsl(230, 22%, 74%);
  --Background-Color: hsl(230, 17%, 14%);
  --Card-Background: hsl(228, 28%, 20%);
  --Card-Background-Hover: hsl(228, 28%, 30%);
  --Heading-Text-Color: hsl(228, 34%, 66%);
  --Secondary-Text-Color: hsl(0, 0%, 100%);
}

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

h1,
h3 {
  color: var(--Secondary-Text-Color);
}

@media (max-width: 700px) {
  h1 {
    font-size: 1.5rem;
  }
}

p,
h2 {
  color: var(--Heading-Text-Color);
}

body {
  min-height: 100vh;
  width: 100%;
  background: var(--Background-Color);
  padding: 50px 100px;
}

@media (max-width: 700px) {
  body {
    padding: 50px 32px;
  }
}

body header,
body section,
body h2 {
  margin-bottom: 32px;
}

body header {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 700px) {
  body header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

body header p {
  font-weight: 700;
}

@media (max-width: 700px) {
  body header .titles {
    border-bottom: 1px solid var(--Heading-Text-Color);
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
}

body header .toggle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 700px) {
  body header .toggle {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

body header .toggle .switch-container {
  padding: 3px;
  width: 40px;
  height: 20px;
  border-radius: 50px;
  background: var(--Toggle);
  margin-left: 12px;
}

body header .toggle .switch-container:hover {
  cursor: pointer;
  background: var(--Toggle-Hover);
}

body header .toggle .switch-container #indicator {
  height: 100%;
  width: 14px;
  background: var(--Background-Color);
  border-radius: 50%;
  -webkit-transform: translateX(20px);
          transform: translateX(20px);
  -webkit-transition: 0.2s ease-out;
  transition: 0.2s ease-out;
}

body section {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(250px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  -webkit-column-gap: 32px;
          column-gap: 32px;
  row-gap: 32px;
}

body section .card,
body section .card-overview {
  background: var(--Card-Background);
  border-radius: 0.5rem;
  padding: 25px;
  overflow: hidden;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

body section .card:hover,
body section .card-overview:hover {
  cursor: pointer;
  background: var(--Card-Background-Hover);
}

body section .card .top,
body section .card-overview .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20px;
}

body section .card .stast,
body section .card-overview .stast {
  font-weight: 700;
  text-align: center;
}

body section .card .up:before,
body section .card .down:before,
body section .card-overview .up:before,
body section .card-overview .down:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
}

body section .card .up,
body section .card-overview .up {
  color: var(--Lime-Green);
}

body section .card .up:before,
body section .card-overview .up:before {
  background: url("../images/icon-up.svg") no-repeat center;
}

body section .card .down,
body section .card-overview .down {
  color: var(--Bright-Red);
}

body section .card .down:before,
body section .card-overview .down:before {
  background: url("../images/icon-down.svg") no-repeat center;
}

body section .card:nth-child(1) {
  position: relative;
}

body section .card:nth-child(1)::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: var(--Facebook);
}

body section .card:nth-child(2) {
  position: relative;
}

body section .card:nth-child(2)::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: var(--Twitter);
}

body section .card:nth-child(3) {
  position: relative;
}

body section .card:nth-child(3)::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: var(--Instagram);
}

body section .card:nth-child(4) {
  position: relative;
}

body section .card:nth-child(4)::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: var(--YouTube);
}

body section .card .top {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

body section .card .top img {
  margin-right: 10px;
}

body section .card .followers {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: var(--Secondary-Text-Color);
}

body section .card .copy-followers {
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  color: var(--Heading-Text-Color);
  text-align: center;
  margin-bottom: 20px;
}

body section .card-overview .top {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

body section .card-overview .top img {
  margin-left: 10px;
}

body section .card-overview .bottom-overview {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

body section .card-overview .bottom-overview h3 {
  font-size: 1.7rem;
}
/*# sourceMappingURL=styles.css.map */