

h1 {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.dictionary-container {
  border: solid 0.5px #d1cdca;
  margin-bottom: 50px;
  padding: 10px;
  border-radius: 20px;
}


p {
  margin-top: 3.4375rem;
  margin-left: 1.5625rem;
}

.question p:hover {
  color: #818287;
}

.element {
  display: inline-block;
  width: 46.875rem;
  line-height: 3.125rem;
  margin-right: 1.25rem;
  text-align: left;
  color: #131a2c;
  border-radius: 1.5625rem;
  margin: 0 auto;
  border: solid 0.5px #9a9692;
}

.buttonImage {
  width: 1.25rem;
  height: 1.25rem;
}

.first_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.image-container {
  position: relative;
}

.first_section img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  margin-bottom: 1rem;
  max-width: 1200px; 
  margin: 0 auto;
  border-radius: 20px;
  margin-top: 100px;
}

.centered-input {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  padding: 10px;
  border-radius: 20px;
  z-index: 1;
}

.content {
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 20px;
}

#searchInput {
  width: 40%;
  height: 2.5rem;
  padding: 10px;
  border: none;
  border-radius: 20px;
  margin: 0 auto;
  display: block;
  z-index: 1;
}
.search-container img {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

#wordList li a {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: inherit;
  font-weight: 300;
}

#wordList li span {
  margin-left: auto;
  color: #888;
}
#wordList li:nth-child(odd) {
  background-color: white;
}

#wordList li:nth-child(even) {
  background-color: #f7f7ff;
}

#wordList li {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  border-radius: 5px;
}

@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }
  .first_section {
    margin: 0 20px;
}
  .first_section img {
    height: 15rem;
    margin-top: 100px;
}
#searchInput {
  width: 50%;
  top: 25%;
}
}
