.content-page{ width: 100%; height: 100vh; background-image: url("/sites/DIIA/image/main-fon.jpg"); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; } .content-page .hello{ } .content-page .hello span{ font-size: 30px; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } .content-page .bottom { width: 100%; position: fixed; bottom: 50px; display: flex; justify-content: center; transition: all 0.8s ease-in-out; } .content-page .bottom.active { justify-content: flex-start; transition: all 0.8s ease-in-out; } .content-page .bottom img { width: 60px; transform: scale(1); transition: transform 0.3s ease-in-out; } /* Добавляем анимацию для image2 */ @keyframes slideIn { 0% { transform: translateX(100%); opacity: 0; } 50% { transform: translateX(-5px); opacity: 1; } } .content-page .bottom .box { display: none; text-align: start; opacity: 0; margin-left: 10px; align-items: center; transition: opacity 0.3s ease-in-out; } .content-page .bottom .box.active { display: flex; opacity: 1; animation: slideIn 1s ease-out; } .content-page .bottom .box span { margin-left: 10px; opacity: 0; display: none; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-weight: 500; transform: translateX(-20px); transition: all 0.3s ease-in-out; } .content-page .bottom .box span.active { opacity: 1; display: flex; transform: translateX(0); }