/** * A collection of popular layouts and patterns made with CSS (https://csslayout.io) * (c) 2019 - 2021 Nguyen Huu Phuoc */ .home__features { display: flex; flex-wrap: wrap; margin: 2.5rem auto; max-width: 48rem; } .home__feature { padding: 1rem; text-align: center; width: 50%; } .home__icon { color: var(--color-blue-6); margin-bottom: 1rem; } .home__title { color: var(--color-gray-5); font-size: 1.5rem; font-weight: 600; } .home__patterns { height: 60rem; overflow: hidden; position: relative; } .home__overlay { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: center; left: 0; position: absolute; top: 0; width: 100%; z-index: 10; } .home__heading { color: var(--color-gray-9); font-size: 3rem; font-weight: 600; margin: 1rem; text-align: center; } .home__explore { background-color: var(--background-color); border-radius: 0.4rem; color: var(--color-gray-9); font-size: 1.5rem; font-weight: 600; padding: 1rem 2rem; } .home__sliders { align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; height: 180rem; opacity: 0.8; } .home__slide { animation: slide 20s linear infinite; display: flex; flex-wrap: wrap; height: 60rem; justify-content: center; width: 60rem; will-change: transform; } .home__soon { background: #1e1d6e; border-radius: 9999px; color: #fff; display: inline-block; padding: 0.125rem 1rem; } @keyframes slide { from { transform: translateY(0); } to { transform: translateY(-100%); } }