
@font-face {
    font-family: 'Monocraft';
    src: url('https://cdn.jsdelivr.net/gh/IdreesInc/Monocraft@main/dist/Monocraft-ttf/Monocraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


* {
    font-family: 'Minecraft Fifty', 'Minercraftory', monospace;
}

/* global theme*/

body {
  background-repeat: inherit;
  background-attachment: scroll;
  background-size: 120rem;
  background-position-y: -10rem;
  font-family: "Comic Relief", system-ui;
  font-weight: 400;
  font-style: normal;
  margin: 3rem;
  background-color: #131313fa;
  color: rgb(209, 209, 209);
}

/* fancy divider */

.divider {
  border: 0;
  height: 5px;
  background-color: #2222229d;
  margin: 2rem 0;
}

 /* Style the tab */
.tab {
  overflow: hidden;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  color: aliceblue;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #424242fa;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #4e4e4efa;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
} 


/* info box */
.info-box {
  background-color: #0f0f11;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: fit-content;
  max-width: 95%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  font-family: system-ui;
}

/* SEARCH BAR */

.search-container {
  margin-bottom: 25px;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid #2a6bc4;
  border-radius: 30px;
  background: #18232a;
  color: #f0e6d0;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-input:focus {
  border-color: #3a7dd4;
  box-shadow: 0 0 12px rgba(58, 125, 212, 0.4);
  background: #222f35;
}

.search-input::placeholder {
  color: #ffffff;
  font-style: italic;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #18252a;
  border: 1px solid #2a6bc4;
  border-top: none;
  border-radius: 0 0 15px 15px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.search-result-item {
  padding: 10px 18px;
  cursor: pointer;
  color: #f0e6d0;
  border-bottom: 1px solid #22303d;
  transition: all 0.2s ease;
  font-size: 14px;
}

.search-result-item:hover {
  background: #1e3a5f;
  color: #88bbff;
  padding-left: 22px;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item strong {
  color: #3a7dd4;
}

/* Scrollbar styling */
.search-results::-webkit-scrollbar {
  width: 8px;
}

.search-results::-webkit-scrollbar-track {
  background: #121a1e;
  border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb {
  background: #2a6bc4;
  border-radius: 4px;
}

.search-results::-webkit-scrollbar-thumb:hover {
  background: #3a7dd4;
}