* {
  transition: 0.3s;
}

body {
  font-family: 'Inter', sans-serif;
  height: 100vh;
  padding-top: 3%;
}

#titleBanner {
  height: 150px;
  padding-left: 8%;
  padding-right: 8%;
  max-width: 1375px;
  position: relative;
}

#toggle {
  position: absolute;
  right: 10%;
  top: 1px;
}

.card {
  text-align: center;
  padding: 0px;
  background-color: hsl(227, 47%, 96%);
  border:none;
}

.up {
  color: hsl(163, 72%, 41%);
  text-shadow: 0px 0px 8px;
}

.down {
  color: hsl(356, 69%, 56%);
  text-shadow: 0px 0px 8px;
}


#topGrid {
  margin-bottom: 30px;
}
img {
  width: 20px;
  display: inline;
  margin: 5px 20px;
}

h1 {
  margin: 20px 10px 10px;
  font-weight: 700;
  font-size: 3rem;
  color: hsl(230, 17%, 14%);
}

h2 {
  display: inline-block;
  width: 35%;
  margin: auto 10% 20px 20px;
  font-weight: 700;
  color: hsl(228, 12%, 44%);
}

h3 {
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 20px;
    color:hsl(228, 12%, 44%)

}

h6 {
  width: 75%;
  margin: 0 auto;
  font-size: 0.8rem;
}

p {
  font-size: 0.8rem;
  font-weight: 700;
}

.banner {
  min-height:3px;
  height: 3px;
  padding: -25px;
  margin-bottom: 20px
}

.facebook {
  background-color: hsl(208, 92%, 53%);
}

.instagram {
  background-image: linear-gradient(to right, hsl(37, 97%, 70%),  hsl(329, 70%, 58%));
}

.twitter {
  background-color: hsl(203, 89%, 53%);
}

.youtube {
  background-color: hsl(348, 97%, 39%);
}

h5 {
  display: inline-block;
  text-align: left;
  margin-left: 20px;
  margin-top: 20px;
  font-weight: 700;
  color: hsl(228, 12%, 44%);
}

.small {
  margin-bottom: 20px
}

.small div {
  text-align: initial;
  width: 100%;
  padding-top: 15px;
}

.small img {
  display: inline-block;
  float: right;
  margin: 0 20px 0 auto;
}

.small p {
  display: inline;
  width: 30%;
}

.up img, .down img {
  width: 10px;
  margin: 10px;
  float: initial;
}

.up, .down {
  font-size: 0.7rem;
}

.textlight {
  color: hsl(0, 0%, 100%);
}

.textgray {
  color: hsl(228, 34%, 66%);
}

.darkCard {
  background-color: hsl(228, 28%, 20%);
}

.darkBody {
  background-color: hsl(230, 17%, 14%);
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-image: linear-gradient(to right, hsl(210, 78%, 56%) , hsl(146, 68%, 55%));
}

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

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media (min-width:1000px) {
  section {
    max-width: 1440px;
    margin: 0 auto;
  }

  .large {
    height: 225px;
  }

  .small {
    height: 125px;
  }

}


@media (max-width: 600px) {
  section {
    max-width: 375px;
    margin: 0 auto;
  }

  h1 {
    font-size: 1.5rem;
    margin: 20px 0px 10px;
  }

  #toggle {
    top: 65px;
  }

  .large {
    margin-bottom: 20px;
  }

  h2 {
    margin: auto 32% 20px 20px;
  }

  #smallHead {
    font-size: 1.5rem;
    width: 75%;
  }

}
