.weather-box {
  display: flex;
  flex-wrap: wrap; /* allow wrapping */
  justify-content: space-between;
  align-items: center;
  width: 100vw; /* important */
  box-sizing: border-box;
  padding: 1rem; /* optional */
}


      /* Day Time and Date styling  */
      .date-box {
        padding: 2% 5% 2% 5%;
        color: black;
        display: flex;
        justify-content: start;
        flex-direction: column;
      }
      .day{
        font-family: "Michroma", sans-serif;
        font-weight: 200;
        font-style: normal;
        font-size: 3rem;
        margin-bottom: 1rem;
      }
      .time{
        font-family: "Bungee", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 2.5rem;
      }
      .date{
        font-family: "Bungee", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 1.5rem;
      }
      
      /* Weather section styling  */
      .weather{
        color: black;
        display: flex;
        justify-content: space-between;
        margin-right: 2rem;
      }
      .div-1{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
      }
      .div-2{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        padding: 1rem;
      }

      .div-1 .condition{
        font-size: 1.5rem;
        margin-top: 1rem;
        font-family: "Bungee", sans-serif;
        font-weight: 400;
        font-style: normal;
      }
.weather-image {
  height: 12rem;
  width: 12rem;
  animation: float 4s ease-in-out infinite;
  display: block;
  margin: auto;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
      .temperature{
        font-family: "Michroma", sans-serif;
        font-weight: 200;
        font-style: normal;
        font-size: 3rem;
        margin-bottom: 1rem;
      }
      .location{
        font-size: 2.5rem;
        font-family: "Bungee", sans-serif;
        font-weight: 400;
        font-style: normal;
      }
      .humidity, .aqi{
        font-family: "Bungee", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 1.5rem;
      }
 @media screen and (max-width: 835px){
   .weather-box {
    margin-bottom: 10rem;
}
}