@import url(base.css);
.servicios{
    padding: 40px;
}
.servicios h1{
    font-size: 40px;
    font-weight: bold;
    color: var(--azulMedio);
    text-align: center;
    margin-bottom: 40px;
}
.servicios .subtitulo{
    color: var(--azulOscuro);
    margin: auto;
    max-width: 800px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 20px;
}
.serviciosCont{
    margin: auto;
    max-width: 1200px;
    height: 600px;
    position: relative;
}
.sombra{
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 500px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.15), -6px -6px 6px white;
    z-index: -1;
    border-radius: 20px;
    background-color: var(--semiblanco);
    transition: all 0.3s ease;
}
.card{
    height: 100px;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--gris);
    padding: 20px;
    background-color: var(--semiblanco);
    overflow: hidden;
    display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
.card:nth-child(2){
    border-radius: 20px 20px 0px 0px;
}
.card:last-child{
    border-bottom: 3px transparent var(--gris);
    border-radius: 0px 0px 20px 20px;
}
.card:hover{
    height: 200px;
    background-color: var(--azulMedio);
    border-bottom: 3px transparent var(--gris);
}
.serviciosCont:hover .sombra{
    height: 600px;
}
.card:hover p, .card:hover h2, .card:hover i{
    color: var(--blanco);
}
.card h2{
    color: var(--azulOscuro);
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.izquierda{
    min-width: 250px;
}
.izquierda p{
    text-align: left;
    transition: all 0.3s ease;
    color: var(--azulOscuro);
    height: 60px;
    margin-bottom: 20px;
}
.izquierda .boton{
    font-size: 16px;
}
.contBoton{
    height: 60px;
    display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}
.boton{
    text-decoration: none;
    display: inline-block;
}
.derecha{
    width: 100%;
}
.tituloTags{
    height: 60px;
    display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
	align-content: stretch;
    gap: 10px;
    margin-bottom: 20px;
}
.tags{
    display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	align-content: stretch;
    gap: 10px;
}
.tags p{
    transition: all 0.3s ease;
    font-size: 12px;
    color: var(--azulOscuro);
}
.tags i{
    color: var(--azulOscuro);
    transition: all 0.3s ease;
    font-size: 6px;
}
.descripcion{
    font-size: 16px;
}
.serviciosMobile{
    display: none;
}
@media only screen and (min-width: 0px) and (max-width: 1200px){
    .servicios{
        padding: 20px;
    }
    .servicios h1{
        font-size: 30px;
        margin-bottom: 20px;
    }
    .servicios .subtitulo{
        font-size: 16px;
        margin-bottom: 20px;
    }
    .sombra{
        display: none;
    }
    .serviciosCont{
        display: none;
    }
    .serviciosMobile{
        display: block;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        align-content: center;
        gap: 20px;
    }
    .cardMobile{
        padding: 20px;
        box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.15), -6px -6px 6px white;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
    .cardMobile h2{
        text-align: center;
    }
    .cardMobile h2, .descripcion{
        color: var(--azulOscuro);
        margin-bottom: 20px;
    }
    .tituloTags{
        height: auto;
    }
    .tags{
        margin: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: stretch;
    }
    .boton{
        margin: auto;
    }
}