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

html,
body {
  height: 100%;
}

body.container {
  background-color: #e5e8f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 60px auto;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1))
    drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
}

.content {
  background: white;
  padding: 40px;
  border-radius: 20px 20px 0 0;
  width: 100%;
}

/* Form */
.search-form {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 40px;
}
.search-input {
  height: 40px;
  border-radius: 6px 0 0 6px;
  border: 1px solid #5c7cda;
  background-color: rgba(92, 124, 218, 0.1);
  padding: 0 12px;
  color: #5c7cda;
  width: 100%;
  font-size: 16px;
}

.search-input:hover {
  border-color: #2f56ca;
}

.search-input::placeholder {
  color: #5c7cda;
  font-size: 16px;
}

.search-button {
  border: none;
  border-radius: 0 6px 6px 0;
  background-color: #5c7cda;
  background-image: url(/assets/search.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 60px;
  cursor: pointer;
}

.search-button:hover {
  background-color: #2f56ca;
}
/* /Form */

/* Header card */
.header-app {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.h1 {
  color: #112d82;
  font-weight: 900;
  margin-bottom: 10px;
}

.h4 {
  font-weight: 400;
  color: #2f56ca;
}

.temperature-detail {
  display: flex;
  align-items: center;
}
.temperature {
  font-size: 60px;
  font-weight: 900;
  color: #112d82;
}
.temperature-icon {
  width: 80px;
}

.weather--details {
  margin-top: 40px;
  display: flex;
  flex-direction: row;
  gap: 10%;
}

.weather--detail--container {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 130px;
}

.weather--detail--container strong {
  color: #112d82;
  font-size: 16px;
}

.weather--detail--container span {
  color: #2f56ca;
  font-size: 14px;
}

.icon-weather {
  display: block;
  border-radius: 6px;
  background-color: #d5dcf6;
  background-position: center;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.icon-weather--humidity {
  background-image: url(/assets/humidity.svg);
}

.icon-weather--feels-like {
  background-image: url(/assets/feels-like.svg);
}

.icon-weather--wind {
  background-image: url(/assets/wind.svg);
}

hr {
  margin: 40px 0;
  border: 0.5px solid #d5dcf6;
}

/* Weather next days */
.weather--forecast {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.card {
  border: 0.5px solid #d5dcf6;
  padding: 15px;
  border-radius: 10px;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1))
    drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  background: linear-gradient(
    300deg,
    rgba(240, 243, 255, 1) 0%,
    rgba(232, 237, 255, 1) 100%
  );
  color: #112d82;
  position: relative;
}

.icon-forecast {
  font-size: 50px;
  text-align: center;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
}

.icon-forecast img {
  width: 60px;
}

.weather--forecast .day {
  font-size: 16px;
  line-height: 28px;
  margin: 16px 0;
  text-align: center;
}

.weather--forecast--details {
  text-align: center;
}

/* /Weather next days */

/* Footer */
footer {
  padding: 20px;
  background-color: #5c7cda;
  border-radius: 0 0 20px 20px;
  width: 100%;
}

footer p {
  font-size: 12px;
  color: white;
  text-align: center;
  line-height: 20px;
}

footer p a {
  text-decoration: none;
  padding: 0 6px;
  border-radius: 20px 6px;
  background-color: #d5dcf6;
  color: #2f56ca;
}
footer p a:hover {
  background-color: #e5e8f2;
}
