@import 'https://fonts.googleapis.com/css?family=Rubik+One';
@import 'https://fonts.googleapis.com/css?family=Dosis';

*{
    /*margin: 0;
    padding: 0;
    box-sizing: border-box;*/
    font-family: 'Dosis', sans-serif;
}
/*
body{
    background-color: #f1faff;
}
*/
.container__cards{
    /*background-color: blue;*/
    max-width: 1200px;
    margin: auto;
    margin-top: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card{
    width: 300px;
    margin: 10px;
    transition: all 300ms;
}

.card:hover{
    width: 350px;
}

.card .cover{
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card .cover img{
    width: 250px;
    display: block;
    margin: auto;
    position: relative;
    top: 40px;
    z-index: 1;
    filter: drop-shadow(5px 5px 4px rgba(0,0,0,0.5));
    transition: all 400ms;
}

.card:hover .cover img{
    top: 0px;
    filter: none;
}

.card .img__back{
    width: 100%;
    height: 200px;
    position: absolute;
    bottom: -80px;
    left: 0;
    background-size: cover;
    border-radius: 20px;
    transition: all 300ms;
}

.card:nth-of-type(1) .img__back{
    background-image: url(../img/Fondo3.png);
}

.card:nth-of-type(2) .img__back{
    background-image: url(../img/Fondo3.png);
}

.card:nth-of-type(3) .img__back{
    background-image: url(../img/Fondo3.png);
}

.card:hover .img__back{
    bottom: -40px;
}

.card .description{
    background: white;
    margin-top: -10px;
    padding: 20px;
    border-radius: 0px 0px 20px 20px;
    transition: all 300ms;
}

.card:hover .description{
    padding: 40px;
}

.card .description h2{
    margin-top: 10px;
}

.card .description p{
    margin-top: 10px;
}

.card .description input{
    padding: 2px 40px;
    margin-top: 10px;
    border: none;
    background: rgb(230, 12, 38);
    color: rgb(255, 255, 255);
    font-size:20px;
    cursor: pointer;
    border-radius: 20px;
    height: 30px;
    transition: all 300ms;
}

.card .description input:hover{
    background: rgb(109, 5, 17);
    color:white;
}