@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body{
     background: #ebebec;
}

.container__cards{
    max-width: 1200px;
    margin: auto;
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    
}

.card{
    width: 300px;
    margin: 10px;
    transition: all 300ms;
    border-radius: 20px;


}

.card:hover{
    width: 350px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
	transform: translateY(-3%);
}

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

.card .cover img{
    width: 100%;
    display: block;
    margin: auto;
    position: relative;
    border-radius: 20px;
    top: 20px;
    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(../images/bg1.jpg);
}

.card:nth-of-type(2) .img__back{
    background-image: url(../images/bg2.jpg);
}

.card:nth-of-type(3) .img__back{
    background-image: url(../images/bg3.jpg);
}

.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;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.card .description p{
    margin-top: 10px;
    
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card .description a{
	display: inline-block;
	padding: 10px;
	margin-top: 10px;
	text-decoration: none;
	color: #eb0808;
	border: 1px solid #eb0808;
	border-radius: 4px;
	transition: all 400ms ease;
	margin-bottom: 5px;
   
}
.card .description a:hover{
	background: #eb0808;
	color: #fff;
}
.card .description input{
    padding: 10px 40px;
    margin-top: 20px;
    border: none;
    background: #eb0808;
    color: white;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 300ms;
}

.card .description input:hover{
    background: #7b7979;
   
	color: #fff;
}



.container {
    width: 85vw;
   max-width: 1200px;
   min-width: 320px;
   margin: auto;
 
 
}
img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 3px 5px rgba(15,15,15, .5);
}




.capa-gradient{
    width: 100%;
   width: 100%;
    position: absolute;
    background: -webkit-linear-gradient(left, #0672d0);
    opacity: 0.5;
}

.container-details{
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: auto;
}


.details{
    width: 100%;
    max-width: 500px;
    position: relative;
    top: 20px;
    color: white;
}

.details h1{
    font-size: 40px;
    font-weight: 100;
    margin-left: 10px;
}

.details p{
    margin-top: 10px;
    font-size: 20px;
    font-weight: 100;
    margin-left: 10px;
}

.details button{
    padding: 10px 20px;
    font-size: 16px;
    background: none;
    border-style: none;
    border: 1px solid white;
    color: white;
    margin-top: 20px;
    transition: background 300ms;
    cursor: pointer;
    margin-left: 10px;
}

.details button:hover{
    background: white;
    color: black;
}
.text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}