/* Tablet */
@media(min-width: 541px) and (max-width: 1024px) {
  .app-container {
    grid-template-columns: 100%;
    padding: 20px;
    grid-column-gap: 0;
    grid-row-gap: 40px;
  }

.navbar-container {
  flex-direction: column;
}

.custom-input {
  border: none;
  border-radius: 15px;
  background-color: #fdfffe;
  color: #232323;
  padding: 24px;
  width: 100%;
}
.custom-input::placeholder {
  font-size: 20px;
}

.navbar-container > img {
  margin-right: 0;
  margin-bottom: 10px;
  width: 353px;
  height: 71px;
}

.showcase-container {
  justify-content:space-between;
  padding-left: 0px;
  padding-right: 0px;
}

.showcase-container .showcase-text > h2 {
  font-size: 4rem;
  font-weight: 600;
  color: #2a394f;
}

.showcase-container .showcase-text > h2:last-child {
  font-size: 5rem;
  font-weight: 600;
  color: #3aa3ffb6;
}

.showcase-container .showcase-text > p:first-child {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.showcase-container .showcase-text > p {
  color: #9aa0a8;
  font-size: 1.5rem;

}

.showcase-container img {
  width: 350px;
  height: 350px;
}

.hourly-forecast-container {
    padding: 40px;
    overflow-x: scroll;
    justify-content: center;
    gap: 30px;
}
.hourly-forecast-container .hour-weather-item > img {
    width: 90px;
    height: 90px;
    margin-bottom: 5px;
}

.hourly-forecast-container .hour-weather-item > p:first-child {
    font-size: 1rem;
    text-align: center;
}

.hourly-forecast-container .hour-weather-item > p:last-child {
    font-size: 1.5rem;
}

.weather-details-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.weather-details-container .weather-details-item {
  padding: 25px;
  border-radius: 10px;
  min-height: 200px;
}


.weather-details-container .weather-details-item > p:first-child {
  font-size: 1.2rem;
  color: #8f8f8f;
  margin-bottom: 5px;
}

.weather-details-container .weather-details-item > div > p {
    font-size: 2.5rem;
}

.weather-details-container .weather-details-item > div > p > span {
    font-size: 1.2rem;
    margin-left: -2px;
}

.weather-details-container .weather-details-item > div > img {
    width: 40px;
    height: 40px;
}

.weekly-forecast-container {
    border-radius: 10px;
    margin-top: 0px;
    padding: 40px 80px;
    gap: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;

}

.weekly-forecast-container .day-weather-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.weekly-forecast-container .day-weather-item > p, .weekly-forecast-container .day-weather-item > img, .weekly-forecast-container .day-weather-item > div, .weekly-forecast-container .day-weather-item > p {
    flex: 1;
}

.weekly-forecast-container .day-weather-item > p {
    font-size: 1.6rem;
}


.weekly-forecast-container .day-weather-item > div > p:first-child {
   font-size: 1.3rem;
}

.weekly-forecast-container .day-weather-item > div > p:last-child {
   font-size: 1.3rem;
}

.weekly-forecast-container .day-weather-item > div {
    display: flex;
    align-items: center;
}

.weekly-forecast-container .day-weather-item > img {
    width: 90px;
    height: 90px;
    align-items: center;
    justify-content: center;
}

footer {
  margin-top: 40px;
  padding: 25px 0;
  text-align: center;
  font-size: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #232323;
}

}

/* Mobile */

@media(max-width: 540px) {

  .app-container {
    grid-template-columns: 100%;
    padding: 20px;
    grid-column-gap: 0;
    grid-row-gap: 40px;
  }

.navbar-container {
  flex-direction: column;
}

.navbar-container > img {
  margin-right: 0;
  margin-bottom: 10px;
}

.showcase-container {
  justify-content: space-between;
  padding-left: 0px;
  padding-right: 0px;
}


.showcase-container .showcase-text > h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2a394f;
}

.showcase-container .showcase-text > h2:last-child {
  font-size: 2.5rem;
  font-weight: 600;
  color: #3aa3ffb6;
}

.showcase-container .showcase-text > p:first-child {
  font-size: 0.750rem;
  margin-bottom: 5px;
}

.showcase-container .showcase-text > p {
  color: #9aa0a8;
  font-size: 0.850rem;

}

.showcase-container img {
  width: 180px;
  height: 180px;
}

.hourly-forecast-container {
    padding: 20px;
    overflow-x: scroll;
    justify-content: center;
    gap: 30px;
}
.hourly-forecast-container .hour-weather-item > img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.hourly-forecast-container .hour-weather-item > p:first-child {
    font-size: 0.75rem;
    text-align: center;
}

.hourly-forecast-container .hour-weather-item > p:last-child {
    font-size: 1rem;
}

.weather-details-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.weather-details-container .weather-details-item {
  padding: 25px;
  border-radius: 10px;
  min-height: 140px;
}


.weather-details-container .weather-details-item > p:first-child {
  font-size: 0.825rem;
  color: #8f8f8f;
  margin-bottom: 5px;
}

.weather-details-container .weather-details-item > div > p {
    font-size: 1.5rem;
}

.weather-details-container .weather-details-item > div > p > span {
    font-size: 0.5rem;
    margin-left: -2px;
}

.weather-details-container .weather-details-item > div > img {
    width: 25px;
    height: 25px;
}

.weekly-forecast-container {
    border-radius: 10px;
    margin-top: 0px;
    padding: 40px;
    gap: 25px;
    display: flex;
    flex-direction: column;

    height: 100%;

}

.weekly-forecast-container .day-weather-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.weekly-forecast-container .day-weather-item > p, .weekly-forecast-container .day-weather-item > img, .weekly-forecast-container .day-weather-item > div, .weekly-forecast-container .day-weather-item > p {
    flex: 1;
}

.weekly-forecast-container .day-weather-item > p {
    font-size: 0.925rem;
}


.weekly-forecast-container .day-weather-item > div > p:first-child {
   font-size: 0.875rem;
}

.weekly-forecast-container .day-weather-item > div > p:last-child {
   font-size: 0.875rem;
}

.weekly-forecast-container .day-weather-item > div {
    display: flex;
    align-items: center;
}

.weekly-forecast-container .day-weather-item > img {
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
}

footer {
  margin-top: 40px;
  padding: 25px 0;
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #232323;
}
}