-
Why use Moodist?
-
+
+
Why use Moodist?
+
@@ -95,30 +100,39 @@ const reasons = [
.why {
padding-bottom: 80px;
- & .titleWrapper {
+ & .iconContainer {
display: flex;
- column-gap: 12px;
+ flex-direction: column;
align-items: center;
+ margin-bottom: 15px;
- & .title {
- margin-bottom: 12px;
- font-family: var(--font-display);
- font-size: var(--font-lg);
- font-weight: 600;
+ & .tail {
+ width: 1px;
+ height: 75px;
+ background: linear-gradient(transparent, var(--color-neutral-300));
}
- & .line {
- flex-grow: 1;
- height: 1px;
- background: linear-gradient(
- 90deg,
- var(--color-neutral-300),
- transparent
- );
- transform: translateY(-0.25rem);
+ & .icon {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 45px;
+ height: 45px;
+ font-size: var(--font-base);
+ background-color: var(--color-neutral-100);
+ border: 1px solid var(--color-neutral-300);
+ border-radius: 50%;
}
}
+ & .title {
+ margin-bottom: 12px;
+ font-family: var(--font-display);
+ font-size: var(--font-lg);
+ font-weight: 600;
+ text-align: center;
+ }
+
& .reasons {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
@@ -132,7 +146,7 @@ const reasons = [
justify-content: center;
width: 40px;
height: 40px;
- margin-bottom: 12px;
+ margin: 0 auto 12px;
font-size: var(--font-md);
color: var(--color-foreground-subtle);
background: linear-gradient(var(--color-neutral-100), transparent);
@@ -144,11 +158,16 @@ const reasons = [
margin-bottom: 8px;
font-family: var(--font-heading);
font-weight: 600;
+ text-align: center;
}
& .body {
+ width: 100%;
+ max-width: 250px;
+ margin: 0 auto;
line-height: 1.6;
color: var(--color-foreground-subtle);
+ text-align: center;
}
& .link {
@@ -157,6 +176,7 @@ const reasons = [
font-size: var(--font-sm);
font-weight: 500;
color: var(--color-foreground);
+ text-align: center;
text-decoration: none;
}
}