/** @format */ .moveFadeOut { -webkit-animation: moveFadeOut var(--transition-time-slow-2) forwards; animation: moveFadeOut var(--transition-time-slow-2) forwards; } .moveFadeIn { -webkit-animation: moveFadeIn var(--transition-time-slow-2) forwards; animation: moveFadeIn var(--transition-time-slow-2) forwards; } .main { opacity: 0; right: -300px; } .main.active { opacity: 1; right: 0; } .menu.side__menu { width: 40vw; height: 100vh; max-width: 20em; overflow: auto; display: flex; flex-wrap: nowrap; flex-direction: column; align-items: center; justify-content: flex-start; border-right: 1px solid var(--main-brd-clr); } .user__menu { width: 100%; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; font-weight: 200; font-size: 1.9rem; gap: 0.5em; padding: 2em 1em; border-bottom: 1px solid var(--main-brd-clr); } .user__menu .image { width: 15vh; border-radius: 100%; overflow: hidden; aspect-ratio: 1/1; } img { -o-object-fit: cover; object-fit: cover; } .user__menu .image > img { width: 100%; aspect-ratio: 1/1; } .submenu { width: 100%; padding: 0 1em; } .menu__button { font-size: 1.3rem; padding: 0.5em; position: relative; } .main__animated__page { width: 100%; height: 100vh; position: relative; background: linear-gradient( 45deg, rgba(10, 26, 51, 1) 0%, rgba(8, 144, 149, 1) 100% ); display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: center; } .latestMediaSlider { width: 90%; height: 55vh; position: relative; z-index: 1; background: var(--main-bg); border-radius: var(--rounding); overflow: hidden; margin-top: 3em; box-shadow: 0 5px 30px -20px rgb(0 0 0 / 90%); } .slide { width: 100%; height: 100%; position: absolute; top: 0; left: 0; } .slide.active { display: block; } .slide__background { width: 75%; height: 100%; position: absolute; z-index: -1; right: 0; -webkit-mask-image: linear-gradient(to right, transparent, black 50%); -webkit-mask-composite: destination-in; background-size: cover !important; opacity: 0.5; } canvas.placeholder { opacity: 1; transition: opacity var(--transition-time-default); position: absolute; top: 0; right: 0; z-index: 2; } .slide img { position: absolute; top: 0; right: 0; width: 100%; height: 100%; } .info__cont { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; align-content: center; width: 70%; height: 100%; position: absolute; top: 50%; transform: translateY(-50%); left: 2em; } .title div { width: 100%; height: 100%; position: static; background-size: contain !important; background-position: left !important; background-repeat: no-repeat !important; } .title { width: 100%; height: 40%; } .overview { width: 100%; display: flex; gap: 1em; font-size: 0.9em; font-weight: 600; } .overview div { display: flex; gap: 0.2em; } button.filled { --clr: var(--accent-solid); background: var(--accent-solid); color: white; border: 2px solid var(--clr); } button.outlined { --clr: white; background: transparent; color: white; border: 2px solid var(--clr); } .main .buttons { width: 100%; margin-top: 1em; } .info__cont button { max-width: 15em; padding: 0; } .info__cont button span { font-size: 1.5em; } @media (max-width: 900px) { .latestMediaSlider { height: auto; aspect-ratio: 16/9; } }