header {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  margin: 0 15px;
}

@media (max-width: 1000px) {
  .dashboard__title {
    font-size: 20px;
    margin-bottom: 0;
  }
}

.dashboard__lead {
  color: #63687e;
  font-weight: 600;
}

@media (max-width: 1000px) {
  .dashboard__lead {
    font-size: 14px;
    margin: 4px 0;
  }
}

.dashboard {
  position: relative;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  float: left;
  padding: 50px 100px;
  background: -webkit-gradient(linear, left top, left bottom, from(#f5f7ff), color-stop(30%), color-stop(30%, white));
  background: linear-gradient(#f5f7ff, 30%, white 30% 100%);
}

@media (max-width: 1000px) {
  .dashboard {
    background: white;
  }
}

.card {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 18%;
          flex: 1 0 18%;
  background: #f0f2fa;
  padding: 10px;
  margin: 15px;
  margin-bottom: 40px;
  border-radius: 5px;
  text-align: center;
}

.card:nth-child(n+1):nth-child(-n+5) {
  font-size: 20px;
  height: 170px;
}

.card:nth-child(n+6) {
  text-align: left;
  margin-bottom: 5px;
  height: 120px;
}

.card:nth-child(n+6) .social-icon {
  position: absolute;
  top: 20%;
  right: 10%;
}

.card:nth-child(n+6) .social-update {
  position: absolute;
  right: 10%;
  bottom: 20px;
}

.card:nth-child(2) {
  border-top: 5px solid deepskyblue;
}

.card:nth-child(3) {
  border-top: 5px solid #1ca0f2;
}

.card:nth-child(4) {
  height: 175px !important;
}

.card:nth-child(4)::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 5px;
  background: -webkit-gradient(linear, left top, right top, from(#fdc468), to(#df4996));
  background: linear-gradient(to right, #fdc468, #df4996);
  border-top-right-radius: 25px;
  border-top-left-radius: 25px;
  top: 0;
  left: 0;
}

.card:nth-child(5) {
  border-top: 5px solid #c4032a;
}

@media (max-width: 1000px) {
  .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
}

.social-followers {
  text-align: center;
  color: #63687e;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 3px;
}

.social-icon {
  margin-right: 5px;
  top: 5px;
  position: relative;
}

.social-handle {
  color: #63687e;
  font-size: 12px;
  font-weight: 700;
}

.social-follower-number {
  display: block;
  font-size: 46px;
  font-weight: 700;
  color: black;
  letter-spacing: 0;
}

.social-update {
  font-size: 12px;
  font-weight: 700;
}

h2 {
  margin: 0 15px;
  color: #63687e;
  text-align: left;
  color: black;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
}

h3 {
  margin-bottom: 0;
  color: #63687e;
  margin-left: 15px;
}

.social-count {
  font-size: 26px;
  font-weight: 700;
  margin-left: 15px;
}

.toggle {
  font-weight: 600;
  margin-top: 23px;
  margin-bottom: 30px;
}

@media (max-width: 1000px) {
  .toggle {
    position: relative;
    width: 100%;
    font-size: 14px;
  }
  .toggle::before {
    position: absolute;
    content: "";
    width: 105%;
    height: 1px;
    background: #63687e;
    top: -10px;
  }
}

.toggle-label {
  position: absolute;
  right: 220px;
  top: 80px;
  color: #63687e;
}

@media (max-width: 1000px) {
  .toggle-label {
    position: relative;
    right: 0;
    top: 0;
  }
}

.dark-mode {
  position: relative;
  font-size: 20px;
  top: 10px;
  margin-right: 20px;
}

.switch {
  position: absolute;
  right: 150px;
  top: 80px;
  display: inline-block;
  width: 56px;
  height: 26px;
}

@media (max-width: 1000px) {
  .switch {
    top: 0;
    right: -16px;
  }
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 34px;
  background: -webkit-gradient(linear, left top, right top, from(#378fe6), to(#3eda82));
  background: linear-gradient(to right, #378fe6, #3eda82);
  -webkit-transition: .6s;
  transition: .6s;
}

.slider::before {
  border-radius: 50%;
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 5px;
  bottom: 4px;
  background-color: #1e202a;
  -webkit-transition: .6s;
  transition: .6s;
}

input:checked + .slider::before {
  -webkit-transform: translateX(26px);
  transform: translateX(26px);
  background-color: #aeb3cb;
}

input:focus + .slider {
  -webkit-box-shadow: 0 0 1px #2196F3;
          box-shadow: 0 0 1px #2196F3;
}

.dashboard__dark {
  background: -webkit-gradient(linear, left top, left bottom, from(#1f212e), color-stop(30%), color-stop(30%, #1e202a));
  background: linear-gradient(#1f212e, 30%, #1e202a 30% 100%);
}

@media (max-width: 1000px) {
  .dashboard__dark {
    background: #1e202a;
  }
}

.dashboard__dark .card {
  background: #252a41;
}

.dashboard__dark .social-follower-number {
  color: white;
}

.dashboard__dark h1,
.dashboard__dark h2,
.dashboard__dark .attribution,
.dashboard__dark .social-count {
  color: white;
}

.icon {
  display: none;
  position: relative;
  top: -2px;
}

.social-update__positive .icon__up {
  display: inline-block;
}

.social-update__negative .icon__down {
  display: inline-block;
}

.attribution {
  color: black;
}
/*# sourceMappingURL=style.css.map */