
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans', sans-serif;
  background: linear-gradient(135deg, #0a0d5e, #7e1abf);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; 
  color: white;
  flex-direction: column; 
}

.navbar {
  font-family: "Rubik" , sans-serif;
  font-optical-sizing: auto;
font-weight: 1000;
  font-style: normal;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 15px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  font-size: 16px; 
  position: fixed; 
  top: 0;
  z-index: 1000; 
}

.navbar .navbar-left {
  display: flex;
  align-items: center;
  gap: 10px; 
  margin-left: 35px;
  font-weight: bold;
  font-size: 20px; 
  color: white;
}

.logo {
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  object-fit: cover; 
  border: 2px solid white; 
}

.navbar .navbar-right {
  display: flex;
  gap: 15px; 
  list-style: none; 
  margin: 0;
  padding: 0; 
}

.navbar .navbar-right li {
  display: inline; 
}

.navbar .navbar-right a {
  font-family: monospace;

  margin-right: 7px;
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  transition: all 0.3s ease-in-out;
}

.navbar .navbar-right a:hover {
  background: rgb(126, 5, 65);
  border-radius: 5px;
}


@media (max-width: 768px) {
  .navbar {
    flex-direction: column; 
    align-items: flex-start;
    padding: 10px;
  }

  .navbar .navbar-right {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .navbar .navbar-right a {
    width: 100%; 
    text-align: left;
  }
}

.weather-widget {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  padding: 30px;
  width: 400px; 
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  margin-top: 80px; 
}

.header {
  margin-bottom: 20px;
}

.location {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-icon, .search-icon {
  font-size: 20px;
}

.country {
  font-size: 18px;
  font-weight: bold;
}

.search-section {
  margin: 20px 0; 
}

.search-section input {
  font-family: monospace;
  padding: 10px;
  width: 70%;
  border: 1px solid #c71a7c;
  border-radius: 5px;
  margin-right: 10px;
}

.search-section button {
  margin-top: 20px;
  padding: 10px 15px;
  background: #c425b6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.search-section button:hover {
  background: #a61c98;
}


.weather-info {
  margin: 20px 0;
}

.weather-icon {
  font-size: 60px;
}

.temperature {
  font-size: 48px;
  font-weight: bold;
  margin: 10px 0;
}

.description {
  font-size: 18px;
  opacity: 0.8;
}

.weather-details {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-family: monospace;
}

.detail .icon {
  font-size: 18px;
}

@media (max-width: 600px) {
  .weather-widget {
    width: 90%;
  }

  .temperature {
    font-size: 36px;
  }

  .weather-icon {
    font-size: 50px;
  }

  .detail {
    font-size: 12px;
  }
}
