@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



.container__card{
    max-width: 1200px;
    *padding: 20px;
    *padding-bottom: 40px;
    margin: auto;
    margin-left: auto;
    *margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card{
    width: 280px;
    height: 200px;
    position: relative;
    margin: 10px;
    margin-top: 0;
    *font-family: 'Poppins', sans-serif;
    transition: all 300ms;
    border-radius: 5px;
}

.card:hover{
    box-shadow: 1px 1px 20px -10px #20202049;
}

.card:hover .info__description{
    margin-top: 0;
    border-radius: 0px 0px 5px 5px;
    box-shadow: 0px 5px 20px 1px #FFFCFC;
}

.card:hover .icont{
    margin-top: -110px;
    border-radius: 5px 5px 0px 0px;
    box-shadow: 0px -5px 20px 1px #FFFCFC;
}

.icont{
    width: 100%;
    height: 220px;
    background: #EFF3F5;
    *padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 400ms cubic-bezier(0.5,0,0,1);
    border-radius: 5px;
}

.icont i{
    font-size: 150px;
    color: #fff;
    transition: all 400ms cubic-bezier(0.5,0,0,1);
}

.icont img{
    width: 100%;
    border-radius: 5px;
    color: #fff;
    transition: all 400ms cubic-bezier(0.5,0,0,1);
}

.icont .flexslider{
    position: absolute;
    width: 100%;
    height: inherit;
    *border-radius: 5px;
    background: #EFF3F5;
    border-color:#EFF3F5;
}

.icont h3{
    text-align: center;
    color: black;
    font-size: 20px;
    text-shadow: none;
    font-weight: 500;
}

.info__description{ /*cuadro contenedor descripcion*/
    width: 100%;
    height: 100%;
    color:yellow;
    background:#2C3E50;
    padding: 20px;
    margin-top: -220px;
    transition: all 400ms cubic-bezier(0.5,0,0,1);
    border-radius: 5px;
}
.info__description p{
    *font-size: 14px;
    *line-height: normal;
    *margin-top: 15px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

.info__description .btn5{
    margin-top:-20px;
    width: auto;
    padding: 0px 40px;
    background: #2196f3;
    color: white;
    font-weight: 500;
    *font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    box-shadow: 1px 1px 30px -5px #20202049;
    transition: box-shadow 300ms;
    z-index: auto;
}


.info__description .btn5:hover{
    box-shadow: 1px 1px 30px -5px #20202070;
}

/*color de las tarjetas*/
/*.c1:hover .icont{
    background: #dd4b25;    
}

/*.c1 .icont i{
    color:#dd4b25; 
}

.c1:hover .icont i{
    color:#fff; 
}

.c2:hover .icont{
    background: #146eb0;    
}

.c2 .icont i{
    color:#146eb0; 
}

.c2:hover .icont i{
    color:#fff; 
}

.c3:hover .icont{
    background: #e8b600;    
}

.c3 .icont i{
    color:#e8b600; 
}

.c3:hover .icont i{
    color:#fff; 
}

.c4:hover .icont{
    background: #e8b600;    
}

.c4 .icont i{
    color:#e8b600; 
}

.c4:hover .icont i{
    color:#fff; 
}*/

@media screen and (max-width: 767px) {
    
    .card{
        max-width: 100%;
        *padding-top: 15px;
        margin: 20px;
        position: relative;
        z-index: 1;
    }
    .container__card{
        margin-left: 0px;
    }
    .card:hover .info__description{
    border-radius: 0px 0px 5px 5px;
        
}
    .icont .flexslider{
        height: auto;
    }
    .info__description{
        height: auto;
        *margin-left: 10px;
    }
    .card:hover{
        z-index: 3;
        position: relative;
    }
    .card:hover ~ .card{
        opacity: 25%;
    }
}

@media screen and (min-width: 767px) and (max-width: 1200px) {
    .card{
        width:240px;
        margin-left:5px;
        margin-right: 5px;
    }
    .card .flexslider h3{
        font-size: inherit;
    }
    .icont{
        height: 100%;
    }
    .info__description{
        margin-top: -200px;
    }
    
}