@import url("styles.css");

h1 {
    margin-bottom: 40px;
}

h3 {
    font-size: 32px;
}

select {
    font-family: inherit;
    cursor: pointer;
    background-color: rgba(0, 51, 51, 0.94);
    color: ghostwhite;
    width: 100%;
    margin: 5px;
    border: 1px solid black;
    border-radius: 10px;
    padding: 5px;
    font-size: 14px;
}
select::-ms-expand {
    font-weight: bold;
}

.bestiario {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 0.5fr));
    grid-gap: 40px;
    padding-inline-start: 0;
    justify-content: center;
}

.monster-element {
    list-style: none;
    text-align: center;
}

.hide {
    display: none;
}

.card {
    border: 1px solid;
    border-radius: 20px;
    box-shadow: 1px 1px 5px black;
}

.card-image {
    z-index: 2;
    padding: 20px;
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px black);
}

.card-title {
    margin: 10px 0px 0px 0px;
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

.card-subtitle {
    margin: 2px;
    font-weight: bold;
    font-size: 14px;
    text-transform: capitalize;
    color: #333;
}

.view-monster {
    display: none;
}

#filters {
    display: flex;
    grid-gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
#filters label{
    font-weight: bold;
    margin: 0px 10px;
}
.filter {
    width: 250px;
}

.filters input {
    width: 100%;
    color: ghostwhite;
    background-color: rgba(0, 51, 51, 0.94);
    border: 1px solid black;
    border-radius: 10px;
    padding: 5px 10px;
    margin: 5px;
    font-size: 14px;
    font-weight: bold;
    height: 19px;
}

input[type=text] {
    width: 100%;
    padding: 5px 10px;
    margin-top: 5px;
    box-sizing: border-box;
}

.bestiario{
    grid-template-columns: repeat(auto-fit, minmax(140px, 0.25fr));
    grid-gap: 20px;
}

.card-image{
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
}