body,
html,
.main {
  padding: 0;
  margin: 0;
  background-color: #344648;
  background-image: url(/images/cardBackground.png);
  font-family: "Times New Roman", Times, serif;
  color: white;
}
#darkMod {
  border-radius: 50%;
  margin-top: 0.75vh !important;
  background-color: #3446484f;
  color: beige;
}
/* css for back to top. */
.img-fluid {
  height: 60vh !important;
  max-height: 60vh;
  width: 80vw !important;
}
nav {
  border-bottom: 2px solid #101414;
}
.d-grid {
  grid-template-columns: 1fr 1fr;
}
#weatherCards {
  grid-template-columns: 1fr 1fr 1fr;
}
#card-group {
  text-align: center;
  grid-gap: 1vw;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr 1fr 1fr;
}
.card {
  background-color: #3446482d;
  background-size: cover;
  width: 600px;
  height: 350px;
  border-radius: 20px;
  box-shadow: 0px 2px 4px 1px #9e9e9e;
  text-align: center;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 50px;
}
.card:hover {
  transform: scale(1.05);
}
.removeCity {
  border: none;
}

.time-font {
  font-size: 50px;
}

.sm-font {
  font-size: 18px;
}

.med-font {
  font-size: 28px;
}

.large-font {
  font-size: 60px;
}
.redColor {
  color: red;
  height: 3vh;
  width: 3vw;
}
@media (min-width: 992px) {
  .navbar li {
    margin-left: 1em;
    margin-right: 1em;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  .d-grid {
    grid-template-columns: 1fr 1fr;
  }
  #weatherCards {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .d-grid {
    grid-template-columns: 1fr 1fr;
  }
  #weatherCards {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) and (min-width: 321px) {
  .img-fluid {
    height: auto !important;
    max-height: 60vh;
    width: auto !important;
  }
  .d-grid {
    grid-template-columns: 1fr;
  }
  #weatherCards {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 320px) {
  .img-fluid {
    height: auto !important;
    width: auto !important;
  }
  .d-grid {
    grid-template-columns: 1fr;
  }
  #weatherCards {
    grid-template-columns: 1fr;
  }
}
