:root {
  /* --header-and-footer-color: rgb(227, 209, 153); */
  /* --header-and-footer-color: #776d5a; maybe? */
  /* --header-and-footer-color: #c99da3; maybe? */
  --header-and-footer-color: #b86f52;
  --header-and-footer-text-color: white;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Golos Text", sans-serif;
  background-repeat: no-repeat;
  background-position: 50%;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 90px 1fr 1fr;
}

header {
  background-color: var(--header-and-footer-color);
}

.icon-nav {
  width: 10%;
}

li {
  list-style: none;
}

a {
  color: var(--header-and-footer-text-color);

  text-decoration: none;
  padding: 15px;
}

a:hover {
  color: rgb(235, 123, 3);
}

.navbar-section {
  max-height: 90px;
}

.navbar {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
}

.nav-branding {
  font-size: 2rem;
}

.nav-link {
  transition: 0.7s ease;
}

.nav-link:hover {
  color: rgb(20, 5, 154);
  font-weight: bold;
}

.hamburger {
  display: block;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #16161d;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  left: -100%;
  top: 89px;
  gap: 0;
  flex-direction: column;
  background-color: var(--header-and-footer-color);
  width: 100%;
  text-align: center;
  transition: 0.3s;
}

.nav-item {
  margin: 16px 0;
}

.nav-menu.active {
  left: 0;
}

.mainWeather {
  /*background-image: url(./assets/sun.jpg); */
  background-size: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  background-repeat: no-repeat;
  max-width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  /*
  background: rgb(5, 188, 63);
  background: linear-gradient(70deg, blue, pink); */
}

/* not needed for now
.icon-c {
  justify-content: center;
  align-items: center;
  align-content: center;
}
*/

.icon {
  width: 50%;
}

.currentTemperature {
  font-size: 6rem;
  color: #16161d;
}

.cityName {
  color: #16161d;
  font-size: 3rem;
}

.weeklyWeatherWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: 50%;
  border-top: 2px solid white;
}

.weeklyWeather {
  width: 400px;
}

.forecast-header {
  padding: 10px;
  font-size: 25px;
  display: flex;
  justify-content: center;
}

.weeklyWeatherRows {
  display: flex;
  flex-direction: column;
}

.weeklyWeatherRow {
  display: flex;
  justify-items: center;
  align-items: center;
  padding: 10px;
}

.weeklyWeatherRowItem {
  display: flex;
  justify-content: center;
  flex: 1;
}

hr {
  border: 1px dashed black;
}

.weatherDescription {
  color: #16161d;
  font-size: 1.5rem;
}
.sun {
  color: #16161d;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 70px;
  padding-top: 30px;
}

footer {
  display: flex;
  justify-self: center;
  justify-content: center;

  padding-top: 15px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 1rem;

  width: 375px;
  color: var(--header-and-footer-text-color);
}

@media (min-width: 1024px) {
  .weeklyWeatherWrapper {
    justify-self: center;
    width: 1200px;
    margin: 0 auto;
  }
}
