* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f9;
    padding: 20px;
}

#productList {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}


.main-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(20.20% - 25px);
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    transition: transform 0.2s ease-in-out;
}

.main-content:hover {
    transform: translateY(-10px);
}

.main-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

h3 {
    text-align: center;
    align-items: center;
    font-size: 20px;
    margin: 10px 0;
    color: #555;
    transition: color 0.3s ease;
    cursor: pointer;
    &:hover {
        color: #6ccee2;
    }
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}


.buy-btn {
    justify-items: center;
    align-items: center;
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
}


@media (max-width: 1200px) {
    .main-content {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 900px) {
    .main-content {
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .main-content {
        width: 100%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#filters .btn {
    margin-right: 10px;
    transition:  0.3s ease, color 0.3s ease;
}

#filters .btn:hover {
    background-color: #007bff;
    color: white;
    transform: scale(1.05);
}

#filters .btn:active {
    transform: scale(0.95);
}

#search {
    padding: 8px;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#searching button {
    margin-left: 10px;
}

#filters {
    margin: 20px;
    text-align: center;
}

#searching {
    text-align: center;
    margin-bottom: 40px;
}