:root {
  --bg-body: #f3eee8;
  --bg-app: #f6d3d0;
  --text-main: #000000;
  --shadow: rgba(65, 50, 100, 0.08);
}

[data-theme="dark"] {
  --bg-body: #195e73;
  --bg-app: #1e3a60;
  --text-main: #cfd2def1;
  --shadow: rgba(58, 56, 56, 0.5);
}

body {
  background-color: var(--bg-body);
  box-shadow: var(--shadow);
  font-family: sans-serif;
  padding: 20px;
  transition: all 0.3s ease;
}
.myWeatherApp {
  background: var(--bg-app);
  color: var(--text-main);
  max-width: 600px;
  margin: 45px auto;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 30px 50px var(--shadow);
  display: block;
  transition: all 0.3s ease;
}
header {
  border-bottom: 1px solid #f9f7fe;
  padding: 0 0 40px 0;
}

.search-input {
  background-color: #f9f7fe;
  border: none;
  color: rgba(39, 33, 66, 0.4);
  font-size: 16px;
  padding: 20px;
  width: 75%;
  border-radius: 6px;
}

.search-button {
  margin-left: 5px;
  font-size: 16px;
  background-color: #4bb3a8;
  color: white;
  border: none;
  padding: 20px;
  line-height: 1;
  border-radius: 5px;
}

.current-city {
  font-size: 40px;
  font-weight: 900;
  margin: 0;
  position: relative;
  top: 20px;
}
.current-details {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.current-details strong {
  color: #f65282;
}

.weather-info {
  display: flex;
  justify-content: space-between;
}

.current-temperature {
  position: relative;
  margin-right: 10px;
}
.current-icon {
  position: relative;
  top: 30px;
  font-size: 50px;
}

.current-temperature-value {
  position: relative;
  font-size: 75px;
  font-weight: bold;
  top: 10px;
}

.current-temperature-unit {
  font-size: 18px;
  position: relative;
  top: -35px;
}

.weather-forecast {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  margin-bottom: 30px;
}

.weather-forecast-date {
  text-align: center;
  color: var(--text-main);
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 10px;
}

.weather-forecast-icon {
  width: 100%;
  text-align: center;
}

.weather-forecast-temperatures {
  text-align: center;
  font-size: 15px;
  color: #f65282;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.highlow-temp {
  padding: 0 10px;
}

footer {
  color: var(--text-main);
  border-top: 1px solid #f9f7fe;
  text-align: center;
  padding-top: 15px;
}
.links {
  color: var(--text-main);
}
