%PDF- %PDF-
Direktori : /var/www/html/styles/ |
Current File : /var/www/html/styles/NewsFeed.css |
.mainNewsFeed { background: #ecf9fe; } .mainNewsFeed .intro { position: relative; width: 100%; padding: 20rem 0 8rem 0; display: flex; justify-content: center; align-items: center; flex-direction: column; /* overflow: hidden; */ } .mainNewsFeed .newsBackground svg { width: 100%; position: absolute; top: -10rem; left: 0; z-index: 10; } @media(max-width: 1440px) { .mainNewsFeed .newsBackground svg { top: -25rem; } } @media(max-width: 1024px) { .mainNewsFeed .newsBackground svg { display: none; } } .mainNewsFeed .intro .animationWrap { position: relative; width: 100%; } .mainNewsFeed .intro .animate { display: flex; position: absolute; animation: loopingText 10s linear infinite; width: 200%; right: 0; top: 12rem; transform: translate(0, -50%); } .mainNewsFeed .intro .items { display: flex; width: 50%; justify-content: space-around; } .mainNewsFeed .intro .items span { font-family: "Anton"; font-style: normal; font-weight: normal; font-size: 39.8rem; line-height: 60rem; letter-spacing: -0.02em; text-transform: uppercase; color: #d8f4fc; } .mainNewsFeed .intro h1 { font-family: "Anton"; font-style: normal; font-weight: normal; font-size: 7.5rem; line-height: 8rem; text-align: center; letter-spacing: 0.005em; text-transform: uppercase; color: #2d2d2d; margin: 0; z-index: 999; } .mainNewsFeed .intro h1 span { color: #f26739; } .mainNewsFeed .intro .newsDiv { display: flex; justify-content: center; align-items: center; background-color: #2d2d2d; width: 14.1rem; height: 3.3rem; margin-bottom: 3.2rem; transform: rotate(1.8deg); z-index: 999; } .mainNewsFeed .intro .newsDiv h4 { font-family: "Inter"; font-style: normal; font-weight: bold; font-size: 1.4rem; line-height: 1.7rem; letter-spacing: -0.005em; text-transform: uppercase; color: #ffffff; transform: rotate(-1.8deg); } .mainNewsFeed .feedContent { padding: 9rem; display: flex; justify-content: center; flex-wrap: wrap; } .mainNewsFeed .card { display: flex; flex-direction: column; width: 50.4rem; margin: 3rem 0.9rem; } .mainNewsFeed .card span { font-family: "Inter"; font-style: normal; font-weight: normal; font-size: 1.8rem; line-height: 140%; letter-spacing: -0.025em; color: #6a6a6a; padding-top: 3.8rem; } .mainNewsFeed .card h4 { font-family: "Anton"; font-style: normal; font-weight: normal; font-size: 3.6rem; line-height: 1.2; letter-spacing: 0.005em; text-transform: uppercase; color: #202020; margin: 1.6rem 0 3.6rem 0; } .mainNewsFeed .card a { display: flex; align-items: center; font-family: "Inter"; font-style: normal; font-weight: bold; font-size: 1.4rem; line-height: 1.7rem; text-transform: uppercase; text-decoration: none; color: #343434; } .mainNewsFeed .card a svg { margin-left: 2.8rem; } @media (min-width: 260px) and (max-width: 720px) { .mainNewsFeed .feedContent { padding: 9rem; } .mainNewsFeed .intro .animate { top: 15rem; } .mainNewsFeed .intro .animationWrap { width: 200%; } .mainNewsFeed .newsBackground svg { display: none; } .mainNewsFeed .intro .newsDiv { width: 30%; height: 30px; } .mainNewsFeed .intro .newsDiv h4 { font-size: 12px; } .mainNewsFeed .intro h1 { font-size: 35px; line-height: 100%; } .mainNewsFeed .card { width: 100%; margin: 3rem 0; } .mainNewsFeed .card span { font-size: 16px; } .mainNewsFeed .card h4 { font-size: 25px; } .mainNewsFeed .card a { font-size: 15px; } .mainNewsFeed .card a svg { width: 14px; } } @media (min-width: 721px) and (max-width: 1024px) { .mainNewsFeed .intro .newsDiv { width: 15%; } .mainNewsFeed .intro .animate { width: unset; } .mainNewsFeed .card { display: flex; flex-direction: column; width: 100%; } }