@import url('https://fonts.googleapis.com/css2?family=Anton&family=Playfair+Display&family=Poppins&display=swap');

* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    font-family: 'Anton', sans-serif;
    font-family: 'Playfair Display', serif;
    font-family: 'Poppins', sans-serif;
    
  }
  body {
    margin: auto;
  }
  #container {
    display: flex;
    justify-content: space-between;
   
  }
  .heading {
    padding-left: 20px;
    font-size: .9rem;
  }
  .heading p {
    padding-top: 10px;
  }
  .dark-mode-btn{
    display: flex;
    padding-top: 20px;
    padding-right: 25px;
  }
 .dark-mode-btn p{
  font-weight: bold;
  padding-right: 10px;
  font-size: .8rem;
 }
  label{
    position: relative;
    width: 50px;
    height: 25px;
    display: block;
    background: #d9d9d9;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: inset 0px 5px 15px rgba(0,0,0,0.3), inset 0px -5px 15px rgba(255,255,255,0.3);
  }
  label:after{
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    background: #f2f2f2;
    border-radius: 100px;
    top: 3px;
    left: 3px;
    transition: 0.5s;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  }
  input:checked ~ label:after{
    left: 33px;
    transform: translateX(-100%);
    background: linear-gradient(180deg,#777,#3a3a3a);
  }
  input:checked ~ label{
    background: #242424;
  }
  input{
    display: none;
  }
  
  #content {
    display: flex;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .instagram1,
  .facbook1,.twitter,.youtube{
    margin: 2%;
    text-align: center;
    flex: 1 1 180px;
    background-color: hsl(225, 100%, 98%);
    border-radius: 10px;
    transition: .8s linear;
  }
  .instagram1:hover,
  .facbook1:hover,.twitter:hover,.youtube:hover{
   background-color: hsl(228, 12%, 84%);
  }
  .instagram1{
    border-top: 5px solid rgb(199, 14, 14);
  }
  .youtube{
    border-top: 5px solid red;}

  .facbook1{
    border-top: 5px solid rgb(25, 66, 192);
  }
  .twitter{
    border-top: 5px solid royalblue;
  }
  .cont-heading {
    display: flex;
    justify-content: center;
    padding-top: 40px;
  }
  .cont-heading p {
    padding-left: 10px;
  }
  .today {
    display: flex;
    justify-content: center;
  }
  .followers h1 {
    padding-top: 20px;
    font-size: 3rem;
  }
  .follow p {
    padding-top: 5px;
    font-size: 1.5rem;
  }
  .today {
    padding-top: 10px;
    padding-bottom: 15px;
  }
  .today p {
    font-size: 0.9rem;
    padding-left: 5px;
    color: green;
  }
  .overview-head{
    padding-left: 15px;
    color:gray;
    font-size: 1.1rem;
  }
  .overview-content1{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }
  .box{
    margin: 2%;
    flex:1 1 180px;
    padding: 20px;
    background-color: hsl(225, 100%, 98%);
    border-radius: 10px;
    transition: .8s linear;
  }
  .box-icon{
    color:rgb(90, 82, 82);
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
  }
  .box-no{
    font-size: 1.7rem;
    font-weight: bold;
    color:black;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
  }
  .percentage{
    display: flex;
    font-size: 1.1rem;
    color:green;
  }
  .box:hover{
    background-color: hsl(228, 12%, 84%);
  }
  footer{
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
  }
  @media (min-width: 576px) {
    input:checked ~ label:after{
      left: 48px;
      transform: translateX(-100%);
      background: linear-gradient(180deg,#777,#3a3a3a);
    }
    label{
      width: 50px;
      height: 25px;
     
    }
    label:after{
      height: 21px;
      width: 21px;
      top: 2px;
      left: 3px;
  
    }
    .heading {
      padding-left: 20px;
      font-size: 1.2rem;
    }
    .heading p {
      padding-top: 10px;
    }
    .dark-mode-btn p{
      font-weight: bold;
      padding-right: 10px;
      font-size: 1rem;
     }
  }