html, body{
    margin: 0;
    padding: 0;
}

body {
   /*  background: #43cea2;
    background: -webkit-linear-gradient(to right, #185a9d, #43cea2);
    background: linear-gradient(to right, #185a9d, #43cea2);  */
    background: #F4F6FA;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    letter-spacing: 0.0 3em;
    line-height: 1.6;
    align-items: center;
}

.title{
    text-align: center; 
    font-size: 40px;
    color: #6a6a6a;
    margin-top: 100px; 
    font-weight: 100;
}

.container{
    width: 100%;
    
    height: 430px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin: auto;
}

.container .card{

    width: 330px;
    height: 480px;
    border-radius: 25px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    overflow: hidden;
    margin: 20px; /*separacion entre cards*/
    text-align: center;
    transition: all 0.25s;
    align-items: center;
    
}

.container .card:hover{
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0,0.2);
}

.container .card img{
    width: 330px;
    height: 220px;
    align-items: center;

}

.container .card h4{
    font-weight: 600;
    margin-top: 10px;
}

.container .card p{
    padding: 0 1rem;
    font-size: 16px;
    font-weight: 300;
    max-height:100px ;
    min-height:100px ;

    overflow: hidden;

}

.container .card a{
    font-weight: 500;
    text-decoration: none;
    border: 1px solid ;
    text-align: center;
    padding:  10px;
    color: #24bfcc;
    width: 45%;
    border-radius: 9px;

    
}
.container .card a:hover{
    background-color: #24bfcc ;
    color: #fff;

}



/* .tamaño{
    width: 340px;
    height: 230px;
}


.nav-link.activo{
    color: #000;
    outline: 0 none;
}

.card-title{
    position: static;
    min-height: 45px ;
    width: 100%;
    max-height: 45px ;

    word-wrap: break-word;
    overflow: auto;
}
.card-text{
    position: static;
    font-size: medium;
    word-wrap: break-word;
    width: 100%;
    min-height: 45px ;
    max-height: 45px ;

    overflow: auto;


} */

@media (max-width: 800px) {
    html, body{
        margin: 0;
        padding: 0;
    }
    
    body {
       /*  background: #43cea2;
        background: -webkit-linear-gradient(to right, #185a9d, #43cea2);
        background: linear-gradient(to right, #185a9d, #43cea2);  */
        background-color: rgba(4, 7, 7, 0.918);
        background-size: 100%;
        width: 100%;
        height: 100%;
        font-family: sans-serif;
        letter-spacing: 0.0 3em;
        line-height: 1.6;
        align-items: center;
    }
    
    .title{
        text-align: center; 
        font-size: 8vw;
        text-shadow: 4vw 0vw 5vw  #ffffff;
        color: #dfd7d7;
        margin-top: 100px; 
        font-weight: 100;
    }
    
    .container{
        width: 100%;
        max-width: 1200px;
        height: 430px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        margin: auto;
    }
    
    .container .card{
    
        width: 38vw;
        height: 63vw;
        border-radius: 3vw;
        box-shadow: 0 2px 2px rgba(145, 135, 135, 0.918);
        overflow: hidden;
        margin: 2vw; /*separacion entre cards*/
        text-align: center;
        transition: all 0.25s;
        align-items: center;
        
    }
    
    .container .card:hover{
        transform: translateY(-15px);
        box-shadow: 0 12px 16px rgba(133, 122, 122, 0.952);
    }
    
    .container .card img{
        width: 100%;
        height: 40%;
        align-items: center;
    
    }
    
    .container .card h4{
        font-weight: 1vw;
        font-size: 3.7vw;
        margin-top: 3px;
        min-height: 25px;
        max-height: 25px;


    }
    
    .container .card p{
        padding: 0 1rem;
        font-size: 3vw;
        font-weight: 1vw;
        max-height: 13vw ;
        min-height: 13vw ;
        overflow: auto;
        
        bottom: 50px;
        padding: 2vw;
    }
    
    .container .card a{
        font-weight: 3vw;
        font-size: 3vw;
        text-decoration: none;
        border: 1px solid ;
        text-align: center;
        padding: 1.5vw;
        color: #24bfcc;
        width: 10vw;
        height: 10vw;
        border-radius: 1vw;
        
        
    
        
    }
    .container .card a:hover{
        background-color: #24bfcc ;
        color: #fff;
    
    }
    
    .nav-link{
        color: rgb(161, 142, 142);
    }
    
   
    
    .nav-link:hover{
        color: rgb(255, 255, 255);
        outline: 0 none;
    }
   
    
    
}