.wrapAnimate { animation: wrapAnimate 0.5s ease-in-out forwards; } @keyframes wrapAnimate { 0% { } 100% { background: rgba(0, 0, 0, 0.35); } } .wrapAnimateOut { animation: wrapAnimateOut 0.4s ease-in-out forwards; } @keyframes wrapAnimateOut { 0% { background: rgba(0, 0, 0, 0.35); } 100% { background: rgba(0, 0, 0, 0); } } .frameAnimate { animation: frameAnimate 0.5s ease forwards; } @keyframes frameAnimate { 0% { } 100% { opacity: 1; top: 0vh; } } .frameAnimateOut { animation: frameAnimateOut 0.5s ease forwards; } @keyframes frameAnimateOut { 0% { opacity: 2; top: 0vh; } 50% { opacity: 1; top: 50vh; } 100% { opacity: 0; top: 100vh; } } .frame-wrapper { position: fixed; height: 100vh; width: 100vw; z-index: 2; top: 50vh; } .frame { background: #fff; position: absolute; bottom: 0; width: 100%; padding: 2.9vw 2.9vw 0; border-top-left-radius: 20px; border-top-right-radius: 20px; z-index: 3; box-sizing: border-box; align-items: center; text-align: center; } .title-wrapper { justify-content: space-between; text-align: center; height: 28px; font-size: 35px; font-weight: 700; color: #202020; margin-bottom: 5.9vw; } .title-wrapper > image { width: 3.5vw; height: 3.5vw; padding: 0 5vw; margin-right: -5vw; } /* .flex { display: flex; align-items: center; } */ .wrap { position: fixed; z-index: 1; top: 0; left: 0; right: 0; bottom: 0; } .bottom-text { margin-left: 40%; width: 100%; padding: 1.5em 0 1.5em 0; display: flex; align-items: center; } .bottom-text > image { width: 32px; height: 32px; } .bottom-text > text { width: 110px; font-size: 30px; font-weight: bold; color: #202020; }