:root {
    --contorno: var(--hardchoco);

    --cardimgbr: .1em;
}

a, a:visited, a:active {
    text-decoration: none;
    color: inherit;
    }

article {
    background-color: var(--mediumchoco);
}

#cards-header {
    width: 100%;
    text-align: right;
    padding: 0 2em;
    margin-bottom: .5em;
    color: var(--cream);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#search-feedback-container {
    width: 100%;
}

#search-feedback {
    margin: auto;
    width: max-content;
    padding: .1em .5em;
    border-radius: 10px;
    text-align: center;
    font-size: 2.5em;
    color: var(--cream);
    font-family: Inter;
}

#cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    border-radius: 10px;
}

.item {
    width: 13em;
    height: 18em;
    background-color: var(--white);
    margin: 0.5em;
    padding: 1em;
    border: 1px outset var(--lightgrey);
    border-radius: 3px;
    transition: 0.3s;
}
.item:hover {
    background-color: #FFFFFF;
    color: floralwhite;
    transition: 0.1s;
    -webkit-box-shadow: 0px 5px 9px 0px rgba(0,0,0,0.54);
    -moz-box-shadow: 0px 5px 9px 0px rgba(0,0,0,0.54);
    box-shadow: 0px 5px 9px 0px rgba(0,0,0,0.54);
}
.item:hover itemname, .item:hover iteminfo, .item:hover infolabel {
    color: floralwhite;
}
.item:active {
    background-color: var(--mediumchoco);
}

.photo {
    border: 1px solid var(--royalorange);
    border-radius: var(--cardimgbr);
    height: 9.25em;
    background-color: var(--moreover);

    display: flex;
    justify-content: center;
    align-items: center;
}

.photo img {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
    /* height: 9.1em; */

    
    border-radius: var(--cardimgbr);
    
}
.itemtext {
    margin-top: 0em;
}
.itemname {
    font-weight: 700;
    font-size: 1.2em;
    display: inline;
    color: var(--mediumchoco);
}
.iteminfo {
    color: var(--lightchoco);
    margin-left: 0.3em;
    display: block;
    font-size: 1em;
}

.bulletholder {
    display: inline;
}

.etiqueta {
   height: 1em;
   margin-top: 1.5px;
}

.infolabel {
    color: var(--mediumchoco);
    float: right;
}

.card-sup{
    display: flex;
    justify-content: end;
    font-size: 1.1em;
}

#menu-arredondado{
    width: 2em;
    height: 2em;
}

.amassaessaimagem {
    height: 1.2em;
    margin-right: .2em;
}

.socaessaimagem {
    height: 1em;
}

.pagin {
    background-color: var(--hardchoco);
    color: var(--hardchoco);

    height: min-content;
    width: min-content;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 1em auto;
    padding: .3em .7em;
    border-radius: .5em;
}

.paginind {
    padding: .5em;
    color: floralwhite;
}

.pagibutton {
    background-color: #ebebeb;
    height: 2em;
    transition: .2s;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: .5em;
    border-radius: .5em;
    margin: auto .3em;
}

.pagibutton:hover {
    background-color: #adadad;
    transition: .2s;

}

.pagibutton:active {
    background-color: var(--hardchoco);
    color: floralwhite;
}
.deadbutton {
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: .5em;
    border-radius: .5em;

    margin: auto.3em;

    color: grey;
}


.pagibutton-mobile {
    display: none;
    justify-content: center;
    color: var(--hardchoco);
    font-weight: 900;
    background-color: floralwhite;
    margin: auto .3em;
    padding: 1em;
    width: 3em;

    border-radius: 15px;
    
}

.pagibutton-mobile:hover {
    background-color: rgb(218, 214, 205);
}

.pagibutton-mobile:active {
    background-color: var(--mediumchoco);
    color: floralwhite;
}

.pagibutton-mobile-dead {
    display: none;

    color: var(--grey);
    margin: auto .3em;
    padding: 1em;

    border-radius: 15px;
}


@media (/*max-width: 1440px*/max-width: 1800px){
    .item{
        width: 12em;
        height: 16em;
    }
    .item .photo {
        height: 8em;
    }
}

@media (max-width:1700px) {
    main, #hchild {
        width: 80%;
    }
}

@media (max-width:1590px) {
    main, #hchild {
        width: 90%;
    }
}

@media (max-width:1290px) {
    .item{
        width: 10em;
        height: 14em;
    }

    .infolabel {
        font-size: .9em;
    }

    .etiqueta {
        height: .9em;
    }

    .item .photo {
        height: 6em;
    }

    .itemname {
        font-size: 1.1em;
    }

    .iteminfo {
        font-size: .9em;
    }
    
    main {
        width: 95%;
    }
}



@media (max-width:1000px) { /* menubox some */
    #l-btn {
        visibility: visible;
        position: relative;
        top: 3em;
    }
    /* EEEEEEEITA GAMBIARRA DA PESTE!!!!!!!! */
    #leftaside {
        position: fixed;
        width: 6em;
        height: 7em;
    }
    #menubox {
        visibility: collapse;
        background-color: var(--field);
    }

    main {
        margin: 2em auto;
        width: 100%;
    }

    article {
        margin-left: 0;
    }
    
}





@media  (max-width: 750px) {
    article {
        width: 100%;
    }
    
    #butao-filtros{
        bottom: 5vh;
        left: 50%;
        margin-left: -6em;
        
    }
    #filtros{
        width: 20em;
        height: fit-content;
        left: 50%;
        margin-left: -10em;
        padding-bottom: .8em;
    }
    .filtro-button {
        margin: .5em auto;
    }


    #filtro-button-container {
        flex-direction: column;
    }



    
    #butao-filtros{
        bottom: 5vh;
        left: 50%;
        margin-left: -6em;
        
    }
    #filtros{
        width: 20em;
        height: fit-content;
        left: 50%;
        margin-left: -10em;
        padding-bottom: .8em;
    }
    .filtro-button {
        margin: .5em auto;
    }


    #filtro-button-container {
        flex-direction: column;
    }
} 
@media  (max-width: 550px) {
  /*article {
        padding: 0;
        width: 100%;
    }*/
    .pagibutton-mobile, .pagibutton-mobile-dead {
        display: flex;
    }
    .pagibutton, .deadbutton {
        display: none;
    }

    #hchild {
        width: 100%;
    }
}
@media  (max-width: 432px) {
    article {
          padding: 0;
          padding-top: 1em;
          width: 100%;
      }
    
  }
    


  