* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  height: 100vh;
  margin: 0;
  position: relative;
  background-image: url("/src/WINDOWS_XP.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.weather-section {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.weather-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 10px 30px;
  width: 300px;
}

.weather-box h1 {
  font-size: 1.5rem;
  margin: 0;
  color: black;
}

.weather-box p {
  font-size: 0.9rem;
  color: black;
  margin: 0;
}

.middle-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.middle-box {
  background: #ffffffcc;
  border-radius: 20px;
  width: 550px;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
}

.middle-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.search-section {
  position: absolute;
  top: 82%; 
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.search-box {
  width: 1000px;
  max-width: 90%;
  padding: 15px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box::placeholder {
  color: #999;
}

.search-box:focus {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}
