:root{
  --mainColor: #00ab80;
  --bgColor: #242424;
}

.blogs{
    gap: 1.25em;
    padding: 1em;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#myUL {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#myUL li {
    border-bottom: 1px solid #00ab8073;
    width: min(90%, 80rem);
    padding: 0.5em;
    padding-top: 1em;
    text-decoration: none; /* Remove default text underline */
    font-size: 2em;
    color: white;
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

#myUL li:hover {
    background-color: rgb(41, 48, 47);
}

.caption{
    font-size: 0.7em;
    margin-top: 0.5em;
    color: rgb(179, 179, 179);
}

#tags button {
  background-color: #5e5c5c;
  border: none;
  color: #ffffff;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.4em;
}

#tags button:hover {
  background-color: #525252;
}

#tags button.active {
  background-color: var(--mainColor);
  color: white;
}

.input-box {
    position: relative;
    display: inline-block;
    width: min(90%, 80rem); 
    margin-top: 4em;
    margin-bottom: 2em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

#input {
    background-image: url('/images/icons/search-icon.png'); /* Add a search icon to input */
    background-position: 0.6em, 50%;
    background-size: 1em;
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; 
    font-size: 1em;
    padding: 1em 1em 1em 2em; 
}

#clearButton {
    position: absolute;
    top: 10%;
    right: 0.4em;
    border: none;
    background: none;
    font-size: 2em;
    cursor: pointer;
    display: none;
    color: #999;
}
