:root {
    --yellow: #f7b835;
    --yellowHover:#FFD700;
    --brown: #473108;
    --brownLight: #4A4A4A;
    --brownPastel: #e8e0d4;
    --red:#E91E63;
    --redHover:#C2185B;
    --white:#ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.body {
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    background: var(--white);
    padding: 20px;
}

/* cambiar la imagen de hero */
.hero {
    background: url('../img/tejer.png') no-repeat center center/cover;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
}
.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s;
}
.card:hover {
    transform: scale(1.02);
}
.card img {
    width: 100%;
    height: auto;
}
.card-content {
    padding: 20px;
}
.card-content p {
    font-size: 1rem;
    color: var(--brownLight);
    margin-bottom: 15px;
}



/* Estilos para pantallas más grandes */
@media (min-width: 660px) {
    .card {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 700px;
    }
    .card .card-img{
        width: 40%;
        height: 70%;
    }
    .card-content {
        width: 60%;
        padding: 30px;
    }
}
@media (min-width: 1024px) {
    .container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card {
        width: 100%;
        max-width: 1000px;
    }

    .card .card-img {
        width: 300px;
        height: 300px;
        object-fit: cover;
    }
}