
.AuctionPage {
    text-align: left;
    margin: 50px;
    margin-inline: 10vw;
}

.auctionPageControls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.auctionPageControls h1 {
    margin: 0;
}

.auctionPageControls .controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.auctionPageControls .controls label {
    width: 500px;
    max-width: 100%;
}

.auctionPageControls .controls label select, .auctionSearchBar {
    border-radius: 50px;
    border: none;
    background-color: #F5F5F5;
    padding: 10px 20px 10px 20px;
    width: 100%;
}

.searchContainer {
    overflow: hidden;
    border-radius: 50px;
}


.auctionPageControls .controls label select:focus, .auctionSearchBar:focus {
    outline: none;
}

.createItemBtn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #7C7C7C;
    position: fixed;
    bottom: 5%;
    right: 2%;
}

.createItemBtn svg {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: #D6482C;
    color: white;
    margin-bottom: 10px;
}

.auctionContainer {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    column-gap: 20px;
    row-gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.auctionItemCard {
    overflow: hidden;
}

.auctionItemCard img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.auctionItemCard .cardText {
    padding-inline: 20px;
}

.auctionItemCard h2 {
    margin: 0;
    margin-top: 10px;
    color: black;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
}

.auctionItemCard p {
    color: #7C7C7C;
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auctionSearchBar::placeholder {
    color: black;
}

@media screen and (max-width: 600px) {
    .AuctionPage {
        margin: 0;
        padding: 20px;
    }

    .auctionPageControls {
        display: flex;
        flex-direction: column;
    }

    .auctionPageControls .controls {
        margin-bottom: 20px;
    }

    .auctionContainer {
        display: flex;
        flex-direction: column;
    }
}