.main-container {
    background-image: url('../img/background.webp');
    background-size: cover;
    background-position: top;
}

.container>h1 {
    font-size: 3em; 
    text-align: center; 
    color: white; 
    margin-top: 1.5em; 
    margin-bottom: 0.75em;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 30px;
}

.card { 
    width: 286px;
    transition: .3s;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    background: rgb(255, 255, 255, 0.8);
    cursor: pointer;    
}
.card:hover {
    transform: scale(1.05);
    background: white;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.8);
}
.card>img {
    height: 140px;
    margin-top: 15px;
}

.name {
    color: black;
    margin: 5px 5px 0px 0px;
    font-size: 1.4em;
    font-weight: 700;
}
.grow {
    color: rgb(100, 100, 100);
    margin: 2px 0px 2px 0px;
    font-size: 1.2em;
}
.type {
    color: black;
    margin: 2px 10px 2px 10px;
    font-size: 1.2em;
}
.price {
    margin: 8px 10px 15px 10px;
    font-size: 1.4em;
    font-weight: 600;
    display: inline-block;
    color: white;
    background: rgba(192, 106, 0, 1);
    box-shadow: 0 .2em .5em rgba(0,0,0,.3);
    padding: 6px 12px;
    border-radius: 6px;
}


/* полоса сортировки дино */
.row {
    display: flex;
    justify-content: space-between;
    margin-inline: 41px;
}

@media (max-width: 972px){
    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        margin-inline: 30px;
    }
}

/* по категориям */
.selectlist {
    color: white;
    font-size: 1.4em;
    width: 288px;
    background-color: rgba(0, 0, 0, .5);
    border: none;
    backdrop-filter: blur(16px);
    transition: 0.1s ease-in-out;
    text-align: left;
    padding: 10px 30px 10px 12px;
    border-radius: 6px;
    cursor: pointer;
}
.selectlist:hover {
    padding-left: 15px;
    padding-right: 27px;
    box-shadow: 0 0 0.4em #7d8fa1;
    background-color: rgba(0, 0, 0, .7);
}

/* по имени */
.searchinput {
    background-color: rgba(0, 0, 0, .5);
    color: white;
    font-size: 1.4em;
    width: 248px;
    border: none;
    text-align: left;
    padding: 10px 20px 10px 20px;
    border-radius: 6px;
    outline: none;
}
.searchinput:hover {
    box-shadow: 0 0 0.4em #7d8fa1;
    background-color: rgba(0, 0, 0, .7);
}
