File: D:/HostingSpaces/Neopoints/momsecurity.be/resources/sass/5-Components/_components.serviceType.scss
$serviceTypeBp : 950;
.c-service-type__grid {
@include mq($max: $serviceTypeBp) {
> * {
margin-top: 40px;
}
}
@include mq($serviceTypeBp) {
display: flex;
justify-content: space-between;
align-items: flex-start;
background: white;
box-shadow: 0 10px 20px -15px rgba(104,153,252,0.50), 0 20px 40px -10px rgba(104,153,252,0.10);
border-radius: 20px;
> * {
width: 50%;
}
}
}
.c-service-type__item {
display: block;
padding: 70px;
text-decoration: none;
background-color: white;
@include mq($max: $serviceTypeBp) {
box-shadow: 0 10px 20px -15px rgba(104,153,252,0.50), 0 20px 40px -10px rgba(104,153,252,0.10);
border-radius: 20px;
padding: 40px;
margin-left: auto;
margin-right: auto;
@include mq(760) {
max-width: 580px;
}
}
@include mq($serviceTypeBp) {
position: relative;
background-color: transparent;
&:last-child {
&:after {
position: absolute;
top: 70px;
left: 0;
content: '';
display: block;
width: 1px;
height: calc(100% - 140px);
background-color: rgba(palette(primary, 400), 0.25);
}
}
}
}
.c-service-type__icon {
width: 85px;
margin: 0 auto 30px;
}
.c-service-type__content {
text-align: center;
@include font-size(16, 24);
margin-bottom: 30px;
h2 {
@include font-size(28);
font-weight: 500;
}
p {
max-width: 480px;
margin-left: auto;
margin-right: auto;
}
}
.c-service-type__button {
text-align: center;
.c-button--ghost {
color: palette(primary, 300)
}
}