@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
*{
  margin: 0;
  padding: 0;
  font-family: Poppins;
  box-sizing: border-box;
  color: white;
}

.weather1{
  height: 100%;
  width: 100%;
}

::-webkit-scrollbar{
  width: 7px;
}

::-webkit-scrollbar-thumb{
  background: #83838398;
  border-radius: 6px;
}

.container{
  display: flex;
  background: black;
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  flex-direction: column;
  align-items: center;
}

.weather-input{
  margin-top: 20px;
  width: 92%;
  display: flex;
  height: 200px;
  box-shadow: 1px 4px 12px #ebedf6;
  border-radius: 6px;
  background: grey;
  padding: 10px 25px;
  flex-direction: column;
}

.input-group{
  position: relative;
  display: flex;
  align-items: center;
  margin: 2rem 0;
  border-radius: 6px;
}

.input-group input{
  background: black;
  text-transform: capitalize;
  padding: 1rem;
  font-size: 15px;
  border-radius: 6px;
  width: 100%;
  outline: none;
  border: none;
  box-shadow: 1px 4px 12px #ebedf6;
}

.input-group .converter{
  position: absolute;
  background: grey;
  right: 45px;
  border: none;
  outline: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 1px 4px 12px #ebedf6;
  border-radius: 7px;
}

.input-group .fa-search{
  position: absolute;
  right: 15px;
  color: #a6aede;
  cursor: pointer;
  font-size: 22px;
}

.weather-output{
  width: 92%;
  inset: 0;
  margin-top: 10px;
  padding: 2rem;
  background: grey;
  box-shadow: 1px 4px 12px #ebedf6;
  border-radius: 6px;
  margin-bottom: 20px;
}

.Highligh{
  display: grid;
  grid-template-columns: repeat(2, 50%);
  grid-auto-flow: row;
  row-gap: 1rem;
  column-gap: 10px;
}

.Highligh div, .Forecast div{
  min-height: 200px;
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: black;
  box-shadow: 1px 4px 12px #ebedf6;
  border-radius: 20px;
  padding: 1rem;
}

.Highligh i{
  font-size: 45px;
}

.sun span{
  align-items: center;
  display: flex;
  gap: 10px;
} 

.weather-output .heading{
  margin-bottom: 10px;
}

.weatherIcon{
  background-position: 50% !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  width: 100%;
  display: block;
  height: 150px;
  margin: 20px auto;
}

.weather-input .feelsLike, .weather-input .description, .weather-input .date, .weather-input .city{
  padding: 10px 0;
}

.temperature{
  font-size: 3rem;
  text-align: center;
  display: flex;
  font-weight: 300;
}

.Forecast{
  display: grid;
  grid-template-columns: repeat(2, 50%);
  grid-auto-flow: row;
  row-gap: 1rem;
  column-gap: 10px;
}

.temperature span{
  font-size: 1rem;
  margin-top: 20px;
}

.Forecast-desc{
  color: #967d7d;
  font-size: 0.8rem;
  text-align: center;
  padding-bottom: 5px;
  font-style: italic;
}

hr{
  display: none;
}

/* ===== NAVBAR ===== */
.navbar{
  width: 100%;
  height: 60px;
  background: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand{
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.nav-right{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-right a{
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.nav-right a:hover{
  color: #a6aede;
}

/* EMAIL DISPLAY */
.auth-email{
  background: #222;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: #a6aede;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* LOGOUT */
.logout-btn{
  background: #e74c3c;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.logout-btn:hover{
  background: #c0392b;
}

/* MOBILE */
.menu-toggle{
  display: none;
  font-size: 22px;
  cursor: pointer;
}

@media(max-width: 768px){
  .menu-toggle{
    display: block;
  }

  .nav-right{
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: black;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    display: none;
  }

  .nav-right.show{
    display: flex;
  }

  .auth-email,
  .logout-btn,
  .nav-right a{
    width: 100%;
  }
}