moodist/src/components/sections/why/why.module.css
2023-12-07 17:22:36 +03:30

65 lines
1.3 KiB
CSS

.why {
padding-bottom: 80px;
& .titleWrapper {
display: flex;
align-items: center;
column-gap: 12px;
& .title {
margin-bottom: 12px;
font-family: var(--font-display);
font-size: var(--font-lg);
font-weight: 600;
}
& .line {
height: 1px;
flex-grow: 1;
background: linear-gradient(90deg, var(--color-neutral-300), transparent);
transform: translateY(-0.25rem);
}
}
& .reasons {
display: grid;
margin-top: 24px;
column-gap: 20px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
row-gap: 28px;
& .icon {
display: flex;
width: 40px;
height: 40px;
align-items: center;
justify-content: center;
border: 1px solid var(--color-neutral-200);
border-radius: 12px;
margin-bottom: 12px;
background: linear-gradient(var(--color-neutral-100), transparent);
color: #34d399;
font-size: var(--font-md);
}
& .label {
margin-bottom: 8px;
font-family: var(--font-heading);
font-weight: 600;
}
& .body {
color: var(--color-foreground-subtle);
line-height: 1.6;
}
& .link {
display: block;
margin-top: 8px;
color: var(--color-foreground);
font-size: var(--font-sm);
font-weight: 500;
text-decoration: none;
}
}
}