@import url('nav.css');
@import url('footer.css');

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: all 0.2s linear;
    text-transform: capitalize;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: #eee;
}

.aaa {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 25px;
    padding: 3rem 2rem;
    justify-content: center;
}

.product-card {
    flex: auto;
    width: 250px;
    height: 450px;
    background-color: #fff;
    padding: 2px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-card img {
    width: 100%;
    height: 350px;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
}

.product-card h4 {
    font-size: 1.3em;
    margin: 0.5em 0;
    font-weight: bold;
    text-align: center;
}

.product-card div {
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.product-card button {
    background-color: #f5f5f5;
    color: #000;
    border: none;
    border-radius: 25px;
    width: 100px;
    height: 30px;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.product-card button a {
    color: inherit;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card:hover button {
    background-color: #000;
    color: #fff;
}

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
}
