* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

html {
  background-color: rgba(226, 234, 245, 1);
}

body {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 40px;
  grid-column-gap: 150px;
  flex: 1;
}

.navbar-container {
  display: flex;
  align-items: center;
}

.navbar-container > img {
  margin-right: 20px;
}

/* Showcase */
.showcase-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

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

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

.showcase-container .showcase-text > p:first-child {
  color: #3aa2ff;
  font-weight: 400;
  font-size: 1.150rem;
}

.showcase-container .showcase-text > p {
  color: #9aa0a8;
  font-weight: 400;

}

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

/* Details */
.weather-details-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 200px);
    gap: 15px;
}

.weather-details-item {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.weather-details-container .weather-details-item > p:first-child {
    color: #8f8f8f;
}

.weather-details-container .weather-details-item > div {
    display: flex;
    align-items: center;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.weather-details-container .weather-details-item > div > p {
    font-size: 1.8rem;
    font-weight: 500;
    color: #2a394f;
    margin-left: 5px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.weather-details-container .weather-details-item > div > p > span {
    font-size: 1rem;

}

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


/* Previous Weekly */

.weekly-forecast-container {
    background-color: #fff;
    border-radius: 20px;
    margin-top: 85px;
    padding: 40px;
    gap: 25px;
    display: flex;
    flex-direction: column;
    height: 89%;

}

.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-weight: 500;
    color: 8f8f8f;
}


.weekly-forecast-container .day-weather-item > div > p:first-child {
   font-weight: 500;
   color: #2a394f;
   margin-right: 4px;
}

.weekly-forecast-container .day-weather-item > div > p:last-child {
   font-weight: 500;
   color: #8f8f8f;
   margin-right: 4px;
}

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

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


/* Utilities */
.custom-input {
  border: none;
  border-radius: 15px;
  background-color: #fdfffe;
  color: #232323;
  padding: 16px;
  width: 100%;
}

.custom-input:focus {
  outline: 2px solid #3aa2ff;
}

.custom-input::placeholder {
  color: #b1b8c0;
}

.hourly-forecast-container {
    display: flex;
    border-radius: 20px;
    padding: 40px;
  background: RGBA(0, 125, 254, 1);
  background: linear-gradient(
    90deg,
    rgba(0, 125, 254, 1) 0%,
    rgba(58, 162, 255, 1) 100%
  );
  box-shadow: 0 10px 20px rgba(0, 125, 254, 0.4);
  align-items: center;
  justify-content: space-between;
}

.hourly-forecast-container .hour-weather-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hourly-forecast-container .hour-weather-item > img {
    width: 70px;
    height: 70px;
}

.hourly-forecast-container .hour-weather-item > p:first-child {
    color: #fff;
    opacity: 75%;
    font-weight: 400;
}

.hourly-forecast-container .hour-weather-item > p:last-child {
    color: #fff;
    opacity: 75%;
    font-weight: 500;
    font-size: 1.5rem;
}

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