*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-width: 100%;
  line-height: 1;
  background: hsl(230, 17%, 14%);
  color: hsl(234, 12%, 34%);
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

/* Background */
.dark-bg {
  background: hsl(230, 17%, 14%);
}
.light-bg {
  background: hsl(0, 0%, 100%);
  color: black;
}
.dark-text {
  color: white;
}
.dark-grey-text {
  color: hsl(228, 34%, 66%);
}
.light-text {
  color: black;
}
.light-grey-text {
  color: hsl(228, 12%, 44%);
}
.light-grey-text-alt {
  color: hsl(230, 17%, 14%);
}
.dark-insta-bg {
  background: linear-gradient(to right, hsl(228, 28%, 20%), hsl(228, 28%, 20%)),
    linear-gradient(to right, hsl(37, 97%, 70%), hsl(329, 70%, 58%));
}
.light-insta-bg {
  background: linear-gradient(to right, hsl(227, 47%, 96%), hsl(227, 47%, 96%)),
    linear-gradient(to right, hsl(37, 97%, 70%), hsl(329, 70%, 58%));
}

/* Helper Methods */
.container {
  margin: 0 auto;
  max-width: 90%;
  padding: 2rem 1rem;
}

.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}

.bold {
  font-weight: 700;
}
.fcol-green {
  color: hsl(163, 72%, 41%);
}
.fcol-red {
  color: hsl(356, 69%, 56%);
}
.size-1_5 {
  font-size: 1.5rem;
}
.size-2 {
  font-size: 2rem;
}
.size-3 {
  font-size: 3rem;
}
.pa-0_5 {
  padding: 0.5rem;
}
.pa-1 {
  padding: 1rem;
}
.pa-1_5 {
  padding: 1.5rem;
}
.pa-2 {
  padding: 2rem;
}
.pa-3 {
  padding: 3rem;
}
.pb-1 {
  padding-bottom: 1rem;
}
.pl-0_5 {
  padding-left: 0.5rem;
}
.uppercase {
  text-transform: uppercase;
}
.ls-3 {
  letter-spacing: 3px;
}

a {
  color: #395db8;
  text-decoration: none;
}
a:focus {
  color: inherit;
}
.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

.container .social {
  /*  */
}
.container .social .social-header {
  /*  */
}
.container .social .dark-mode-toggle .bold {
  margin-right: 1rem;
}
/* slider */
.container .social .dark-mode-toggle .switch {
  display: inline-block;
  width: 2.8rem;
  height: 1.4rem;
  position: relative;
}
.container .social .dark-mode-toggle .switch input {
  opacity: 0;
  width: 0;
  height: 0;
  background: red;
}
.container .social .dark-mode-toggle .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
  border-radius: 35px;
  background: #ccc;
}
.container .social .dark-mode-toggle .switch .slider:before {
  content: "";
  position: absolute;
  height: 1rem;
  width: 1rem;
  left: 2px;
  bottom: 3px;
  background: hsl(230, 17%, 14%);
  transition: 0.4s;
  border-radius: 35px;
}
.container .social .dark-mode-toggle .switch input[type="checkbox"]:checked + .slider {
  background: linear-gradient(90deg, rgb(46, 150, 230) 25%, rgba(62,206,144) 70%);
}
.container .social .dark-mode-toggle .switch input[type="checkbox"]:checked + .slider:before {
  transform: translateX(24px);
}
.container .social .social-body {
  padding: 3rem 0;
}
.card {
  width: 19rem;
  height: 14rem;
  border-radius: 5px;
}
.card-dark-bg {
  background: hsl(228, 28%, 20%);
}
.card-light-bg {
  background: hsl(227, 47%, 96%);
}
.container .social .social-body .card.facebook {
  border-top: solid 3px hsl(195, 100%, 50%);
}
.container .social .social-body .card.twitter {
  border-top: solid 3px hsl(203, 89%, 53%);
}
.container .social .social-body .card.insta {
  border-top: solid 3px transparent;
  background-clip: padding-box, border-box;
  padding: 0.5rem;
}
.container .social .social-body .card.youtube {
  border-top: solid 3px hsl(348, 97%, 39%);
}

.container .overview {
  /*  */
}
.container .overview .overview-body {
  flex-wrap: wrap;
}
.container .overview .overview-body .small-card {
  width: 19rem;
  height: 8rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

@media all and (max-width: 550px) {
  .container {
    max-width: 90%;
  }
  .container .social .social-header {
    flex-wrap: wrap;
  }
  .container .social .social-title {
    padding-bottom: 1rem;
    border-bottom: solid 1px hsl(228, 34%, 66%);
  }
  .container .social .dark-mode-toggle {
    padding-top: 1rem;
  }
  .container .social .social-body {
    flex-wrap: wrap;
  }
  .container .social .social-body .card {
    margin-bottom: 1rem;
  }
}
