@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

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


header{
    height: 100px;
    background: cadetblue;
    width: 100% ;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h2{
    padding: 30px 20px;
}

header .boton a{
    text-decoration: none;
    margin-right: 40px;
    color: rgba(0,0,0,1);
    background: rgba(255,255,255,.5);
    border-radius: 20px;
    font-size: 20px;
    text-align: center;
    width: 100%;
    padding: 15px;
}

header .boton a:hover{
    transition: .5s ease;
    background: rgba(255,255,255,1);
}

h3{
    text-align: center;
    margin: 50px 30px 0;
    font-size: 30px;
}


/* Tarjetas */

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

.container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    justify-content: center;
    margin-top: 50px;
}

.card{
    width: 25%;
    margin: 20px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 1pxx 10px rgba(0,0,0,.2);
    cursor: default;
    transition: all 400ms ease;
}

.card img{
    width: 100%;
}

.card .contenido{
    padding: 15px;
    text-align: center;
}

.card .contenido p{
    line-height: 1.5;
    color: #6a6a6a;
}

.card .contenido h3{
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 15px;
}

.card .contenido a{
    text-decoration: none;
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
    color: royalblue;
    border: 1px solid royalblue;
    border-radius: 4px;
    transition: all 400ms ease;
}

.card .contenido a:hover{
    background: #2fb4cc;
    color: #fff;
}

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



/* Pie de pagina */

footer {
    margin-top:50px;
    margin-bottom: 0;
    width: 100%;
    height: 200px;
    background: rgba(0,0,0,.3);
}

footer .colum{
    margin: 30px 0px;
    width: 70%;
    margin: auto;
    height: 100px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

footer .colum .acerca,
footer .colum .servicios,
footer .colum .contacto{
    text-align: center;
    height: 100px;
}

footer .colum .contacto{
    margin-top: 0;
}

footer .colum strong{
    color: rgba(0,0,0,.8);
}

footer .colum ul{
    list-style: none;
}

footer .colum ul li a{
    text-decoration: none;
    color: rgba(0,0,0,.7);
}

footer .colum ul li a:hover{
    transition: .3s ease;
    color: royalblue;
}



@media screen and (max-width:1000px){

.card{
    width: 35%;
}

}

@media screen and (max-width:850px){

    .card{
        width: 50%;
    }
    
}

@media screen and (max-width:700px){

    header{
        display: block;
        height: 150px;
    }

    header .logo{
        width: 100%;
        text-align: center;
    }

    header .logo h2{
        font-size: 20px;
    }

    header .boton{
        width: 100%;
        text-align: center;
    }

    header .boton a{
        margin-right: 0px;
        font-size: 20px;
    }

}

@media screen and (max-width:600px){

    .card{
        width: 60%;
    }

}