body {
  margin: 0px;
  padding: 5px 0px 0px;
  min-height: 100vh;
  background-color: lightgray;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  /* Using font fetched from Google Fonts */
  font-family: "Poppins", sans-serif;
  color: #3d3d3d;
}

header .text {
  font-size: 3rem;
}

.content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  gap: 5rem;
}

#weatherdata-day {
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.5rem;
  gap: 20px;
}

.data-column {
  background-color: #f5f5f5;
  min-width: 13rem;
  flex: auto;
  border-radius: 20px;
  padding: 10px;
  text-align: center;
  line-height: 3rem;
}

.data-column img {
  border-radius: 10px;
  background-color: lightgray;
}

#datacolumn-1 img {
  /* Displaying image as block for adequate spacing */
  display: block;
  height: 100px;
  width: 100px;
  /* Hiding image in the first column  */
  visibility: hidden;
}

.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-box input {
  background: transparent;
  font-size: 2rem;
  padding: 5px;
  border: 3px solid black;
  border-radius: 10px;
  min-height: 2rem;
  width: 20rem;
  border-color: #3d3d3d;
  color: #3d3d3d;
}

.search-box button {
  min-height: 3.2rem;
  min-width: 6rem;
  border: 3px solid #3d3d3d;
  border-radius: 10px;
  font-size: 1.5rem;
  background: transparent;
  color: #3d3d3d;
}

/* Media query to check if the device is a mobile */
@media (max-width: 1000px) {
  /* Removing blank image on mobile screens */
  #datacolumn-1 img {
    height: 0px;
    width: 0px;
    display: inline;
  }

  /* Displaying all weather cards in a column on mobile screens */
  #weatherdata-day {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Adding borders to separate weather cards on mobile screens */
  .data-column {
    border-radius: 20px;
  }
}
