* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

body {
  background: linear-gradient(135deg, #ff6f91, #ff9671, #ffc75f);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px;
}

.main {
  width: 90%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 3px solid #ff6f91;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(255, 111, 145, 0.8);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popUp 0.8s ease-out;
}

.header {
  text-align: center;
}

.title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.search {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.inp {
  padding: 12px 15px;
  background-color: #fff;
  border: 2px solid #ff6f91;
  color: #ff6f91;
  font-size: 16px;
  font-weight: bold;
  outline: none;
  text-transform: uppercase;
  width: 100%;
  max-width: 400px;
  border-radius: 25px;
  background-image: url('https://cdn-icons-png.flaticon.com/512/535/535239.png');
  background-size: 18px;
  background-position: 10px center;
  background-repeat: no-repeat;
  padding-left: 40px;
}

.inp::placeholder {
  color: #ff6f91;
  opacity: 0.8;
  font-weight: normal;
  text-transform: none;
}

.butt {
  padding: 12px;
  background: #ffc75f;
  color: #222;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  width: 100%;
  max-width: 400px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border-radius: 25px;
}

.butt:hover {
  transform: translateY(-2px);
  background-color: #ff6f91;
  color: #fff;
}

.weather {
  text-align: center;
}

.city-name {
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff007f, #ffae00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.6);
  letter-spacing: 1px;
}

.weather-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.temp-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.weather-img {
  width: 60px;
  filter: drop-shadow(0 0 10px #ff9671);
}

.temp {
  font-size: 36px;
  font-weight: bold;
  color: #ffc75f;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.description {
  font-size: 14px;
  color: #fff;
  font-style: italic;
}

.items-info {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #333;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.items {
  font-size: 14px;
}

.items span {
  font-weight: 900;
  font-family: "Courier New", monospace;
  text-shadow: none;
  font-weight: bold;
}

.feels-like {
  color: #d35400;
}

.pressure {
  color: #27ae60;
}

.humidity {
  color: #3498db;
}

.wind-speed {
  color: #e91e63;
}

.clouds {
  color: #444b14;
}

.visibility {
  color: #ff5722;
}

.pollution {
  text-align: center;
}

.pollution-name {
  font-size: 18px;
  font-weight: bold;
  color: #ff6f91;
}

.pollution-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pollution-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff6f91;
}

.pollution-value {
  font-size: 22px;
  font-weight: bold;
  color: #ffc75f;
}

.footer {
  margin-top: 10px;
  font-size: 12px;
  color: #fff;
  text-align: center;
}

.wsb {
  color: #ff6f91;
  font-weight: bold;
}

@keyframes popUp {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 500px) {
  .main {
    padding: 20px;
  }

  .inp,
  .butt {
    width: 100%;
  }
}