* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(103, 165, 233);
  background: radial-gradient(circle, rgba(103, 165, 233, 1) 11%, rgba(255, 255, 255, 1) 100%, rgba(0, 255, 235, 1) 100%);
  font-family: sans-serif;
  flex-direction: column;
}
.search-bar {
  text-align: center;
  margin-bottom: 10px;
}
#search,
.btn {
  height: 2rem;
  padding: 0.5rem;
  margin-right: 0;
  border-radius: 10px;
  border: 2px solid rgb(134, 133, 133);
}
#search {
  width: 70%;
}
.btn {
  padding: 0.25rem 1rem;
}
.container {
  width: 55%;
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 8px 0 rgba(17, 8, 102, 0.2), 0 6px 20px 0 rgba(17, 8, 102, 0.19);
}
.current-weather {
  text-align: center;
  margin: 10px 0;
  border-bottom: 2px solid rgb(134, 133, 133);
  padding: 20px 0 30px;
}
.time {
  font-size: 12px;
  color: brown;
}
.weather {
  display: flex;
  justify-content: center;
  align-items: center;
}
.temperature {
  display: flex;
  gap: 5px;
}
.temperature-value {
  font-size: 2.5rem;
  font-weight: bold;
}
.temperature-active {
  font-size: 2rem;
  color: #000;
}
.icon {
  height: 5rem;
}
.today {
  font-size: 12px;
  color: rgb(112, 111, 111);
}
.additional {
  border-left: 1px solid #eee;
  text-align: left;
  font-size: 12px;
  color: rgb(112, 111, 111);
  padding-left: 5px;
  margin-left: 20px;
}
.history-weather {
  text-align: center;
}
.forecast-week {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.day {
  text-align: center;
  border: 1px solid rgb(134, 133, 133);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
}
.day-name {
  line-height: 1rem;
}
.error-message {
  text-align: center;
  font-size: 1rem;
  font-weight: normal;
  margin-top: 30px;
  color: rgb(218, 13, 13);
  padding: 20px;
  border-radius: 5px;
  background-color: rgb(250, 206, 213);
  display: none;
}
.back-button {
  text-align: left;
  font-size: 12px;
  color: rgb(112, 111, 111);
  cursor: pointer;
  display: none;
  width: 130px;
}
.back-button:hover {
  color: black;
}
@media (max-width: 835px) {
  .forecast-week {
    justify-content: center;
    gap: 20px;
  }
  .container {
    width: 75%;
  }
}
@media (max-width: 428px) {
  .container {
    width: 95%;
    margin: 20px auto;
  }
}
