:root {
    --very-dark-blue:               hsl(217, 54%, 11%);
    --light-very-dark-blue:         hsl(216, 58%, 16%);
    --indigo-dye:                  hsl(215, 32%, 27%);  /* hsl(215, 51%, 70%);rayita separador*/
    --blue-yonder:                 hsl(216, 38%, 55%);
    --cyan:                        hsl(178, 100%, 50%);
    --white:                       hsl(0, 0%, 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html {
    font-family: "Outfit" sans-serif;
}

a { text-decoration: none; }

body {
    background: var(--very-dark-blue);
    min-height: 100vh; /*Lo centra*/
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
    



.card {
    background: var(--light-very-dark-blue);
    max-width: 350px;
    padding: 24px;
    border-radius: 15px;
    box-shadow: 0px 20px 25px 15px rgba(0, 0, 0, 0.05),
                0px 40px 30px 15px rgba(0, 0, 0, 0.1);
}

.card_product-img {

    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.card_product-img::after {
    --cyan: hsl(178, 100%, 50%, 0.5);
    content: url(./images/icon-view.svg);
    background: var(--cyan);
    position: absolute;
    inset: 0;
    display:           flex;
    justify-content: center;
    align-items: center;    
    opacity: 0;
    transition: all 0.23s ease; 
}

.card_product-img:hover::after {  opacity: 1; }


.card_product-img img {
    width: 100%;
    display: block;
}

.card_body {
    padding: 23px  0;
    border-bottom: 1px solid var(--indigo-dye); /*rayita separador*/
    margin-bottom: 15px; /*rayita separador*/
}

.card_title {
    color: var(--white);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
   }
   
   .card_title:hover { color: var(--cyan); }

   .card_text {
    font-family: Outfit;
    color:  var(--blue-yonder);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 23px;

}

.card_body .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.card_price,
.card_clock {

    display: flex ;
    align-items: center;
    font-weight:500;
}

.card_price {  color: var(--cyan); }
    
.card_icon { margin-right: 6px; }

.card_clock { color: var(--blue-yonder);}


.card_footer {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.card_author-img {
    
    width: 34px;
    height: 34px;
    border: 2px solid var(--white);
    border-radius: 50px;
    margin-right: 15px;
}

.card_author-name {

    color: var(--blue-yonder);
    font-weight: 500;
}

.card_author-name a {
    color: var(--white);
    font-weight: 400;
}

.card_author-name a:hover { color: var(--cyan); }

