* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
*:not(i) {
  font-family: "Poppins", sans-serif;
}
body {
  background: url("./image/background.jpg");
  background-size: cover;
  background-position: center;
}

.body__container {
  min-height: 72vh;
}

.container {
  width: 90vmin;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 45%;
  left: 50%;
  padding: 80px 50px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.4);
}

.search-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.search-box input {
  color: #fff;
  padding: 5px;
  width: 70%;
  border: none;
  outline: none;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  background: transparent;
}

.search-box button {
  padding: 15px 0;
  width: 25%;
  background-color: rgb(156, 32, 156);
  border: none;
  outline: none;
  color: #ffffff;
  border-radius: 5px;
}

.search-box button i {
  color: #fff;
  font-size: 15px;
}

.result {
  position: relative;
}

.result h3 {
  font-size: 30px;
  color: #fff;
}

.result .word {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
}

.result button {
  background-color: transparent;
  color: #fff;
  border: none;
  outline: none;
  font-size: 18px;
}

.result .details {
  display: flex;
  gap: 10px;
  color: #b3b6d4;
  margin: 5px 0 20px 0;
  font-size: 14px;
}

.word-meaning {
  color: #fff;
}

.word-example {
  color: #fff;
  font-style: italic;
  border-left: 5px solid purple;
  padding-left: 20px;
  margin-top: 30px;
}
.error {
  margin-top: 80px;
  text-align: center;
}
