@font-face {
  font-family: 'RIDIBatang';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.0/RIDIBatang.woff') format('woff');
}

body {
  margin: 0;
  font-family: 'RIDIBatang', serif;
}

.page_title {
  font-size: 30px;
  color: black;
}

.keyword {
  text-decoration: underline;
  text-decoration-thickness: 0.15rem;
  text-decoration-color: #000;
  cursor: pointer;
}

div {
  font-family: 'RIDIBatang';
  margin: 10px;
  padding: 5px;
  color: black;
}

a {
  color: #f25f25;
}

.query {
  font-size: 30px;
  padding: 30px;
  text-align: center;
}

#definitions,
#example-section {
  color: #000;
  text-align: left;
  margin: 0 15%;
  padding: 30px;
}

#synonyms {
  margin: 0 15%;
  text-align: center;
}

.wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.button {
  width: 140px;
  height: 45px;
  font-family: 'RIDIBatang';
  font-size: 15px;
  text-transform: uppercase;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.button:hover {
  background-color: #2ee59d;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-5px);
}

.section-title {
  font-size: 18px;
  /* Smaller font size */
  color: #333;
  background-color: #f0f8ff;
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  margin: 8px auto;
  margin-right: 16px;
  width: fit-content;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
  transition: background-color 0.2s ease;
}

.section-title.antonym-title {
  background-color: #ffe4e4;
}

.section-title:hover {
  background-color: #e0ffff;
}

.synonym_button,
.antonym_button {
  background-color: white;
  border-radius: 8px;
  font-size: 16px;
  color: black;
  padding: 10px 20px;
  margin: 5px;
  border: 2px solid #2ee59d;
  cursor: pointer;
  transition: all 0.2s ease;
}

.antonym_button {
  border-color: #f45f45;
}

.synonym_button:hover,
.antonym_button:hover {
  transform: scale(0.98);
  box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
}

.search_bar {
  background-color: white;
  border: 2px solid black;
  border-radius: 8px;
  font-size: 16px;
  padding: 10px 15px;
  width: 100%;
}

.ad-container {
  max-width: 100%;
  overflow: hidden;
  margin: 40px auto;
  text-align: center;
}

.dialog {
  display: none;
  background-color: white;
  color: #000;
  border-radius: 5rem;
  box-shadow: 0px 5px 15px rgb(0 0 0 / 10%);
  z-index: 99;
  height: 50px;
  width: 90%;
  margin-left: 5%;
  text-align: center;
  opacity: 0.9;
  position: relative;
}

.message {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#ai-results-synonyms {
  color: #90ee90;
}

#ai-results-antonyms {
  color: #f4a6c0;
}