160 lines
2.1 KiB
SCSS
160 lines
2.1 KiB
SCSS
.root {
|
|
min-width: 0;
|
|
}
|
|
|
|
.heading {
|
|
margin-bottom: 20px;
|
|
color: var(--on-background-secondary);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 48px;
|
|
}
|
|
|
|
.link {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: 36px;
|
|
|
|
&:focus-visible {
|
|
outline: 3px solid #0058ff;
|
|
outline-offset: 6px;
|
|
}
|
|
}
|
|
|
|
.card {
|
|
position: relative;
|
|
height: 100%;
|
|
min-height: 300px;
|
|
transition: box-shadow 180ms ease;
|
|
cursor: none;
|
|
}
|
|
|
|
.privacy {
|
|
--background: #d8e2ff;
|
|
--on-background: #2c4678;
|
|
--on-background-secondary: #455e91;
|
|
}
|
|
|
|
.terms {
|
|
--background: #f3edf7;
|
|
--on-background: #715573;
|
|
--on-background-secondary: #725d7c;
|
|
}
|
|
|
|
.title {
|
|
max-width: 460px;
|
|
padding-right: 32px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.description {
|
|
max-width: 460px;
|
|
line-height: 1.6;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.content {
|
|
margin-top: 32px;
|
|
}
|
|
|
|
.star {
|
|
position: absolute;
|
|
right: -58px;
|
|
top: -74px;
|
|
opacity: 0.12;
|
|
pointer-events: none;
|
|
|
|
svg {
|
|
width: 220px;
|
|
height: 220px;
|
|
}
|
|
}
|
|
|
|
.action {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
font-weight: 700;
|
|
color: var(--on-background);
|
|
}
|
|
|
|
.arrow {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: #ffffff80;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|
|
|
|
.number {
|
|
position: absolute;
|
|
right: 36px;
|
|
bottom: 42px;
|
|
color: var(--on-background-secondary);
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
@media screen and (max-width: 1240px) {
|
|
.cards {
|
|
gap: 36px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 980px) {
|
|
.cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.card {
|
|
min-height: 260px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 800px) {
|
|
.cards {
|
|
gap: 24px;
|
|
}
|
|
|
|
.description {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
.cards {
|
|
gap: 16px;
|
|
}
|
|
|
|
.card {
|
|
padding: 28px;
|
|
}
|
|
|
|
.title {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.number {
|
|
right: 28px;
|
|
bottom: 38px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.card {
|
|
transition: none;
|
|
}
|
|
}
|