.wrapper { display: flex; } .content { display: flex; flex-direction: column; width: 100%; } .content h1 { margin: 1rem 0; font-size: calc(24rem / 16); font-weight: 600; color: var(--blue-2); } .nav { margin: calc(8rem / 16) calc(32rem / 16) 0 0; color: var(--purple-2); font-weight: 500; } .navItem { display: flex; overflow: hidden; white-space: nowrap; font-size: calc(14rem / 16); border-bottom: calc(1rem / 16) solid var(--blue-2-25); align-items: center; height: calc(40rem / 16); width: calc(284rem / 16); padding: 0 calc(14rem / 16); cursor: pointer; } .navItem > div { width: 100%; overflow: hidden; text-overflow: ellipsis; } .selected { background-color: var(--blue-1-05); color: var(--blue-2); font-weight: 700; } .readAll { font-weight: 700; } .marker { display: none; } .selected .marker { display: inline; background-color: var(--blue-2); height: calc(24rem / 16); width: calc(4rem / 16); margin-right: 1rem; } .footer { margin-top: auto; display: flex; justify-content: space-between; } .previous, .next { flex: 1; display: flex; cursor: pointer; color: var(--purple-2); font-size: calc(12rem / 16); } .previous { margin-right: calc(8rem / 16); } .next { justify-content: flex-end; text-align: end; margin-left: calc(8rem / 16); } .arrowHeading { color: var(--blue-2); font-size: calc(14rem / 16); font-weight: 700; border-bottom: calc(2rem / 16) solid var(--blue-2); padding-bottom: calc(4rem / 16); } .arrow { fill: var(--blue-2); margin-top: calc(27rem / 16); } .prevArrow { transform: rotate(90deg); padding-right: calc(8rem / 16); } .nextArrow { transform: rotate(270deg); padding-left: calc(8rem / 16); } .burger { display: none; } .mobileNavTitle { display: none; } @media only screen and (max-width: calc(768rem / 16)) { .burger { display: flex; position: fixed; border: none; bottom: calc(32rem / 16); left: calc(16rem / 16); width: calc(62rem / 16); height: calc(57rem / 16); cursor: pointer; z-index: 10; background: var(--light-blue-2); border-radius: calc(5rem / 16); transition: transform 0.3s ease-in-out; transform: translateY(calc(94rem / 16)); padding: calc(11rem / 16) calc(9rem / 16); } .burgerVisible { transform: translateY(0); } .burger > svg { width: 100%; height: 100%; stroke: var(--blue-2); } .navItem { width: auto; padding: 0 calc(16rem / 16); } .nav { margin: 0; } .navWrapper { position: fixed; display: flex; width: 100%; height: 100%; top: 0; left: 0; z-index: 9; transition: transform 0.3s ease-in-out; transform: translateX(-100%); } .mobileNav { background: var(--light-blue-1); width: 90%; } .mobileNavOpen { transform: translateX(0); } .mobileNavTitle { display: flex; font-size: calc(24rem / 16); font-weight: 700; margin: calc(14rem / 16); margin-top: calc(39rem / 16); } }