@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/* ================VARIABLES================ */

/* colores */
:root{
    --first-color:#E3F8FF;
    --second-color:#DCFAFB;
    --third-color:#FFE8DF;
    --accent-color:#FF5151;
    --dark-color:#161616;
}

/* Tipografia Responsive */
:root{
    --body-font:'Open Sans';
    --h1-font-size:1.5rem;
    --h3-font-size:1rem;
    --normal-font-size:0.938rem;
    --smaller-font-size:0.75rem;
}

@media screen and (min-width:768px){
    :root{
        --h1-font-size:2rem;
        --normal-font-size:1rem;
        --smaller-font-size:0.813rem;
    }
}

/* BASE */
*,::after,::before{
    box-sizing: border-box;
}

/* body{
    margin: 2rem 0 0 0;
    background-color: #fff;
    color: var(--dark-color);
    font-family: var(--body-font);
}

img{
    max-width: 100%;
    height: auto;
}

a{
    text-decoration: none;
} */

/*============ LAYOUT============ */
.main{
    padding: 2rem 0;
}

.bd-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 1640px;
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    /* align-items: center; */
    gap: 2rem;
}

.card .card__img img{
    width: 180px;
    
    height: 180px;
}
/* PAGES */
.title-shop{
    /* position: relative; */
    /* margin:0 2.5rem; */
}


/* COMPONENT */
.card{
    position:relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.036);
    box-shadow: 0 .5rem 1rem  #c3d1e63a;
    transition: all .2s ease-in-out;
}
.video__body main article{
    align-items: start;
    flex-direction: row;
    gap: 12px;
}
.video__body main article img{
   width: 42px;
   height:42px;
}
.video__body main article div h3{
    padding-bottom: 4px;
 }
.card__img{
    width: 180px;
    height: auto;
    padding: 3rem 0;
    transition: .5s;
}

.card__name{
    width: 100%;
   /* position: absolute; */
   /* left: -25%; */
   top: 0;
   /* width: 3.5rem; */
   /* height: 100%; */
   /* writing-mode: vertical-rl; */
   /* transform: rotate(180deg); */
   /* text-align: left; */
   /* background-color: var(--dark-color); */
   /* color: #fff; */
   font-weight: bold;
   transition: .5s;
}

.card__icon{
    font-size: 1.5rem;
}


.card__precis{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transition: .5s;
    /* color: #16161636;
     */
    color: #565656;

}

.card__preci{
    display: block;
    text-align: center;
}

.card__preci--before{
    font-size: var(--smaller-font-size);
    color: var(--accent-color);
    margin-bottom: .25rem;
}

.card__preci--now{
    font-size: var(--h3-font-size);
    font-weight: bold;
}
.shop__content_1 main article{
    box-shadow: none;
}
.shop__content_1 main article:hover{
    box-shadow: none;
}

/* Hover move left */
.card:hover{
    box-shadow: 0 .5rem 1rem  #d1d9e6;
}
.shop__content_1 main article{
    display: block;
}
.shop__content_1 main article div h3{
    padding-bottom: 4px;
}
/* 
.card:hover .card__name{
    left: 0;
}

.card:hover .card__img{
    transform: rotate(30deg);
    margin-left: 3.5rem;
}

.card:hover .card__precis{
    margin-left:3.5rem;
    padding: 0 1.5rem;
} */

/* MEDIA QUERIES */

@media screen and (min-width:1056px){
    /* body{
        margin:13rem 0 0 0 ;
    } */

    .title-shop{
        /* margin: 0 5rem; */
    }

    .bd-grid{
        margin-left: auto;
        margin-right: auto;
    }
}


.shop__contnet__header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card__img img{
    object-fit: contain;
}