.featurelist-section { position: relative; } .featurelist { list-style: none; margin: 0.25rem 0.5rem; display: flex; flex-direction: column; } .featurelist-item { position: relative; display: flex; gap: 0.618rem; flex-direction: column; align-items: center; margin-block: 0.618rem; border-radius: 9px; background-color: hsl(var(--blue) 60 98); padding-inline: 0.618rem; padding-block: 1.217rem; border: 1px solid hsl(var(--blue) 9 75); &::before { content: ""; position: absolute; inset: 0.618rem; background-image: radial-gradient( hsl(var(--blue) 9 75) 1px, transparent 1px ); background-position: 50% 50%; background-size: 1.1rem 1.1rem; } } html.dark .featurelist-item { background-color: hsla(var(--blue) 100 81 / 0.05); border-color: hsla(0 0 100 / 0.05); &::before { background-image: radial-gradient( hsla(0 0 100 / 0.1) 1px, transparent 1px ); } } .feature-text { text-align: center; font-size: 1.2rem; & .feature-title { margin-bottom: 0.517rem; } & .feature-subtitle { color: #303030; } } html.dark .feature-text { & .feature-subtitle { color: #afafaf; } } .feature-showcase { max-width: 75svw; max-height: min-content; height: 15rem; display: flex; justify-content: center; & video { scale: 0.85; aspect-ratio: 16 / 9; border-radius: 0.681rem; } & .shiki { margin-block: unset; font-size: 0.55rem; } } html:not(.dark) .feature-showcase .shiki, html:not(.dark) .feature-showcase .shiki span { background-color: #ffffff; } .feature-cloud { position: relative; margin: auto; max-width: 21.5rem; height: 100%; animation: spin 40s linear infinite; & .cloud-item { position: absolute; scale: 0.8; &.wayland { transform: translate(-50%, 0); } &.hyprland { transform: translate(-50%, 0) rotate(72deg); & > div { transform: rotate(-72deg); } } &.pipewire { transform: translate(-50%, 0) rotate(144deg); & > div { transform: rotate(-144deg); } } &.x-org { transform: translate(-50%, 0) rotate(216deg); & > div { transform: rotate(-216deg); } } &.sway { transform: translate(-50%, 0) rotate(288deg); & > div { transform: rotate(-288deg); } } & img, svg { animation: counter-spin 40s linear infinite; width: 60px; height: 60px; } left: 50%; height: 100%; } } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes counter-spin { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } } @media (min-width: 40rem) { .feature-showcase { height: 21rem; } } @media (min-width: 68rem) { .featurelist { max-width: 75rem; margin: 1rem 1.618rem; width: auto; align-items: center; } .feature-text { margin: 0 2.218rem; } .featurelist-item { width: 100%; padding: unset; padding: 1.217rem; justify-content: space-between; flex-direction: row; } .featurelist-item.right { flex-direction: row-reverse; } .feature-text { text-align: left; } .feature-showcase { width: auto; aspect-ratio: 16 / 9; & video { scale: 1; } & .shiki { font-size: 1rem; } & .cloud-item { scale: 1; & img, svg { width: 80px; height: 80px; } } } }