@font-face {
  font-family: sanspro;
  src: url(../fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf);
}

html {
  height: 100%;
}
body {
  overflow: auto;
  font-size: 20px;
  font-family: sanspro, "Times New Roman", Times, serif;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  background-image: url("../imgs/background2.jpg");
  background-color: black;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  color: white;
  height: 690px;
  padding: 0;
  margin: 0;
}
.header {
  padding-top: 50px;
  grid-row: 2/3;
  grid-column: 1/3;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: start;
  align-items: center;
}
.location {
  height: 35px;
  padding-top: 10px;
  padding-left: 20px;
  font-size: 30px;
  font-weight: bold;
}
.searchbarDiv {
  border-bottom: solid;
  border-radius: 12px;
  width: 270px;
}
.searchBar {
  width: 220px;
  padding-left: 20px;
  border: none;
  border-radius: 8px;
  border-color: white;
  outline-width: 0;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  font-size: 18px;
}
.searchBtn {
  border: none;
  background-color: rgba(0, 0, 0, 0);
}
.magnifying-glass {
  width: 15px;
  height: 15px;
  fill: white;
}

.dailyBoxContainer {
  display: flex;
  grid-row: 3/4;
  grid-column: 1/5;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.currentInfo {
  grid-column: 3/5;
  grid-row: 1/3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.weather-desc {
  padding-left: 90px;
}
.cInfo {
  font-size: 18px;
}
.cInfo > svg {
  width: 70px;
  height: 70px;
}

.dailyBox {
  width: 250px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.daily {
  display: flex;
  align-items: center;
}
.day {
  font-size: 30px;
  font-weight: bold;
  padding-left: 20px;
}
.nightTemp {
  padding-right: 30px;
}

.day > svg {
  height: 40px;
  width: 40px;
}
.dayTemp > span {
  padding-right: 30px;
}
.errorMsg {
  margin-top: 12px;
  color: navy;
  font-size: 10px;
}
::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

@media only screen and (max-width: 800px) {
  .day {
    font-size: 15px;
  }
  .dailyBox {
    gap: 0;
  }
  .cInfo {
    font-size: 14px;
  }
  .daily {
    font-size: 14px;
  }
}
