.cam-container { position: relative; height: 50vh; /* 50% от высоты окна браузера */ } /* Стили для уведомления */ .toast { position: fixed; bottom: 20px; right: 20px; background-color: white; color: #333; padding: 6px 12px; border-radius: 4px; opacity: 0; transform: translateY(20px); transition: opacity 0.3s, transform 0.3s; z-index: 1000; } .toast.show { opacity: 1; transform: translateY(0); }