:root{
    --morado1: #909dcf;
    --morado2: #a4afd4;
    --azul:#c3c5d8;
    --hueso: #FFF9EE;
    --beige:#CCBAA6;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--morado1);
    padding: 10px 20px;
    
}

nav a{
    padding: 1rem;
    background-color: var(--beige);
    color: white;
    border-radius: 10px;
    text-decoration: none;
}

header{
    background-image: linear-gradient(to left, 
    rgba(119, 122, 163, 0.507),
    rgba(119, 122, 163, 0.505)), url(imagenes/esqueletos.jpg);
    background-size: 30%;
    background-position: center;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: rgb(25, 25, 27);
    background-color: var(--morado2);
}
.hero{
    display: flex;
    flex-direction:row ;
    gap: 2rem;
    padding: 1rem 8rem;
    text-align: center;
    margin: 20px 0;
}
.primary,
.secondary{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}   
.img-contt{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}   

.container-products{
    display: flex; 
    flex-wrap: wrap;

}
.product{
    flex: 1 1 300px;
}
.h2-prouductos{
    text-align: center;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    
}

.logo img {
    height: 50px;
}



.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}




.product {
    background-color: var(--azul);
    border: 2px solid black;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    text-align: center;
}


.product img{
    border-radius: 39px;
    transition: transform 0.3s ease;

}
.product img:hover{
    box-shadow: 4px 4px (0,0,0,3);
    cursor: pointer;
    transform: scale(1.2);

}

.cart-modal {

    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: rgb(119, 122, 163);
    padding: 20px;
}

.container-carrito{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    place-content: center;
    top: 120px;
    padding: 1rem;
    border-radius: 40px;
    right: 60px;
    position: absolute;
    background-color: #c3bcd2;
    width: 300px;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer h3 {
    color: #f7c600;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}