@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700&display=swap');

:root{
    /* ## Colors */

    --Very_Dark_Grayish_Blue: hsl(217, 19%, 35%);
    --Desaturated_Dark_Blue: hsl(214, 17%, 51%);
    --Grayish_Blue: hsl(212, 23%, 69%);
    --Light_Grayish_Blue: hsl(210, 46%, 95%);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    background-color: var(--Light_Grayish_Blue);
}
.card{
    background-color: white;
    width: 330px;
    height: 518px;
    margin: 75px auto 50px;
    border-radius: 12px;

    position: relative;
}
.card__picture{
    background: url("images/drawers.jpg");
    background-repeat: no-repeat;
    background-position-y: -15px;
    background-size: cover;
    width: 100%;
    height: 200px;

    border-radius: 12px 12px 0 0;
}
.card__content__title{
    color: var(--Very_Dark_Grayish_Blue);
    margin: 30px 30px 12px;
    font-size: 1.24em;
    line-height: 24px;
}
.card__content__description{
    color: var(--Desaturated_Dark_Blue);
    margin: 0 42px 30px 30px; 
    font-size: 1em;
    line-height: 20px;
}
.card__content__button{
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: 30px;
    height: 30px;
    background-color: var(--Light_Grayish_Blue);
    border-radius: 50%;
    padding:8.5px 7.5px;
    z-index: 1;
}
.card__content__button:hover{
    cursor: pointer;
    background-color: var(--Desaturated_Dark_Blue);
 
}
.card__content__button:hover path{
    fill: var(--Light_Grayish_Blue);
}
.card__content__profile{
    display: flex;
    margin: 0 30px;
    gap: 15px;
}
.card__content__profile__picture{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.card__content__profile__name{
    color: var(--Very_Dark_Grayish_Blue);
    margin: 4px 0 2px;
    font-weight: 700;
}
.card__content__profile__date{
    color: var(--Grayish_Blue);
}

.card__content__social-icons{
    background-color: var(--Very_Dark_Grayish_Blue);
    width: 100%;
    height: 80px;
    padding: 20px;
    display: none;
    gap: 5px;
    align-items: center;
    border-radius: 0 0 12px 12px;
    position: absolute;
    bottom: 0;
}
.card__content__social-icons__share{
    text-transform: uppercase;
    color: var(--Grayish_Blue);
    letter-spacing: 4px;
    margin-right:10px;
    font-weight: 500;
}
.card__content__social-icons__icon{
    margin: 0 8px;
}

.show{
    display: flex;
}


/*FOOTER -------------------------*/
.attribution {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

/*VISTA DE ESCRITORIO---------------------*/
@media only screen and (min-width:745px) {
    .card{
        margin: 170px auto;
        width: 735px;
        height: 280px;
        display: flex;
    }
    .card__picture{
        background-position-y: unset;
        height: 100%;
        border-radius: 12px 0 0 12px;
    }
    .card__content{
        padding: 0 10px;
    }
    .card__content__title{
        margin-bottom: 20px;
        font-size: 1.5em;
        line-height: 26px;
    }
    .card__content__description{
        margin-bottom: 20px;
        font-size: 1em;
    }
    .card__content__button{
        right: 35px;
        bottom: 35px;
    }
    .card__content__social-icons{
        width: 250px;
        height: 56px;
        bottom: 80px;
        border-radius: 8px;
        right: -65px;
    }
    .card__content__social-icons::after{
        content: "";
        border: 10px solid;
        border-color: var(--Very_Dark_Grayish_Blue) transparent transparent transparent;
        position: absolute;
        top: 100%;
        left: 125px;
    }
}