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

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  background: #0d1726;
  color: #ffffff;
  padding: 20px;
}

.kotak {
  width: 100%;
  max-width: 420px;
  padding: 35px 30px;
  background: #162438;
  border: 1px solid #263b54;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 30px;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.pencarian {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #344b65;
  border-radius: 9px;
  outline: none;
  background: #0d1929;
  color: #ffffff;
  font-size: 14px;
  transition: border 0.2s;
}

input::placeholder {
  color: #8191a5;
}

input:focus {
  border-color: #54a9f5;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 9px;
  background: #398ee5;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

button:hover {
  background: #287acb;
}

button:active {
  transform: scale(0.98);
}

#pesan {
  margin-top: 18px;
  color: #f0a4a4;
  font-size: 13px;
}

.hasil {
  margin-top: 25px;
  padding: 24px 15px;
  background: #1d3049;
  border: 1px solid #304966;
  border-radius: 12px;
}

.hasil h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

#suhu {
  font-size: 38px;
  font-weight: 600;
  color: #65b7ff;
  margin-bottom: 10px;
}

#kondisi {
  font-size: 14px;
  color: #b7c7d9;
  text-transform: capitalize;
}

.sembunyi {
  display: none;
}

/* tampilan hp */
@media (max-width: 480px) {
  .kotak {
    padding: 28px 20px;
  }

  h1 {
    font-size: 26px;
  }

  .hasil {
    padding: 20px 12px;
  }
}
