/* Experience, Brands and Web screen on the Freelancer rebuild pages */
body.ef-fl .efl-wrap { padding: 0 4vw 8vh; }
/* timeline in the cream look */
body.ef-fl .ef-timeline { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 4vw; padding: 6vh 0; color: var(--mainColor); }
body.ef-fl .ef-timeline__side { position: sticky; top: 120px; align-self: start; }
body.ef-fl .ef-timeline .ef-h2 { font: 600 2.4rem/1.1 'DM Sans', sans-serif; letter-spacing: -.03em; margin: 0 0 .4em; text-transform: uppercase; }
body.ef-fl .ef-timeline__count { font: 14px/1.4 'Courier Prime', monospace; color: var(--secondaryColor); margin: 0; }
body.ef-fl .ef-timeline__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linesColor); }
body.ef-fl .ef-timeline__item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 2rem; padding: 2.4rem 0; border-bottom: 1px solid var(--linesColor); transition: background .4s ease, padding .4s ease; }
body.ef-fl .ef-timeline__item:hover { background: var(--secondaryBackground); padding-left: 1rem; padding-right: 1rem; }
body.ef-fl .ef-timeline__years { font: 14px/1.4 'Courier Prime', monospace; color: var(--secondaryColor); margin: .35rem 0 0; text-transform: uppercase; }
body.ef-fl .ef-timeline__role { font: 600 1.777rem/1.25 'DM Sans', sans-serif; letter-spacing: -.01em; margin: 0; }
body.ef-fl .ef-timeline__org { font: 500 1rem/1.4 'DM Sans', sans-serif; margin: .3rem 0 .8rem; }
body.ef-fl .ef-timeline__text { font: 15px/1.6 'Courier Prime', monospace; margin: 0; max-width: 62ch; color: var(--mainColor); opacity: .85; }
@media (max-width: 860px) { body.ef-fl .ef-timeline { grid-template-columns: 1fr; } body.ef-fl .ef-timeline__side { position: static; } body.ef-fl .ef-timeline__item { grid-template-columns: 1fr; gap: .4rem; } }
body.ef-fl .ef-stats { color: var(--mainColor); }
/* brands */
body.ef-fl .efl-brands { padding: 4vh 0 8vh; }
body.ef-fl .efl-brands__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--linesColor); border-left: 1px solid var(--linesColor); }
body.ef-fl .efl-brands__item { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; border-right: 1px solid var(--linesColor); border-bottom: 1px solid var(--linesColor); overflow: hidden; transition: background .35s ease; }
body.ef-fl .efl-brands__item img { max-width: 52%; max-height: 38%; object-fit: contain; filter: invert(1) grayscale(1); opacity: .85; transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .3s ease; }
body.ef-fl .efl-brands__word { font: 600 1.35rem/1.1 'DM Sans', sans-serif; letter-spacing: -.02em; text-align: center; padding: 0 1rem; text-transform: uppercase; }
body.ef-fl .efl-brands__name { position: absolute; left: 0; right: 0; bottom: .9rem; text-align: center; font: 12px/1 'Courier Prime', monospace; color: var(--secondaryColor); text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
body.ef-fl .efl-brands__item:hover { background: var(--mainColor); }
body.ef-fl .efl-brands__item:hover img { filter: grayscale(1); opacity: 1; transform: scale(1.06); }
body.ef-fl .efl-brands__item:hover .efl-brands__word { color: var(--mainBackground); }
body.ef-fl .efl-brands__item:hover .efl-brands__name { opacity: 1; transform: none; }
body.ef-fl .efl-brands__item--word .efl-brands__name { display: none; }
@media (prefers-reduced-motion: no-preference) { body.ef-fl .efl-brands__item { animation: efl-in .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 35ms); } @keyframes efl-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } } }
/* fixed-screen web preview */
body.ef-fl .efl-screen { position: relative; height: 320vh; }
body.ef-fl .efl-screen__stick { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 4vw; align-items: center; padding: 90px 4vw 40px; box-sizing: border-box; }
body.ef-fl .efl-screen__kicker { font: 12px/1 'Courier Prime', monospace; text-transform: uppercase; color: var(--secondaryColor); margin: 0 0 1rem; }
body.ef-fl .efl-screen__name { font: 600 3.157rem/1.05 'DM Sans', sans-serif; letter-spacing: -.04em; margin: 0 0 .8rem; text-transform: uppercase; }
body.ef-fl .efl-screen__role { font: 500 1.1rem/1.4 'DM Sans', sans-serif; margin: 0 0 .8rem; }
body.ef-fl .efl-screen__note { font: 15px/1.6 'Courier Prime', monospace; margin: 0 0 1.2rem; max-width: 46ch; }
body.ef-fl .efl-screen__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.6rem; padding: 0; }
body.ef-fl .efl-screen__tags li { font: 12px/1 'Courier Prime', monospace; text-transform: uppercase; border: 1px solid var(--linesColor); border-radius: 999px; padding: 7px 12px; }
body.ef-fl .efl-screen__visit { font: 14px/1 'Courier Prime', monospace; text-transform: uppercase; color: var(--mainColor); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
body.ef-fl .efl-screen__device { background: #0f0f0f; border-radius: 18px; padding: 0 10px 10px; box-shadow: 0 40px 80px -40px rgba(15,15,15,.55); }
body.ef-fl .efl-screen__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 6px; }
body.ef-fl .efl-screen__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a37; }
body.ef-fl .efl-screen__bar span { margin-left: 12px; font: 12px/1 'Courier Prime', monospace; color: #9a9a93; background: #1d1d1b; border-radius: 999px; padding: 6px 14px; }
body.ef-fl .efl-screen__view { position: relative; height: min(68vh, 640px); overflow: hidden; border-radius: 10px; background: #1a1a19; }
body.ef-fl .efl-screen__shot { display: block; width: 100%; height: auto; will-change: transform; }
body.ef-fl .efl-screen__empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #f1f1f1; background: radial-gradient(120% 90% at 30% 20%, #3a2a5a, #0f0f0f 70%); }
body.ef-fl .efl-screen__empty span { font: 600 3rem/1 'DM Sans', sans-serif; letter-spacing: -.04em; text-transform: uppercase; }
body.ef-fl .efl-screen__empty small { font: 13px/1 'Courier Prime', monospace; color: #9a9a93; margin-top: 1rem; text-transform: uppercase; }
@media (max-width: 860px) { body.ef-fl .efl-screen { height: 240vh; } body.ef-fl .efl-screen__stick { grid-template-columns: 1fr; align-content: center; gap: 1.5rem; padding-top: 80px; } body.ef-fl .efl-screen__name { font-size: 2.2rem; } body.ef-fl .efl-screen__note, body.ef-fl .efl-screen__tags { display: none; } body.ef-fl .efl-screen__view { height: 52vh; } }
@media (prefers-reduced-motion: reduce) { body.ef-fl .efl-screen { height: auto; } body.ef-fl .efl-screen__stick { position: static; height: auto; } body.ef-fl .efl-screen__view { overflow-y: auto; } }
