* { box-sizing: border-box; } body { font-family: roboto; color: #3d3d3d; --mdc-theme-primary: #007f8b; --mdc-theme-on-primary: #f1f3f4; margin-left: 8px; } .container { position: relative; } .canvas_wrapper{ position: relative; text-align: left; height:290px; background-color: #F3F3F3; box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38); margin:10px; margin-bottom: 20px; border-radius: 15px; overflow: hidden; } #output_canvas{ display:block; position:absolute; left:50%; transform: translateX(-50%); width:auto; height:100% } #webcamButton{ margin: 0; position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); padding:10px; border:none; border-radius: 12.25px; background-color: #f2f2f2; box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38); } .btn{ margin: 0; position: relative; padding:10px; border:none; border-radius: 12.25px; background-color: #f2f2f2; box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38); font-weight: 600; color:black; } .sld{ margin: 0; position: relative; display:block; margin-top: 20px; padding:10px; border:none; border-radius: 12.25px; background-color: #f2f2f2; box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38); font-weight: 600; color:black; } .ai_output{ margin: 0; position: relative; display:block; min-height: 60px; text-align: left; margin-top: 20px; padding:10px; border:none; border-radius: 12.25px; background-color: #f2f2f2; box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38); font-weight: 400; color:rgb(38, 38, 38); } .animated{ background: linear-gradient(110deg, #ececec 8%, #d0d0d0 18%, #ececec 33%); background-size: 200% 100%; animation: 1.5s shine linear infinite; } @keyframes shine { to { background-position-x: -200%; } }