*{
    margin: 0;
    padding: 0;
}

body{
    background-color: rgb(255, 246, 224);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header{
    height: 81px;
    background-color: lightgreen;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

header div img{
    height: 55px;
}

header div input{
    width: 700px;
    height: 40px;
    border-radius: 28px;
}

header div button{
    background-color:rgba(0, 255, 255, 0) ;
    /* padding: 20px 8px; */
    
    padding: 20px 8px 20px 8px;

    /* padding-top: 20px;
    padding-right: 8px;
    padding-bottom: 20px;
    padding-left: 8px; */

    border-radius: 28px;
    border: none;
}

header div button:hover{
    background-color:rgb(228, 228, 228) ;
    /* padding: 20px 8px; */
    
    padding: 20px 8px 20px 8px;

    /* padding-top: 20px;
    padding-right: 8px;
    padding-bottom: 20px;
    padding-left: 8px; */

    border-radius: 28px;
    border: none;
}

.parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 23px;
    grid-row-gap: 13px;
    padding: 50px;
    width: 80%;
    }

.div1 { grid-area: 1 / 1 / 2 / 2; 
background-color: aqua;}
.div2 { grid-area: 1 / 2 / 2 / 3; 
    background-color: rgb(43, 0, 255);}
.div3 { grid-area: 1 / 3 / 2 / 4; 
    background-color: aqua;}
.div4 { grid-area: 1 / 4 / 2 / 5; 
    background-color: rgb(43, 0, 255);}
.div5 { grid-area: 2 / 1 / 3 / 2; 
    background-color: aqua;}
.div6 { grid-area: 2 / 2 / 3 / 3; 
    background-color: rgb(43, 0, 255);}
.div7 { grid-area: 2 / 3 / 3 / 4; 
    background-color: aqua;}
.div8 { grid-area: 2 / 4 / 3 / 5; 
    background-color: rgb(43, 0, 255);}
.div9 { grid-area: 3 / 1 / 4 / 2; }
.div10 { grid-area: 3 / 2 / 4 / 3; }
.div11 { grid-area: 3 / 3 / 4 / 4; }
.div12 { grid-area: 3 / 4 / 4 / 5; }
.div13 { grid-area: 4 / 1 / 5 / 2; }
.div14 { grid-area: 4 / 2 / 5 / 3; }
.div15 { grid-area: 4 / 3 / 5 / 4; }
.div16 { grid-area: 4 / 4 / 5 / 5; }

footer{
    background-color:rgb(38, 0, 141);
    height: auto;
    /* position: absolute;
    bottom: 0px; */
    margin-top: auto;
    color: rgb(122, 122, 122);
    padding: 15px;

}

footer div{
    background-color: rgb(38, 0, 141);
    display: flex;
    flex-direction: row;
    margin-top: 15px;
}

footer div ul{
    list-style-type: none;

}

.footer-arriba{
    justify-content: space-between;
}

.footer-abajo{
    justify-content: space-between;
}

.footer-abajo li{
    display: inline;
    list-style-type: circle; 
}

.footer-abajo-centro{
    width: 70%;
    text-align: center;
}

.footer-abajo-centro li::after{
    content: "•";
    padding: 0 8px;
    opacity: 0.6;
    color: rgb(122, 122, 122);
}

.footer-abajo-centro li:last-child::after {
    content: "";
}

.tarjeta{
    background-color: lightgrey;
    width: 450px;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Raleway";
    margin-top: 30px;
    margin-left: 10px;
    position: relative;
}

.tarjeta:hover{
    background-color: lightgrey;
    width: 450px;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Raleway";
    margin-top: 15px;
    position: relative;
}

#color-fondo-1{
    background: #C15252;
    background: linear-gradient(168deg,rgba(193, 82, 82, 1) 38%, rgba(253, 29, 29, 1) 55%, rgba(252, 176, 69, 1) 100%);
    border-radius: 15px;
    width: 490px;
    height: 300px;
    position: absolute;
    top: 0;
}

#color-fondo-2{
    background-color: #43351b;
    border-radius: 15px;
    width: 490px;
    height: 300px;
    position: absolute;
    top: 0;
}

#color-fondo-3{
    background-color:#b2b4b3;
    border-radius: 15px;
    width: 490px;
    height: 300px;
    position: absolute;
    top: 0;
}

.tarjeta .figura{
    width: 80%;
    position: relative;
    bottom: 8px;
    height: 441.750px;
}

.tarjeta .figura:hover{
    width: 80%;
    position: relative;
    bottom: 8px;
    height: 441.750px;
    scale: 1.2;
}

h2{
    margin-top: 20px;
    margin: 0 30px;
}

.entrega{
    margin-top: 20px;
    color:rgb(83, 83, 83);
}

.precios{
    width: 450px;
    display: flex; 
    flex-direction: column;
    align-items: flex-start;
}

.tachado{
    margin-top: 20px;
    padding-left: 30px;
    color: red;
    text-decoration-line: line-through;
    font-weight: bold;
}

.precio{
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 30px;
    font-weight: bold;
    font-size: 30px;
}

.precios .carrito{
    width: 30px;
    position: absolute;
    left: 430px;
    top: 620px;
}

.precios .corazon{
    width: 30px;
    position: absolute;
    left: 430px;
    top: 20px;
}

@media screen and (max-width: 500px) {

    header{
        background-color: rgb(231, 196, 153);
    }

    body{
        background-color: rgb(230, 170, 19);
    }

    footer{
        background-color:rgb(0, 141, 141);
        color: rgb(255, 255, 255);
        margin-top: auto;
        /* position: absolute;
        bottom: 0px; */
    }

    footer div{
        background-color: rgb(0, 141, 141);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
/* 
    footer section,li,h2{
        margin-top: 15px;
    }


    header div img{
        height: 5px;
        margin-right: 10px;
    }
    
    header div input{
        width: 300px;
        height: 40px;
        border-radius: 28px;
    } */
}